mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Thumb2 parsing and encoding for LDMDB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5d5856854
commit
94f914e3fd
@ -4907,6 +4907,7 @@ def : MnemonicAlias<"swi", "svc">;
|
||||
// Load / Store Multiple
|
||||
def : MnemonicAlias<"ldmfd", "ldm">;
|
||||
def : MnemonicAlias<"ldmia", "ldm">;
|
||||
def : MnemonicAlias<"ldmea", "ldmdb">;
|
||||
def : MnemonicAlias<"stmfd", "stmdb">;
|
||||
def : MnemonicAlias<"stmia", "stm">;
|
||||
def : MnemonicAlias<"stmea", "stm">;
|
||||
|
@ -500,6 +500,20 @@ _func:
|
||||
@ CHECK: ldm.w r5!, {r3, r8} @ encoding: [0xb5,0xe8,0x08,0x01]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ LDMDB
|
||||
@------------------------------------------------------------------------------
|
||||
ldmdb r4, {r4, r5, r8, r9}
|
||||
ldmdb r4, {r5, r6}
|
||||
ldmdb r5!, {r3, r8}
|
||||
ldmea r5!, {r3, r8}
|
||||
|
||||
@ CHECK: ldmdb r4, {r4, r5, r8, r9} @ encoding: [0x14,0xe9,0x30,0x03]
|
||||
@ CHECK: ldmdb r4, {r5, r6} @ encoding: [0x14,0xe9,0x60,0x00]
|
||||
@ CHECK: ldmdb r5!, {r3, r8} @ encoding: [0x35,0xe9,0x08,0x01]
|
||||
@ CHECK: ldmdb r5!, {r3, r8} @ encoding: [0x35,0xe9,0x08,0x01]
|
||||
|
||||
|
||||
@------------------------------------------------------------------------------
|
||||
@ IT
|
||||
@------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user