XEmitter: add FMA4 instructions

This commit is contained in:
Tillmann Karras
2015-05-17 09:20:29 +02:00
parent 7d29039c48
commit 8db6588bb9
5 changed files with 101 additions and 0 deletions

View File

@ -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;
}