target-tilegx: Use clz and ctz opcodes

Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
Richard Henderson 2016-11-16 11:33:48 +01:00
parent 0f9712b117
commit c3aa369e5d
3 changed files with 2 additions and 14 deletions

View file

@ -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);