#61 #pragma GCC ivdep

v1.0 (example)
open
nobody
None
5
2014-02-18
2014-02-18
Sylwester Arabas
No

Since recently (2013) gcc supports the "ivdep" pragma. However, it has apparently a different syntax than the one used in Blitz. Instead of:

#pragma ivdep

one needs to use

#pragma GCC ivedep

Perhaps, it's then worth enabling USE_ALIGNMENT_PRAGMAS for gcc in the config files and changing

#pragma ivdep

into

#if defined(__INTEL_COMPILER)
#  pragma ivdep
#elif defined(__GNUG__)
#  pragma GCC ivdep
#endif

?

(not tested)

Discussion