[libc-commits] [libc] 49f03ee - [libc] Enable intermediate computation in float for baremetal (#163622)

via libc-commits libc-commits at lists.llvm.org
Wed Oct 15 16:33:59 PDT 2025


Author: Petr Hosek
Date: 2025-10-15T16:33:55-07:00
New Revision: 49f03eed05192312bcede7f9dce5daf24edd422a

URL: https://github.com/llvm/llvm-project/commit/49f03eed05192312bcede7f9dce5daf24edd422a
DIFF: https://github.com/llvm/llvm-project/commit/49f03eed05192312bcede7f9dce5daf24edd422a.diff

LOG: [libc] Enable intermediate computation in float for baremetal (#163622)

This can improve performance on 32-bit baremetal targets.

Added: 
    

Modified: 
    libc/config/baremetal/config.json

Removed: 
    


################################################################################
diff  --git a/libc/config/baremetal/config.json b/libc/config/baremetal/config.json
index 796b1d8ed1398..ffb4fe6487fdc 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)"
+      "value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES | LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT)"
     }
   },
   "general": {


        


More information about the libc-commits mailing list