[PATCH] D136759: [AArch64][SVE2] Add the SVE2.1 while & pext predicate pair instructions

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 05:09:02 PDT 2022


david-arm created this revision.
david-arm added reviewers: sdesmalen, CarolineConcatto, aemerson, paulwalker-arm, kmclaughlin.
Herald added subscribers: hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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

pext:     Set pair of predicates from predicate-as-counter
whilelt: While incrementing signed scalar less than scalar
whilele: While incrementing signed scalar less than or equal to scalar
whilegt: While incrementing signed scalar greater than scalar
whilege: While incrementing signed scalar greater than or equal to scalar
whilelo: While incrementing unsigned scalar lower than scalar
whilels: While incrementing unsigned scalar lower or same as scalar
whilehs: While decrementing unsigned scalar higher or same as scalar
whilehi: While decrementing unsigned scalar higher than scalar

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136759

Files:
  llvm/lib/Target/AArch64/AArch64RegisterInfo.td
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
  llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/MC/AArch64/SVE2p1/pext-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/pext.s
  llvm/test/MC/AArch64/SVE2p1/whilege-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilege.s
  llvm/test/MC/AArch64/SVE2p1/whilegt-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilegt.s
  llvm/test/MC/AArch64/SVE2p1/whilehi-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilehi.s
  llvm/test/MC/AArch64/SVE2p1/whilehs-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilehs.s
  llvm/test/MC/AArch64/SVE2p1/whilele-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilele.s
  llvm/test/MC/AArch64/SVE2p1/whilelo-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilelo.s
  llvm/test/MC/AArch64/SVE2p1/whilels-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilels.s
  llvm/test/MC/AArch64/SVE2p1/whilelt-diagnostics.s
  llvm/test/MC/AArch64/SVE2p1/whilelt.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136759.470787.patch
Type: text/x-patch
Size: 72308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221026/070165e7/attachment-0001.bin>


More information about the llvm-commits mailing list