[AArch64][SVE] Asm: Support for integer MUL instructions.
authorSander de Smalen <sander.desmalen@arm.com>
Wed, 18 Jul 2018 08:10:03 +0000 (08:10 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Wed, 18 Jul 2018 08:10:03 +0000 (08:10 +0000)
commitac0cb5bf759232be291c0c110d143efd9678a16e
treef78a8bece07aaa3affcaf7b2a9a26c5087242c86
parent92ea7a7b4877f931770a2bf2c997db0d4bf8bf86
[AArch64][SVE] Asm: Support for integer MUL instructions.

This patch adds the following instructions:
  MUL   - multiply vectors, e.g.
    mul z0.h, p0/m, z0.h, z1.h
        - multiply with immediate, e.g.
    mul z0.h, z0.h, #127

  SMULH - signed multiply returning high half, e.g.
    smulh z0.h, p0/m, z0.h, z1.h

  UMULH - unsigned multiply returning high half, e.g.
    umulh z0.h, p0/m, z0.h, z1.h

llvm-svn: 337358
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/MC/AArch64/SVE/mul-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/mul.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/smulh-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/smulh.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/umulh-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/umulh.s [new file with mode: 0644]