diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2017-11-29 15:14:39 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2017-11-29 15:14:39 +0000 |
commit | 6a3bf1f84afceb19f76e0618bf4f0dcbb69adb4e (patch) | |
tree | 5f88c0f9e6e47b3b2b08190eb62e18fa71f20ad4 /llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp | |
parent | 95c6dd49a01decd26dcfbb4aaad086538a86a565 (diff) | |
download | llvm-6a3bf1f84afceb19f76e0618bf4f0dcbb69adb4e.zip llvm-6a3bf1f84afceb19f76e0618bf4f0dcbb69adb4e.tar.gz llvm-6a3bf1f84afceb19f76e0618bf4f0dcbb69adb4e.tar.bz2 |
Reverted r319315 because of unused functions (due to PPR not yet being
used by any instructions).
llvm-svn: 319321
Diffstat (limited to 'llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp')
-rw-r--r-- | llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp b/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp index ae278ca..aea1b4f 100644 --- a/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp +++ b/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp @@ -88,9 +88,6 @@ static DecodeStatus DecodeDDDDRegisterClass(MCInst &Inst, unsigned RegNo, static DecodeStatus DecodeZPRRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t Address, const void *Decode); -static DecodeStatus DecodePPRRegisterClass(MCInst &Inst, unsigned RegNo, - uint64_t Address, - const void *Decode); static DecodeStatus DecodeFixedPointScaleImm32(MCInst &Inst, unsigned Imm, uint64_t Address, @@ -464,23 +461,6 @@ static DecodeStatus DecodeZPRRegisterClass(MCInst &Inst, unsigned RegNo, return Success; } -static const unsigned PPRDecoderTable[] = { - AArch64::P0, AArch64::P1, AArch64::P2, AArch64::P3, - AArch64::P4, AArch64::P5, AArch64::P6, AArch64::P7, - AArch64::P8, AArch64::P9, AArch64::P10, AArch64::P11, - AArch64::P12, AArch64::P13, AArch64::P14, AArch64::P15 -}; - -static DecodeStatus DecodePPRRegisterClass(MCInst &Inst, unsigned RegNo, - uint64_t Addr, const void *Decoder) { - if (RegNo > 15) - return Fail; - - unsigned Register = PPRDecoderTable[RegNo]; - Inst.addOperand(MCOperand::createReg(Register)); - return Success; -} - static const unsigned VectorDecoderTable[] = { AArch64::Q0, AArch64::Q1, AArch64::Q2, AArch64::Q3, AArch64::Q4, AArch64::Q5, AArch64::Q6, AArch64::Q7, AArch64::Q8, AArch64::Q9, |