mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
target-alpha: Implement rs/rc properly.
This is a per-cpu flag; there's no need for a spinlock of any kind. We were also failing to manipulate the flag with $31 as a target reg and failing to clear the flag on execution of a return-from-interrupt instruction. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
dc96be4b97
commit
ac316ca4b7
4 changed files with 23 additions and 33 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
DEF_HELPER_2(excp, void, int, int)
|
||||
DEF_HELPER_FLAGS_0(load_pcc, TCG_CALL_CONST | TCG_CALL_PURE, i64)
|
||||
DEF_HELPER_FLAGS_0(rc, TCG_CALL_CONST, i64)
|
||||
DEF_HELPER_FLAGS_0(rs, TCG_CALL_CONST, i64)
|
||||
|
||||
DEF_HELPER_2(addqv, i64, i64, i64)
|
||||
DEF_HELPER_2(addlv, i64, i64, i64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue