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: Update gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c


This patch:

http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00496.html

causes

gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c to fail
since gcc now can vectorize 3 loops intead of 1. How should we
update gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c?


H.J.
----
2007-07-21  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: Updated.

--- gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c.x86	2007-06-08 13:49:10.000000000 -0700
+++ gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c	2007-07-21 16:29:53.000000000 -0700
@@ -46,6 +46,5 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_int_max } } } */
-/* { dg-final { scan-tree-dump-times "vectorization not profitable" 2 "vect" { xfail vect_no_int_max } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_int_max } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */


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