From: Harmen Stoppels Date: Mon, 21 Aug 2023 09:27:01 +0000 (+0200) Subject: another X-Git-Tag: 2.1.4~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf029967c2956cb2d40d04da86d0f4d6b48d4879;p=thirdparty%2Fzlib-ng.git another --- diff --git a/configure b/configure index 74290c6a5..e54db18ab 100755 --- a/configure +++ b/configure @@ -1210,13 +1210,11 @@ check_vpclmulqdq_intrinsics() { cat > $test.c << EOF #include #include -int main(void) { - __m512i a = _mm512_setzero_si512(); +__m512i f(__m512i a) { __m512i b = _mm512_setzero_si512(); - __m512i c = _mm512_clmulepi64_epi128(a, b, 0x10); - (void)c; - return 0; + return _mm512_clmulepi64_epi128(a, b, 0x10); } +int main(void) { return 0; } EOF if try ${CC} ${CFLAGS} ${vpclmulflag} $test.c; then echo "Checking for VPCLMULQDQ intrinsics ... Yes." | tee -a configure.log