X86: Implement the fence instructions. These are not microcoded.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 25 Feb 2009 18:19:41 +0000 (10:19 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 25 Feb 2009 18:19:41 +0000 (10:19 -0800)
src/arch/x86/isa/decoder/two_byte_opcodes.isa

index a0a08df8f13bac08b02defbbf970872d9b78c075..edacf5bcb8a6127142f8ecdbf92272fe972453e2 100644 (file)
                 //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 {