This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE2] Add the SVE2.1 ld1q gather & st1q scatter instructions
ClosedPublic

Authored by david-arm on Nov 1 2022, 8:44 AM.

Details

Summary

This patch adds the assembly/disassembly for the following instructions:

ld1q : Gather load quadwords
st1q : Scatter store quadwords

The reference can be found here:
https://developer.arm.com/documentation/ddi0602/2022-09

Diff Detail

Event Timeline

david-arm created this revision.Nov 1 2022, 8:44 AM
Herald added a project: Restricted Project. · View Herald Transcript
david-arm requested review of this revision.Nov 1 2022, 8:44 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 1 2022, 8:44 AM
paulwalker-arm accepted this revision.Nov 1 2022, 10:48 AM

A request for some extra negative tests but otherwise looks good to me.

llvm/test/MC/AArch64/SVE2p1/ld1q-diagnostics.s
3

I think it's worth having negative tests for

ld1q {z0.q}, p0/z, [z0.d, sp]
ld1q {z0.q}, p0/z, [x0, z0.d]
This revision is now accepted and ready to land.Nov 1 2022, 10:48 AM
This revision was landed with ongoing or failed builds.Nov 2 2022, 1:58 AM
This revision was automatically updated to reflect the committed changes.