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:
parent
5c1742b822
commit
e501e1af54
1 changed files with 1 additions and 1 deletions
|
@ -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();}});
|
||||||
|
|
Loading…
Reference in a new issue