This is an archive of the discontinued LLVM Phabricator instance.

[SveEmitter] Add builtins to insert/extract subvectors from tuples (svget/svset)
ClosedPublic

Authored by sdesmalen on Jun 9 2020, 6:08 AM.

Details

Summary

For example:

svint32_t svget4(svint32x4_t tuple, uint64_t imm_index)

returns the subvector at index, which must be in range 0..3.

svint32x3_t svset3(svint32x3_t tuple, uint64_t index, svint32_t vec)

returns a tuple vector with vec inserted into tuple at index, which must be in range 0..2.

Diff Detail

Event Timeline

sdesmalen created this revision.Jun 9 2020, 6:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2020, 6:08 AM
c-rhodes accepted this revision.Jun 17 2020, 5:32 AM
This revision is now accepted and ready to land.Jun 17 2020, 5:32 AM
This revision was automatically updated to reflect the committed changes.