Menu

#61 #pragma GCC ivdep

v1.0 (example)
closed
nobody
None
5
2018-09-21
2014-02-18
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

  • Sylwester Arabas

    Well... trying it results in GCC failing with an internal compiler error:
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60198

    :)

     

    Last edit: Sylwester Arabas 2014-02-18
  • Sylwester Arabas

    • status: open --> closed
     
  • Sylwester Arabas

     

Log in to post a comment.