projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9940e21
)
X86: Implement the fence instructions. These are not microcoded.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 25 Feb 2009 18:19:41 +0000
(10:19 -0800)
committer
Gabe 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
patch
|
blob
|
history
diff --git
a/src/arch/x86/isa/decoder/two_byte_opcodes.isa
b/src/arch/x86/isa/decoder/two_byte_opcodes.isa
index a0a08df8f13bac08b02defbbf970872d9b78c075..edacf5bcb8a6127142f8ecdbf92272fe972453e2 100644
(file)
--- 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 {