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
s...@cup.hp.com


2011-10-20  Steve Ellcey  <s...@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)

Reply via email to