[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 09/27] tcg/s390x: Remove FAST_BCR_SER facility check
From: |
Richard Henderson |
Subject: |
[PATCH v4 09/27] tcg/s390x: Remove FAST_BCR_SER facility check |
Date: |
Thu, 8 Dec 2022 20:05:12 -0600 |
The fast-bcr-serialization facility is bundled into facility 45,
along with load-on-condition. We are checking this at startup.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/s390x/tcg-target.h | 1 -
tcg/s390x/tcg-target.c.inc | 3 ++-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tcg/s390x/tcg-target.h b/tcg/s390x/tcg-target.h
index 31d5510d2d..fc9ae82700 100644
--- a/tcg/s390x/tcg-target.h
+++ b/tcg/s390x/tcg-target.h
@@ -62,7 +62,6 @@ typedef enum TCGReg {
/* Facilities that are checked at runtime. */
-#define FACILITY_FAST_BCR_SER 45
#define FACILITY_DISTINCT_OPS 45
#define FACILITY_LOAD_ON_COND2 53
#define FACILITY_VECTOR 129
diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc
index 29a64ad0fe..dd58f0cdb5 100644
--- a/tcg/s390x/tcg-target.c.inc
+++ b/tcg/s390x/tcg-target.c.inc
@@ -2431,7 +2431,8 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode
opc,
/* The host memory model is quite strong, we simply need to
serialize the instruction stream. */
if (args[0] & TCG_MO_ST_LD) {
- tcg_out_insn(s, RR, BCR, HAVE_FACILITY(FAST_BCR_SER) ? 14 : 15, 0);
+ /* fast-bcr-serialization facility (45) is present */
+ tcg_out_insn(s, RR, BCR, 14, 0);
}
break;
--
2.34.1
- Re: [PATCH v4 03/27] tcg/s390x: Always set TCG_TARGET_HAS_direct_jump, (continued)
- [PATCH v4 02/27] tcg/s390x: Remove TCG_REG_TB, Richard Henderson, 2022/12/08
- [PATCH v4 05/27] tcg/s390x: Check for long-displacement facility at startup, Richard Henderson, 2022/12/08
- [PATCH v4 06/27] tcg/s390x: Check for extended-immediate facility at startup, Richard Henderson, 2022/12/08
- [PATCH v4 08/27] tcg/s390x: Check for load-on-condition facility at startup, Richard Henderson, 2022/12/08
- [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 <=
- [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, 2022/12/08
- [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