@@ -27,15 +27,15 @@ defvar QExtsRV64 = [QExt];
2727let Predicates = [HasStdExtQ] in {
2828 let hasSideEffects = 0, mayLoad = 1, mayStore = 0 in
2929 def FLQ : RVInstI<0b100, OPC_LOAD_FP, (outs FPR128:$rd),
30- (ins GPRMem:$rs1, simm12:$imm12),
31- "flq", "$rd, ${imm12}(${rs1})">;
30+ (ins GPRMem:$rs1, simm12:$imm12), "flq" ,
31+ "$rd, ${imm12}(${rs1})">;
3232 // Operands for stores are in the order srcreg, base, offset rather than
3333 // reflecting the order these fields are specified in the instruction
3434 // encoding.
3535 let hasSideEffects = 0, mayLoad = 0, mayStore = 1 in
3636 def FSQ : RVInstS<0b100, OPC_STORE_FP, (outs),
37- (ins FPR128:$rs2, GPRMem:$rs1, simm12:$imm12),
38- "fsq", "$rs2, ${imm12}(${rs1})">;
37+ (ins FPR128:$rs2, GPRMem:$rs1, simm12:$imm12), "fsq" ,
38+ "$rs2, ${imm12}(${rs1})">;
3939} // Predicates = [HasStdExtQ]
4040
4141foreach Ext = QExts in {
@@ -93,11 +93,11 @@ foreach Ext = QExts in {
9393
9494 let mayRaiseFPException = 0 in
9595 defm FCVT_Q_W : FPUnaryOp_r_frmlegacy_m<0b1101011, 0b00000, Ext,
96- Ext.PrimaryTy, GPR, "fcvt.q.w">;
96+ Ext.PrimaryTy, GPR, "fcvt.q.w">;
9797
9898 let mayRaiseFPException = 0 in
9999 defm FCVT_Q_WU : FPUnaryOp_r_frmlegacy_m<0b1101011, 0b00001, Ext,
100- Ext.PrimaryTy, GPR, "fcvt.q.wu">;
100+ Ext.PrimaryTy, GPR, "fcvt.q.wu">;
101101} // foreach Ext = QExts
102102
103103foreach Ext = QExtsRV64 in {
@@ -108,12 +108,14 @@ foreach Ext = QExtsRV64 in {
108108 Ext.PrimaryTy, "fcvt.lu.q", [IsRV64]>;
109109
110110 let mayRaiseFPException = 0 in
111- defm FCVT_Q_L : FPUnaryOp_r_frmlegacy_m<0b1101011, 0b00010, Ext, Ext.PrimaryTy,
112- GPR, "fcvt.q.l", [IsRV64]>;
111+ defm FCVT_Q_L : FPUnaryOp_r_frmlegacy_m<0b1101011, 0b00010, Ext,
112+ Ext.PrimaryTy, GPR, "fcvt.q.l",
113+ [IsRV64]>;
113114
114115 let mayRaiseFPException = 0 in
115- defm FCVT_Q_LU : FPUnaryOp_r_frmlegacy_m<0b1101011, 0b00011, Ext, Ext.PrimaryTy,
116- GPR, "fcvt.q.lu", [IsRV64]>;
116+ defm FCVT_Q_LU : FPUnaryOp_r_frmlegacy_m<0b1101011, 0b00011, Ext,
117+ Ext.PrimaryTy, GPR, "fcvt.q.lu",
118+ [IsRV64]>;
117119} // foreach Ext = QExtsRV64
118120
119121//===----------------------------------------------------------------------===//
@@ -141,11 +143,3 @@ let Predicates = [HasStdExtQ] in {
141143 def PseudoFLQ : PseudoFloatLoad<"flq", FPR128>;
142144 def PseudoFSQ : PseudoStore<"fsq", FPR128>;
143145} // Predicates = [HasStdExtQ]
144-
145- let Predicates = [HasStdExtQ] in {
146- /// Loads
147- def : LdPat<load, FLQ, f128>;
148-
149- /// Stores
150- def : StPat<store, FSQ, FPR128, f128>;
151- } // Predicates = [HasStdExtQ]
0 commit comments