[PATCH] D136750: [AArch64][SVE2] Add the SVE2.1 while predicate-as-counter instructions

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 02:24:48 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-as-counter instructions:

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/D136750

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  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: D136750.470753.patch
Type: text/x-patch
Size: 54622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221026/5a6bbfc8/attachment.bin>


More information about the llvm-commits mailing list