Skip to content

Conversation

imciner2
Copy link
Contributor

Ofast enables possibly unsafe optimizations in addition to O3. This appears to have been added and then just continually copied into later Power architectures, and it wasn't included in the CMake build system when that was introduced.

Replace this with O3 so that the same level of optimization is done by the compiler.

I brought this up in #5320, and this is a PR implementing the removal of Ofast as discussed there.

Ofast enables possibly unsafe optimizations in addition to O3. This
appears to have been added and then just continually copied into later
Power architectures, and it wasn't included in the CMake build system
when that was introduced.

Replace this with O3 so that the same level of optimization is done by
the compiler.
@martin-frbg martin-frbg added this to the 0.3.31 milestone Jun 20, 2025
@martin-frbg martin-frbg merged commit b3904ae into OpenMathLib:develop Jun 20, 2025
84 of 87 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants