aboutsummaryrefslogtreecommitdiff
path: root/tcg/s390x/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-02-24 01:35:43 +0000
committerRichard Henderson <richard.henderson@linaro.org>2023-01-06 23:07:06 +0000
commit668ce343f6f54d9fe900a1884b876f8008908f4d (patch)
tree21b554760492b117ca715b95f75b57f1cfdbfbe2 /tcg/s390x/tcg-target.h
parent92c89a074cbcea660beb2259d9aa5b75f1490098 (diff)
tcg/s390x: Support MIE2 MGRK instruction
The MIE2 facility adds a 3-operand signed 64x64->128 multiply. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/s390x/tcg-target.h b/tcg/s390x/tcg-target.h
index 1fb7b8fb1d..03ce11a34a 100644
--- a/tcg/s390x/tcg-target.h
+++ b/tcg/s390x/tcg-target.h
@@ -136,7 +136,7 @@ extern uint64_t s390_facilities[3];
#define TCG_TARGET_HAS_add2_i64 1
#define TCG_TARGET_HAS_sub2_i64 1
#define TCG_TARGET_HAS_mulu2_i64 1
-#define TCG_TARGET_HAS_muls2_i64 0
+#define TCG_TARGET_HAS_muls2_i64 HAVE_FACILITY(MISC_INSN_EXT2)
#define TCG_TARGET_HAS_muluh_i64 0
#define TCG_TARGET_HAS_mulsh_i64 0