[PATCH] D135455: [AArch64] SME2 Single-multi vector ternary int/FP 2 and 4 registers

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 09:15:27 PDT 2022


CarolineConcatto created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
CarolineConcatto requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Adds the following instructions:

  For INT: ADD, SUB
  For FP: FMLA, FMLS

that are  SME2 Multi-vector - Multiple and Single Array Vectors.

The reference can be found here:

  https://developer.arm.com/documentation/ddi0602/2022-09

This patch also adds a new register operand to represent the  ZA multi-vectors.
It adds:

  ZZ_s_r, ZZ_d_r, ZZZZ_s_r and ZZZZ_d_r

and adds 32(.s) and 64(.d) bits sizes for Matrix Operand.

Depends on: D135448 <https://reviews.llvm.org/D135448>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135455

Files:
  llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
  llvm/lib/Target/AArch64/AArch64RegisterInfo.td
  llvm/lib/Target/AArch64/AArch64SMEInstrInfo.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/MCTargetDesc/AArch64InstPrinter.h
  llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
  llvm/lib/Target/AArch64/SMEInstrFormats.td
  llvm/test/MC/AArch64/SME2/add-diagnostics.s
  llvm/test/MC/AArch64/SME2/add.s
  llvm/test/MC/AArch64/SME2/fmla-diagnostics.s
  llvm/test/MC/AArch64/SME2/fmla.s
  llvm/test/MC/AArch64/SME2/fmls-diagnostics.s
  llvm/test/MC/AArch64/SME2/fmls.s
  llvm/test/MC/AArch64/SME2/sub-diagnostics.s
  llvm/test/MC/AArch64/SME2/sub.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135455.466094.patch
Type: text/x-patch
Size: 137680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221007/6b983726/attachment-0001.bin>


More information about the llvm-commits mailing list