[all-commits] [llvm/llvm-project] d12a7f: [libc] Add on float properties for precision float...

HedGarcia via All-commits all-commits at lists.llvm.org
Tue Jul 13 13:16:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d12a7f142e2430f4983c668d910897db8cc2afc7
      https://github.com/llvm/llvm-project/commit/d12a7f142e2430f4983c668d910897db8cc2afc7
  Author: Hedin Garca <hedingarcia at google.com>
  Date:   2021-07-13 (Tue, 13 Jul 2021)

  Changed paths:
    M libc/utils/FPUtil/FloatProperties.h

  Log Message:
  -----------
  [libc] Add on float properties for precision floating point numbers in FloatProperties.h

Defined constant that express the number of bits for exponent in single and double precision. Added bit masks values and other properties for quad precision floating point numbers that specifically targets architectures defined in PlatfromDefs.h. The exponentWidth values were added to be used in LongDoubleBitsX86.h where the implementation to set the exponent component uses this and the bitWidth value. The need occurred because of the 80-bit quad precision implementation.

Reviewed By: aeubanks

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




More information about the All-commits mailing list