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

This commit is contained in:
Korey Sewell 2009-04-18 10:42:29 -04:00
parent 5c1742b822
commit e501e1af54

View file

@ -140,7 +140,7 @@ decode OPCODE_HI default Unknown::unknown() {
}}); }});
#else #else
0x4: syscall({{ xc->syscall(R2); }}, 0x4: syscall({{ xc->syscall(R2); }},
IsSerializing, IsNonSpeculative); IsSerializeAfter, IsNonSpeculative);
#endif #endif
0x7: sync({{ ; }}, IsMemBarrier); 0x7: sync({{ ; }}, IsMemBarrier);
0x5: break({{fault = new BreakpointFault();}}); 0x5: break({{fault = new BreakpointFault();}});