tcg/i386: Clear dest first in tcg_out_setcond if possible
commit96658acafd9ade24d00526e46cc073ed8fcf2111
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 5 Aug 2023 22:51:30 +0000 (5 15:51 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 24 Aug 2023 18:22:42 +0000 (24 11:22 -0700)
tree19db3bab1ed1d8adf31b1fc09627bba527aca418
parent6950f68b62e4913513a40b574de0219b7ae15b9f
tcg/i386: Clear dest first in tcg_out_setcond if possible

Using XOR first is both smaller and more efficient,
though cannot be applied if it clobbers an input.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.c.inc