equivalent to -ftree-vectorizer-verbose=6 ?

equivalent to -ftree-vectorizer-verbose=6 ?

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

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hello Giovanni,

did you try -vec-report[n] where n is a value denoting which diagnostic messages to report. Possible values are:

  • 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

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today