mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
target-i386: Use clz and ctz opcodes
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
7539a012f6
commit
e5143c9088
3 changed files with 13 additions and 29 deletions
|
@ -417,17 +417,6 @@ void helper_idivq_EAX(CPUX86State *env, target_ulong t0)
|
|||
# define clztl clz64
|
||||
#endif
|
||||
|
||||
/* bit operations */
|
||||
target_ulong helper_ctz(target_ulong t0)
|
||||
{
|
||||
return ctztl(t0);
|
||||
}
|
||||
|
||||
target_ulong helper_clz(target_ulong t0)
|
||||
{
|
||||
return clztl(t0);
|
||||
}
|
||||
|
||||
target_ulong helper_pdep(target_ulong src, target_ulong mask)
|
||||
{
|
||||
target_ulong dest = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue