OSDN Git Service

[AArch64][SVE] Asm: Add SVE (Z) Register definitions and parsing support
authorFlorian Hahn <florian.hahn@arm.com>
Tue, 7 Nov 2017 16:45:48 +0000 (16:45 +0000)
committerFlorian Hahn <florian.hahn@arm.com>
Tue, 7 Nov 2017 16:45:48 +0000 (16:45 +0000)
commit6cf02b953eb786809e75e20b9f556e4791b2eabe
treeaca0ec80fbf51650e00bbe541ca34e66a4bcd177
parent70b92b659fef4f2c7e4d9f3b9dc3a26debf41ac9
[AArch64][SVE] Asm: Add SVE (Z) Register definitions and parsing support

Patch [3/5] in a series to add assembler/disassembler support for AArch64 SVE unpredicated ADD/SUB instructions.

To summarise, this patch adds:

 * SVE register definitions
 * Methods to parse SVE register operands
 * Methods to print SVE register operands
 * RegKind SVEDataVector to distinguish it from other data types like scalar register or Neon vector.
 * k_SVEDataRegister and SVEDataRegOp to describe SVE registers (which will be extended by further patches with e.g. ElementWidth and the shift-extend type).

Patch by Sander De Smalen.

Reviewed by: rengolin

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317590 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64RegisterInfo.td
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h