commit | 272694a29dc3ed2ed675e03194d33485a2902f0a | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Wed Nov 16 10:54:57 2016 +0100 |
committer | Richard Henderson <rth@twiddle.net> | Tue Jan 10 08:06:11 2017 -0800 |
tree | 5cc8851e4a92d41b41f0853c1c7a0a43532edab9 | |
parent | 881549da4b58ed1b703823a435b9028c4a8b41d3 [diff] [blame] |
target-cris: Use clz opcode Signed-off-by: Richard Henderson <rth@twiddle.net>
diff --git a/target/cris/translate.c b/target/cris/translate.c index b910427..0ee05ca 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c
@@ -767,7 +767,7 @@ 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);