This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE] Implement remaining floating-point arithmetic intrinsics
ClosedPublic

Authored by kmclaughlin on Nov 4 2019, 4:11 AM.

Details

Summary

Adds intrinsics for the following:

  • fabs & fneg
  • fexpa
  • frint[a|i|m|n|p|x|z]
  • frecpe, frecps & frecpx
  • fsqrt, frsqrte & frsqrts

Diff Detail

Event Timeline

kmclaughlin created this revision.Nov 4 2019, 4:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2019, 4:11 AM
sdesmalen added inline comments.Nov 8 2019, 3:34 AM
llvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
767

Why are you moving this test and changing fscale -> fneg here?

kmclaughlin marked an inline comment as done.Nov 8 2019, 3:46 AM
kmclaughlin added inline comments.
llvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
767

The rest of the tests here are in order and I noticed that fscale was in the wrong place, so I moved it further down.

kmclaughlin marked an inline comment as not done.Nov 8 2019, 3:47 AM
sdesmalen accepted this revision.Nov 8 2019, 6:21 AM

LGTM

llvm/test/CodeGen/AArch64/sve-intrinsics-fp-arith.ll
767

Okay, thanks for clarifying.

This revision is now accepted and ready to land.Nov 8 2019, 6:21 AM
This revision was automatically updated to reflect the committed changes.