Make vector-{1,2}.c run correctly on PowerPC 32-bit

From-SVN: r171289
This commit is contained in:
Michael Meissner 2011-03-22 14:36:11 +00:00 committed by Michael Meissner
parent 009d3fcf71
commit 956c23da96
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2011-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
* gcc.dg/torture/vector-1.c: On powerpc add -fabi=altivec to avoid
failure on 32-bit systems.
* gcc.dg/torture/vector-2.c: Ditto.
2011-03-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/48228

View File

@ -3,6 +3,8 @@
/* { dg-do run } */
/* { dg-options "-msse" { target { i?86-*-* x86_64-*-* } } } */
/* { dg-require-effective-target sse_runtime { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-mabi=altivec" { target { powerpc-*-* powerpc64-*-* } } } */
/* { dg-require-effective-target vmx_hw { target { powerpc-*-* powerpc64--*-* } } } */
#define vector __attribute__((vector_size(16) ))

View File

@ -3,6 +3,8 @@
/* { dg-do run } */
/* { dg-options "-msse" { target { i?86-*-* x86_64-*-* } } } */
/* { dg-require-effective-target sse_runtime { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-mabi=altivec" { target { powerpc-*-* powerpc64-*-* } } } */
/* { dg-require-effective-target vmx_hw { target { powerpc-*-* powerpc64--*-* } } } */
#define vector __attribute__((vector_size(16) ))