OSDN Git Service

[ARM] Add MVE vector instructions that take a scalar input.
authorSimon Tatham <simon.tatham@arm.com>
Fri, 21 Jun 2019 13:17:08 +0000 (13:17 +0000)
committerSimon Tatham <simon.tatham@arm.com>
Fri, 21 Jun 2019 13:17:08 +0000 (13:17 +0000)
commit4dca57f2e9fc74cc6d8eef255651275dbfd0aa2f
tree249c4c0e0b318f0f752205f3bc4b8dbe55576cbc
parentfcfd4087ad5bd48d7add23a8759dd281cdff33cc
[ARM] Add MVE vector instructions that take a scalar input.

This adds the `MVE_qDest_rSrc` superclass and all its instances, plus
a few other instructions that also take a scalar input register or two.

I've also belatedly added custom diagnostic messages to the operand
classes for odd- and even-numbered GPRs, which required matching
changes in two of the existing MVE assembly test files.

Reviewers: dmgreen, samparker, SjoerdMeijer, t.p.northover

Subscribers: javed.absar, kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364040 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrMVE.td
lib/Target/ARM/ARMRegisterInfo.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
test/MC/ARM/mve-qdest-rsrc.s [new file with mode: 0644]
test/MC/ARM/mve-reductions.s
test/MC/ARM/mve-scalar-shift.s
test/MC/Disassembler/ARM/mve-qdest-rsrc.txt [new file with mode: 0644]