]> git.proxmox.com Git - mirror_qemu.git/commit
target/rx: Use cpu_psw_z as temp in flags computation
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 26 Feb 2023 20:09:44 +0000 (10:09 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Mar 2023 13:44:37 +0000 (06:44 -0700)
commitbb09b540c46431c7181a85b7c5de21383af8d840
tree0a9378a487a0b18be9b8297f4eb4a2bd33cbc946
parent4b01ff2561a346570525c084ec71e0a3c3bb5c45
target/rx: Use cpu_psw_z as temp in flags computation

Since PSW_Z = PSW_S, we can move that assignment to the end
and use PSW_Z as a temporary while computing PSW_O.
Use tcg_constant_i32 instead of tcg_const_i32.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/rx/translate.c