diff options
-rw-r--r-- | sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h b/sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h index 74fac298d2..bc3c1498bd 100644 --- a/sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h +++ b/sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h @@ -25,7 +25,7 @@ do \ { \ INIT_ARCH() \ - if (!(hwcap & PPC_FEATURE_HAS_VSX )) return; \ + if (!(hwcap2 & PPC_FEATURE2_ARCH_2_07)) return; \ } \ while (0) diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile b/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile index dd2b128cd5..b1406cc337 100644 --- a/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile +++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile @@ -2,11 +2,11 @@ ifeq ($(subdir),mathvec) libmvec-sysdep_routines += vec_d_cos2_vsx vec_s_cosf4_vsx \ vec_d_sin2_vsx vec_s_sinf4_vsx \ vec_d_sincos2_vsx vec_s_sincosf4_vsx -CFLAGS-vec_d_cos2_vsx.c += -mabi=altivec -maltivec -mvsx +CFLAGS-vec_d_cos2_vsx.c += -mabi=altivec -maltivec -mvsx -mpower8-vector CFLAGS-vec_s_cosf4_vsx.c += -mabi=altivec -maltivec -mvsx -CFLAGS-vec_d_sin2_vsx.c += -mabi=altivec -maltivec -mvsx +CFLAGS-vec_d_sin2_vsx.c += -mabi=altivec -maltivec -mvsx -mpower8-vector CFLAGS-vec_s_sinf4_vsx.c += -mabi=altivec -maltivec -mvsx -CFLAGS-vec_d_sincos2_vsx.c += -mabi=altivec -maltivec -mvsx +CFLAGS-vec_d_sincos2_vsx.c += -mabi=altivec -maltivec -mvsx -mpower8-vector CFLAGS-vec_s_sincosf4_vsx.c += -mabi=altivec -maltivec -mvsx endif |