mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
add ldrexd/strexd instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ed8bb3556
commit
d7d72d66b7
@ -1710,6 +1710,10 @@ def LDREXH : AIldrex<0b11, (outs GPR:$dest), (ins GPR:$ptr), NoItinerary,
|
||||
def LDREX : AIldrex<0b00, (outs GPR:$dest), (ins GPR:$ptr), NoItinerary,
|
||||
"ldrex", "\t$dest, [$ptr]",
|
||||
[]>;
|
||||
def LDREXD : AIldrex<0b00, (outs GPR:$dest, GPR:$dest2), (ins GPR:$ptr),
|
||||
NoItinerary,
|
||||
"ldrexd", "\t$dest, $dest2, [$ptr]",
|
||||
[]>;
|
||||
}
|
||||
|
||||
let mayStore = 1 in {
|
||||
@ -1725,6 +1729,11 @@ def STREX : AIstrex<0b00, (outs GPR:$success), (ins GPR:$src, GPR:$ptr),
|
||||
NoItinerary,
|
||||
"strex", "\t$success, $src, [$ptr]",
|
||||
[]>;
|
||||
def STREXD : AIstrex<0b00, (outs GPR:$success),
|
||||
(ins GPR:$src, GPR:$src2, GPR:$ptr),
|
||||
NoItinerary,
|
||||
"strexd", "\t$success, $src, $src2, [$ptr]",
|
||||
[]>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user