For clang-11, having -mfma without -mavx2 does not generate fma
instructions, causing a build bot to fail on log10_test.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D143234
[libc] Add -mavx2 together with -mfma to allow clang pre-12 to generate fma
instructions. ClosedPublic Authored by lntue on Feb 2 2023, 5:08 PM.
Details Summary For clang-11, having -mfma without -mavx2 does not generate fma
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 2 2023, 5:08 PM This revision is now accepted and ready to land.Feb 3 2023, 11:32 AM Closed by commit rGc1e252417e39: [libc] Add -mavx2 together with -mfma to allow clang pre-12 to generate fma (authored by lntue). · Explain WhyFeb 3 2023, 12:12 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 494476 libc/cmake/modules/LLVMLibCObjectRules.cmake
libc/test/src/math/CMakeLists.txt
|