OSDN Git Service

[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)
commit41ef3985c79e3151d917a2b590785dca9863d7ad
tree70ed4833f5ed48940cac6b2a091ea94eacffc93f
parent73ce7fc085cc55fc61a4c5f2ecf352814c7a6162
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337383 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
lib/Target/AArch64/AArch64SVEInstrInfo.td
lib/Target/AArch64/SVEInstrFormats.td
test/MC/AArch64/SVE/fadd-diagnostics.s
test/MC/AArch64/SVE/fadd.s
test/MC/AArch64/SVE/fmul-diagnostics.s
test/MC/AArch64/SVE/fmul.s
test/MC/AArch64/SVE/frecps-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE/frecps.s [new file with mode: 0644]
test/MC/AArch64/SVE/frsqrts-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE/frsqrts.s [new file with mode: 0644]
test/MC/AArch64/SVE/fsub-diagnostics.s
test/MC/AArch64/SVE/fsub.s
test/MC/AArch64/SVE/ftsmul-diagnostics.s [new file with mode: 0644]
test/MC/AArch64/SVE/ftsmul.s [new file with mode: 0644]