[PATCH] D135785: [AArch64]SME2 Multi-vector - Index/Single/Multi Array Vectors FMA sources

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 08:41:16 PDT 2022


CarolineConcatto created this revision.
Herald added subscribers: arphaman, 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.

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

  INT:
     SMLAL
     SMLSL
     UMLAL
     UMLSL
  FP:
    BFMLAL
    BFMLSL
    FMLAL
    FMLSL

For multiple and indexed vector, Multiple and Single vector and
Multi vectors, for 1, 2 and 4 ZA registers.

The reference can be found here:

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

It also adds a new immediate:

  uimm3s2range for off3
  uimm2s2range for off2

to represent the vector select offset.
The new operands have the range between the first and the last vector position.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135785

Files:
  llvm/lib/Target/AArch64/AArch64InstrFormats.td
  llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
  llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
  llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.h
  llvm/lib/Target/AArch64/SMEInstrFormats.td
  llvm/test/MC/AArch64/SME2/bfmlal-diagnostics.s
  llvm/test/MC/AArch64/SME2/bfmlal.s
  llvm/test/MC/AArch64/SME2/bfmlsl-diagnostics.s
  llvm/test/MC/AArch64/SME2/bfmlsl.s
  llvm/test/MC/AArch64/SME2/fmlal-diagnostics.s
  llvm/test/MC/AArch64/SME2/fmlal.s
  llvm/test/MC/AArch64/SME2/fmlsl-diagnostics.s
  llvm/test/MC/AArch64/SME2/fmlsl.s
  llvm/test/MC/AArch64/SME2/smlal-diagnostics.s
  llvm/test/MC/AArch64/SME2/smlal.s
  llvm/test/MC/AArch64/SME2/smlsl-diagnostics.s
  llvm/test/MC/AArch64/SME2/smlsl.s
  llvm/test/MC/AArch64/SME2/umlal-diagnostics.s
  llvm/test/MC/AArch64/SME2/umlal.s
  llvm/test/MC/AArch64/SME2/umlsl-diagnostics.s
  llvm/test/MC/AArch64/SME2/umlsl.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135785.467164.patch
Type: text/x-patch
Size: 446788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221012/4bd580df/attachment-0001.bin>


More information about the llvm-commits mailing list