]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/optimize: Propagate sign info for setcond
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Aug 2021 20:20:39 +0000 (13:20 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Oct 2021 03:55:07 +0000 (20:55 -0700)
commit275d7d8e70ef8679e241ce78c83548067f403394
tree3edec7f87dc02a54b1a2099640228bf7c91e3ee7
parent3f2b1f8376c11327ca2ea54cdc1085d4d4c1d97c
tcg/optimize: Propagate sign info for setcond

The result is either 0 or 1, which means that we have
a 2 bit signed result, and thus 62 bits of sign.
For clarity, use the smask_from_zmask function.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/optimize.c