Hi,
  The problem here is the vector cost model causes some of the
functions not be vectorized even though we are scanning for the
explicit vectorization.  This fixes the testcase by turning off the
cost model.

Thanks,
Andrew Pinski

2012-11-06  Andrew Pinski  <[email protected]>

        * gcc.target/aarch64/vect-fmaxv-fminv-compile.c: Add 
-fno-vect-cost-model.
Index: gcc.target/aarch64/vect-fmaxv-fminv-compile.c
===================================================================
--- gcc.target/aarch64/vect-fmaxv-fminv-compile.c       (revision 193259)
+++ gcc.target/aarch64/vect-fmaxv-fminv-compile.c       (working copy)
@@ -1,6 +1,6 @@
 
 /* { dg-do compile } */
-/* { dg-options "-O3 -ffast-math" } */
+/* { dg-options "-O3 -ffast-math -fno-vect-cost-model" } */
 
 #include "vect-fmaxv-fminv.x"
 
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 193272)
+++ ChangeLog   (working copy)
@@ -1,3 +1,7 @@
+2012-11-06  Andrew Pinski  <[email protected]>
+
+       * gcc.target/aarch64/vect-fmaxv-fminv-compile.c: Add 
-fno-vect-cost-model.
+
 2012-11-06  Aldy Hernandez  <[email protected]>
 
        * c-c++-common/tm/trxn-expr-3.c: Adjust for uninstrumented code path.

Reply via email to