• H
    Try to fix the CRC-32C autoconf magic for icc compiler. · b4eb2d16
    Heikki Linnakangas 提交于
    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.
    b4eb2d16
configure 447.0 KB