]> Git Repo - qemu.git/commitdiff
target-alpha: Fix generic ctz64.
authorRichard Henderson <[email protected]>
Mon, 14 Dec 2009 01:47:25 +0000 (17:47 -0800)
committerAurelien Jarno <[email protected]>
Thu, 17 Dec 2009 17:12:04 +0000 (18:12 +0100)
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
host-utils.h

index e335c5cb68e1fc3923ef725f75cc1c9d223b7b87..0ddc17658295a9f9d4c1a05e45c8489efdfa5a7a 100644 (file)
@@ -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
This page took 0.023105 seconds and 4 git commands to generate.