[libc-commits] [libc] [libc] Enable bare-metal hermetic tests on Arm (PR #207361)
Volodymyr Turanskyy via libc-commits
libc-commits at lists.llvm.org
Tue Jul 7 09:01:17 PDT 2026
================
@@ -0,0 +1,7 @@
+{
+ "math": {
+ "LIBC_CONF_MATH_OPTIMIZATIONS": {
+ "value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | LIBC_MATH_NO_EXCEPT | LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT | LIBC_MATH_ASSUME_ROUND_NEAREST_ONLY)"
----------------
voltur01 wrote:
I suppose that some bare-metal targets can support directional rounding and make use of it, so I do not know if `LIBC_MATH_ASSUME_ROUND_NEAREST_ONLY` is the best default for all bare-metal targets.
I can definitely move this to the shared config, if there is an agreement.
https://github.com/llvm/llvm-project/pull/207361
More information about the libc-commits
mailing list