@@ -138,9 +138,9 @@ 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 uses a memory operand.
142- bits<1> MemOp = 0;
143- let TSFlags{10} = MemOp ;
141+ // Indicate that this instruction takes a register+immediate memory operand.
142+ bits<1> MemriOp = 0;
143+ let TSFlags{10} = MemriOp ;
144144
145145 // For cases where multiple instruction definitions really represent the
146146 // same underlying instruction but with one definition for 64-bit arguments
@@ -187,7 +187,7 @@ multiclass VXForm_VTB5_RCr<bits<10> xo, bits<5> R, dag OOL, dag IOL,
187187
188188class MLS_DForm_R_SI34_RTA5_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
189189 InstrItinClass itin, list<dag> pattern>
190- : PI<1, opcode, OOL, IOL, asmstr, itin>, MemOp {
190+ : PI<1, opcode, OOL, IOL, asmstr, itin>, MemriOp {
191191 bits<5> RST;
192192 bits<5> RA;
193193 bits<34> D;
@@ -261,7 +261,7 @@ multiclass MLS_DForm_R_SI34_RTA5_p<bits<6> opcode, dag OOL, dag IOL,
261261
262262class 8LS_DForm_R_SI34_RTA5_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
263263 InstrItinClass itin, list<dag> pattern>
264- : PI<1, opcode, OOL, IOL, asmstr, itin>, MemOp {
264+ : PI<1, opcode, OOL, IOL, asmstr, itin>, MemriOp {
265265 bits<5> RST;
266266 bits<5> RA;
267267 bits<34> D;
@@ -285,7 +285,7 @@ class 8LS_DForm_R_SI34_RTA5_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
285285class 8LS_DForm_R_SI34_XT6_RA5_MEM<bits<5> opcode, dag OOL, dag IOL,
286286 string asmstr, InstrItinClass itin,
287287 list<dag> pattern>
288- : PI<1, { opcode, ? }, OOL, IOL, asmstr, itin>, MemOp {
288+ : PI<1, { opcode, ? }, OOL, IOL, asmstr, itin>, MemriOp {
289289 bits<6> XST;
290290 bits<5> RA;
291291 bits<34> D;
@@ -589,7 +589,7 @@ multiclass MLS_DForm_R_SI34_RTA5_MEM_p<bits<6> opcode, dag OOL, dag IOL,
589589 isPCRel;
590590 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
591591 def nopc : MLS_DForm_R_SI34_RTA5_MEM<opcode, OOL, IOL, asmstr, itin, []>;
592- let RA = 0, MemOp = 0 in
592+ let RA = 0, MemriOp = 0 in
593593 def onlypc : MLS_DForm_R_SI34_RTA5_MEM<opcode, OOL, PCRelOnly_IOL,
594594 asmstr_pcext, itin, []>, isPCRel;
595595 }
@@ -606,7 +606,7 @@ multiclass 8LS_DForm_R_SI34_RTA5_MEM_p<bits<6> opcode, dag OOL, dag IOL,
606606 isPCRel;
607607 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
608608 def nopc : 8LS_DForm_R_SI34_RTA5_MEM<opcode, OOL, IOL, asmstr, itin, []>;
609- let RA = 0, MemOp = 0 in
609+ let RA = 0, MemriOp = 0 in
610610 def onlypc : 8LS_DForm_R_SI34_RTA5_MEM<opcode, OOL, PCRelOnly_IOL,
611611 asmstr_pcext, itin, []>, isPCRel;
612612 }
@@ -623,7 +623,7 @@ multiclass 8LS_DForm_R_SI34_XT6_RA5_MEM_p<bits<5> opcode, dag OOL, dag IOL,
623623 isPCRel;
624624 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
625625 def nopc : 8LS_DForm_R_SI34_XT6_RA5_MEM<opcode, OOL, IOL, asmstr, itin, []>;
626- let RA = 0, MemOp = 0 in
626+ let RA = 0, MemriOp = 0 in
627627 def onlypc : 8LS_DForm_R_SI34_XT6_RA5_MEM<opcode, OOL, PCRelOnly_IOL,
628628 asmstr_pcext, itin, []>, isPCRel;
629629 }
@@ -851,7 +851,7 @@ let Predicates = [PrefixInstrs, HasP10Vector] in {
851851
852852class DQForm_XTp5_RA17_MEM<bits<6> opcode, bits<4> xo, dag OOL, dag IOL,
853853 string asmstr, InstrItinClass itin, list<dag> pattern>
854- : I<opcode, OOL, IOL, asmstr, itin>, MemOp {
854+ : I<opcode, OOL, IOL, asmstr, itin>, MemriOp {
855855 bits<5> XTp;
856856 bits<5> RA;
857857 bits<12> DQ;
@@ -883,7 +883,7 @@ class XForm_XTp5_XAB5<bits<6> opcode, bits<10> xo, dag OOL, dag IOL,
883883
884884class 8LS_DForm_R_XTp5_SI34_MEM<bits<6> opcode, dag OOL, dag IOL, string asmstr,
885885 InstrItinClass itin, list<dag> pattern>
886- : PI<1, opcode, OOL, IOL, asmstr, itin>, MemOp {
886+ : PI<1, opcode, OOL, IOL, asmstr, itin>, MemriOp {
887887 bits<5> XTp;
888888 bits<5> RA;
889889 bits<34> D;
@@ -914,7 +914,7 @@ multiclass 8LS_DForm_R_XTp5_SI34_MEM_p<bits<6> opcode, dag OOL,
914914 isPCRel;
915915 let isAsmParserOnly = 1, hasNoSchedulingInfo = 1 in {
916916 def nopc : 8LS_DForm_R_XTp5_SI34_MEM<opcode, OOL, IOL, asmstr, itin, []>;
917- let RA = 0, MemOp = 0 in
917+ let RA = 0, MemriOp = 0 in
918918 def onlypc : 8LS_DForm_R_XTp5_SI34_MEM<opcode, OOL, PCRelOnly_IOL,
919919 asmstr_pcext, itin, []>, isPCRel;
920920 }
@@ -2510,7 +2510,7 @@ let Predicates = [IsISA3_1, PrefixInstrs], isAsmParserOnly = 1, hasNoSchedulingI
25102510 let Interpretation64Bit = 1 in {
25112511 def PLA8 : MLS_DForm_SI34_RT5<14, (outs g8rc:$RT),
25122512 (ins g8rc_nox0:$RA, s34imm:$SI),
2513- "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>, MemOp ;
2513+ "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>, MemriOp ;
25142514 def PLA8pc : MLS_DForm_SI34_RT5<14, (outs g8rc:$RT),
25152515 (ins s34imm_pcrel:$SI),
25162516 "pla $RT, $SI", IIC_IntSimple, []>, isPCRel;
@@ -2521,7 +2521,7 @@ let Predicates = [IsISA3_1, PrefixInstrs], isAsmParserOnly = 1, hasNoSchedulingI
25212521
25222522 def PLA : MLS_DForm_SI34_RT5<14, (outs gprc:$RT),
25232523 (ins gprc_nor0:$RA, s34imm:$SI),
2524- "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>, MemOp;
2524+ "pla $RT, ${SI} ${RA}", IIC_IntSimple, []>, MemriOp;
25252525 def PLApc : MLS_DForm_SI34_RT5<14, (outs gprc:$RT),
25262526 (ins s34imm_pcrel:$SI),
25272527 "pla $RT, $SI", IIC_IntSimple, []>, isPCRel;
0 commit comments