]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/s390x: Honor carry_live in tcg_out_movi
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 18 Jan 2025 21:26:43 +0000 (13:26 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 28 Apr 2025 20:40:17 +0000 (13:40 -0700)
commit1b6e25e300e78cf8d8581245c2f8339c5b423d30
tree6fdae20648c283d0abaf18dcf3cf1e734cecd234
parent2329da9605b0f1b7bd59f58afb5ab2154d0af137
tcg/s390x: Honor carry_live in tcg_out_movi

Do not clobber flags if they're live.  Required in order
to perform register allocation on add/sub carry opcodes.
LA and AGHI are the same size, so use LA unconditionally.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/s390x/tcg-target.c.inc