aboutsummaryrefslogtreecommitdiff
path: root/tcg/s390x/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-12-07 17:38:42 +0000
committerRichard Henderson <richard.henderson@linaro.org>2023-01-06 23:07:04 +0000
commitc68d5b7a6afab3ac1ece42bd0bd09945ca286a4e (patch)
tree757a6105d6411a4cb2a088f6fc2a11527f15e16e /tcg/s390x/tcg-target.h
parent9c3bfb79f4bef9d5271ca59ad673d1eb7efa51db (diff)
tcg/s390x: Check for load-on-condition facility at startup
The general-instruction-extension facility was introduced in z196, which itself was end-of-life in 2021. In addition, z196 is the minimum CPU supported by our set of supported operating systems: RHEL 7 (z196), SLES 12 (z196) and Ubuntu 16.04 (zEC12). Check for facility number 45, which will be the consilidated check for several facilities. Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/s390x/tcg-target.h')
-rw-r--r--tcg/s390x/tcg-target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcg/s390x/tcg-target.h b/tcg/s390x/tcg-target.h
index d47e8ba66a..31d5510d2d 100644
--- a/tcg/s390x/tcg-target.h
+++ b/tcg/s390x/tcg-target.h
@@ -58,12 +58,12 @@ typedef enum TCGReg {
#define FACILITY_LONG_DISP 18
#define FACILITY_EXT_IMM 21
#define FACILITY_GEN_INST_EXT 34
+#define FACILITY_45 45
/* Facilities that are checked at runtime. */
-#define FACILITY_LOAD_ON_COND 45
-#define FACILITY_FAST_BCR_SER FACILITY_LOAD_ON_COND
-#define FACILITY_DISTINCT_OPS FACILITY_LOAD_ON_COND
+#define FACILITY_FAST_BCR_SER 45
+#define FACILITY_DISTINCT_OPS 45
#define FACILITY_LOAD_ON_COND2 53
#define FACILITY_VECTOR 129
#define FACILITY_VECTOR_ENH1 135