[AArch64][SVE] Asm: Support for FP Complex ADD/MLA.
authorSander de Smalen <sander.desmalen@arm.com>
Tue, 3 Jul 2018 16:01:27 +0000 (16:01 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Tue, 3 Jul 2018 16:01:27 +0000 (16:01 +0000)
commit128fdfa23f269d62aa51edf9c85ce34688b6c188
tree248e8fedee9f8be428b3fd46beb39e751791fbb1
parentd912ffaba541f6869165b28df1077f3d24e079a1
[AArch64][SVE] Asm: Support for FP Complex ADD/MLA.

The variants added in this patch are:

- Predicated Complex floating point ADD with rotate, e.g.

   fcadd   z0.h, p0/m, z0.h, z1.h, #90

- Predicated Complex floating point MLA with rotate, e.g.

   fcmla   z0.h, p0/m, z1.h, z2.h, #180

- Unpredicated Complex floating point MLA with rotate (indexed operand), e.g.

   fcmla   z0.h, p0/m, z1.h, z2.h[0], #180

Reviewers: rengolin, fhahn, SjoerdMeijer, samparker, javed.absar

Reviewed By: fhahn

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

llvm-svn: 336210
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/MC/AArch64/SVE/fcadd-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/fcadd.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/fcmla-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/fcmla.s [new file with mode: 0644]