From 8db6588bb921d1beac5b7df50ac24e67453f0991 Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 17 May 2015 09:20:29 +0200 Subject: XEmitter: add FMA4 instructions --- Source/Core/Common/x64CPUDetect.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/Common/x64CPUDetect.cpp') diff --git a/Source/Core/Common/x64CPUDetect.cpp b/Source/Core/Common/x64CPUDetect.cpp index 461c1bde8a..0e9f32e622 100644 --- a/Source/Core/Common/x64CPUDetect.cpp +++ b/Source/Core/Common/x64CPUDetect.cpp @@ -175,6 +175,7 @@ void CPUInfo::Detect() __cpuid(cpu_id, 0x80000001); if (cpu_id[2] & 1) bLAHFSAHF64 = true; if ((cpu_id[2] >> 5) & 1) bLZCNT = true; + if ((cpu_id[2] >> 16) & 1) bFMA4 = true; if ((cpu_id[3] >> 29) & 1) bLongMode = true; } -- cgit v1.2.3