X86: Implement the fence instructions. These are not microcoded.

This commit is contained in:
Gabe Black 2009-02-25 10:19:41 -08:00
parent 9940e21fa9
commit d48214a656

View file

@ -831,9 +831,12 @@
//0x6: group16();
0x6: decode MODRM_MOD {
0x3: decode MODRM_REG {
0x5: lfence();
0x6: mfence();
0x7: sfence();
0x5: BasicOperate::LFENCE(
{{/*Nothing*/}}, IsReadBarrier);
0x6: BasicOperate::MFENCE(
{{/*Nothing*/}}, IsMemBarrier);
0x7: BasicOperate::SFENCE(
{{/*Nothing*/}}, IsWriteBarrier);
default: Inst::UD2();
}
default: decode MODRM_REG {