aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/helper.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-11-15 10:25:57 -0800
committerRichard Henderson <rth@twiddle.net>2013-01-05 12:18:46 -0800
commitc20fec4055f06de6d96789d1a290f284fac48fc4 (patch)
tree9e0fb05782b6100ea7b71a0bb03204055f63952b /target-s390x/helper.h
parentc482ea94eaf26761e5cc0e53259cf1a98db29622 (diff)
target-s390: Use TCG_CALL_NO_WG for integer helpers
The division routines do not read or write tcg registers, but can raise fixed-point divide exceptions. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-s390x/helper.h')
-rw-r--r--target-s390x/helper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/target-s390x/helper.h b/target-s390x/helper.h
index 77f8f7d76b..f5dabb701e 100644
--- a/target-s390x/helper.h
+++ b/target-s390x/helper.h
@@ -9,10 +9,10 @@ DEF_HELPER_FLAGS_4(clc, TCG_CALL_NO_WG, i32, env, i32, i64, i64)
DEF_HELPER_3(mvcl, i32, env, i32, i32)
DEF_HELPER_FLAGS_4(clm, TCG_CALL_NO_WG, i32, env, i32, i32, i64)
DEF_HELPER_FLAGS_3(mul128, TCG_CALL_NO_RWG, i64, env, i64, i64)
-DEF_HELPER_3(divs32, s64, env, s64, s64)
-DEF_HELPER_3(divu32, i64, env, i64, i64)
-DEF_HELPER_3(divs64, s64, env, s64, s64)
-DEF_HELPER_4(divu64, i64, env, i64, i64, i64)
+DEF_HELPER_FLAGS_3(divs32, TCG_CALL_NO_WG, s64, env, s64, s64)
+DEF_HELPER_FLAGS_3(divu32, TCG_CALL_NO_WG, i64, env, i64, i64)
+DEF_HELPER_FLAGS_3(divs64, TCG_CALL_NO_WG, s64, env, s64, s64)
+DEF_HELPER_FLAGS_4(divu64, TCG_CALL_NO_WG, i64, env, i64, i64, i64)
DEF_HELPER_4(srst, i64, env, i64, i64, i64)
DEF_HELPER_4(clst, i64, env, i64, i64, i64)
DEF_HELPER_4(mvpg, void, env, i64, i64, i64)