I have a few issues in vectorizing loops using Clang 3.8.
Will it be ok if I shoot some of my findings and queries here?
Meanwhile, can I please know if LLVM support autovectorized MIC instructions for Xeon phi?
If so, could you please tell me the flags to use?
I am Jumana, a masters student in Embedded system working as a graduate research intern with Intel. For my thesis, I am working with bench-marking auto-vectorizer for various architectures.
I have certain issues which I find difficult to explain myself. I tried posting in LLVM forum, but looks like I have no access.
Thanks for your response. I would like to run my code on Xeon phi earlier version that is KNC.
Well I asked the basic question because of various reasons.
I found that LLVM emits auto vectorized code for MIC with flags -mavx512f and -mavx512cd. I used clang 3.8 and my vectorized code did not emit any vector-512 instructions nor zmm registers are used. So I thought, there is a difference between flags for KNL and KNC. The architecture I have got to test is KNC. - mcpu=help does not distinguish this(may be I dont understand) and I got confused.
I think there is a combination of flags that I should use for KNC.