diff options
author | Richard Henderson <rth@twiddle.net> | 2016-09-02 12:52:28 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-10-26 08:29:02 -0700 |
commit | ed2839166c21e001d15868f4d9591a21aaebd547 (patch) | |
tree | e63b55476274f12975030d67772d4a4db99c6f5e /target-alpha/helper.c | |
parent | 6a73ecf5cfcd39b7afb5d6a24174730eac49d4b5 (diff) |
target-alpha: Emulate LL/SC using cmpxchg helpers
Emulating LL/SC with cmpxchg is not correct, since it can
suffer from the ABA problem. However, portable parallel
code is written assuming only cmpxchg which means that in
practice this is a viable alternative.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha/helper.c')
-rw-r--r-- | target-alpha/helper.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/target-alpha/helper.c b/target-alpha/helper.c index 9ba3e1a1b8..2ef6cbe2a4 100644 --- a/target-alpha/helper.c +++ b/target-alpha/helper.c @@ -306,12 +306,6 @@ void alpha_cpu_do_interrupt(CPUState *cs) case EXCP_CALL_PAL: name = "call_pal"; break; - case EXCP_STL_C: - name = "stl_c"; - break; - case EXCP_STQ_C: - name = "stq_c"; - break; } qemu_log("INT %6d: %s(%#x) pc=%016" PRIx64 " sp=%016" PRIx64 "\n", ++count, name, env->error_code, env->pc, env->ir[IR_SP]); |