[all-commits] [llvm/llvm-project] 9371d9: [libc] Improve performance of generic hypot when t...

lntue via All-commits all-commits at lists.llvm.org
Tue Feb 15 08:57:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9371d95ed25cc39c028f53b2a7041022032cdb94
      https://github.com/llvm/llvm-project/commit/9371d95ed25cc39c028f53b2a7041022032cdb94
  Author: Tue Ly <lntue at google.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M libc/src/__support/FPUtil/Hypot.h

  Log Message:
  -----------
  [libc] Improve performance of generic hypot when the exponent difference is sufficiently large.

Simplify the logic when the exponent difference is at least MantissaLength + 2, while still maintaining correct rounding for all rounding modes.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D119843




More information about the All-commits mailing list