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

glibc: Add additional math IFUNCs on x86-64

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • Patch
    • Hide
      0ccc7153ccd8fbecefb0793a65cd5a85cdb099fc
      5c7adbd8eded546eb6e17a82f5ab3b35def47f38
      f6b10ed8e9a00de49d0951e760cc2b5288862b47
      1b214630ce6f7e0099b8b6f87246246739b079cf
      a8ecb126d4c26c52f4ad828c566afe4043a28155
      c6352111c72a20b3588ae304dd99b63e25dd6d85
      dded0d20f67ba1925ccbcb9cf28f0c75febe0dbe
      c7c4a5906f326f1290b1c2413a83c530564ec4b8
      Show
      0ccc7153ccd8fbecefb0793a65cd5a85cdb099fc 5c7adbd8eded546eb6e17a82f5ab3b35def47f38 f6b10ed8e9a00de49d0951e760cc2b5288862b47 1b214630ce6f7e0099b8b6f87246246739b079cf a8ecb126d4c26c52f4ad828c566afe4043a28155 c6352111c72a20b3588ae304dd99b63e25dd6d85 dded0d20f67ba1925ccbcb9cf28f0c75febe0dbe c7c4a5906f326f1290b1c2413a83c530564ec4b8
    • 1
    • rhel-pt-c-libs
    • ssg_platform_tools
    • 2
    • True
    • No
    • Red Hat Enterprise Linux
    • PT C Libraries 2026 S01
    • 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 .
    • None
    • None
    • x86_64
    • Linux
    • None

      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.

              Unassigned Unassigned
              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:
              8 Start watching this issue

                Created:
                Updated: