aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/int_helper.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-05-18 15:40:00 +0200
committerAlexander Graf <agraf@suse.de>2015-06-05 01:37:57 +0200
commita91a1b20a23424412a3e7bb184422ec30ae64453 (patch)
tree2b8add84968cb418ab00d8cb249f074d000e3141 /target-s390x/int_helper.c
parentd30107814c8d02f1896bd57249aef1b5aaed38c9 (diff)
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>
Diffstat (limited to 'target-s390x/int_helper.c')
-rw-r--r--target-s390x/int_helper.c20
1 files changed, 0 insertions, 20 deletions
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)
{