diff options
| author | flacs <tilkax@gmail.com> | 2015-06-06 17:31:55 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-06-06 17:31:55 +0200 |
| commit | d3e47dfcf573e3fef422517799a52e3b5aa5c91d (patch) | |
| tree | a786208a94712154d6bac5005bb622faa6509bfe /Source/Core/Common/x64CPUDetect.cpp | |
| parent | f9b5571ddd49e212de229dd6567a5ae076e6fd1a (diff) | |
| parent | 794a311b114f6e7f561a847457e52ced296ba111 (diff) | |
Merge pull request #2496 from Tilka/fma4
Jit64: add FMA4 support to fmaddXX
Diffstat (limited to 'Source/Core/Common/x64CPUDetect.cpp')
| -rw-r--r-- | Source/Core/Common/x64CPUDetect.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
