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, testsuite] Fix vect-120.c failure on IA64


I am going to check this change in as obvious later today, the test
includes a conversion from float to int in the loop and if that isn't
supported by a target, then the loop is not vectorized.  This test has
been failing on IA64 and perhaps on ARM too, there was a reference to it
in PR 50150.  I didn't test the change on ARM but it fixes the failure
on IA64.

Steve Ellcey
sje@cup.hp.com


2011-10-20  Steve Ellcey  <sje@cup.hp.com>

	* gcc.dg/vect/vect-120.c: Add vect_floatint_cvt requirement.


Index: gcc.dg/vect/vect-120.c
===================================================================
--- gcc.dg/vect/vect-120.c	(revision 180233)
+++ gcc.dg/vect/vect-120.c	(working copy)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target vect_float } */
 /* { dg-require-effective-target vect_shift } */
+/* { dg-require-effective-target vect_floatint_cvt } */
 
 static inline float
 i2f(int x)


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