[all-commits] [llvm/llvm-project] 891aaf: [AArch64][SVE2] Add the SVE2.1 pext and ptrue pred...

david-arm via All-commits all-commits at lists.llvm.org
Thu Oct 27 11:23:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 891aaff9a8a9997582eac1bb1edb8d4b4e117ef1
      https://github.com/llvm/llvm-project/commit/891aaff9a8a9997582eac1bb1edb8d4b4e117ef1
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
    M llvm/lib/Target/AArch64/SVEInstrFormats.td
    M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-inline-asm.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-unwind-inline-asm.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/regbank-inlineasm.mir
    A llvm/test/MC/AArch64/SVE2p1/pext-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/pext.s
    A llvm/test/MC/AArch64/SVE2p1/ptrue-diagnostics.s
    A llvm/test/MC/AArch64/SVE2p1/ptrue.s

  Log Message:
  -----------
  [AArch64][SVE2] Add the SVE2.1 pext and ptrue predicate-as-counter instructions

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

pext (predicate) : Set predicate from predicate-as-counter
ptrue (predicate-as-counter) : Initialise predicate-as-counter to all active

This patch also introduces the predicate-as-counter registers pn8, etc.

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

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




More information about the All-commits mailing list