diff options
Diffstat (limited to 'sysdeps/i386/configure')
-rw-r--r-- | sysdeps/i386/configure | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysdeps/i386/configure b/sysdeps/i386/configure index 7b3683f600..4ea7be9193 100644 --- a/sysdeps/i386/configure +++ b/sysdeps/i386/configure @@ -111,6 +111,26 @@ if test $libc_cv_cc_avx = yes; then fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking -mavx -mprefer-avx128 support" >&5 +$as_echo_n "checking -mavx -mprefer-avx128 support... " >&6; } +if ${libc_cv_cc_avx128+:} false; then : + $as_echo_n "(cached) " >&6 +else + if { ac_try='${CC-cc} -mavx -mprefer-avx128 -xc /dev/null -S -o /dev/null' + { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 + (eval $ac_try) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + libc_cv_cc_avx128=yes +else + libc_cv_cc_avx128=no +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_avx128" >&5 +$as_echo "$libc_cv_cc_avx128" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX encoding of SSE instructions" >&5 $as_echo_n "checking for AVX encoding of SSE instructions... " >&6; } if ${libc_cv_cc_sse2avx+:} false; then : |