mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Provide correct encoding for PPC LWARX instructions.
Patch by Gary Benson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52828 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ca29dffa16
commit
b2931f29f3
@ -531,8 +531,8 @@ def DCBZL : DCB_Form<1014, 1, (outs), (ins memrr:$dst),
|
||||
PPC970_DGroup_Single;
|
||||
|
||||
// Atomic operations.
|
||||
def LWARX : Pseudo<(outs GPRC:$rD), (ins memrr:$ptr, i32imm:$label),
|
||||
"\nLa${label}_entry:\n\tlwarx $rD, $ptr",
|
||||
def LWARX : XForm_1<31, 20, (outs GPRC:$rD), (ins memrr:$ptr, i32imm:$label),
|
||||
"\nLa${label}_entry:\n\tlwarx $rD, $ptr", LdStLWARX,
|
||||
[(set GPRC:$rD, (PPClarx xoaddr:$ptr, imm:$label))]>;
|
||||
|
||||
let Defs = [CR0] in {
|
||||
|
Loading…
Reference in New Issue
Block a user