[all-commits] [llvm/llvm-project] 094005: [AArch64][SME2/SVE2p1] Add predicate-as-counter in...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue May 16 07:05:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 094005eb6602d71811fbf92414e98cf6ed7d1ff8
      https://github.com/llvm/llvm-project/commit/094005eb6602d71811fbf92414e98cf6ed7d1ff8
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAArch64.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-predicate-as-counter.ll

  Log Message:
  -----------
  [AArch64][SME2/SVE2p1] Add predicate-as-counter intrinsics for pext (single)

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

   __attribute__((arm_streaming))
   svbool_t svpext_lane_c8(svcount_t pnn, uint64_t imm);

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

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D150441


  Commit: 9b5f19714cf7f1ba10609faf3852bc6c4558fab3
      https://github.com/llvm/llvm-project/commit/9b5f19714cf7f1ba10609faf3852bc6c4558fab3
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

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

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

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

Reviewed By: kmclaughlin

Differential Revision: https://reviews.llvm.org/D150442


Compare: https://github.com/llvm/llvm-project/compare/5cafecf9f952...9b5f19714cf7


More information about the All-commits mailing list