[AArch64][SVE] Asm: Support for unpredicated FP operations.
authorSander de Smalen <sander.desmalen@arm.com>
Wed, 18 Jul 2018 11:59:12 +0000 (11:59 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Wed, 18 Jul 2018 11:59:12 +0000 (11:59 +0000)
commit330d887d72f4a298bef86c4d3fd6f628e5bc9e2c
tree7630958adaab39d718bbd7c83bca9f955b55eb39
parent7d8e632e98d1d86f239947fb7af048c5d36d6571
[AArch64][SVE] Asm: Support for unpredicated FP operations.

This patch adds support for the following unpredicated
floating-point instructions:

  FADD      Floating point add
  FSUB      Floating point subtract
  FMUL      Floating point multiplication
  FTSMUL    Floating point trigonometric starting value
  FRECPS    Floating point reciprocal step
  FRSQRTS   Floating point reciprocal square root step

The instructions have the following assembly format:
  fadd z0.h, z1.h, z2.h
and have variants for 16, 32 and 64-bit FP elements.

llvm-svn: 337383
14 files changed:
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/MC/AArch64/SVE/fadd-diagnostics.s
llvm/test/MC/AArch64/SVE/fadd.s
llvm/test/MC/AArch64/SVE/fmul-diagnostics.s
llvm/test/MC/AArch64/SVE/fmul.s
llvm/test/MC/AArch64/SVE/frecps-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/frecps.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/frsqrts-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/frsqrts.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/fsub-diagnostics.s
llvm/test/MC/AArch64/SVE/fsub.s
llvm/test/MC/AArch64/SVE/ftsmul-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/SVE/ftsmul.s [new file with mode: 0644]