[AArch64] Add ARMv8.2-A FP16 vector instructions
authorOliver Stannard <oliver.stannard@arm.com>
Tue, 8 Dec 2015 12:16:10 +0000 (12:16 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Tue, 8 Dec 2015 12:16:10 +0000 (12:16 +0000)
commite4c3d21ea6ffeba40c403a72c4e2368e7fae4643
tree8dc8902ee84b143fd65a782de2920f7ece1e774b
parentbddf18009f6027a217df718c96aceeedc97e5533
[AArch64] Add ARMv8.2-A FP16 vector instructions

ARMv8.2-A adds 16-bit floating point versions of all existing SIMD
floating-point instructions. This is an optional extension, so all of
these instructions require the FeatureFullFP16 subtarget feature.

Note that VFP without SIMD is not a valid combination for any version of
ARMv8-A, but I have ensured that these instructions all depend on both
FeatureNEON and FeatureFullFP16 for consistency.

The ".2h" vector type specifier is now legal (for the scalar pairwise
reduction instructions), so some unrelated tests have been modified as
different error messages are emitted. This is not a problem as the
invalid operands are still caught.

llvm-svn: 255010
31 files changed:
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/lib/Target/AArch64/AArch64RegisterInfo.td
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/test/MC/AArch64/arm64-advsimd.s
llvm/test/MC/AArch64/armv8.1a-rdma.s
llvm/test/MC/AArch64/fullfp16-diagnostics.s [new file with mode: 0644]
llvm/test/MC/AArch64/fullfp16-neon-neg.s [new file with mode: 0644]
llvm/test/MC/AArch64/neon-2velem.s
llvm/test/MC/AArch64/neon-aba-abd.s
llvm/test/MC/AArch64/neon-across.s
llvm/test/MC/AArch64/neon-add-pairwise.s
llvm/test/MC/AArch64/neon-add-sub-instructions.s
llvm/test/MC/AArch64/neon-compare-instructions.s
llvm/test/MC/AArch64/neon-diagnostics.s
llvm/test/MC/AArch64/neon-facge-facgt.s
llvm/test/MC/AArch64/neon-frsqrt-frecp.s
llvm/test/MC/AArch64/neon-max-min-pairwise.s
llvm/test/MC/AArch64/neon-max-min.s
llvm/test/MC/AArch64/neon-mla-mls-instructions.s
llvm/test/MC/AArch64/neon-scalar-abs.s
llvm/test/MC/AArch64/neon-scalar-by-elem-mla.s
llvm/test/MC/AArch64/neon-scalar-by-elem-mul.s
llvm/test/MC/AArch64/neon-scalar-cvt.s
llvm/test/MC/AArch64/neon-scalar-fp-compare.s
llvm/test/MC/AArch64/neon-scalar-mul.s
llvm/test/MC/AArch64/neon-scalar-recip.s
llvm/test/MC/AArch64/neon-scalar-reduce-pairwise.s
llvm/test/MC/AArch64/neon-simd-misc.s
llvm/test/MC/AArch64/neon-simd-shift.s
llvm/test/MC/Disassembler/AArch64/fullfp16-neon-neg.txt [new file with mode: 0644]