[all-commits] [llvm/llvm-project] 9db12a: [AArch64]SME2 Multiple vector ternary int/float 2 ...

CarolineConcatto via All-commits all-commits at lists.llvm.org
Thu Oct 20 10:45:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9db12a45e472e502f92dcc0bf1396162003f5f09
      https://github.com/llvm/llvm-project/commit/9db12a45e472e502f92dcc0bf1396162003f5f09
  Author: Caroline Concatto <caroline.concatto at arm.com>
  Date:   2022-10-20 (Thu, 20 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.td
    M llvm/lib/Target/AArch64/AArch64SMEInstrInfo.td
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp
    M llvm/lib/Target/AArch64/SMEInstrFormats.td
    M llvm/test/MC/AArch64/SME2/add-diagnostics.s
    M llvm/test/MC/AArch64/SME2/add.s
    M llvm/test/MC/AArch64/SME2/fmla-diagnostics.s
    M llvm/test/MC/AArch64/SME2/fmla.s
    M llvm/test/MC/AArch64/SME2/fmls-diagnostics.s
    M llvm/test/MC/AArch64/SME2/fmls.s
    M llvm/test/MC/AArch64/SME2/sub-diagnostics.s
    M llvm/test/MC/AArch64/SME2/sub.s

  Log Message:
  -----------
  [AArch64]SME2 Multiple vector ternary int/float 2 and 4 registers

This patch adds the assembly/disassembly for the following instructions:
       For INT:
               ADD(array results, multiple vectors): Add multi-vector to multi-vector with ZA array vector results.
               SUB(array results, multiple vectors): Subtract multi-vector from multi-vector with ZA array vector results.
       For FP:
              FMLA (multiple vectors): Multi-vector floating-point fused multiply-add.
              FMLS (multiple vectors): Multi-vector floating-point fused multiply-subtract.

The reference can be found here:

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

   This patch also adds a  register operand to represent multiples of ZA multi-vectors.
They are:
        ZZ_s_mul_r, ZZ_d_mul_r, ZZZZ_s_mul_r and ZZZZ_d_mul_r
and represent the Zn or Zm times 2 or 4 according to the vector group.

Depends on: D135455

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




More information about the All-commits mailing list