summaryrefslogtreecommitdiff
path: root/target/s390x/int_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-11-16 11:30:34 +0100
committerRichard Henderson <rth@twiddle.net>2017-01-10 08:06:11 -0800
commit0f9712b117cae2d8f01475faea662c3e1b57d5f7 (patch)
tree3fc53fc3abf3b0a85a1a9d491d2c497393168b0a /target/s390x/int_helper.c
parent9b8514e56efa59549ad642a494ba69e2b0ca4daf (diff)
downloadqemu-0f9712b117cae2d8f01475faea662c3e1b57d5f7.zip
target-s390x: Use clz opcode
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/s390x/int_helper.c')
-rw-r--r--target/s390x/int_helper.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/s390x/int_helper.c b/target/s390x/int_helper.c
index 370c94da55..5bc470bdc7 100644
--- a/target/s390x/int_helper.c
+++ b/target/s390x/int_helper.c
@@ -117,12 +117,6 @@ uint64_t HELPER(divu64)(CPUS390XState *env, uint64_t ah, uint64_t al,
return ret;
}
-/* count leading zeros, for find leftmost one */
-uint64_t HELPER(clz)(uint64_t v)
-{
- return clz64(v);
-}
-
uint64_t HELPER(cvd)(int32_t reg)
{
/* positive 0 */