diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-12-08 17:03:15 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-01-06 23:07:06 +0000 |
commit | a0332aca67772b8858d455b5b8d7f972843b3d4e (patch) | |
tree | a74f86836937b64e207ae061b9b0afab6a538a3a /tcg | |
parent | 668ce343f6f54d9fe900a1884b876f8008908f4d (diff) | |
download | qemu-a0332aca67772b8858d455b5b8d7f972843b3d4e.zip qemu-a0332aca67772b8858d455b5b8d7f972843b3d4e.tar.gz qemu-a0332aca67772b8858d455b5b8d7f972843b3d4e.tar.bz2 |
tcg/s390x: Issue XILF directly for xor_i32
There is only one instruction that is applicable
to a 32-bit immediate xor.
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/s390x/tcg-target.c.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc index 871fcb7..fc30432 100644 --- a/tcg/s390x/tcg-target.c.inc +++ b/tcg/s390x/tcg-target.c.inc @@ -2005,7 +2005,7 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, a0 = args[0], a1 = args[1], a2 = (uint32_t)args[2]; if (const_args[2]) { tcg_out_mov(s, TCG_TYPE_I32, a0, a1); - tgen_xori(s, TCG_TYPE_I32, a0, a2); + tcg_out_insn(s, RIL, XILF, a0, a2); } else if (a0 == a1) { tcg_out_insn(s, RR, XR, args[0], args[2]); } else { |