altivec-6.c: Use -maltivec, don't limit to darwin.

2004-05-24  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/altivec-6.c: Use -maltivec, don't limit to darwin.
	* gcc.dg/altivec-12.c: Ditto.

From-SVN: r82212
This commit is contained in:
Janis Johnson 2004-05-24 17:54:20 +00:00 committed by Janis Johnson
parent 386f10152b
commit 6eade693b5
3 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2004-05-24 Janis Johnson <janis187@us.ibm.com>
* 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 <mark@codesourcery.com>

View File

@ -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 <altivec.h>
#include "altivec_check.h"
extern void abort (void);

View File

@ -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 <altivec.h>
/* These denote "generic" GCC vectors. */
static int __attribute__((vector_size(16))) x, y;