]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/s390x: Create tgen_cmp2 to simplify movcond
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 24 Feb 2022 03:38:03 +0000 (03:38 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Jan 2023 23:07:07 +0000 (23:07 +0000)
commit5c837bbca66805416f94cfc7acc9ad99aa3c4396
tree76a6eedb12c69c49543740604ab726e260fad7bc
parent6c9b5c0f53dfeab2937f23c85708ae5090b435a3
tcg/s390x: Create tgen_cmp2 to simplify movcond

Return both regular and inverted condition codes from tgen_cmp2.
This lets us choose after the fact which comparision we want.

Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/s390x/tcg-target.c.inc