Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29001 Discussions

optimization and vectorizing problem

Michel
Beginner
282 Views

We have run into a problem after updating to 2015.1.148

The combination of /arch:SSE3 and /O2 causes that in a vectorized loop where an array is filled the returned data is not updated after a 2nd call.

lowering the optimization to 1 or changing /arch to SSE4.1 or higher solves the problem.

the optrpt then also shows that vectorization is also done under the <Remainder> when things are ok.

We solved it by using /QaxAVX /arch:SSE4.1 which means we dropped support for older processors.

 

0 Kudos
2 Replies
Steven_L_Intel1
Employee
282 Views

Can you provide us with a small but complete example that demonstrates the problem?

0 Kudos
Michel
Beginner
282 Views

It happens deep in a function so I need to make a testcase with prefilled arrays. This takes some time.

0 Kudos
Reply