target-alpha: Fix generic ctz64.
Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
dbb30fe6ef
commit
06445248d2
@ -164,7 +164,7 @@ static inline int ctz64(uint64_t val)
|
|||||||
{
|
{
|
||||||
#if QEMU_GNUC_PREREQ(3, 4)
|
#if QEMU_GNUC_PREREQ(3, 4)
|
||||||
if (val)
|
if (val)
|
||||||
return __builtin_ctz(val);
|
return __builtin_ctzll(val);
|
||||||
else
|
else
|
||||||
return 64;
|
return 64;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user