OSDN Git Service

tcg/optimize: Stop forcing z_mask to "garbage" for 32-bit values
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Aug 2021 16:03:59 +0000 (09:03 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Oct 2021 03:55:07 +0000 (20:55 -0700)
commitfaa2e10045ef82f4a1a24a7f69e285736143b469
tree28093111895c2b3829c30ccb9d6d8aab2caa3a0b
parent18cf3d07a2556700895c626754937e90f8e972cf
tcg/optimize: Stop forcing z_mask to "garbage" for 32-bit values

This "garbage" setting pre-dates the addition of the type
changing opcodes INDEX_op_ext_i32_i64, INDEX_op_extu_i32_i64,
and INDEX_op_extr{l,h}_i64_i32.

So now we have a definitive points at which to adjust z_mask
to eliminate such bits from the 32-bit operands.

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