This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Add SVE2 psel, uclamp, sclamp and revd IR intrinsics
ClosedPublic

Authored by david-arm on Jun 22 2022, 3:29 AM.

Details

Summary

When the SME feature is enabled we also gain access to a few extra
SVE2 instructions. This patch adds LLVM IR intrinsics to make use
of these new instructions:

@llvm.aarch64.sve.psel
@llvm.aarch64.sve.revd
@llvm.aarch64.sve.sclamp
@llvm.aarch64.sve.uclamp

Diff Detail

Event Timeline

david-arm created this revision.Jun 22 2022, 3:29 AM
david-arm requested review of this revision.Jun 22 2022, 3:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 22 2022, 3:29 AM
aemerson accepted this revision.Jun 27 2022, 9:40 AM

I'm curious, did we not already have support for these are part of the SVE2 ACLE implementation?

This revision is now accepted and ready to land.Jun 27 2022, 9:40 AM

I'm curious, did we not already have support for these are part of the SVE2 ACLE implementation?

Ignore me, these are of course the new instructions, not existing SVE2...