mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
target-tilegx: Use clz and ctz opcodes
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
0f9712b117
commit
c3aa369e5d
3 changed files with 2 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue