aboutsummaryrefslogtreecommitdiff
path: root/tcg/s390/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2017-06-16 15:33:28 -0700
committerRichard Henderson <richard.henderson@linaro.org>2017-09-06 07:24:41 -0700
commit7af525af01b9615c4f4df5da2e8a50f2fe00b023 (patch)
tree2d284ddff20cf18d5110e24c2f2e5c2cc3dce54c /tcg/s390/tcg-target.h
parentc2097136ad6e3f476fd177fc3d2e48fa6bffacfd (diff)
tcg/s390: Use load-on-condition-2 facility
This allows LOAD HALFWORD IMMEDIATE ON CONDITION, eliminating one insn in some common cases. Acked-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/s390/tcg-target.h')
-rw-r--r--tcg/s390/tcg-target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h
index f7619a9ef1..bedda5edf6 100644
--- a/tcg/s390/tcg-target.h
+++ b/tcg/s390/tcg-target.h
@@ -59,6 +59,7 @@ typedef enum TCGReg {
#define FACILITY_LOAD_ON_COND (1ULL << (63 - 45))
#define FACILITY_FAST_BCR_SER FACILITY_LOAD_ON_COND
#define FACILITY_DISTINCT_OPS FACILITY_LOAD_ON_COND
+#define FACILITY_LOAD_ON_COND2 (1ULL << (63 - 53))
extern uint64_t s390_facilities;