llvm-project/libc/utils/FPUtil
Hedin Garca a5a337e55e [libc] Capture floating point encoding and arrange it sequentially in memory
Redefined FPBits.h and LongDoubleBitsX86 so its implementation works for the Windows
and Linux platform while maintaining a packed memory alignment of the precision floating
point numbers. For its size in memory to be the same as the data type of the float point number.
This change was necessary because the previous attribute((packed)) specification in the struct was not working
for Windows like it was for Linux and consequently static_asserts in the FPBits.h file were failing.

Reviewed By: aeubanks, sivachandra

Differential Revision: https://reviews.llvm.org/D105561
2021-07-13 20:43:54 +00:00
..
aarch64 [libc][Obvious] Fix typo in implementation of aarch64 clearExcept. 2021-06-28 23:17:37 -07:00
generic [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
x86_64 [libc] Allow reading and writing __FE_DENORM if available on x86_64. 2021-06-30 17:32:24 +00:00
BasicOperations.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
CMakeLists.txt [libc][NFC] Remove few deprecated FPUtil header files and test patterns. 2021-06-30 22:09:23 +00:00
DivisionAndRemainderOperations.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
DummyFEnv.h [libc] Add implementations of the remaining fenv functions. 2021-02-18 13:29:40 -08:00
FEnv.h [libc] Extend the current fenv functions to aarch64. 2021-01-19 12:47:54 -08:00
FMA.h [libc] Add hardware implementations of fma and fmaf for x86_64 and aarch64. 2021-04-21 04:31:27 +00:00
FPBits.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
FloatProperties.h [libc] Add on float properties for precision floating point numbers in FloatProperties.h 2021-07-13 20:15:54 +00:00
Hypot.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
LongDoubleBitsX86.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
ManipulationFunctions.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
NearestIntegerOperations.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
NextAfterLongDoubleX86.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
NormalFloat.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
PlatformDefs.h [libc] Add few macro definitions to make it easy to accommodate Windows. 2021-06-18 07:17:36 +00:00
PolyEval.h [libc] Add implementation of expm1f. 2021-06-10 14:58:34 -04:00
Sqrt.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
SqrtLongDoubleX86.h [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
TestHelpers.cpp [libc] Capture floating point encoding and arrange it sequentially in memory 2021-07-13 20:43:54 +00:00
TestHelpers.h [libc][NFC] Make conversion from FPBits to the float point type explicit. 2021-04-17 05:22:20 +00:00