From: Gabe Black Date: Wed, 25 Feb 2009 18:19:41 +0000 (-0800) Subject: X86: Implement the fence instructions. These are not microcoded. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d48214a6560049643f39873a533f27d5c8895a4e;p=gem5.git X86: Implement the fence instructions. These are not microcoded. --- diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index a0a08df8f..edacf5bcb 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -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 {