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:
@@ -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();}});
|
||||
|
||||
Reference in New Issue
Block a user