0 Replies Latest reply on Feb 29, 2012 2:34 PM by ernstaugust

    glibc 2.15, amdlibm & __FINITE_MATH_ONLY__


      Since glibc 2.15, glibc has partial integration with -ffinite-math-only (or rather

      the more often used -ffast-math)


      In math.h, the following can be found:


      #if defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0

      1. include <bits/math-finite.h>



      These new functions can be found in libm have their own names, thus

      some use cases like LD_PRELOAD are defeated.


      However after some minor testing I found that many of these are still slower

      than their AMD counterparts - is any integration (providing similar named functions) planned?