[PATCH] D150442: [AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for pext (multi)

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 12 05:42:39 PDT 2023


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

These intrinsics are used to implement the pext intrinsics that extract
two predicates (mask) from a predicate-as-counter value, e.g.

  __attribute__((arm_streaming))
   svboolx2_t svpext_lane_c8_x2(svcount_t pnn, uint64_t imm);

As described in https://github.com/ARM-software/acle/pull/217


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D150442

Files:
  llvm/include/llvm/IR/IntrinsicsAArch64.td
  llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
  llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150442.521616.patch
Type: text/x-patch
Size: 7050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230512/37502573/attachment.bin>


More information about the llvm-commits mailing list