mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-12 05:56:25 +00:00
Add Thumb2 load / store multiple instructions. Not used yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74749 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d672ecb017
commit
2889ccea62
@ -673,6 +673,21 @@ def t2PICSTRH : T2I_picst<"strh", BinOpFrag<(truncstorei16 node:$LHS, node:$RHS
|
|||||||
def t2PICSTRB : T2I_picst<"strb", BinOpFrag<(truncstorei8 node:$LHS, node:$RHS)>>;
|
def t2PICSTRB : T2I_picst<"strb", BinOpFrag<(truncstorei8 node:$LHS, node:$RHS)>>;
|
||||||
} // isNotDuplicable = 1, AddedComplexity = 10
|
} // isNotDuplicable = 1, AddedComplexity = 10
|
||||||
|
|
||||||
|
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
// Load / store multiple Instructions.
|
||||||
|
//
|
||||||
|
|
||||||
|
let mayLoad = 1 in
|
||||||
|
def t2LDM : T2XI<(outs),
|
||||||
|
(ins addrmode4:$addr, pred:$p, reglist:$dst1, variable_ops),
|
||||||
|
"ldm${p}${addr:submode} $addr, $dst1", []>;
|
||||||
|
|
||||||
|
let mayStore = 1 in
|
||||||
|
def t2STM : T2XI<(outs),
|
||||||
|
(ins addrmode4:$addr, pred:$p, reglist:$src1, variable_ops),
|
||||||
|
"stm${p}${addr:submode} $addr, $src1", []>;
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
// Move Instructions.
|
// Move Instructions.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user