forked from OSchip/llvm-project
parent
502c4fe61c
commit
5fc43eb186
|
@ -2290,7 +2290,7 @@ static bool DisassembleNLdSt0(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||||
"Reg operand expected");
|
"Reg operand expected");
|
||||||
|
|
||||||
RegClass = OpInfo[OpIdx].RegClass;
|
RegClass = OpInfo[OpIdx].RegClass;
|
||||||
while (OpIdx < NumOps && OpInfo[OpIdx].RegClass == RegClass) {
|
while (OpIdx < NumOps && (unsigned)OpInfo[OpIdx].RegClass == RegClass) {
|
||||||
MI.addOperand(MCOperand::CreateReg(
|
MI.addOperand(MCOperand::CreateReg(
|
||||||
getRegisterEnum(B, RegClass, Rd,
|
getRegisterEnum(B, RegClass, Rd,
|
||||||
UseDRegPair(Opcode))));
|
UseDRegPair(Opcode))));
|
||||||
|
@ -2310,7 +2310,7 @@ static bool DisassembleNLdSt0(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||||
// possible TIED_TO DPR/QPR's (ignored), then possible lane index.
|
// possible TIED_TO DPR/QPR's (ignored), then possible lane index.
|
||||||
RegClass = OpInfo[0].RegClass;
|
RegClass = OpInfo[0].RegClass;
|
||||||
|
|
||||||
while (OpIdx < NumOps && OpInfo[OpIdx].RegClass == RegClass) {
|
while (OpIdx < NumOps && (unsigned)OpInfo[OpIdx].RegClass == RegClass) {
|
||||||
MI.addOperand(MCOperand::CreateReg(
|
MI.addOperand(MCOperand::CreateReg(
|
||||||
getRegisterEnum(B, RegClass, Rd,
|
getRegisterEnum(B, RegClass, Rd,
|
||||||
UseDRegPair(Opcode))));
|
UseDRegPair(Opcode))));
|
||||||
|
@ -2336,7 +2336,7 @@ static bool DisassembleNLdSt0(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||||
++OpIdx;
|
++OpIdx;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (OpIdx < NumOps && OpInfo[OpIdx].RegClass == RegClass) {
|
while (OpIdx < NumOps && (unsigned)OpInfo[OpIdx].RegClass == RegClass) {
|
||||||
assert(TID.getOperandConstraint(OpIdx, TOI::TIED_TO) != -1 &&
|
assert(TID.getOperandConstraint(OpIdx, TOI::TIED_TO) != -1 &&
|
||||||
"Tied to operand expected");
|
"Tied to operand expected");
|
||||||
MI.addOperand(MCOperand::CreateReg(0));
|
MI.addOperand(MCOperand::CreateReg(0));
|
||||||
|
|
Loading…
Reference in New Issue