OSDN Git Service

[libc] Raise x87 exceptions by synchronizing with "fwait".
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 8 Dec 2020 06:46:03 +0000 (22:46 -0800)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 8 Dec 2020 21:16:19 +0000 (13:16 -0800)
commitab3cbe4bc0d952ca58a3e2263629591ef898de3f
treeb0087b4837aa60d09f91c9e0660dac0fc84d33c9
parentb13f74151137f33327e0549adc9778aebf98a299
[libc] Raise x87 exceptions by synchronizing with "fwait".

Couple of helper functions enableExcept and disableExcept have been
added. In a later round, they will be used to implemented the GNU
extension functions feenableexcept and fedisableexcept.

Differential Revision: https://reviews.llvm.org/D92821
libc/cmake/modules/LLVMLibCTestRules.cmake
libc/test/src/fenv/CMakeLists.txt
libc/test/src/fenv/enabled_exceptions_test.cpp [new file with mode: 0644]
libc/test/src/fenv/exception_status_test.cpp
libc/utils/FPUtil/x86_64/FEnv.h