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]

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))



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