[libc-commits] [libc] Revert "[libc] Enable intermediate computation in float for baremetal" (PR #163712)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Wed Oct 15 23:46:46 PDT 2025


https://github.com/petrhosek created https://github.com/llvm/llvm-project/pull/163712

Reverts llvm/llvm-project#163622, see #163711 for details.

>From 0181877abd214ba3f0010fb85773874d27e498fd Mon Sep 17 00:00:00 2001
From: Petr Hosek <phosek at google.com>
Date: Wed, 15 Oct 2025 23:46:01 -0700
Subject: [PATCH] Revert "[libc] Enable intermediate computation in float for
 baremetal (#163622)"

This reverts commit 49f03eed05192312bcede7f9dce5daf24edd422a.
---
 libc/config/baremetal/config.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/config/baremetal/config.json b/libc/config/baremetal/config.json
index ffb4fe6487fdc..796b1d8ed1398 100644
--- a/libc/config/baremetal/config.json
+++ b/libc/config/baremetal/config.json
@@ -36,7 +36,7 @@
   },
   "math": {
     "LIBC_CONF_MATH_OPTIMIZATIONS": {
-      "value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES | LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT)"
+      "value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES)"
     }
   },
   "general": {



More information about the libc-commits mailing list