This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SVE2] Add the SVE2.1 integer quadword min/max reduction instructions
AbandonedPublic

Authored by david-arm on Nov 4 2022, 6:14 AM.

Details

Summary

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

smaxqv : Signed maximum reduction of quadword vector segments
sminqv : Signed minimum reduction of quadword vector segments
umaxqv : Unsigned maximum reduction of quadword vector segments
uminqv : Unsigned minimum reduction of quadword vector segments

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

Diff Detail

Event Timeline

david-arm created this revision.Nov 4 2022, 6:14 AM
Herald added a project: Restricted Project. · View Herald Transcript
david-arm requested review of this revision.Nov 4 2022, 6:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2022, 6:14 AM
paulwalker-arm added inline comments.Nov 4 2022, 9:30 AM
llvm/lib/Target/AArch64/SVEInstrFormats.td
9285

As per my comment on D137411, can you use a similar class hierarchy as use by the normal reduction intrinsics?

Matt added a subscriber: Matt.Nov 5 2022, 8:34 PM