10.1.017 vectorization confusion...

tim18
Total Points:
68,947
Status Points:
68,947
Black Belt
October 14, 2008 7:18 PM PDT
Rate
 
#1

Among your Windows options, you have set /Oa "treat argument pointers as not aliased," and various options requesting the compiler to generate both vector and non-vector code paths.  In your icc options, you include -restrict, but that doesn't have any effect without the restrict qualifiers in the argument list.  As you have specified the 32-bit compiler,  SSE2 vectorization wasn't yet set as default in the version you quote (use e.g. -xW).  You have a bunch of contradictory alias options; why not simply use -ansi-alias (assert that source code doesn't violate C and C++ standards on aliasing)?

void test (float* restrict in, float* restrict out, int len)



Intel Software Network Forums Statistics

8488 users have contributed to 31626 threads and 100733 posts to date.
In the past 24 hours, we have 35 new thread(s) 132 new posts(s), and 199 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member chat1983