1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

Add zextload from i32 -> i64, with this, perimeter works.

llvm-svn: 28926
This commit is contained in:
Chris Lattner 2006-06-27 17:30:08 +00:00
parent 938be45012
commit 01182783c4

View File

@ -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),