]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/s390x: Optimize cmpsel with constant 0/-1 arguments
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 11 Sep 2024 03:24:10 +0000 (03:24 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 22 Sep 2024 04:54:50 +0000 (06:54 +0200)
commit50695fb83e22ad011708b738d24c6c67d6296aaa
tree44ebcba67f5cfedf85c048b263a5e08a7d84330b
parent1c7d05ff70f09367ab8b519cbbb69dd5491f85f1
tcg/s390x: Optimize cmpsel with constant 0/-1 arguments

These can be simplified to and/or/andc/orc,
avoiding the load of the constantinto a register.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/s390x/tcg-target-con-set.h
tcg/s390x/tcg-target-con-str.h
tcg/s390x/tcg-target.c.inc