AAlex Brachet[libc] Reset rounding mode after fsetround tests
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] Initial support for darwin-aarch64. Add initial support for darwin-aarch64 (macOS M1). Some differences compared to linux-aarch64: - math.h defined math_errhandling by the compiler builtin __math_errhandling() but Apple Clang 13.0.0 on M1 does not support __math_errhandling() builtin as a macro function or a constexpr function. - math.h defines UNDERFLOW and OVERFLOW macros. - Besides 5 usual floating point exceptions: FE_INEXACT, FE_UNDERFLOW, FE_OVERFLOW, FE_DIVBYZERO, and FE_INVALID, fenv.h also has another floating point exception: FE_FLUSHTOZERO. The corresponding trap for FE_FLUSHTOZERO in the control register is at the different location compared to the status register. - FE_FLUSHTOZERO exception flag cannot be raised with the default CPU floating point operation mode. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D120914 | 4 年前 | |
[libc] Remove the redundant header FPUtil/FEnvUtils.h Remove the redundant header FPUtil/FEnvUtils.h, use FPUtil/FEnvImpl.h header instead. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D120965 | 4 年前 | |
[libc] Remove the redundant header FPUtil/FEnvUtils.h Remove the redundant header FPUtil/FEnvUtils.h, use FPUtil/FEnvImpl.h header instead. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D120965 | 4 年前 | |
[libc] Remove the redundant header FPUtil/FEnvUtils.h Remove the redundant header FPUtil/FEnvUtils.h, use FPUtil/FEnvImpl.h header instead. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D120965 | 4 年前 | |
[libc] Fix small bugs in aarch64/FEnvImpl.h and simplify feclearexcept_test. Fix small bugs in aarch64/EFnvImpl.h and simplify feclearexcept_test. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D120997 | 4 年前 | |
[libc] Add more robust compile time architecture detection We may want to restrict the detected platforms to only x86_64 and aarch64. There are still custom detection in api.td but I don't think we can handle these: - config/linux/api.td:205 - config/linux/api.td:199 Differential Revision: https://reviews.llvm.org/D112818 | 4 年前 | |
[libc] Remove the redundant header FPUtil/FEnvUtils.h Remove the redundant header FPUtil/FEnvUtils.h, use FPUtil/FEnvImpl.h header instead. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D120965 | 4 年前 | |
[libc] Remove the redundant header FPUtil/FEnvUtils.h Remove the redundant header FPUtil/FEnvUtils.h, use FPUtil/FEnvImpl.h header instead. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D120965 | 4 年前 | |
[libc] Change FEnv to use MXCSR as source of truth This patch primarily fixes the fenv implementation on Windows, since Windows uses the MXCSR in place of the x87 status registers for storing information about the floating point environment. This allows FEnv to work correctly on Windows, and successfully build. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D121839 | 4 年前 | |
[libc] Reset rounding mode after fsetround tests Differential Revision: https://reviews.llvm.org/D129619 | 3 年前 |