diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-11-12 16:11:22 +1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-02-04 06:19:42 -1000 |
commit | 894448ae7dce4269c4b3c152a7091520317ea397 (patch) | |
tree | 1ea9c575710fab17e5e6a4c785501d47a25c9559 /qom/trace.h | |
parent | 9c32396debee91a87867abc562bb8e2b458c958a (diff) | |
download | qemu-894448ae7dce4269c4b3c152a7091520317ea397.zip qemu-894448ae7dce4269c4b3c152a7091520317ea397.tar.gz qemu-894448ae7dce4269c4b3c152a7091520317ea397.tar.bz2 |
target/ppc: Use tcg_gen_atomic_cmpxchg_i128 for STQCX
Note that the previous direct reference to reserve_val,
- tcg_gen_ld_i64(t1, cpu_env, (ctx->le_mode
- ? offsetof(CPUPPCState, reserve_val2)
- : offsetof(CPUPPCState, reserve_val)));
was incorrect because all references should have gone through
cpu_reserve_val. Create a cpu_reserve_val2 tcg temp to fix this.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20221112061122.2720163-2-richard.henderson@linaro.org>
Diffstat (limited to 'qom/trace.h')
0 files changed, 0 insertions, 0 deletions