This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HIRLAM with -ftree-loop-distribution.
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: GCC <gcc at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 16 Dec 2007 13:30:52 +0100
- Subject: Re: HIRLAM with -ftree-loop-distribution.
Hello!
There something weird going on with the count of the "loops not
vectorized" - every successfully vectorized loop gets an additional
message:
note: not vectorized: vectorization may not beprofitable.
This is due to switching on vector cost model by default for x86.
BTW: Attached patch fixed the message by adding the space between "be"
and "profitable.". Patch was commited to SVN after bootstrappnig on x86_64.
2007-12-16 Uros Bizjak <ubizjak@gmail.com>
* tree-vect-transform.c (conservative_cost_threshold): Add missing
space to "not vectorized" message.
Uros.
Index: tree-vect-transform.c
===================================================================
--- tree-vect-transform.c (revision 130987)
+++ tree-vect-transform.c (working copy)
@@ -6552,7 +6552,7 @@
th = (unsigned) min_profitable_iters;
if (vect_print_dump_info (REPORT_UNVECTORIZED_LOOPS))
- fprintf (vect_dump, "not vectorized: vectorization may not be"
+ fprintf (vect_dump, "not vectorized: vectorization may not be "
"profitable.");
if (th && vect_print_dump_info (REPORT_DETAILS))