diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-08-26 13:20:39 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-10-28 20:55:07 -0700 |
commit | 275d7d8e70ef8679e241ce78c83548067f403394 (patch) | |
tree | 3edec7f87dc02a54b1a2099640228bf7c91e3ee7 /hw/riscv/virt.c | |
parent | 3f2b1f8376c11327ca2ea54cdc1085d4d4c1d97c (diff) | |
download | qemu-275d7d8e70ef8679e241ce78c83548067f403394.zip qemu-275d7d8e70ef8679e241ce78c83548067f403394.tar.gz qemu-275d7d8e70ef8679e241ce78c83548067f403394.tar.bz2 |
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>
Diffstat (limited to 'hw/riscv/virt.c')
0 files changed, 0 insertions, 0 deletions