diff options
author | Richard Henderson <rth@twiddle.net> | 2009-12-13 17:47:25 -0800 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-17 18:12:04 +0100 |
commit | 06445248d23d2422a0fb5736b64f9e5a66539749 (patch) | |
tree | 9f141c95d34be811b6a8c660756706c3e9b78d53 | |
parent | dbb30fe6ef39e4e155d13c633e3bd77db5372abe (diff) |
target-alpha: Fix generic ctz64.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | host-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host-utils.h b/host-utils.h index e335c5cb68..0ddc176582 100644 --- a/host-utils.h +++ b/host-utils.h @@ -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 |