mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 20:27:42 +00:00
Mark STREX* as earlyclobber for the success result register.
llvm-svn: 91555
This commit is contained in:
parent
483afaa7f7
commit
666c19db99
@ -1740,7 +1740,7 @@ def LDREXD : AIldrex<0b01, (outs GPR:$dest, GPR:$dest2), (ins GPR:$ptr),
|
||||
[]>;
|
||||
}
|
||||
|
||||
let mayStore = 1 in {
|
||||
let mayStore = 1, Constraints = "@earlyclobber $success" in {
|
||||
def STREXB : AIstrex<0b10, (outs GPR:$success), (ins GPR:$src, GPR:$ptr),
|
||||
NoItinerary,
|
||||
"strexb", "\t$success, $src, [$ptr]",
|
||||
|
@ -1752,7 +1752,7 @@ def t2LDREXD : T2I_ldrex<0b11, (outs GPR:$dest, GPR:$dest2), (ins GPR:$ptr),
|
||||
[], {?, ?, ?, ?}>;
|
||||
}
|
||||
|
||||
let mayStore = 1 in {
|
||||
let mayStore = 1, Constraints = "@earlyclobber $success" in {
|
||||
def t2STREXB : T2I_strex<0b00, (outs GPR:$success), (ins GPR:$src, GPR:$ptr),
|
||||
AddrModeNone, Size4Bytes, NoItinerary,
|
||||
"strexb", "\t$success, $src, [$ptr]", "", []>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user