This is an archive of the discontinued LLVM Phabricator instance.

[libc] Update FMA detection macro for x86-64 targets.
ClosedPublic

Authored by lntue on Jun 7 2023, 4:24 PM.

Details

Summary

To generate fma instructions for x86-64 targets, we need both -mavx2
and -mfma.

Diff Detail

Event Timeline

lntue created this revision.Jun 7 2023, 4:24 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 7 2023, 4:24 PM
Herald added a subscriber: pengfei. · View Herald Transcript
lntue requested review of this revision.Jun 7 2023, 4:24 PM
brooksmoses accepted this revision.Jun 7 2023, 4:29 PM
This revision is now accepted and ready to land.Jun 7 2023, 4:29 PM
This revision was automatically updated to reflect the committed changes.