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]

patches: disable vmx tests on powerpc-eabispe


powerpc-eabispe cannot run AltiVec tests.  The function
check_vmx_hw_available returns false, setting these tests to compile
only.  This still won't work, because rs6000_override_options() in 
the back-end will give a compile error when trying to compile AltiVec 
tests on an E500.

      ...
      if (TARGET_ALTIVEC)
	error ("AltiVec and E500 instructions cannot coexist");

It is best not to run the tests at all.

Committed to mainline.

	* gcc.dg/vmx/vmx.exp: Disable tests for eabispe.

Index: gcc.dg/vmx/vmx.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/vmx/vmx.exp,v
retrieving revision 1.3
diff -c -p -r1.3 vmx.exp
*** gcc.dg/vmx/vmx.exp	28 May 2004 22:31:44 -0000	1.3
--- gcc.dg/vmx/vmx.exp	30 Jul 2004 13:45:40 -0000
*************** load_lib gcc-dg.exp
*** 21,27 ****
  
  # Skip these tests for non-PowerPC targets and for Aix, where AltiVec
  # is not yet supported.
! if {![istarget powerpc*-*-*] || [istarget powerpc*-*-aix*]} {
      return
  }
  
--- 21,28 ----
  
  # Skip these tests for non-PowerPC targets and for Aix, where AltiVec
  # is not yet supported.
! if {![istarget powerpc*-*-*] || [istarget powerpc*-*-aix*]
!     || [istarget powerpc*-*eabispe*] } {
      return
  }
  


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