aboutsummaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-04-14 19:56:03 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2015-04-14 19:57:19 +0300
commitb4eb2d168d2c426978a02de8b9b6ccdb85e1b442 (patch)
treeeab102e54e7b8f104ba8236187af152f55b792a9 /src/include/postgres.h
parent0a52fafce42e47d151d1108a44b25152a908c732 (diff)
downloadpostgresql-b4eb2d168d2c426978a02de8b9b6ccdb85e1b442.tar.gz
postgresql-b4eb2d168d2c426978a02de8b9b6ccdb85e1b442.zip
Try to fix the CRC-32C autoconf magic for icc compiler.
On gcc and clang, the _mm_crc32_u8 and _mm_crc32_u64 intrinsics are not defined at all, when not building with -msse4.2. But on icc, they are. So we cannot assume that if those intrinsics are defined, we can always use them safely, we might still need the runtime check. To fix, check if the __SSE_4_2__ preprocessor symbol is defined. That's supposed to be defined only when the compiler is targeting a processor that has SSE 4.2 support. Per buildfarm members fulmar and okapi.
Diffstat (limited to 'src/include/postgres.h')
0 files changed, 0 insertions, 0 deletions