Announcement

Collapse
No announcement yet.

Intel Adds AVX2/FMA Optimized Math Functions To Glibc 2.27

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Intel Adds AVX2/FMA Optimized Math Functions To Glibc 2.27

    Phoronix: Intel Adds AVX2/FMA Optimized Math Functions To Glibc 2.27

    Intel engineers have introduced AVX2/FMA-optimized math functions for glibc and will appear in the project's next stable release...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Then, Ryzen would benefit from those improvements... right?

    Comment


    • #3
      Originally posted by wdb974 View Post
      Then, Ryzen would benefit from those improvements... right?
      yes as it has both fma and avx2,
      i suspect it will be a smaller improvement because zen's avx implementation is weaker

      Comment


      • #4
        Originally posted by wdb974 View Post
        Then, Ryzen would benefit from those improvements... right?
        Unless the code looks for the GenuineIntel string, as usual...

        Comment


        • #5
          Originally posted by eydee View Post

          Unless the code looks for the GenuineIntel string, as usual...
          But... that's a glibc patch? That's not Intel's job to decide for glibc lead developers, is it?

          Comment


          • #6
            Originally posted by AsuMagic View Post

            But... that's a glibc patch? That's not Intel's job to decide for glibc lead developers, is it?
            I believe only ICC looks for the magic string.

            Comment


            • #7
              Originally posted by wdb974 View Post

              I believe only ICC looks for the magic string.
              And this doen't affect the optimizations mentioned here. We're speaking about assembler optimizations within glibc, not something the compiler generates.

              It isn't mentioned explicitly, but I assume FMA3 here. So for AMD all CPUs since Piledriver will benefit from this, when it comes to FMA optimizations. For AVX2, all CPUs since Excavtor are affected. But, as Intel CPUs are way more optimized for these instructions, they will benefit more than CPUs from AMD. Additionally, we're speaking about special math functions. Only few programs will take benefit from this, and there are already special libraries for this, with highly optimized code.

              Comment


              • #8
                Originally posted by wdb974 View Post

                I believe only ICC looks for the magic string.
                does it still happen?
                also- if my memory serves me well- AMD went to the courts about it- how did it go? TIA

                Comment


                • #9
                  Originally posted by szymon_g View Post

                  does it still happen?
                  also- if my memory serves me well- AMD went to the courts about it- how did it go? TIA
                  I think Intel settled and paid AMD and continued doing it.

                  Comment


                  • #10
                    Originally posted by AsuMagic View Post

                    But... that's a glibc patch? That's not Intel's job to decide for glibc lead developers, is it?
                    well the full source code patch was linked in the article? did you click on it and check for that string?

                    Comment

                    Working...
                    X