aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-09-25 15:26:59 -0700
committerRichard Henderson <rth@twiddle.net>2013-01-05 12:00:28 -0800
commit1ac5889f48127321a585886524013fcb6e2c91e3 (patch)
tree8b1035ceb0d9e962fa778ee84d9bbfcaa84234a9 /target-s390x/helper.h
parentd87aaf934f2fa24443bba7db60036b698e04d6a8 (diff)
target-s390: Convert 64-bit MULTIPLY LOGICAL
Use a new "retxl" member of CPUS290XState to return the "eXtra Low" part of a 128-bit value. That said, this will get used when two independent values need returning (e.g. quotient+remainder) as well. At the same time, shuffle the elements of CPUS390XState to get this new space from existing padding in the structure. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-s390x/helper.h')
-rw-r--r--target-s390x/helper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/helper.h b/target-s390x/helper.h
index 2498f83be7..88a065cad3 100644
--- a/target-s390x/helper.h
+++ b/target-s390x/helper.h
@@ -9,7 +9,7 @@ DEF_HELPER_4(clc, i32, env, i32, i64, i64)
DEF_HELPER_3(mvcl, i32, env, i32, i32)
DEF_HELPER_4(clm, i32, env, i32, i32, i64)
DEF_HELPER_4(stcm, void, env, i32, i32, i64)
-DEF_HELPER_3(mlg, void, env, i32, i64)
+DEF_HELPER_FLAGS_3(mul128, TCG_CALL_NO_RWG, i64, env, i64, i64)
DEF_HELPER_3(dlg, void, env, i32, i64)
DEF_HELPER_4(srst, i32, env, i32, i32, i32)
DEF_HELPER_4(clst, i32, env, i32, i32, i32)