public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/58134] New: -ftree-vectorizer-verbose=<n> shows vectroiyed loops only for N== 1 and N >2 but not for N==2
@ 2013-08-12  6:04 burnus at gcc dot gnu.org
  2013-08-12 18:00 ` [Bug middle-end/58134] " burnus at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-08-12  6:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58134

            Bug ID: 58134
           Summary: -ftree-vectorizer-verbose=<n> shows vectroiyed loops
                    only for N== 1 and N >2 but not for N==2
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org

... -ftree-vectorizer-verbose=1 test.cc
test.cc:8: note: Vectorized loop

But no result for
-ftree-vectorizer-verbose=2 test.cc 2>&1|grep 'Vectorized loop'

Again with n >= 3:
-ftree-vectorizer-verbose=3 test.cc 2>&1|grep 'Vectorized loop'
test.cc:8: note: Vectorized loop


#include <algorithm>
typedef int myint;

void max(__restrict myint *data, myint val, int n) {
  //__assume_aligned(data,64);
  data = (myint*) __builtin_assume_aligned(data, 64);
  for (int i = 0; i < n; i++)
    data[i] = std::max(data[i], val);
}


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-10-31 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-12  6:04 [Bug middle-end/58134] New: -ftree-vectorizer-verbose=<n> shows vectroiyed loops only for N== 1 and N >2 but not for N==2 burnus at gcc dot gnu.org
2013-08-12 18:00 ` [Bug middle-end/58134] " burnus at gcc dot gnu.org
2013-08-12 18:05 ` [Bug middle-end/58134] [4.8/4.9 Regression] " burnus at gcc dot gnu.org
2013-08-12 19:13 ` singhai at gcc dot gnu.org
2013-08-28  9:21 ` [Bug middle-end/58134] [4.8/4.9 Regression] -ftree-vectorizer-verbose=<n> shows vectorized " rguenth at gcc dot gnu.org
2013-08-29  1:05 ` singhai at gcc dot gnu.org
2013-10-16  9:49 ` jakub at gcc dot gnu.org
2013-10-31 16:11 ` singhai at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).