From: Janis Johnson Date: Mon, 24 May 2004 17:54:20 +0000 (+0000) Subject: altivec-6.c: Use -maltivec, don't limit to darwin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6eade693b5f5f0c6d7b75d61d44b75eafc94dd1d;p=gcc.git altivec-6.c: Use -maltivec, don't limit to darwin. 2004-05-24 Janis Johnson * gcc.dg/altivec-6.c: Use -maltivec, don't limit to darwin. * gcc.dg/altivec-12.c: Ditto. From-SVN: r82212 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bd68df784cd..9e6e2e0367c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2004-05-24 Janis Johnson + * gcc.dg/altivec-6.c: Use -maltivec, don't limit to darwin. + * gcc.dg/altivec-12.c: Ditto. + * gcc.dg/altivec-3.c: Move call to altivec_check. 2004-05-23 Mark Mitchell diff --git a/gcc/testsuite/gcc.dg/altivec-12.c b/gcc/testsuite/gcc.dg/altivec-12.c index ae9cdf42c43..30700f3dc40 100644 --- a/gcc/testsuite/gcc.dg/altivec-12.c +++ b/gcc/testsuite/gcc.dg/altivec-12.c @@ -1,8 +1,9 @@ -/* { dg-do run { target powerpc*-*-darwin* } } */ -/* { dg-options "-faltivec" } */ +/* { dg-do run { target powerpc*-*-* } } */ +/* { dg-options "-maltivec" } */ /* Program to test PowerPC AltiVec instructions. */ +#include #include "altivec_check.h" extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/altivec-6.c b/gcc/testsuite/gcc.dg/altivec-6.c index 71d8ea38161..bc138b3d411 100644 --- a/gcc/testsuite/gcc.dg/altivec-6.c +++ b/gcc/testsuite/gcc.dg/altivec-6.c @@ -1,6 +1,7 @@ -/* { dg-do compile { target powerpc-*-darwin* } } */ -/* { dg-options "-faltivec -O0 -Wall" } */ +/* { dg-do compile { target powerpc-*-* } } */ +/* { dg-options "-maltivec -O0 -Wall" } */ +#include /* These denote "generic" GCC vectors. */ static int __attribute__((vector_size(16))) x, y;