This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for pext (single)
ClosedPublic

Authored by sdesmalen on May 12 2023, 5:40 AM.

Details

Summary

These intrinsics are used to implement the pext intrinsics that extract
a predicate (mask) from a predicate-as-counter value, e.g.

__attribute__((arm_streaming))
svbool_t svpext_lane_c8(svcount_t pnn, uint64_t imm);

As described in https://github.com/ARM-software/acle/pull/217

Diff Detail

Event Timeline

sdesmalen created this revision.May 12 2023, 5:40 AM
sdesmalen requested review of this revision.May 12 2023, 5:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2023, 5:40 AM
This revision is now accepted and ready to land.May 16 2023, 3:48 AM