diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2015-05-18 15:40:00 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-06-05 01:37:57 +0200 |
commit | a91a1b20a23424412a3e7bb184422ec30ae64453 (patch) | |
tree | 2b8add84968cb418ab00d8cb249f074d000e3141 | |
parent | d30107814c8d02f1896bd57249aef1b5aaed38c9 (diff) | |
download | qemu-a91a1b20a23424412a3e7bb184422ec30ae64453.tar.gz qemu-a91a1b20a23424412a3e7bb184422ec30ae64453.tar.bz2 qemu-a91a1b20a23424412a3e7bb184422ec30ae64453.zip |
target-s390x: remove unused helpers
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r-- | target-s390x/helper.h | 2 | ||||
-rw-r--r-- | target-s390x/int_helper.c | 20 |
2 files changed, 0 insertions, 22 deletions
diff --git a/target-s390x/helper.h b/target-s390x/helper.h index c4ec3f1001..e6f2afb44f 100644 --- a/target-s390x/helper.h +++ b/target-s390x/helper.h @@ -15,8 +15,6 @@ DEF_HELPER_4(clst, i64, env, i64, i64, i64) DEF_HELPER_4(mvpg, void, env, i64, i64, i64) DEF_HELPER_4(mvst, i64, env, i64, i64, i64) DEF_HELPER_5(ex, i32, env, i32, i64, i64, i64) -DEF_HELPER_FLAGS_1(abs_i32, TCG_CALL_NO_RWG_SE, i32, s32) -DEF_HELPER_FLAGS_1(nabs_i32, TCG_CALL_NO_RWG_SE, s32, s32) DEF_HELPER_FLAGS_4(stam, TCG_CALL_NO_WG, void, env, i32, i64, i32) DEF_HELPER_FLAGS_4(lam, TCG_CALL_NO_WG, void, env, i32, i64, i32) DEF_HELPER_4(mvcle, i32, env, i32, i64, i32) diff --git a/target-s390x/int_helper.c b/target-s390x/int_helper.c index f53723dea2..2c2b3f622c 100644 --- a/target-s390x/int_helper.c +++ b/target-s390x/int_helper.c @@ -115,26 +115,6 @@ uint64_t HELPER(divu64)(CPUS390XState *env, uint64_t ah, uint64_t al, return ret; } -/* absolute value 32-bit */ -uint32_t HELPER(abs_i32)(int32_t val) -{ - if (val < 0) { - return -val; - } else { - return val; - } -} - -/* negative absolute value 32-bit */ -int32_t HELPER(nabs_i32)(int32_t val) -{ - if (val < 0) { - return val; - } else { - return -val; - } -} - /* count leading zeros, for find leftmost one */ uint64_t HELPER(clz)(uint64_t v) { |