diff options
author | Richard Henderson <rth@twiddle.net> | 2016-11-16 11:49:06 +0100 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-01-10 08:06:11 -0800 |
commit | 7539a012f614b724426ac9360238f3281d928a3f (patch) | |
tree | fac1156451c03c015d19afe831dbba638f90acd8 /target/arm/helper-a64.c | |
parent | b79ea941d6be8b64bdfa53bd4a1c09e72fd505a8 (diff) |
target-arm: Use clz opcode
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/arm/helper-a64.c')
-rw-r--r-- | target/arm/helper-a64.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target/arm/helper-a64.c b/target/arm/helper-a64.c index 98b97df461..77999ff46b 100644 --- a/target/arm/helper-a64.c +++ b/target/arm/helper-a64.c @@ -54,11 +54,6 @@ int64_t HELPER(sdiv64)(int64_t num, int64_t den) return num / den; } -uint64_t HELPER(clz64)(uint64_t x) -{ - return clz64(x); -} - uint64_t HELPER(cls64)(uint64_t x) { return clrsb64(x); @@ -69,11 +64,6 @@ uint32_t HELPER(cls32)(uint32_t x) return clrsb32(x); } -uint32_t HELPER(clz32)(uint32_t x) -{ - return clz32(x); -} - uint64_t HELPER(rbit64)(uint64_t x) { return revbit64(x); |