@@ -27,15 +27,15 @@ defvar QExtsRV64 = [QExt];
27
27
let Predicates = [HasStdExtQ] in {
28
28
let hasSideEffects = 0, mayLoad = 1, mayStore = 0 in
29
29
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})">;
32
32
// Operands for stores are in the order srcreg, base, offset rather than
33
33
// reflecting the order these fields are specified in the instruction
34
34
// encoding.
35
35
let hasSideEffects = 0, mayLoad = 0, mayStore = 1 in
36
36
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})">;
39
39
} // Predicates = [HasStdExtQ]
40
40
41
41
foreach Ext = QExts in {
@@ -93,11 +93,11 @@ foreach Ext = QExts in {
93
93
94
94
let mayRaiseFPException = 0 in
95
95
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">;
97
97
98
98
let mayRaiseFPException = 0 in
99
99
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">;
101
101
} // foreach Ext = QExts
102
102
103
103
foreach Ext = QExtsRV64 in {
@@ -108,12 +108,14 @@ foreach Ext = QExtsRV64 in {
108
108
Ext.PrimaryTy, "fcvt.lu.q", [IsRV64]>;
109
109
110
110
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]>;
113
114
114
115
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]>;
117
119
} // foreach Ext = QExtsRV64
118
120
119
121
//===----------------------------------------------------------------------===//
@@ -141,11 +143,3 @@ let Predicates = [HasStdExtQ] in {
141
143
def PseudoFLQ : PseudoFloatLoad<"flq", FPR128>;
142
144
def PseudoFSQ : PseudoStore<"fsq", FPR128>;
143
145
} // 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