]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/translate.c
target/ppc: Use tcg_constant_i32() in gen_setb()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 3 Oct 2021 14:17:10 +0000 (16:17 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 Oct 2021 00:42:47 +0000 (11:42 +1100)
commit6f4912a4160f157217730b0affdcb6c92c24ca76
tree164fdb76f4d1eeefca0f975c32b8cdeb8e1a0540
parent621f70d21027a914eda1446134193a24e7a662d5
target/ppc: Use tcg_constant_i32() in gen_setb()

Avoid using TCG temporaries for the -1 and 8 constant values.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211003141711.3673181-2-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c