[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 16/27] tcg/s390x: Issue XILF directly for xor_i32
From: |
Richard Henderson |
Subject: |
[PATCH v4 16/27] tcg/s390x: Issue XILF directly for xor_i32 |
Date: |
Thu, 8 Dec 2022 20:05:19 -0600 |
There is only one instruction that is applicable
to a 32-bit immediate xor.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/s390x/tcg-target.c.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc
index 871fcb7683..fc304327fc 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 {
--
2.34.1
- Re: [PATCH v4 08/27] tcg/s390x: Check for load-on-condition facility at startup, (continued)
- [PATCH v4 07/27] tcg/s390x: Check for general-instruction-extension facility at startup, Richard Henderson, 2022/12/08
- [PATCH v4 09/27] tcg/s390x: Remove FAST_BCR_SER facility check, Richard Henderson, 2022/12/08
- [PATCH v4 10/27] tcg/s390x: Remove DISTINCT_OPERANDS facility check, Richard Henderson, 2022/12/08
- [PATCH v4 11/27] tcg/s390x: Use LARL+AGHI for odd addresses, Richard Henderson, 2022/12/08
- [PATCH v4 12/27] tcg/s390x: Distinguish RRF-a and RRF-c formats, Richard Henderson, 2022/12/08
- [PATCH v4 13/27] tcg/s390x: Distinguish RIE formats, Richard Henderson, 2022/12/08
- [PATCH v4 16/27] tcg/s390x: Issue XILF directly for xor_i32,
Richard Henderson <=
- [PATCH v4 15/27] tcg/s390x: Support MIE2 MGRK instruction, Richard Henderson, 2022/12/08
- [PATCH v4 17/27] tcg/s390x: Tighten constraints for or_i64 and xor_i64, Richard Henderson, 2022/12/08
- [PATCH v4 18/27] tcg/s390x: Tighten constraints for and_i64, Richard Henderson, 2022/12/08
- [PATCH v4 19/27] tcg/s390x: Support MIE3 logical operations, Richard Henderson, 2022/12/08
- [PATCH v4 14/27] tcg/s390x: Support MIE2 multiply single instructions, Richard Henderson, 2022/12/08
- [PATCH v4 20/27] tcg/s390x: Create tgen_cmp2 to simplify movcond, Richard Henderson, 2022/12/08
- [PATCH v4 21/27] tcg/s390x: Generalize movcond implementation, Richard Henderson, 2022/12/08