aboutsummaryrefslogtreecommitdiff
path: root/target/mips/op_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-11-16 11:11:54 +0100
committerRichard Henderson <rth@twiddle.net>2017-01-10 08:06:11 -0800
commit1a0196c5c7f197fad7b079074d587b3204bcfb0f (patch)
tree2feec0bfff244fabb46dfe5f896aae846b1c54b2 /target/mips/op_helper.c
parent5318420c62b6f6ce0bb7cfcf115fc21055015f90 (diff)
target-mips: Use clz opcode
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/mips/op_helper.c')
-rw-r--r--target/mips/op_helper.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/target/mips/op_helper.c b/target/mips/op_helper.c
index 7af4c2f084..11d781fc91 100644
--- a/target/mips/op_helper.c
+++ b/target/mips/op_helper.c
@@ -103,28 +103,6 @@ HELPER_ST(sd, stq, uint64_t)
#endif
#undef HELPER_ST
-target_ulong helper_clo (target_ulong arg1)
-{
- return clo32(arg1);
-}
-
-target_ulong helper_clz (target_ulong arg1)
-{
- return clz32(arg1);
-}
-
-#if defined(TARGET_MIPS64)
-target_ulong helper_dclo (target_ulong arg1)
-{
- return clo64(arg1);
-}
-
-target_ulong helper_dclz (target_ulong arg1)
-{
- return clz64(arg1);
-}
-#endif /* TARGET_MIPS64 */
-
/* 64 bits arithmetic for 32 bits hosts */
static inline uint64_t get_HILO(CPUMIPSState *env)
{