mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Use correct format for the LDAWCP instruction (u6).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc60fc1aa7
commit
a3458380b9
@ -688,15 +688,11 @@ def BRFU_lu6 : _FLU6<
|
|||||||
|
|
||||||
//let Uses = [CP] in ...
|
//let Uses = [CP] in ...
|
||||||
let Defs = [R11], neverHasSideEffects = 1, isReMaterializable = 1 in
|
let Defs = [R11], neverHasSideEffects = 1, isReMaterializable = 1 in
|
||||||
def LDAWCP_u6: _FRU6<(outs), (ins MEMii:$a),
|
def LDAWCP_u6: _FU6<(outs), (ins MEMii:$a), "ldaw r11, cp[$a]", []>;
|
||||||
"ldaw r11, cp[$a]",
|
|
||||||
[]>;
|
|
||||||
|
|
||||||
let Defs = [R11], isReMaterializable = 1 in
|
let Defs = [R11], isReMaterializable = 1 in
|
||||||
def LDAWCP_lu6: _FLRU6<
|
def LDAWCP_lu6: _FLU6<(outs), (ins MEMii:$a), "ldaw r11, cp[$a]",
|
||||||
(outs), (ins MEMii:$a),
|
[(set R11, ADDRcpii:$a)]>;
|
||||||
"ldaw r11, cp[$a]",
|
|
||||||
[(set R11, ADDRcpii:$a)]>;
|
|
||||||
|
|
||||||
defm SETSR : FU6_LU6_int<"setsr", int_xcore_setsr>;
|
defm SETSR : FU6_LU6_int<"setsr", int_xcore_setsr>;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user