- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can anyone please provide the equivalent to the gcc flag "-ftree-vectorizer-verbose=6" but using icc?
Basically I want to see during compilation which loops are not vectorized and why.
Many TIA,
Best regards,
Giovanni
Can anyone please provide the equivalent to the gcc flag "-ftree-vectorizer-verbose=6" but using icc?
Basically I want to see during compilation which loops are not vectorized and why.
Many TIA,
Best regards,
Giovanni
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Giovanni,
did you try -vec-report where n is a value denoting which diagnostic messages to report. Possible values are:
did you try -vec-report
- 0: Tells the vectorizer to report no diagnostic information.
- 1: Tells the vectorizer to report on vectorized loops.
- 2: Tells the vectorizer to report on vectorized and non-vectorized loops.
- 3: Tells the vectorizer to report on vectorized and non-vectorized loops and any proven or assumed data dependences.
- 4: Tells the vectorizer to report on non-vectorized loops.
- 5: Tells the vectorizer to report on non-vectorized loops and the reason why they were not vectorized.
So, -vec-report4 or -vec-report5 might be what you want. Please let us know whether it's suitable for you.
Regards,
Georg Zitzlsberger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Georg,
Thank you. That's exactly what I was looking for.
The underlying problem I trying to solve is well 1) see what loops are not being vectorized but also would like to provide a very generic interface for sorting (similar to those in) but without losing vectorization possibilities. I started the question on this via StackOverflow: http://stackoverflow.com/questions/11614758/special-sorting-algorithm-and-generic-signature
Best regards,
Giovanni
Thank you. That's exactly what I was looking for.
The underlying problem I trying to solve is well 1) see what loops are not being vectorized but also would like to provide a very generic interface for sorting (similar to those in
Best regards,
Giovanni

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page