[all-commits] [llvm/llvm-project] 36b6f7: [libc][NFC] Unify `FPBits` implementations (#76033)

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Dec 21 04:17:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36b6f77565c9d3d75c03600df4b8719bb518bdc0
      https://github.com/llvm/llvm-project/commit/36b6f77565c9d3d75c03600df4b8719bb518bdc0
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M libc/src/__support/FPUtil/FPBits.h
    M libc/src/__support/FPUtil/FloatProperties.h
    M libc/src/__support/FPUtil/x86_64/LongDoubleBits.h

  Log Message:
  -----------
  [libc][NFC] Unify `FPBits` implementations (#76033)

`FPBits` is currently implemented as a general case and a specialization
for `long double` when `long double` is x86 80-bit extended precision.
This patch is a first of a series to provide an implementation based on
`FPType` instead of the C++ float type (which implementation is
architecture dependent).




More information about the All-commits mailing list