mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target-unicore32: Use clz opcode
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
0efa820854
commit
03a733dc62
3 changed files with 3 additions and 16 deletions
|
@ -32,16 +32,6 @@ UniCore32CPU *uc32_cpu_init(const char *cpu_model)
|
|||
return UNICORE32_CPU(cpu_generic_init(TYPE_UNICORE32_CPU, cpu_model));
|
||||
}
|
||||
|
||||
uint32_t HELPER(clo)(uint32_t x)
|
||||
{
|
||||
return clo32(x);
|
||||
}
|
||||
|
||||
uint32_t HELPER(clz)(uint32_t x)
|
||||
{
|
||||
return clz32(x);
|
||||
}
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
void helper_cp0_set(CPUUniCore32State *env, uint32_t val, uint32_t creg,
|
||||
uint32_t cop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue