mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Fix encoding and add parsing support for the arm/thumb CPS instruction:
- Add custom operand matching for imod and iflags. - Rename SplitMnemonicAndCC to SplitMnemonic since it splits more than CC from mnemonic. - While adding ".w" as an operand, don't change "Head" to avoid passing the wrong mnemonic to ParseOperand. - Add asm parser tests. - Add disassembler tests just to make sure it can catch all cps versions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -576,6 +576,8 @@ static int ARMFlagFromOpName(LiteralConstantEmitter *type,
|
||||
IMM("nohash_imm");
|
||||
IMM("p_imm");
|
||||
IMM("c_imm");
|
||||
IMM("imod_op");
|
||||
IMM("iflags_op");
|
||||
IMM("cpinst_operand");
|
||||
IMM("setend_op");
|
||||
IMM("cps_opt");
|
||||
|
Reference in New Issue
Block a user