Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
280 views
in Technique[技术] by (71.8m points)

c++ - Minimum for loop length for auto vectorization?

I am wondering what should be the minimum for loop length for the auto vectorizer to enable the vectorization. ?

for eg:

       for (int i= 0 ; i< 4 ; i+= 3)
        // Some operations

using Rpass flag, I am getting following remark.

loop control flow is not understood by vectorizer [-Rpass-analysis=loop-vectorize]

can someone help me understand what are the basic requirement for a for loop to get vectorized. ?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share

1.2m questions

2.1m answers

5 comments

56.5k users

...