]> granicus.if.org Git - llvm/commit
[AArch64][SVE2] Asm: add integer multiply-add/subtract (indexed) instructions
authorCullen Rhodes <cullen.rhodes@arm.com>
Tue, 14 May 2019 15:01:00 +0000 (15:01 +0000)
committerCullen Rhodes <cullen.rhodes@arm.com>
Tue, 14 May 2019 15:01:00 +0000 (15:01 +0000)
commit93e65362dc88c1b20084c3cd4796523164a2651c
tree612d14f7ce636473581c891776573431749814ec
parent4fadded4b3552cf84b72c42d533a6f4c8949bcbc
[AArch64][SVE2] Asm: add integer multiply-add/subtract (indexed) instructions

Summary:
This patch adds support for the following instructions:

  MLA mul-add, writing addend (Zda = Zda +  Zn * Zm[idx])
  MLS mul-sub, writing addend (Zda = Zda + -Zn * Zm[idx])

Predicated forms of these instructions were added in SVE.

The specification can be found here:
https://developer.arm.com/docs/ddi0602/latest

Reviewed By: rovka

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360682 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64SVEInstrInfo.td
lib/Target/AArch64/SVEInstrFormats.td
test/MC/AArch64/SVE2/mla-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/mla.s [new file with mode: 0644]
test/MC/AArch64/SVE2/mls-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE2/mls.s [new file with mode: 0644]