mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
microblaze: Add support for the clz insn
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
2355c16e74
commit
48b5e96f0f
3 changed files with 17 additions and 0 deletions
|
@ -165,6 +165,11 @@ uint32_t helper_cmpu(uint32_t a, uint32_t b)
|
|||
return t;
|
||||
}
|
||||
|
||||
uint32_t helper_clz(uint32_t t0)
|
||||
{
|
||||
return clz32(t0);
|
||||
}
|
||||
|
||||
uint32_t helper_carry(uint32_t a, uint32_t b, uint32_t cf)
|
||||
{
|
||||
uint32_t ncf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue