summary refs log tree commit diff stats
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-11-12 16:11:22 +1000
committerRichard Henderson <richard.henderson@linaro.org>2023-02-04 06:19:42 -1000
commit894448ae7dce4269c4b3c152a7091520317ea397 (patch)
tree1ea9c575710fab17e5e6a4c785501d47a25c9559 /scripts/qapi/parser.py
parent9c32396debee91a87867abc562bb8e2b458c958a (diff)
downloadfocaccia-qemu-894448ae7dce4269c4b3c152a7091520317ea397.tar.gz
focaccia-qemu-894448ae7dce4269c4b3c152a7091520317ea397.zip
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 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions