summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-25 10:19:41 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-25 10:19:41 -0800
commitd48214a6560049643f39873a533f27d5c8895a4e (patch)
tree67e359ea09096a4061e1ca025c829f33922f3ddf /src
parent9940e21fa98950c477c0fb7488376005b2ca71df (diff)
downloadgem5-d48214a6560049643f39873a533f27d5c8895a4e.tar.xz
X86: Implement the fence instructions. These are not microcoded.
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/isa/decoder/two_byte_opcodes.isa9
1 files changed, 6 insertions, 3 deletions
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 {