This is an archive of the discontinued LLVM Phabricator instance.

[VE] Support fabs/fcos/fsin/fsqrt math functions
ClosedPublic

Authored by kaz7 on Oct 15 2020, 4:38 AM.

Details

Summary

VE doesn't have instruction for fabs/fcos/fsin/fsqrt, so expand them.
Add regression tests also. Update fcopysign regression test, also.

Diff Detail

Event Timeline

kaz7 created this revision.Oct 15 2020, 4:38 AM
kaz7 requested review of this revision.Oct 15 2020, 4:38 AM
kaz7 updated this revision to Diff 298361.Oct 15 2020, 6:21 AM

Update a fabs regression test using -ffast-math.

simoll accepted this revision.Oct 15 2020, 9:05 AM
This revision is now accepted and ready to land.Oct 15 2020, 9:05 AM
This revision was landed with ongoing or failed builds.Oct 15 2020, 2:27 PM
This revision was automatically updated to reflect the committed changes.