about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h')
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/math-tests-arch.h2
1 files changed, 1 insertions, 1 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)