aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/int_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/openrisc/int_helper.c')
-rw-r--r--target/openrisc/int_helper.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/target/openrisc/int_helper.c b/target/openrisc/int_helper.c
index 4d1f958901..ba0fd277cd 100644
--- a/target/openrisc/int_helper.c
+++ b/target/openrisc/int_helper.c
@@ -24,25 +24,6 @@
#include "exception.h"
#include "qemu/host-utils.h"
-target_ulong HELPER(ff1)(target_ulong x)
-{
-/*#ifdef TARGET_OPENRISC64
- return x ? ctz64(x) + 1 : 0;
-#else*/
- return x ? ctz32(x) + 1 : 0;
-/*#endif*/
-}
-
-target_ulong HELPER(fl1)(target_ulong x)
-{
-/* not used yet, open it when we need or64. */
-/*#ifdef TARGET_OPENRISC64
- return 64 - clz64(x);
-#else*/
- return 32 - clz32(x);
-/*#endif*/
-}
-
uint32_t HELPER(mul32)(CPUOpenRISCState *env,
uint32_t ra, uint32_t rb)
{