forked from OSchip/llvm-project
[PPC][NFC] store operands are dst not src
Differential Revision: https://reviews.llvm.org/D55502 llvm-svn: 348826
This commit is contained in:
parent
d5a20703c4
commit
0b3ddec7ed
|
@ -1994,15 +1994,15 @@ def LMW : DForm_1<46, (outs gprc:$rD), (ins memri:$src),
|
||||||
|
|
||||||
// Unindexed (r+i) Stores.
|
// Unindexed (r+i) Stores.
|
||||||
let PPC970_Unit = 2, mayStore = 1, mayLoad = 0 in {
|
let PPC970_Unit = 2, mayStore = 1, mayLoad = 0 in {
|
||||||
def STB : DForm_1<38, (outs), (ins gprc:$rS, memri:$src),
|
def STB : DForm_1<38, (outs), (ins gprc:$rS, memri:$dst),
|
||||||
"stb $rS, $src", IIC_LdStStore,
|
"stb $rS, $dst", IIC_LdStStore,
|
||||||
[(truncstorei8 i32:$rS, iaddr:$src)]>;
|
[(truncstorei8 i32:$rS, iaddr:$dst)]>;
|
||||||
def STH : DForm_1<44, (outs), (ins gprc:$rS, memri:$src),
|
def STH : DForm_1<44, (outs), (ins gprc:$rS, memri:$dst),
|
||||||
"sth $rS, $src", IIC_LdStStore,
|
"sth $rS, $dst", IIC_LdStStore,
|
||||||
[(truncstorei16 i32:$rS, iaddr:$src)]>;
|
[(truncstorei16 i32:$rS, iaddr:$dst)]>;
|
||||||
def STW : DForm_1<36, (outs), (ins gprc:$rS, memri:$src),
|
def STW : DForm_1<36, (outs), (ins gprc:$rS, memri:$dst),
|
||||||
"stw $rS, $src", IIC_LdStStore,
|
"stw $rS, $dst", IIC_LdStStore,
|
||||||
[(store i32:$rS, iaddr:$src)]>;
|
[(store i32:$rS, iaddr:$dst)]>;
|
||||||
let Predicates = [HasFPU] in {
|
let Predicates = [HasFPU] in {
|
||||||
def STFS : DForm_1<52, (outs), (ins f4rc:$rS, memri:$dst),
|
def STFS : DForm_1<52, (outs), (ins f4rc:$rS, memri:$dst),
|
||||||
"stfs $rS, $dst", IIC_LdStSTFD,
|
"stfs $rS, $dst", IIC_LdStSTFD,
|
||||||
|
|
Loading…
Reference in New Issue