summaryrefslogtreecommitdiff
path: root/src/arch/mips/isa
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2009-04-18 10:42:29 -0400
committerKorey Sewell <ksewell@umich.edu>2009-04-18 10:42:29 -0400
commite501e1af54904fee4abc64df4888d24976fa6bef (patch)
tree70bf15798247765fd5241a78207add7b95f5ab81 /src/arch/mips/isa
parent5c1742b822c1f4d640d30963a908386caf8c4a6e (diff)
downloadgem5-e501e1af54904fee4abc64df4888d24976fa6bef.tar.xz
mips-syscall: mark with correct flag. \nMIPS was using wrong serialization flag on syscall instructions allowing O3 to handle SE mode syscalls incorrectly and speculate on instructions after a syscall
Diffstat (limited to 'src/arch/mips/isa')
-rw-r--r--src/arch/mips/isa/decoder.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/mips/isa/decoder.isa b/src/arch/mips/isa/decoder.isa
index 339ca868c..68a63a458 100644
--- a/src/arch/mips/isa/decoder.isa
+++ b/src/arch/mips/isa/decoder.isa
@@ -140,7 +140,7 @@ decode OPCODE_HI default Unknown::unknown() {
}});
#else
0x4: syscall({{ xc->syscall(R2); }},
- IsSerializing, IsNonSpeculative);
+ IsSerializeAfter, IsNonSpeculative);
#endif
0x7: sync({{ ; }}, IsMemBarrier);
0x5: break({{fault = new BreakpointFault();}});