Make syscalls serialize after instructions so they work properly on the new CPU model.

--HG--
extra : convert_revision : c2cea5771e41d3c97d0e44559316363718d89abd
This commit is contained in:
Kevin Lim 2006-06-13 14:39:05 -04:00
parent 4ad3d47464
commit dcf02c25e3

View file

@ -701,7 +701,7 @@ decode OPCODE default Unknown::unknown() {
}}, IsNonSpeculative);
0x83: callsys({{
xc->syscall(R0);
}}, IsNonSpeculative);
}}, IsSerializeAfter, IsNonSpeculative);
// Read uniq reg into ABI return value register (r0)
0x9e: rduniq({{ R0 = Runiq; }}, IsIprAccess);
// Write uniq reg with value from ABI arg register (r16)