Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29286 Discussions

optimization and vectorizing problem

Michel
Beginner
369 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
369 Views

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

0 Kudos
Michel
Beginner
369 Views

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

0 Kudos
Reply