mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
ARM LDM/STM system instruction variants.
rdar://10550269 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2666,7 +2666,15 @@ parseRegisterList(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
|
||||
return Error(E, "'}' expected");
|
||||
Parser.Lex(); // Eat '}' token.
|
||||
|
||||
// Push the register list operand.
|
||||
Operands.push_back(ARMOperand::CreateRegList(Registers, S, E));
|
||||
|
||||
// The ARM system instruction variants for LDM/STM have a '^' token here.
|
||||
if (Parser.getTok().is(AsmToken::Caret)) {
|
||||
Operands.push_back(ARMOperand::CreateToken("^",Parser.getTok().getLoc()));
|
||||
Parser.Lex(); // Eat '^' token.
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user