mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
target-tilegx: Handle most bit manipulation instructions
The crc instructions are omitted from this set. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
42fedbca8f
commit
7f41a8d672
3 changed files with 79 additions and 1 deletions
|
@ -40,6 +40,16 @@ uint64_t helper_cnttz(uint64_t arg)
|
|||
return ctz64(arg);
|
||||
}
|
||||
|
||||
uint64_t helper_pcnt(uint64_t arg)
|
||||
{
|
||||
return ctpop64(arg);
|
||||
}
|
||||
|
||||
uint64_t helper_revbits(uint64_t arg)
|
||||
{
|
||||
return revbit64(arg);
|
||||
}
|
||||
|
||||
/*
|
||||
* Functional Description
|
||||
* uint64_t a = rf[SrcA];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue