aboutsummaryrefslogtreecommitdiff
path: root/target/cris/op_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-11-16 10:54:57 +0100
committerRichard Henderson <rth@twiddle.net>2017-01-10 08:06:11 -0800
commit272694a29dc3ed2ed675e03194d33485a2902f0a (patch)
tree5cc8851e4a92d41b41f0853c1c7a0a43532edab9 /target/cris/op_helper.c
parent881549da4b58ed1b703823a435b9028c4a8b41d3 (diff)
target-cris: Use clz opcode
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/cris/op_helper.c')
-rw-r--r--target/cris/op_helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/cris/op_helper.c b/target/cris/op_helper.c
index 504303913c..e92505c907 100644
--- a/target/cris/op_helper.c
+++ b/target/cris/op_helper.c
@@ -230,11 +230,6 @@ void helper_rfn(CPUCRISState *env)
env->pregs[PR_CCS] |= M_FLAG_V32;
}
-uint32_t helper_lz(uint32_t t0)
-{
- return clz32(t0);
-}
-
uint32_t helper_btst(CPUCRISState *env, uint32_t t0, uint32_t t1, uint32_t ccs)
{
/* FIXME: clean this up. */