blitz
blitz copied to clipboard
#pragma GCC ivdep
trafficstars
Migrated from https://sourceforge.net/p/blitz/bugs/61/
Since 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