@@ -767,27 +767,6 @@ static DecodeStatus DecodePPR_3bRegisterClass(MCInst &Inst, unsigned RegNo,
767
767
return DecodePPRRegisterClass (Inst, RegNo, Addr, Decoder);
768
768
}
769
769
770
- static const unsigned VectorDecoderTable[] = {
771
- AArch64::Q0, AArch64::Q1, AArch64::Q2, AArch64::Q3, AArch64::Q4,
772
- AArch64::Q5, AArch64::Q6, AArch64::Q7, AArch64::Q8, AArch64::Q9,
773
- AArch64::Q10, AArch64::Q11, AArch64::Q12, AArch64::Q13, AArch64::Q14,
774
- AArch64::Q15, AArch64::Q16, AArch64::Q17, AArch64::Q18, AArch64::Q19,
775
- AArch64::Q20, AArch64::Q21, AArch64::Q22, AArch64::Q23, AArch64::Q24,
776
- AArch64::Q25, AArch64::Q26, AArch64::Q27, AArch64::Q28, AArch64::Q29,
777
- AArch64::Q30, AArch64::Q31
778
- };
779
-
780
- static DecodeStatus DecodeVectorRegisterClass (MCInst &Inst, unsigned RegNo,
781
- uint64_t Addr,
782
- const void *Decoder) {
783
- if (RegNo > 31 )
784
- return Fail;
785
-
786
- unsigned Register = VectorDecoderTable[RegNo];
787
- Inst.addOperand (MCOperand::createReg (Register));
788
- return Success;
789
- }
790
-
791
770
static const unsigned QQDecoderTable[] = {
792
771
AArch64::Q0_Q1, AArch64::Q1_Q2, AArch64::Q2_Q3, AArch64::Q3_Q4,
793
772
AArch64::Q4_Q5, AArch64::Q5_Q6, AArch64::Q6_Q7, AArch64::Q7_Q8,
@@ -1775,7 +1754,7 @@ static DecodeStatus DecodeModImmInstruction(MCInst &Inst, uint32_t insn,
1775
1754
if (Inst.getOpcode () == AArch64::MOVID)
1776
1755
DecodeFPR64RegisterClass (Inst, Rd, Addr, Decoder);
1777
1756
else
1778
- DecodeVectorRegisterClass (Inst, Rd, Addr, Decoder);
1757
+ DecodeFPR128RegisterClass (Inst, Rd, Addr, Decoder);
1779
1758
1780
1759
Inst.addOperand (MCOperand::createImm (imm));
1781
1760
@@ -1812,8 +1791,8 @@ static DecodeStatus DecodeModImmTiedInstruction(MCInst &Inst, uint32_t insn,
1812
1791
imm |= fieldFromInstruction (insn, 5 , 5 );
1813
1792
1814
1793
// Tied operands added twice.
1815
- DecodeVectorRegisterClass (Inst, Rd, Addr, Decoder);
1816
- DecodeVectorRegisterClass (Inst, Rd, Addr, Decoder);
1794
+ DecodeFPR128RegisterClass (Inst, Rd, Addr, Decoder);
1795
+ DecodeFPR128RegisterClass (Inst, Rd, Addr, Decoder);
1817
1796
1818
1797
Inst.addOperand (MCOperand::createImm (imm));
1819
1798
Inst.addOperand (MCOperand::createImm ((cmode & 6 ) << 2 ));
0 commit comments