A recently added test was observed to fail when compiled without the -mvsx 
option.  This patch adds -mvsx to the dg-options directive.

Was boostrapped and regression tested on powerpc-linux (P7 big-endian, both 
-m32 and -m64).

Was preapproved by seg...@gcc.gnu.org and has been merged with trunk.

gcc/testsuite/ChangeLog:

2019-03-19  Kelvin Nilsen  <kel...@gcc.gnu.org>

        PR target/89736
        * gcc.target/powerpc/pr87532-mc.c: Modify dejagnu directives to
        restrict this test to vsx targets.

Index: gcc/testsuite/gcc.target/powerpc/pr87532-mc.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/pr87532-mc.c       (revision 269782)
+++ gcc/testsuite/gcc.target/powerpc/pr87532-mc.c       (working copy)
@@ -1,8 +1,8 @@
 /* { dg-do run { target int128 } } */
-/* { dg-require-effective-target vmx_hw } */
-/* { dg-options "-maltivec -O2" } */
+/* { dg-require-effective-target vsx_hw } */
+/* { dg-options "-mvsx -O2" } */
 
-/* This test should run the same on any target that supports altivec/dfp
+/* This test should run the same on any target that supports vsx
    instructions.  Intentionally not specifying cpu in order to test
    all code generation paths.  */
 

Reply via email to