forked from OSchip/llvm-project
remove some isStore flags that are now inferred automatically.
llvm-svn: 45652
This commit is contained in:
parent
e9dba0920b
commit
e20f380fbf
|
@ -448,7 +448,7 @@ def LDU : DSForm_1<58, 1, (outs G8RC:$rD, ptr_rc:$ea_result), (ins memrix:$addr
|
|||
|
||||
}
|
||||
|
||||
let isStore = 1, PPC970_Unit = 2 in {
|
||||
let PPC970_Unit = 2 in {
|
||||
// Truncating stores.
|
||||
def STB8 : DForm_1<38, (outs), (ins G8RC:$rS, memri:$src),
|
||||
"stb $rS, $src", LdStGeneral,
|
||||
|
@ -481,7 +481,7 @@ def STDX : XForm_8<31, 149, (outs), (ins G8RC:$rS, memrr:$dst),
|
|||
PPC970_DGroup_Cracked;
|
||||
}
|
||||
|
||||
let isStore = 1, PPC970_Unit = 2 in {
|
||||
let PPC970_Unit = 2 in {
|
||||
|
||||
def STBU8 : DForm_1<38, (outs ptr_rc:$ea_res), (ins G8RC:$rS,
|
||||
symbolLo:$ptroff, ptr_rc:$ptrreg),
|
||||
|
|
|
@ -229,7 +229,7 @@ def LVSR : XForm_1<31, 38, (outs VRRC:$vD), (ins memrr:$src),
|
|||
[(set VRRC:$vD, (int_ppc_altivec_lvsr xoaddr:$src))]>,
|
||||
PPC970_Unit_LSU;
|
||||
|
||||
let isStore = 1, PPC970_Unit = 2 in { // Stores.
|
||||
let PPC970_Unit = 2 in { // Stores.
|
||||
def STVEBX: XForm_8<31, 135, (outs), (ins VRRC:$rS, memrr:$dst),
|
||||
"stvebx $rS, $dst", LdStGeneral,
|
||||
[(int_ppc_altivec_stvebx VRRC:$rS, xoaddr:$dst)]>;
|
||||
|
|
|
@ -564,7 +564,7 @@ def LFDX : XForm_25<31, 599, (outs F8RC:$frD), (ins memrr:$src),
|
|||
//
|
||||
|
||||
// Unindexed (r+i) Stores.
|
||||
let isStore = 1, PPC970_Unit = 2 in {
|
||||
let PPC970_Unit = 2 in {
|
||||
def STB : DForm_1<38, (outs), (ins GPRC:$rS, memri:$src),
|
||||
"stb $rS, $src", LdStGeneral,
|
||||
[(truncstorei8 GPRC:$rS, iaddr:$src)]>;
|
||||
|
@ -583,7 +583,7 @@ def STFD : DForm_1<54, (outs), (ins F8RC:$rS, memri:$dst),
|
|||
}
|
||||
|
||||
// Unindexed (r+i) Stores with Update (preinc).
|
||||
let isStore = 1, PPC970_Unit = 2 in {
|
||||
let PPC970_Unit = 2 in {
|
||||
def STBU : DForm_1<39, (outs ptr_rc:$ea_res), (ins GPRC:$rS,
|
||||
symbolLo:$ptroff, ptr_rc:$ptrreg),
|
||||
"stbu $rS, $ptroff($ptrreg)", LdStGeneral,
|
||||
|
@ -621,7 +621,7 @@ def STFDU : DForm_1<37, (outs ptr_rc:$ea_res), (ins F8RC:$rS,
|
|||
|
||||
// Indexed (r+r) Stores.
|
||||
//
|
||||
let isStore = 1, PPC970_Unit = 2 in {
|
||||
let PPC970_Unit = 2 in {
|
||||
def STBX : XForm_8<31, 215, (outs), (ins GPRC:$rS, memrr:$dst),
|
||||
"stbx $rS, $dst", LdStGeneral,
|
||||
[(truncstorei8 GPRC:$rS, xaddr:$dst)]>,
|
||||
|
@ -634,6 +634,8 @@ def STWX : XForm_8<31, 151, (outs), (ins GPRC:$rS, memrr:$dst),
|
|||
"stwx $rS, $dst", LdStGeneral,
|
||||
[(store GPRC:$rS, xaddr:$dst)]>,
|
||||
PPC970_DGroup_Cracked;
|
||||
|
||||
let isStore = 1 in {
|
||||
def STWUX : XForm_8<31, 183, (outs), (ins GPRC:$rS, GPRC:$rA, GPRC:$rB),
|
||||
"stwux $rS, $rA, $rB", LdStGeneral,
|
||||
[]>;
|
||||
|
@ -649,6 +651,7 @@ def STWBRX: XForm_8<31, 662, (outs), (ins GPRC:$rS, memrr:$dst),
|
|||
def STFIWX: XForm_28<31, 983, (outs), (ins F8RC:$frS, memrr:$dst),
|
||||
"stfiwx $frS, $dst", LdStUX,
|
||||
[(PPCstfiwx F8RC:$frS, xoaddr:$dst)]>;
|
||||
}
|
||||
def STFSX : XForm_28<31, 663, (outs), (ins F4RC:$frS, memrr:$dst),
|
||||
"stfsx $frS, $dst", LdStUX,
|
||||
[(store F4RC:$frS, xaddr:$dst)]>;
|
||||
|
|
Loading…
Reference in New Issue