summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
13c096f)
Intrinsic __popcnt64() returns an unsigned __int64, cast
to an integer and silence the warning.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
return (CPUInfo[2] >> 23) & 1;
}
return (CPUInfo[2] >> 23) & 1;
}
-#define POPCNT_INTRINSIC(x) __popcnt64(x)
+#define POPCNT_INTRINSIC(x) (int)__popcnt64(x)
#elif defined(__GNUC__) && defined(USE_POPCNT) // Gcc compiler
#elif defined(__GNUC__) && defined(USE_POPCNT) // Gcc compiler