23 #ifdef HAVE__GET_CPUID
36 unsigned int exx[4] = {0, 0, 0, 0};
38 #if defined(HAVE__GET_CPUID)
39 __get_cpuid(1, &exx[0], &exx[1], &exx[2], &exx[3]);
40 #elif defined(HAVE__CPUID)
43 #error cpuid instruction not available
46 return (exx[2] & (1 << 20)) != 0;
pg_crc32c pg_comp_crc32c_sb8(pg_crc32c crc, const void *data, size_t len)
pg_crc32c(* pg_comp_crc32c)(pg_crc32c crc, const void *data, size_t len)
static bool pg_crc32c_sse42_available(void)
static pg_crc32c pg_comp_crc32c_choose(pg_crc32c crc, const void *data, size_t len)