OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5b532
)
Add zextload from i32 -> i64, with this, perimeter works.
author
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jun 2006 17:30:08 +0000
(17:30 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 27 Jun 2006 17:30:08 +0000
(17:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28926
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstr64Bit.td
b/lib/Target/PowerPC/PPCInstr64Bit.td
index
f6777bc
..
0f6c693
100644
(file)
--- a/
lib/Target/PowerPC/PPCInstr64Bit.td
+++ b/
lib/Target/PowerPC/PPCInstr64Bit.td
@@
-228,6
+228,9
@@
def LWAX : XForm_1<31, 341, (ops G8RC:$rD, memrr:$src),
def LDX : XForm_1<31, 21, (ops G8RC:$rD, memrr:$src),
"ldx $rD, $src", LdStLD,
[(set G8RC:$rD, (load xaddr:$src))]>, isPPC64;
+def LWZ8 : DForm_1<32, (ops G8RC:$rD, memri:$src),
+ "lwz $rD, $src", LdStGeneral,
+ [(set G8RC:$rD, (zextload iaddr:$src, i32))]>, isPPC64;
}
let isStore = 1, noResults = 1, PPC970_Unit = 2 in {
def STD : DSForm_2<62, 0, (ops G8RC:$rS, memrix:$dst),