-
Notifications
You must be signed in to change notification settings - Fork 15k
[libc] Enable intermediate computation in float for baremetal #163622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[libc] Enable intermediate computation in float for baremetal #163622
Conversation
This can improve performance on 32-bit baremetal targets.
|
@llvm/pr-subscribers-libc Author: Petr Hosek (petrhosek) ChangesThis can improve performance on 32-bit baremetal targets. Full diff: https://github.com/llvm/llvm-project/pull/163622.diff 1 Files Affected:
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": {
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/26090 Here is the relevant piece of the build log for the reference |
…r baremetal" (#163712) Reverts llvm/llvm-project#163622, see #163711 for details.
This can improve performance on 32-bit baremetal targets.