diff options
Diffstat (limited to 'lib/count-one-bits.h')
-rw-r--r-- | lib/count-one-bits.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/count-one-bits.h b/lib/count-one-bits.h index 8d67f8718a4..24bf8cc2327 100644 --- a/lib/count-one-bits.h +++ b/lib/count-one-bits.h @@ -85,9 +85,12 @@ count_one_bits_32 (unsigned int x) # include <intrin.h> # else /* Don't pollute the namespace with too many MSVC intrinsics. */ +extern void __cpuid (int[4], int); # pragma intrinsic (__cpuid) +extern unsigned int __popcnt (unsigned int); # pragma intrinsic (__popcnt) # if defined _M_X64 +extern unsigned long long __popcnt64 (unsigned long long); # pragma intrinsic (__popcnt64) # endif # endif |