Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-1063

glibc: Add additional math IFUNCs on x86-64

Details

    • Story
    • Resolution: Unresolved
    • Normal
    • None
    • rhel-9.4.0
    • glibc
    • Assignee, Qa Contact, Doc Contact, Pool Team, Watchers, Developer
    • Hide

      eu-readelf --symbols=.dynsym shows IFUNCs for the named functions, and performance of RHEL 9 glibc matches that of a glibc rebuild with -march=x86-64-v3.

      Show
      eu-readelf --symbols=.dynsym shows IFUNCs for the named functions, and performance of RHEL 9 glibc matches that of a glibc rebuild with -march=x86-64-v3 .
    • Impediment
    • Red Hat Enterprise Linux
    • sst_pt_libraries
    • ssg_platform_tools
    • 2
    • True
    • Hide

      Missing upstream patch.

      Show
      Missing upstream patch.
    • No
    • x86_64
    • Linux

    Description

      Performance testing indicates that we see some potential for benchmark improvement if we add variants of log2, asinh, atanh, sinh, tanh.

      These changes would look similar to this one for log2f:

      commit 5c7adbd8eded546eb6e17a82f5ab3b35def47f38
      Author: H.J. Lu <hjl.tools@gmail.com>
      Date:   Sun Oct 22 08:06:46 2017 -0700
      
          x86-64: Add log2f with FMA
          
          For workload-spec2017.wrf, on Skylake, it improves performance by:
          
                                     Before            After     Improvement
          reciprocal-throughput      16.5937          14.0789       17%
          latency                    41.7755          35.3586       18%
          
                  * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
                  Add e_log2f-fma.
                  (CFLAGS-e_log2f-fma.c): New.
                  * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
                  * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
      

      Acceptance Criteria:
      eu-readelf --symbols=.dynsym shows IFUNCs for the named functions, and performance of RHEL 9 glibc matches that of a glibc rebuild with -march=x86-64-v3.

      Attachments

        Activity

          People

            glibc-bugzilla Platform Tools - Libraries Bot
            fweimer@redhat.com Florian Weimer
            Platform Tools - Libraries Bot Platform Tools - Libraries Bot
            qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: