Message ID | 86fc8d56-e1d4-7932-37ce-af18fb3036ed@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
On Wed, Dec 07, 2016 at 09:05:13PM -0600, Bill Schmidt wrote: > Andreas Schwab observed that the subject test case fails on 32-bit big-endian > because the test is not restricted to targets that support __int128. This > patch rectifies that. > > Tested on powerpc64-unknown-linux-gnu and verified that the test is flagged > as unsupported for BE, but runs correctly on LE. Tested on powerpc64le- > unknown-linux-gnu and verified that the test runs correctly there. Is this > ok for trunk? Yes, thanks! Segher > 2016-12-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> > > * gcc.target/powerpc/fold-vec-add-7.c: Require effective target to > support __int128.
Index: gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c =================================================================== --- gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c (revision 243331) +++ gcc/testsuite/gcc.target/powerpc/fold-vec-add-7.c (working copy) @@ -3,6 +3,7 @@ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-require-effective-target int128 } */ /* { dg-options "-maltivec -mvsx -mpower8-vector" } */ /* { dg-additional-options "-maix64" { target powerpc-ibm-aix* } } */