[Darwin, PPC, testsuite] Fix builtins-2 for Darwin.

This cannot pass for current Darwin, since it requires VSX and we
don't have any hardware supporting that.  Add a dg-requires clause
for this.

2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>

	* gcc.target/powerpc/builtins-2.c: Require VSX hardware support.

From-SVN: r272606
This commit is contained in:
Iain Sandoe 2019-06-23 20:29:09 +00:00 committed by Iain Sandoe
parent 5fe352455b
commit d7e96c4608
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-06-23 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/powerpc/builtins-2.c: Require VSX hardware support.
2019-06-23 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/powerpc/pr80125.c (foo): Use an unsigned char

View File

@ -1,4 +1,5 @@
/* { dg-do run { target { powerpc*-*-* } } } */
/* { dg-require-effective-target vsx_hw } */
/* { dg-options "-mdejagnu-cpu=power8 " } */
#include <altivec.h>