@@ -138,10 +138,6 @@ class PI<bits<6> pref, bits<6> opcode, dag OOL, dag IOL, string asmstr,
138138 bits<1> Prefixed = 1; // This is a prefixed instruction.
139139 let TSFlags{7} = Prefixed;
140140
141- // Indicate that this instruction takes a register+immediate memory operand.
142- bits<1> MemriOp = 0;
143- let TSFlags{10} = MemriOp;
144-
145141 // For cases where multiple instruction definitions really represent the
146142 // same underlying instruction but with one definition for 64-bit arguments
147143 // and one for 32-bit arguments, this bit breaks the degeneracy between
@@ -187,7 +183,7 @@ multiclass VXForm_VTB5_RCr<bits<10> xo, bits<5> R, dag OOL, dag IOL,
187183
188184class MLS_DForm_R_SI34_RTA5_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
189185 InstrItinClass itin, list<dag> pattern>
190- : PI<1, opcode, OOL, IOL, asmstr, itin>, MemriOp {
186+ : PI<1, opcode, OOL, IOL, asmstr, itin> {
191187 bits<5> RST;
192188 bits<5> RA;
193189 bits<34> D;
@@ -261,7 +257,7 @@ multiclass MLS_DForm_R_SI34_RTA5_p<bits<6> opcode, dag OOL, dag IOL,
261257
262258class 8LS_DForm_R_SI34_RTA5_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
263259 InstrItinClass itin, list<dag> pattern>
264- : PI<1, opcode, OOL, IOL, asmstr, itin>, MemriOp {
260+ : PI<1, opcode, OOL, IOL, asmstr, itin> {
265261 bits<5> RST;
266262 bits<5> RA;
267263 bits<34> D;
@@ -285,7 +281,7 @@ class 8LS_DForm_R_SI34_RTA5_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
285281class 8LS_DForm_R_SI34_XT6_RA5_MEM<bits<5> opcode, dag OOL, dag IOL,
286282 string asmstr, InstrItinClass itin,
287283 list<dag> pattern>
288- : PI<1, { opcode, ? }, OOL, IOL, asmstr, itin>, MemriOp {
284+ : PI<1, { opcode, ? }, OOL, IOL, asmstr, itin> {
289285 bits<6> XST;
290286 bits<5> RA;
291287 bits<34> D;
@@ -589,7 +585,7 @@ multiclass MLS_DForm_R_SI34_RTA5_MEM_p<bits<6> opcode, dag OOL, dag IOL,
589585 isPCRel;
590586 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
591587 def nopc : MLS_DForm_R_SI34_RTA5_MEM<opcode, OOL, IOL, asmstr, itin, []>;
592- let RA = 0, MemriOp = 0 in
588+ let RA = 0 in
593589 def onlypc : MLS_DForm_R_SI34_RTA5_MEM<opcode, OOL, PCRelOnly_IOL,
594590 asmstr_pcext, itin, []>, isPCRel;
595591 }
@@ -606,7 +602,7 @@ multiclass 8LS_DForm_R_SI34_RTA5_MEM_p<bits<6> opcode, dag OOL, dag IOL,
606602 isPCRel;
607603 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
608604 def nopc : 8LS_DForm_R_SI34_RTA5_MEM<opcode, OOL, IOL, asmstr, itin, []>;
609- let RA = 0, MemriOp = 0 in
605+ let RA = 0 in
610606 def onlypc : 8LS_DForm_R_SI34_RTA5_MEM<opcode, OOL, PCRelOnly_IOL,
611607 asmstr_pcext, itin, []>, isPCRel;
612608 }
@@ -623,7 +619,7 @@ multiclass 8LS_DForm_R_SI34_XT6_RA5_MEM_p<bits<5> opcode, dag OOL, dag IOL,
623619 isPCRel;
624620 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
625621 def nopc : 8LS_DForm_R_SI34_XT6_RA5_MEM<opcode, OOL, IOL, asmstr, itin, []>;
626- let RA = 0, MemriOp = 0 in
622+ let RA = 0 in
627623 def onlypc : 8LS_DForm_R_SI34_XT6_RA5_MEM<opcode, OOL, PCRelOnly_IOL,
628624 asmstr_pcext, itin, []>, isPCRel;
629625 }
@@ -851,7 +847,7 @@ let Predicates = [PrefixInstrs, HasP10Vector] in {
851847
852848class DQForm_XTp5_RA17_MEM<bits<6> opcode, bits<4> xo, dag OOL, dag IOL,
853849 string asmstr, InstrItinClass itin, list<dag> pattern>
854- : I<opcode, OOL, IOL, asmstr, itin>, MemriOp {
850+ : I<opcode, OOL, IOL, asmstr, itin> {
855851 bits<5> XTp;
856852 bits<5> RA;
857853 bits<12> DQ;
@@ -883,7 +879,7 @@ class XForm_XTp5_XAB5<bits<6> opcode, bits<10> xo, dag OOL, dag IOL,
883879
884880class 8LS_DForm_R_XTp5_SI34_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
885881 InstrItinClass itin, list<dag> pattern>
886- : PI<1, opcode, OOL, IOL, asmstr, itin>, MemriOp {
882+ : PI<1, opcode, OOL, IOL, asmstr, itin> {
887883 bits<5> XTp;
888884 bits<5> RA;
889885 bits<34> D;
@@ -914,7 +910,7 @@ multiclass 8LS_DForm_R_XTp5_SI34_MEM_p<bits<6> opcode, dag OOL,
914910 isPCRel;
915911 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
916912 def nopc : 8LS_DForm_R_XTp5_SI34_MEM<opcode, OOL, IOL, asmstr, itin, []>;
917- let RA = 0, MemriOp = 0 in
913+ let RA = 0 in
918914 def onlypc : 8LS_DForm_R_XTp5_SI34_MEM<opcode, OOL, PCRelOnly_IOL,
919915 asmstr_pcext, itin, []>, isPCRel;
920916 }
@@ -2510,7 +2506,7 @@ let Predicates = [IsISA3_1, PrefixInstrs], isAsmParserOnly = 1, hasNoSchedulingI
25102506 let Interpretation64Bit = 1 in {
25112507 def PLA8 : MLS_DForm_SI34_RT5<14, (outs g8rc:$RT),
25122508 (ins g8rc_nox0:$RA, s34imm:$SI),
2513- "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>, MemriOp ;
2509+ "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>;
25142510 def PLA8pc : MLS_DForm_SI34_RT5<14, (outs g8rc:$RT),
25152511 (ins s34imm_pcrel:$SI),
25162512 "pla $RT, $SI", IIC_IntSimple, []>, isPCRel;
@@ -2521,7 +2517,7 @@ let Predicates = [IsISA3_1, PrefixInstrs], isAsmParserOnly = 1, hasNoSchedulingI
25212517
25222518 def PLA : MLS_DForm_SI34_RT5<14, (outs gprc:$RT),
25232519 (ins gprc_nor0:$RA, s34imm:$SI),
2524- "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>, MemriOp ;
2520+ "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>;
25252521 def PLApc : MLS_DForm_SI34_RT5<14, (outs gprc:$RT),
25262522 (ins s34imm_pcrel:$SI),
25272523 "pla $RT, $SI", IIC_IntSimple, []>, isPCRel;
0 commit comments