[libc][NFC] Make explicit uint16_t casts in fenv
[libc] Remove the redundant header FPUtil/FEnvUtils.hRemove the redundant header FPUtil/FEnvUtils.h, use FPUtil/FEnvImpl.h header instead.Reviewed By: sivachandraDifferential Revision: https://
[libc] Remove the redundant header FPUtil/FEnvUtils.hRemove the redundant header FPUtil/FEnvUtils.h, use FPUtil/FEnvImpl.h header instead.Reviewed By: sivachandraDifferential Revision: https://reviews.llvm.org/D120965
show more ...
[libc] apply new lint rulesThis patch applies the lint rules described in the previous patch. Therewas also a significant amount of effort put into manually fixing things,since all of the templat
[libc] apply new lint rulesThis patch applies the lint rules described in the previous patch. Therewas also a significant amount of effort put into manually fixing things,since all of the templated functions, or structs defined in /spec, werenot updated and had to be handled manually.Reviewed By: sivachandra, lntueDifferential Revision: https://reviews.llvm.org/D114302
[libc] Add extension functions fedisableexcept, feenableexcept and fegetexcept.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D109613
[libc][nfc] move ctype_utils and FPUtils to __supportSome ctype functions are called from other libc functions (e.g. isspaceis used in atoi). By moving ctype_utils.h to __support it becomes easier
[libc][nfc] move ctype_utils and FPUtils to __supportSome ctype functions are called from other libc functions (e.g. isspaceis used in atoi). By moving ctype_utils.h to __support it becomes easierto include just the implementations of these functions. For thesereasons the implementation for isspace was moved intoctype_utils as well.FPUtils was moved to simplify the build order, and to clarify whichfiles are a part of the actual libc.Many files were modified to accomodate these changes, mostly changingthe #include paths.Reviewed By: sivachandraDifferential Revision: https://reviews.llvm.org/D107600
[libc] Rename FEnv.h and refactor subsequent filesBecause Windows's pathnames are not case sensitive,to avoid include conflicts between our header file FEnv.h and theone from the C Standard libra
[libc] Rename FEnv.h and refactor subsequent filesBecause Windows's pathnames are not case sensitive,to avoid include conflicts between our header file FEnv.h and theone from the C Standard library, <fenv.h>, the prior file was renamed.The motive for the relabel came to fix this include error inTestHelpers.cpp since a conflict arose with a file in the samedirectory when #include <fenv.h> was being used.Reviewed By: sivachandra, aeubanksDifferential Revision: https://reviews.llvm.org/D106470
[libc] Clear all exceptions before setting in fesetexceptflag.Previously, exceptions from the flag were being added. This patchchanges it such that only the exceptions in the flag will be set.Re
[libc] Clear all exceptions before setting in fesetexceptflag.Previously, exceptions from the flag were being added. This patchchanges it such that only the exceptions in the flag will be set.Reviewed By: lntueDifferential Revision: https://reviews.llvm.org/D105085
[libc][Obvious] Fix except flags reading overflow detected by asan.
[libc][NFC] Make few fenv functions work with fexcept_t from other libcs.
[libc] Add implementations of the remaining fenv functions.Namely, implementations of fegetexceptfflag, fesetexceptflag,fegetenv, fesetenv, feholdexcept and feupdateenv have been added.Reviewed
[libc] Add implementations of the remaining fenv functions.Namely, implementations of fegetexceptfflag, fesetexceptflag,fegetenv, fesetenv, feholdexcept and feupdateenv have been added.Reviewed By: lntueDifferential Revision: https://reviews.llvm.org/D96935
[libc][NFC] add includes for internal headers to all libc functionsthis will make sure that all of the functions are using the correctprototypes. Explained much better in the comments of this diff
[libc][NFC] add includes for internal headers to all libc functionsthis will make sure that all of the functions are using the correctprototypes. Explained much better in the comments of this diff:https://reviews.llvm.org/D94195
[libc] Switch to use a macro which does not insert a section for every libc function.Summary:The new macro also inserts the C alias for the C++ implementationswithout needing an objcopy based pos
[libc] Switch to use a macro which does not insert a section for every libc function.Summary:The new macro also inserts the C alias for the C++ implementationswithout needing an objcopy based post processing step. The CMakerules have been updated to reflect this. More CMake cleanup can betaken up in future rounds and appropriate TODOs have been added for them.Reviewers: mcgrathr, sivachandraSubscribers:
[libc] Add simple x86_64 floating point exception and rounding mode support.Reviewed By: lntueDifferential Revision: https://reviews.llvm.org/D92546