[all-commits] [llvm/llvm-project] 2f3a8f: [libc] Skip x87 floating point register and only u...

lntue via All-commits all-commits at lists.llvm.org
Thu Jun 19 14:07:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f3a8fd0b3322baac25e5595313413ed4cd1158f
      https://github.com/llvm/llvm-project/commit/2f3a8fd0b3322baac25e5595313413ed4cd1158f
  Author: lntue <lntue at google.com>
  Date:   2025-06-19 (Thu, 19 Jun 2025)

  Changed paths:
    M libc/src/__support/FPUtil/FEnvImpl.h
    M libc/src/__support/FPUtil/x86_64/FEnvImpl.h

  Log Message:
  -----------
  [libc] Skip x87 floating point register and only update mxcsr for x86_64 targets when raising exceptions inside math functions. (#144951)

Updating x87 floating point register significantly affect the
performance of the functions.
All the floating point exception reads will merge the results from both
mxcsr and x87 registers anyway.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list