projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca29dff
)
Provide correct encoding for PPC LWARX instructions.
author
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 27 Jun 2008 16:10:20 +0000
(16:10 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 27 Jun 2008 16:10:20 +0000
(16:10 +0000)
Patch by Gary Benson!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52828
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.td
b/lib/Target/PowerPC/PPCInstrInfo.td
index 04968edf34de9d226de885ef7f8f23f138c81332..d7fe547c8e7bede361bd55770230a3af5c327e73 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.td
+++ b/
lib/Target/PowerPC/PPCInstrInfo.td
@@
-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 {