diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-01-30 19:55:15 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-01-30 19:55:15 +0000 |
commit | 3b1004624e54cc2fefd034ff80d5dea4b6db764f (patch) | |
tree | 112496da9bdbecb1148e1bda4ee7cab7d32b7afc | |
parent | f2a7420ddb6b73993224d033fa133a9d9af5fafc (diff) | |
download | glibc-3b1004624e54cc2fefd034ff80d5dea4b6db764f.tar.gz glibc-3b1004624e54cc2fefd034ff80d5dea4b6db764f.tar.xz glibc-3b1004624e54cc2fefd034ff80d5dea4b6db764f.zip |
Fix makefile/configure problems with sse2avx changes.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | config.make.in | 1 | ||||
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/Makefile | 2 |
5 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 333d114470..9ca578f94d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2012-01-30 Joseph Myers <joseph@codesourcery.com> + + * configure.in (libc_cv_cc_sse2avx): AC_SUBST. + * configure: Regenerate. + * config.make.in (config-cflags-sse2avx): Define. + * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c): + Fix typo. + 2012-01-29 Chris Metcalf <cmetcalf@tilera.com> * scripts/config.guess: Update from upstream config git repository. diff --git a/config.make.in b/config.make.in index d9379521a3..75061f6d50 100644 --- a/config.make.in +++ b/config.make.in @@ -36,6 +36,7 @@ asflags-cpu = @libc_cv_cc_submachine@ config-cflags-sse4 = @libc_cv_cc_sse4@ config-cflags-avx = @libc_cv_cc_avx@ +config-cflags-sse2avx = @libc_cv_cc_sse2avx@ config-cflags-novzeroupper = @libc_cv_cc_novzeroupper@ config-asflags-i686 = @libc_cv_as_i686@ diff --git a/configure b/configure index 71e8de1c49..508e1bb58c 100755 --- a/configure +++ b/configure @@ -620,6 +620,7 @@ use_ldconfig libc_cv_as_i686 libc_cv_cc_fma4 libc_cv_cc_novzeroupper +libc_cv_cc_sse2avx libc_cv_cc_avx libc_cv_cc_sse4 libc_cv_cpp_asm_debuginfo @@ -7643,6 +7644,7 @@ fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fPIC is default" >&5 $as_echo_n "checking whether -fPIC is default... " >&6; } if ${libc_cv_pic_default+:} false; then : diff --git a/configure.in b/configure.in index 5fd6d85426..0499d3c2d4 100644 --- a/configure.in +++ b/configure.in @@ -2154,6 +2154,7 @@ dnl sysdeps/CPU/configure.in checks set this via arch-specific asm tests AC_SUBST(libc_cv_cpp_asm_debuginfo) AC_SUBST(libc_cv_cc_sse4) AC_SUBST(libc_cv_cc_avx) +AC_SUBST(libc_cv_cc_sse2avx) AC_SUBST(libc_cv_cc_novzeroupper) AC_SUBST(libc_cv_cc_fma4) AC_SUBST(libc_cv_as_i686) diff --git a/sysdeps/x86_64/fpu/multiarch/Makefile b/sysdeps/x86_64/fpu/multiarch/Makefile index 4b5c173145..2a38ffc764 100644 --- a/sysdeps/x86_64/fpu/multiarch/Makefile +++ b/sysdeps/x86_64/fpu/multiarch/Makefile @@ -48,7 +48,7 @@ CFLAGS-mpexp-avx.c = -msse2avx -DSSE2AVX CFLAGS-mplog-avx.c = -msse2avx -DSSE2AVX CFLAGS-s_atan-avx.c = -msse2avx -DSSE2AVX CFLAGS-s_sin-avx.c = -msse2avx -DSSE2AVX -CFLAGS-slowexp-avx.c = -sse2mavx -DSSE2AVX +CFLAGS-slowexp-avx.c = -msse2avx -DSSE2AVX CFLAGS-s_tan-avx.c = -msse2avx -DSSE2AVX endif endif |