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 (val)
|
||||
return __builtin_ctz(val);
|
||||
return __builtin_ctzll(val);
|
||||
else
|
||||
return 64;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user