This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Update gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c
- From: "H.J. Lu" <hjl at lucon dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: harsha dot jagasia at amd dot com
- Date: Sat, 21 Jul 2007 16:36:32 -0700
- Subject: 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" } } */