summaryrefslogtreecommitdiff
path: root/target/cris/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/cris/translate.c')
-rw-r--r--target/cris/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/cris/translate.c b/target/cris/translate.c
index b91042743f..0ee05ca02d 100644
--- a/target/cris/translate.c
+++ b/target/cris/translate.c
@@ -767,7 +767,7 @@ static void cris_alu_op_exec(DisasContext *dc, int op,
t_gen_subx_carry(dc, dst);
break;
case CC_OP_LZ:
- gen_helper_lz(dst, b);
+ tcg_gen_clzi_tl(dst, b, TARGET_LONG_BITS);
break;
case CC_OP_MULS:
tcg_gen_muls2_tl(dst, cpu_PR[PR_MOF], a, b);