mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 08:59:03 -06:00 
			
		
		
		
	cpu_detect: Add missing lzcnt detection
				
					
				
			This commit is contained in:
		@@ -138,6 +138,7 @@ static CPUCaps Detect() {
 | 
			
		||||
    if (max_ex_fn >= 0x80000001) {
 | 
			
		||||
        // Check for more features
 | 
			
		||||
        __cpuid(cpu_id, 0x80000001);
 | 
			
		||||
        caps.lzcnt = Common::Bit<5>(cpu_id[2]);
 | 
			
		||||
        caps.fma4 = Common::Bit<16>(cpu_id[2]);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user