mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
T2 Load/Store Multiple:
These instructions were changed to not embed the addressing mode within the MC instructions We also need to update the corresponding assert stmt. Also add a test case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
83ccbff84f
commit
9091bf25d9
@ -1140,7 +1140,7 @@ static bool DisassembleThumb2LdStMul(MCInst &MI, unsigned Opcode, uint32_t insn,
|
||||
Opcode == ARM::t2STMIA || Opcode == ARM::t2STMIA_UPD ||
|
||||
Opcode == ARM::t2STMDB || Opcode == ARM::t2STMDB_UPD)
|
||||
&& "Unexpected opcode");
|
||||
assert(NumOps >= 5 && "Thumb2 LdStMul expects NumOps >= 5");
|
||||
assert(NumOps >= 4 && "Thumb2 LdStMul expects NumOps >= 4");
|
||||
|
||||
NumOpsAdded = 0;
|
||||
|
||||
|
@ -136,3 +136,6 @@
|
||||
|
||||
# CHECK: vcmpe.f64 d8, #0
|
||||
0xb5 0xee 0xc0 0x8b
|
||||
|
||||
# CHECK: stmdb.w sp, {r0, r2, r3, r8, r11, lr}
|
||||
0x0d 0xe9 0x0d 0x49
|
||||
|
Loading…
Reference in New Issue
Block a user