This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch: xfail some altivec tests


Powerpc-eabispe has conflicting opcodes with AltiVec.  They can never
be in the same executable.  Parts of the backend rely on this
(particularly the %y operand).

I'm XFAILing these tests for said architecture.  I will add a helpful
message in a subsequent patch.

Aldy

	* gcc.dg/altivec-1.c: XFAIL for powerpc-eabispe.
	* gcc.dg/altivec-3.c: Same.
	* gcc.dg/altivec-varargs-1.c: Same.

Index: gcc.dg/altivec-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/altivec-1.c,v
retrieving revision 1.5
diff -c -p -r1.5 altivec-1.c
*** gcc.dg/altivec-1.c	21 Feb 2004 09:08:37 -0000	1.5
--- gcc.dg/altivec-1.c	22 Apr 2004 01:53:54 -0000
***************
*** 1,4 ****
--- 1,5 ----
  /* { dg-do run { target powerpc*-*-* } } */
+ /* { dg-xfail-if "" { "powerpc-*-eabispe*" } { "-maltivec" } { "" } } */
  /* { dg-options "-maltivec" } */
  
  /* Program to test PowerPC AltiVec instructions.  */
Index: gcc.dg/altivec-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/altivec-3.c,v
retrieving revision 1.3
diff -c -p -r1.3 altivec-3.c
*** gcc.dg/altivec-3.c	16 Mar 2004 20:37:29 -0000	1.3
--- gcc.dg/altivec-3.c	22 Apr 2004 01:53:54 -0000
***************
*** 1,4 ****
--- 1,5 ----
  /* { dg-do run { target powerpc*-*-* } } */
+ /* { dg-xfail-if "" { "powerpc-*-eabispe*" } { "-maltivec" } { "" } } */
  /* { dg-options "-maltivec" } */
  
  #include "altivec_check.h"
Index: gcc.dg/altivec-varargs-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/altivec-varargs-1.c,v
retrieving revision 1.4
diff -c -p -r1.4 altivec-varargs-1.c
*** gcc.dg/altivec-varargs-1.c	16 Mar 2004 20:37:29 -0000	1.4
--- gcc.dg/altivec-varargs-1.c	22 Apr 2004 01:53:54 -0000
***************
*** 1,4 ****
--- 1,5 ----
  /* { dg-do run { target powerpc*-*-* } } */
+ /* { dg-xfail-if "" { "powerpc-*-eabispe*" } { "-maltivec" } { "" } } */
  /* { dg-options "-maltivec -mabi=altivec -fno-inline" } */
  
  #include <stdarg.h>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]