cmake HAVE_XSAVE_INTRIN examples

InsightSoftwareConsortium/ITK Modules/ThirdParty/ZLIB/src/itkzlib-ng/cmake/detect-intrinsics.cmake :596

check_c_source_compiles(
        "#ifdef _MSC_VER
        #  include <intrin.h>
        #elif __GNUC__ == 8 && __GNUC_MINOR__ > 1
        #  include <xsaveintrin.h>
        #else
        #  include <immintrin.h>
        #endif
        unsigned int f(unsigned int a) { return (int) _xgetbv(a); }
        int main(void) { return 0; }"
        HAVE_XSAVE_INTRIN FAIL_REGEX "not supported")