diff options
author | Richard Henderson <rth@twiddle.net> | 2016-11-16 11:37:15 +0100 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-01-10 08:06:11 -0800 |
commit | 0efa8208544e3e5984d7089ec751d3fbcfd43156 (patch) | |
tree | 51f4914944b234cf9124aa9a4a4d050af2192ddc /target/tricore/op_helper.c | |
parent | c3aa369e5d895b4a48339fd3dbb3f72228a8ecc9 (diff) |
target-tricore: Use clz opcode
Tested-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/tricore/op_helper.c')
-rw-r--r-- | target/tricore/op_helper.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target/tricore/op_helper.c b/target/tricore/op_helper.c index ac02e0a36b..3731d5e6f1 100644 --- a/target/tricore/op_helper.c +++ b/target/tricore/op_helper.c @@ -1733,11 +1733,6 @@ EXTREMA_H_B(min, <) #undef EXTREMA_H_B -uint32_t helper_clo(target_ulong r1) -{ - return clo32(r1); -} - uint32_t helper_clo_h(target_ulong r1) { uint32_t ret_hw0 = extract32(r1, 0, 16); @@ -1756,11 +1751,6 @@ uint32_t helper_clo_h(target_ulong r1) return ret_hw0 | (ret_hw1 << 16); } -uint32_t helper_clz(target_ulong r1) -{ - return clz32(r1); -} - uint32_t helper_clz_h(target_ulong r1) { uint32_t ret_hw0 = extract32(r1, 0, 16); |