diff options
author | Richard Henderson <rth@twiddle.net> | 2016-11-16 11:33:48 +0100 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-01-10 08:06:11 -0800 |
commit | c3aa369e5d895b4a48339fd3dbb3f72228a8ecc9 (patch) | |
tree | 4c78914c4c1960e8ab6fdf8fb9d65afd66779b8e /target/tilegx/helper.c | |
parent | 0f9712b117cae2d8f01475faea662c3e1b57d5f7 (diff) |
target-tilegx: Use clz and ctz opcodes
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/tilegx/helper.c')
-rw-r--r-- | target/tilegx/helper.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/target/tilegx/helper.c b/target/tilegx/helper.c index b4fba9cc21..b6f5e29ddd 100644 --- a/target/tilegx/helper.c +++ b/target/tilegx/helper.c @@ -55,16 +55,6 @@ void helper_ext01_ics(CPUTLGState *env) } } -uint64_t helper_cntlz(uint64_t arg) -{ - return clz64(arg); -} - -uint64_t helper_cnttz(uint64_t arg) -{ - return ctz64(arg); -} - uint64_t helper_pcnt(uint64_t arg) { return ctpop64(arg); |