OSDN Git Service

tcg/optimize: Propagate sign info for logical operations
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 26 Aug 2021 20:08:54 +0000 (13:08 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Oct 2021 03:55:07 +0000 (20:55 -0700)
commit3f2b1f8376c11327ca2ea54cdc1085d4d4c1d97c
tree6a9a946e64cc4c95b87ed68675d7de108648cb12
parent57fe5c6df21c05af11435b2ed426a42ee3345298
tcg/optimize: Propagate sign info for logical operations

Sign repetitions are perforce all identical, whether they are 1 or 0.
Bitwise operations preserve the relative quantity of the repetitions.

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