From e501e1af54904fee4abc64df4888d24976fa6bef Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sat, 18 Apr 2009 10:42:29 -0400 Subject: 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 --- src/arch/mips/isa/decoder.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/mips/isa') 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();}}); -- cgit v1.2.3