HIRLAM with -ftree-loop-distribution.

Uros Bizjak ubizjak@gmail.com
Sun Dec 16 12:34:00 GMT 2007


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



More information about the Gcc-patches mailing list