blitz icon indicating copy to clipboard operation
blitz copied to clipboard

#pragma GCC ivdep

Open slayoo opened this issue 7 years ago • 0 comments
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

slayoo avatar Sep 21 '18 17:09 slayoo