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/cpu.h | |
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/cpu.h')
-rw-r--r-- | target-alpha/cpu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 871d9baa35..b08d1601d1 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -230,7 +230,6 @@ struct CPUAlphaState { uint64_t pc; uint64_t unique; uint64_t lock_addr; - uint64_t lock_st_addr; uint64_t lock_value; /* The FPCR, and disassembled portions thereof. */ @@ -346,9 +345,6 @@ enum { EXCP_ARITH, EXCP_FEN, EXCP_CALL_PAL, - /* For Usermode emulation. */ - EXCP_STL_C, - EXCP_STQ_C, }; /* Alpha-specific interrupt pending bits. */ |