Skip to content

Commit a7a7448

Browse files
committed
fix code indentation, move opcodestr after funct3
1 parent 7144f9e commit a7a7448

File tree

1 file changed

+106
-106
lines changed

1 file changed

+106
-106
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoP.td

Lines changed: 106 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ class RVPUnary0F0Rs1pRdp<bits<3> f, bits<7> wuimm, string opcodestr,
138138
}
139139

140140
let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
141-
class RVPBinaryFW<bit bfr, bits<3> f, bit aft, bits<2> w, string opcodestr,
142-
bits<3> funct3, RISCVOpcode Opcode = OPC_OP_32,
141+
class RVPBinaryFW<bit bfr, bits<3> f, bit aft, bits<2> w, bits<3> funct3,
142+
string opcodestr, RISCVOpcode Opcode = OPC_OP_32,
143143
dag outs = (outs GPR:$rd), dag ins = (ins GPR:$rs1, GPR:$rs2),
144144
string argstr = "$rd, $rs1, $rs2">
145145
: RVInstRBase<funct3, Opcode, outs, ins, opcodestr, argstr> {
@@ -149,17 +149,17 @@ class RVPBinaryFW<bit bfr, bits<3> f, bit aft, bits<2> w, string opcodestr,
149149
let Inst{26-25} = w;
150150
}
151151

152-
class RVPBinary1F1W<bits<3> f, bits<2> w, string opcodestr, bits<3> funct3,
152+
class RVPBinary1F1W<bits<3> f, bits<2> w, bits<3> funct3, string opcodestr,
153153
RISCVOpcode Opcode = OPC_OP_IMM_32>
154-
: RVPBinaryFW<1, f, 1, w, opcodestr, funct3, Opcode>;
154+
: RVPBinaryFW<1, f, 1, w, funct3, opcodestr, Opcode>;
155155

156-
class RVPBinary1F0W<bits<3> f, bits<2> w, string opcodestr, bits<3> funct3,
156+
class RVPBinary1F0W<bits<3> f, bits<2> w, bits<3> funct3, string opcodestr,
157157
RISCVOpcode Opcode = OPC_OP_32>
158-
: RVPBinaryFW<1, f, 0, w, opcodestr, funct3, Opcode>;
158+
: RVPBinaryFW<1, f, 0, w, funct3, opcodestr, Opcode>;
159159

160160
class RVPBinary0F1WRdp<bits<3> f, bits<2> w, string opcodestr,
161161
RISCVOpcode Opcode = OPC_OP_IMM_32>
162-
: RVPBinaryFW<0, f, 1, w, opcodestr, 0b010, Opcode, (outs RVPGPRPairRV32:$rdp),
162+
: RVPBinaryFW<0, f, 1, w, 0b010, opcodestr, Opcode, (outs RVPGPRPairRV32:$rdp),
163163
(ins GPR:$rs1, GPR:$rs2), "$rdp, $rs1, $rs2"> {
164164
bits<4> rdp;
165165

@@ -169,7 +169,7 @@ class RVPBinary0F1WRdp<bits<3> f, bits<2> w, string opcodestr,
169169

170170
class RVPBinary0F1WRs1p<bits<3> f, bits<2> w, string opcodestr,
171171
bit aft = 0b0, RISCVOpcode Opcode = OPC_OP_IMM_32>
172-
: RVPBinaryFW<0, f, 1, w, opcodestr, 0b100, Opcode, (outs GPR:$rd),
172+
: RVPBinaryFW<0, f, 1, w, 0b100, opcodestr, Opcode, (outs GPR:$rd),
173173
(ins RVPGPRPairRV32:$rs1p, GPR:$rs2), "$rd, $rs1p, $rs2"> {
174174
bits<4> rs1p;
175175

@@ -179,7 +179,7 @@ class RVPBinary0F1WRs1p<bits<3> f, bits<2> w, string opcodestr,
179179

180180
class RVPBinary0F1WRs1pRdp<bits<3> f, bits<2> w, string opcodestr,
181181
bit aft = 0b0, RISCVOpcode Opcode = OPC_OP_IMM_32>
182-
: RVPBinaryFW<0, f, 1, w, opcodestr, 0b110, Opcode, (outs RVPGPRPairRV32:$rdp),
182+
: RVPBinaryFW<0, f, 1, w, 0b110, opcodestr, Opcode, (outs RVPGPRPairRV32:$rdp),
183183
(ins RVPGPRPairRV32:$rs1p, GPR:$rs2), "$rdp, $rs1p, $rs2"> {
184184
bits<4> rs1p;
185185
bits<4> rdp;
@@ -214,7 +214,7 @@ class RVPBinary1FWRs2pRs1pRdp<bits<4> f, bits<2> w, string opcodestr,
214214
class RVPBinary1F0WRs2pRs1pRdp<bits<3> f, bits<2> w, string opcodestr,
215215
bit bfr = 0b1, bit aft = 0b0,
216216
RISCVOpcode Opcode = OPC_OP_IMM_32>
217-
: RVPBinaryFW<1, f, 0, w, opcodestr, 0b110, Opcode, (outs RVPGPRPairRV32:$rdp),
217+
: RVPBinaryFW<1, f, 0, w, 0b110, opcodestr, Opcode, (outs RVPGPRPairRV32:$rdp),
218218
(ins RVPGPRPairRV32:$rs1p, RVPGPRPairRV32:$rs2p), "$rdp, $rs1p, $rs2p"> {
219219
bits<4> rs1p;
220220
bits<4> rs2p;
@@ -229,8 +229,8 @@ class RVPBinary1F0WRs2pRs1pRdp<bits<3> f, bits<2> w, string opcodestr,
229229
}
230230

231231
let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
232-
class RVPBinaryLongFW<bit bfr = 1, bits<4> f, bits<2> w, string opcodestr,
233-
bits<3> funct3, dag outs, dag ins, string argstr>
232+
class RVPBinaryLongFW<bit bfr = 1, bits<4> f, bits<2> w, bits<3> funct3,
233+
string opcodestr, dag outs, dag ins, string argstr>
234234
: RVInstRBase<funct3, OPC_OP_32, outs, ins,
235235
opcodestr, argstr> {
236236
let Inst{31} = bfr;
@@ -239,11 +239,11 @@ class RVPBinaryLongFW<bit bfr = 1, bits<4> f, bits<2> w, string opcodestr,
239239
}
240240

241241
class RVPBinary1LongFW<bits<4> f, bits<2> w, bits<3> funct3, string opcodestr>
242-
: RVPBinaryLongFW<1, f, w, opcodestr, funct3, (outs GPR:$rd),
242+
: RVPBinaryLongFW<1, f, w, funct3, opcodestr, (outs GPR:$rd),
243243
(ins GPR:$rs1, GPR:$rs2), "$rd, $rs1, $rs2">;
244244

245245
class RVPBinary0LongFW<bits<4> f, bits<2> w, string opcodestr>
246-
: RVPBinaryLongFW<0, f, w, opcodestr, 0b010, (outs RVPGPRPairRV32:$rdp),
246+
: RVPBinaryLongFW<0, f, w, 0b010, opcodestr, (outs RVPGPRPairRV32:$rdp),
247247
(ins GPR:$rs1, RVPGPRPairRV32:$rs2), "$rdp, $rs1, $rs2"> {
248248
bits<4> rdp;
249249

@@ -311,26 +311,26 @@ let Predicates = [HasStdExtP, IsRV64] in
311311
def PLUI_W : RVPUnaryImm9<0b1111001, "plui.w">;
312312

313313
let Predicates = [HasStdExtP] in {
314-
def PSLL_HS : RVPBinary1F1W<0b000, 0b00, "psll.hs", 0b010>;
315-
def PSLL_BS : RVPBinary1F1W<0b000, 0b10, "psll.bs", 0b010>;
316-
def PADD_HS : RVPBinary1F1W<0b001, 0b00, "padd.hs", 0b010>;
317-
def PADD_BS : RVPBinary1F1W<0b001, 0b10, "padd.bs", 0b010>;
318-
def PSSHA_HS : RVPBinary1F1W<0b110, 0b00, "pssha.hs", 0b010>;
319-
def PSSHAR_HS : RVPBinary1F1W<0b111, 0b00, "psshar.hs", 0b010>;
314+
def PSLL_HS : RVPBinary1F1W<0b000, 0b00, 0b010, "psll.hs">;
315+
def PSLL_BS : RVPBinary1F1W<0b000, 0b10, 0b010, "psll.bs">;
316+
def PADD_HS : RVPBinary1F1W<0b001, 0b00, 0b010, "padd.hs">;
317+
def PADD_BS : RVPBinary1F1W<0b001, 0b10, 0b010, "padd.bs">;
318+
def PSSHA_HS : RVPBinary1F1W<0b110, 0b00, 0b010, "pssha.hs">;
319+
def PSSHAR_HS : RVPBinary1F1W<0b111, 0b00, 0b010, "psshar.hs">;
320320
} // Predicates = [HasStdExtP]
321321
let DecoderNamespace = "RISCV32Only_",
322322
Predicates = [HasStdExtP, IsRV32] in {
323-
def SSHA : RVPBinary1F1W<0b110, 0b01, "ssha", 0b010>;
324-
def SSHAR : RVPBinary1F1W<0b111, 0b01, "sshar", 0b010>;
323+
def SSHA : RVPBinary1F1W<0b110, 0b01, 0b010, "ssha">;
324+
def SSHAR : RVPBinary1F1W<0b111, 0b01, 0b010, "sshar">;
325325
} // Predicates = [HasStdExtP, IsRV32]
326326

327327
let Predicates = [HasStdExtP, IsRV64] in {
328-
def PSLL_WS : RVPBinary1F1W<0b000, 0b01, "psll.ws", 0b010>;
329-
def PADD_WS : RVPBinary1F1W<0b001, 0b01, "padd.ws", 0b010>;
330-
def PSSHA_WS : RVPBinary1F1W<0b110, 0b01, "pssha.ws", 0b010>;
331-
def PSSHAR_WS : RVPBinary1F1W<0b111, 0b01, "psshar.ws", 0b010>;
332-
def SHA : RVPBinary1F1W<0b110, 0b11, "sha", 0b010>;
333-
def SHAR : RVPBinary1F1W<0b111, 0b11, "shar", 0b010>;
328+
def PSLL_WS : RVPBinary1F1W<0b000, 0b01, 0b010, "psll.ws">;
329+
def PADD_WS : RVPBinary1F1W<0b001, 0b01, 0b010, "padd.ws">;
330+
def PSSHA_WS : RVPBinary1F1W<0b110, 0b01, 0b010, "pssha.ws">;
331+
def PSSHAR_WS : RVPBinary1F1W<0b111, 0b01, 0b010, "psshar.ws">;
332+
def SHA : RVPBinary1F1W<0b110, 0b11, 0b010, "sha">;
333+
def SHAR : RVPBinary1F1W<0b111, 0b11, 0b010, "shar">;
334334
} // Predicates = [HasStdExtP, IsRV64]
335335

336336
let Predicates = [HasStdExtP] in {
@@ -356,21 +356,21 @@ def USATI_RV64 : RVPUnary1F0<0b010, 0b1000000, "usati">;
356356
} // Predicates = [HasStdExtP, IsRV64]
357357

358358
let Predicates = [HasStdExtP] in {
359-
def PSRL_HS : RVPBinary1F1W<0b000, 0b00, "psrl.hs", 0b100>;
360-
def PSRL_BS : RVPBinary1F1W<0b000, 0b10, "psrl.bs", 0b100>;
361-
def PREDSUM_HS : RVPBinary1F1W<0b001, 0b00, "predsum.hs", 0b100>;
362-
def PREDSUM_BS : RVPBinary1F1W<0b001, 0b10, "predsum.bs", 0b100>;
363-
def PREDSUMU_HS : RVPBinary1F1W<0b011, 0b00, "predsumu.hs", 0b100>;
364-
def PREDSUMU_BS : RVPBinary1F1W<0b011, 0b10, "predsumu.bs", 0b100>;
365-
def PSRA_HS : RVPBinary1F1W<0b100, 0b00, "psra.hs", 0b100>;
366-
def PSRA_BS : RVPBinary1F1W<0b100, 0b10, "psra.bs", 0b100>;
359+
def PSRL_HS : RVPBinary1F1W<0b000, 0b00, 0b100, "psrl.hs">;
360+
def PSRL_BS : RVPBinary1F1W<0b000, 0b10, 0b100, "psrl.bs">;
361+
def PREDSUM_HS : RVPBinary1F1W<0b001, 0b00, 0b100, "predsum.hs">;
362+
def PREDSUM_BS : RVPBinary1F1W<0b001, 0b10, 0b100, "predsum.bs">;
363+
def PREDSUMU_HS : RVPBinary1F1W<0b011, 0b00, 0b100, "predsumu.hs">;
364+
def PREDSUMU_BS : RVPBinary1F1W<0b011, 0b10, 0b100, "predsumu.bs">;
365+
def PSRA_HS : RVPBinary1F1W<0b100, 0b00, 0b100, "psra.hs">;
366+
def PSRA_BS : RVPBinary1F1W<0b100, 0b10, 0b100, "psra.bs">;
367367
} // Predicates = [HasStdExtP]
368368

369369
let Predicates = [HasStdExtP, IsRV64] in {
370-
def PSRL_WS : RVPBinary1F1W<0b000, 0b01, "psrl.ws", 0b100>;
371-
def PREDSUM_WS : RVPBinary1F1W<0b001, 0b01, "predsum.ws", 0b100>;
372-
def PREDSUMU_WS : RVPBinary1F1W<0b011, 0b01, "predsumu.ws", 0b100>;
373-
def PSRA_WS : RVPBinary1F1W<0b100, 0b01, "psra.ws", 0b100>;
370+
def PSRL_WS : RVPBinary1F1W<0b000, 0b01, 0b100, "psrl.ws">;
371+
def PREDSUM_WS : RVPBinary1F1W<0b001, 0b01, 0b100, "predsum.ws">;
372+
def PREDSUMU_WS : RVPBinary1F1W<0b011, 0b01, 0b100, "predsumu.ws">;
373+
def PSRA_WS : RVPBinary1F1W<0b100, 0b01, 0b100, "psra.ws">;
374374
} // Predicates = [HasStdExtP, IsRV64]
375375

376376

@@ -472,26 +472,26 @@ def MACCU_W01 : RVPBinary1LongFW<0b0111, 0b11, 0b001, "maccu.w01">;
472472

473473

474474
let Predicates = [HasStdExtP] in {
475-
def PSH1ADD_H : RVPBinary1F0W<0b010, 0b00, "psh1add.h", 0b010>;
476-
def PSSH1SADD_H : RVPBinary1F0W<0b011, 0b00, "pssh1sadd.h", 0b010>;
475+
def PSH1ADD_H : RVPBinary1F0W<0b010, 0b00, 0b010, "psh1add.h">;
476+
def PSSH1SADD_H : RVPBinary1F0W<0b011, 0b00, 0b010, "pssh1sadd.h">;
477477
} // Predicates = [HasStdExtP]
478478

479479
let DecoderNamespace = "RISCV32Only_",
480480
Predicates = [HasStdExtP, IsRV32] in {
481-
def SSH1SADD : RVPBinary1F0W<0b010, 0b01, "ssh1sadd", 0b010>;
481+
def SSH1SADD : RVPBinary1F0W<0b010, 0b01, 0b010, "ssh1sadd">;
482482
} // Predicates = [HasStdExtP, IsRV32]
483483
let Predicates = [HasStdExtP, IsRV64] in {
484-
def PSH1ADD_W : RVPBinary1F0W<0b010, 0b01, "psh1add.w", 0b010>;
485-
def PSSH1SADD_W : RVPBinary1F0W<0b011, 0b01, "pssh1sadd.w", 0b010>;
486-
487-
def UNZIP8P : RVPBinary1F0W<0b110, 0b00, "unzip8p", 0b010>;
488-
def UNZIP16P : RVPBinary1F0W<0b110, 0b01, "unzip16p", 0b010>;
489-
def UNZIP8HP : RVPBinary1F0W<0b110, 0b10, "unzip8hp", 0b010>;
490-
def UNZIP16HP : RVPBinary1F0W<0b110, 0b11, "unzip16hp", 0b010>;
491-
def ZIP8P : RVPBinary1F0W<0b111, 0b00, "zip8p", 0b010>;
492-
def ZIP16P : RVPBinary1F0W<0b111, 0b01, "zip16p", 0b010>;
493-
def ZIP8HP : RVPBinary1F0W<0b111, 0b10, "zip8hp", 0b010>;
494-
def ZIP16HP : RVPBinary1F0W<0b111, 0b11, "zip16hp", 0b010>;
484+
def PSH1ADD_W : RVPBinary1F0W<0b010, 0b01, 0b010, "psh1add.w">;
485+
def PSSH1SADD_W : RVPBinary1F0W<0b011, 0b01, 0b010, "pssh1sadd.w">;
486+
487+
def UNZIP8P : RVPBinary1F0W<0b110, 0b00, 0b010, "unzip8p">;
488+
def UNZIP16P : RVPBinary1F0W<0b110, 0b01, 0b010, "unzip16p">;
489+
def UNZIP8HP : RVPBinary1F0W<0b110, 0b10, 0b010, "unzip8hp">;
490+
def UNZIP16HP : RVPBinary1F0W<0b110, 0b11, 0b010, "unzip16hp">;
491+
def ZIP8P : RVPBinary1F0W<0b111, 0b00, 0b010, "zip8p">;
492+
def ZIP16P : RVPBinary1F0W<0b111, 0b01, 0b010, "zip16p">;
493+
def ZIP8HP : RVPBinary1F0W<0b111, 0b10, 0b010, "zip8hp">;
494+
def ZIP16HP : RVPBinary1F0W<0b111, 0b11, 0b010, "zip16hp">;
495495
} // Predicates = [HasStdExtP, IsRV64]
496496

497497

@@ -554,26 +554,26 @@ def MACCSU_W11 : RVPBinary1LongFW<0b1111, 0b11, 0b011, "maccsu.w11">;
554554

555555

556556
let Predicates = [HasStdExtP] in {
557-
def PPACK_H : RVPBinary1F0W<0b000, 0b00, "ppack.h", 0b100>;
558-
def PPACKBT_H : RVPBinary1F0W<0b001, 0b00, "ppackbt.h", 0b100>;
559-
def PPACKTB_H : RVPBinary1F0W<0b010, 0b00, "ppacktb.h", 0b100>;
560-
def PPACKT_H : RVPBinary1F0W<0b011, 0b00, "ppackt.h", 0b100>;
557+
def PPACK_H : RVPBinary1F0W<0b000, 0b00, 0b100, "ppack.h">;
558+
def PPACKBT_H : RVPBinary1F0W<0b001, 0b00, 0b100, "ppackbt.h">;
559+
def PPACKTB_H : RVPBinary1F0W<0b010, 0b00, 0b100, "ppacktb.h">;
560+
def PPACKT_H : RVPBinary1F0W<0b011, 0b00, 0b100, "ppackt.h">;
561561
} // Predicates = [HasStdExtP]
562562
let DecoderNamespace = "RISCV32Only_",
563563
Predicates = [HasStdExtP, IsRV32] in {
564-
def PACKBT : RVPBinary1F0W<0b001, 0b01, "packbt", 0b100>;
565-
def PACKTB : RVPBinary1F0W<0b010, 0b01, "packtb", 0b100>;
566-
def PACKT : RVPBinary1F0W<0b011, 0b01, "packt", 0b100>;
564+
def PACKBT : RVPBinary1F0W<0b001, 0b01, 0b100, "packbt">;
565+
def PACKTB : RVPBinary1F0W<0b010, 0b01, 0b100, "packtb">;
566+
def PACKT : RVPBinary1F0W<0b011, 0b01, 0b100, "packt">;
567567
} // Predicates = [HasStdExtP, IsRV32]
568568

569569
let Predicates = [HasStdExtP, IsRV64] in {
570-
def PPACK_W : RVPBinary1F0W<0b000, 0b01, "ppack.w", 0b100>;
571-
def PPACKBT_W : RVPBinary1F0W<0b001, 0b01, "ppackbt.w", 0b100>;
572-
def PPACKBT : RVPBinary1F0W<0b001, 0b11, "ppackbt", 0b100>;
573-
def PPACKTB_W : RVPBinary1F0W<0b010, 0b01, "ppacktb.w", 0b100>;
574-
def PPACKTB : RVPBinary1F0W<0b010, 0b11, "ppacktb", 0b100>;
575-
def PPACKT_W : RVPBinary1F0W<0b011, 0b01, "ppackt.w", 0b100>;
576-
def PPACKT : RVPBinary1F0W<0b011, 0b11, "ppackt", 0b100>;
570+
def PPACK_W : RVPBinary1F0W<0b000, 0b01, 0b100, "ppack.w">;
571+
def PPACKBT_W : RVPBinary1F0W<0b001, 0b01, 0b100, "ppackbt.w">;
572+
def PPACKBT : RVPBinary1F0W<0b001, 0b11, 0b100, "ppackbt">;
573+
def PPACKTB_W : RVPBinary1F0W<0b010, 0b01, 0b100, "ppacktb.w">;
574+
def PPACKTB : RVPBinary1F0W<0b010, 0b11, 0b100, "ppacktb">;
575+
def PPACKT_W : RVPBinary1F0W<0b011, 0b01, 0b100, "ppackt.w">;
576+
def PPACKT : RVPBinary1F0W<0b011, 0b11, 0b100, "ppackt">;
577577
} // Predicates = [HasStdExtP, IsRV64]
578578

579579

@@ -702,14 +702,14 @@ def PMULHRU_H : RVPBinary1LongFW<0b0010, 0b10, 0b111, "pmulhru.h">;
702702
def PMHACCU_H : RVPBinary1LongFW<0b0011, 0b00, 0b111, "pmhaccu.h">;
703703
def PMHRACCU_H : RVPBinary1LongFW<0b0011, 0b10, 0b111, "pmhraccu.h">;
704704

705-
def PMULH_H_B0 : RVPBinary1LongFW<0b0100, 0b00, 0b111, "pmulh.h.b0">;
706-
def PMULHSU_H_B0 : RVPBinary1LongFW<0b0100, 0b10, 0b111, "pmulhsu.h.b0">;
707-
def PMHACCU_H_B0 : RVPBinary1LongFW<0b0101, 0b00, 0b111, "pmhaccu.h.b0">;
708-
def PMHACCSU_H_B0: RVPBinary1LongFW<0b0101, 0b10, 0b111, "pmhaccsu.h.b0">;
709-
def PMULH_H_B1 : RVPBinary1LongFW<0b0110, 0b00, 0b111, "pmulh.h.b1">;
710-
def PMULHSU_H_B1 : RVPBinary1LongFW<0b0110, 0b10, 0b111, "pmulhsu.h.b1">;
711-
def PMHACC_H_B1 : RVPBinary1LongFW<0b0111, 0b00, 0b111, "pmhacc.h.b1">;
712-
def PMHACCSU_H_B1: RVPBinary1LongFW<0b0111, 0b10, 0b111, "pmhaccsu.h.b1">;
705+
def PMULH_H_B0 : RVPBinary1LongFW<0b0100, 0b00, 0b111, "pmulh.h.b0">;
706+
def PMULHSU_H_B0 : RVPBinary1LongFW<0b0100, 0b10, 0b111, "pmulhsu.h.b0">;
707+
def PMHACCU_H_B0 : RVPBinary1LongFW<0b0101, 0b00, 0b111, "pmhaccu.h.b0">;
708+
def PMHACCSU_H_B0 : RVPBinary1LongFW<0b0101, 0b10, 0b111, "pmhaccsu.h.b0">;
709+
def PMULH_H_B1 : RVPBinary1LongFW<0b0110, 0b00, 0b111, "pmulh.h.b1">;
710+
def PMULHSU_H_B1 : RVPBinary1LongFW<0b0110, 0b10, 0b111, "pmulhsu.h.b1">;
711+
def PMHACC_H_B1 : RVPBinary1LongFW<0b0111, 0b00, 0b111, "pmhacc.h.b1">;
712+
def PMHACCSU_H_B1 : RVPBinary1LongFW<0b0111, 0b10, 0b111, "pmhaccsu.h.b1">;
713713

714714
def PMULHSU_H : RVPBinary1LongFW<0b1000, 0b00, 0b111, "pmulhsu.h">;
715715
def PMULHRSU_H : RVPBinary1LongFW<0b1000, 0b10, 0b111, "pmulhrsu.h">;
@@ -897,28 +897,28 @@ def PNCLIPRI_B : RVPUnary0F0Rs1p<0b111, 0b0010000, "pnclipri.b">;
897897
def PNCLIPRI_H : RVPUnary0F0Rs1p<0b111, 0b0100000, "pnclipri.h">;
898898
def NCLIPRI : RVPUnary0F0Rs1p<0b111, 0b1000000, "nclipri">;
899899

900-
def PNSRL_BS : RVPBinary0F1WRs1p<0b000, 0b00, "pnsrl.bs", 0b1>;
901-
def PNSRL_HS : RVPBinary0F1WRs1p<0b000, 0b01, "pnsrl.hs", 0b1>;
902-
def NSRL : RVPBinary0F1WRs1p<0b000, 0b11, "nsrl", 0b1>;
903-
def PNCLIPU_BS : RVPBinary0F1WRs1p<0b010, 0b00, "pnclipu.bs", 0b1>;
904-
def PNCLIPU_HS : RVPBinary0F1WRs1p<0b010, 0b01, "pnclipu.hs", 0b1>;
905-
def NCLIPU : RVPBinary0F1WRs1p<0b010, 0b11, "nclipu", 0b1>;
906-
def PNCLIPRU_BS : RVPBinary0F1WRs1p<0b011, 0b00, "pnclipru.bs", 0b1>;
907-
def PNCLIPRU_HS : RVPBinary0F1WRs1p<0b011, 0b01, "pnclipru.hs", 0b1>;
908-
def NCLIPRU : RVPBinary0F1WRs1p<0b011, 0b11, "nclipru", 0b1>;
909-
910-
def PNSRA_BS : RVPBinary0F1WRs1p<0b100, 0b00, "pnsra.bs", 0b1>;
911-
def PNSRA_HS : RVPBinary0F1WRs1p<0b100, 0b01, "pnsra.hs", 0b1>;
912-
def NSRA : RVPBinary0F1WRs1p<0b100, 0b11, "nsra", 0b1>;
913-
def PNSRAR_BS : RVPBinary0F1WRs1p<0b101, 0b00, "pnsrar.bs", 0b1>;
914-
def PNSRAR_HS : RVPBinary0F1WRs1p<0b101, 0b01, "pnsrar.hs", 0b1>;
915-
def NSRAR : RVPBinary0F1WRs1p<0b101, 0b11, "nsrar", 0b1>;
916-
def PNCLIP_BS : RVPBinary0F1WRs1p<0b110, 0b00, "pnclip.bs", 0b1>;
917-
def PNCLIP_HS : RVPBinary0F1WRs1p<0b110, 0b01, "pnclip.hs", 0b1>;
918-
def NCLIP : RVPBinary0F1WRs1p<0b110, 0b11, "nclip", 0b1>;
919-
def PNCLIPR_BS : RVPBinary0F1WRs1p<0b111, 0b00, "pnclipr.bs", 0b1>;
920-
def PNCLIPR_HS : RVPBinary0F1WRs1p<0b111, 0b01, "pnclipr.hs", 0b1>;
921-
def NCLIPR : RVPBinary0F1WRs1p<0b111, 0b11, "nclipr", 0b1>;
900+
def PNSRL_BS : RVPBinary0F1WRs1p<0b000, 0b00, "pnsrl.bs", 0b1>;
901+
def PNSRL_HS : RVPBinary0F1WRs1p<0b000, 0b01, "pnsrl.hs", 0b1>;
902+
def NSRL : RVPBinary0F1WRs1p<0b000, 0b11, "nsrl", 0b1>;
903+
def PNCLIPU_BS : RVPBinary0F1WRs1p<0b010, 0b00, "pnclipu.bs", 0b1>;
904+
def PNCLIPU_HS : RVPBinary0F1WRs1p<0b010, 0b01, "pnclipu.hs", 0b1>;
905+
def NCLIPU : RVPBinary0F1WRs1p<0b010, 0b11, "nclipu", 0b1>;
906+
def PNCLIPRU_BS : RVPBinary0F1WRs1p<0b011, 0b00, "pnclipru.bs", 0b1>;
907+
def PNCLIPRU_HS : RVPBinary0F1WRs1p<0b011, 0b01, "pnclipru.hs", 0b1>;
908+
def NCLIPRU : RVPBinary0F1WRs1p<0b011, 0b11, "nclipru", 0b1>;
909+
910+
def PNSRA_BS : RVPBinary0F1WRs1p<0b100, 0b00, "pnsra.bs", 0b1>;
911+
def PNSRA_HS : RVPBinary0F1WRs1p<0b100, 0b01, "pnsra.hs", 0b1>;
912+
def NSRA : RVPBinary0F1WRs1p<0b100, 0b11, "nsra", 0b1>;
913+
def PNSRAR_BS : RVPBinary0F1WRs1p<0b101, 0b00, "pnsrar.bs", 0b1>;
914+
def PNSRAR_HS : RVPBinary0F1WRs1p<0b101, 0b01, "pnsrar.hs", 0b1>;
915+
def NSRAR : RVPBinary0F1WRs1p<0b101, 0b11, "nsrar", 0b1>;
916+
def PNCLIP_BS : RVPBinary0F1WRs1p<0b110, 0b00, "pnclip.bs", 0b1>;
917+
def PNCLIP_HS : RVPBinary0F1WRs1p<0b110, 0b01, "pnclip.hs", 0b1>;
918+
def NCLIP : RVPBinary0F1WRs1p<0b110, 0b11, "nclip", 0b1>;
919+
def PNCLIPR_BS : RVPBinary0F1WRs1p<0b111, 0b00, "pnclipr.bs", 0b1>;
920+
def PNCLIPR_HS : RVPBinary0F1WRs1p<0b111, 0b01, "pnclipr.hs", 0b1>;
921+
def NCLIPR : RVPBinary0F1WRs1p<0b111, 0b11, "nclipr", 0b1>;
922922

923923

924924
def PSLLI_DB : RVPUnary0F0Rs1pRdp<0b000, 0b0001000, "pslli.db">;
@@ -934,16 +934,16 @@ def PSEXT_DW_H : RVPUnaryWUFRs1pRdp<0b01, 0b00101, "psext.dw.h">;
934934
def PSABS_DH : RVPUnaryWUFRs1pRdp<0b00, 0b00111, "psabs.dh">;
935935
def PSABS_DB : RVPUnaryWUFRs1pRdp<0b10, 0b00111, "psabs.db">;
936936

937-
def PSLL_DHS : RVPBinary0F1WRs1pRdp<0b000, 0b00, "psll.dhs">;
937+
def PSLL_DHS : RVPBinary0F1WRs1pRdp<0b000, 0b00, "psll.dhs">;
938938
def PSLL_DWS : RVPBinary0F1WRs1pRdp<0b000, 0b01, "psll.dws">;
939-
def PSLL_DBS : RVPBinary0F1WRs1pRdp<0b000, 0b10, "psll.dbs">;
940-
def PADD_DHS : RVPBinary0F1WRs1pRdp<0b001, 0b00, "padd.dhs">;
939+
def PSLL_DBS : RVPBinary0F1WRs1pRdp<0b000, 0b10, "psll.dbs">;
940+
def PADD_DHS : RVPBinary0F1WRs1pRdp<0b001, 0b00, "padd.dhs">;
941941
def PADD_DWS : RVPBinary0F1WRs1pRdp<0b001, 0b01, "padd.dws">;
942-
def PADD_DBS : RVPBinary0F1WRs1pRdp<0b001, 0b10, "padd.dbs">;
942+
def PADD_DBS : RVPBinary0F1WRs1pRdp<0b001, 0b10, "padd.dbs">;
943943

944-
def PSSHA_DHS : RVPBinary0F1WRs1pRdp<0b110, 0b00, "pssha.dhs">;
944+
def PSSHA_DHS : RVPBinary0F1WRs1pRdp<0b110, 0b00, "pssha.dhs">;
945945
def PSSHA_DWS : RVPBinary0F1WRs1pRdp<0b110, 0b01, "pssha.dws">;
946-
def PSSHAR_DHS : RVPBinary0F1WRs1pRdp<0b111, 0b00, "psshar.dhs">;
946+
def PSSHAR_DHS : RVPBinary0F1WRs1pRdp<0b111, 0b00, "psshar.dhs">;
947947
def PSSHAR_DWS : RVPBinary0F1WRs1pRdp<0b111, 0b01, "psshar.dws">;
948948

949949
def PSRLI_DB : RVPUnary0F0Rs1pRdp<0b000, 0b0001000, "psrli.db", 0b1>;
@@ -961,11 +961,11 @@ def PSATI_DH : RVPUnary0F0Rs1pRdp<0b110, 0b0010000, "psati.dh", 0b1>;
961961
def PSATI_DW : RVPUnary0F0Rs1pRdp<0b110, 0b0100000, "psati.dw", 0b1>;
962962

963963
def PSRL_DHS : RVPBinary0F1WRs1pRdp<0b000, 0b00, "psrl.dhs", 0b1>;
964-
def PSRL_DWS : RVPBinary0F1WRs1pRdp<0b000, 0b01, "psrl.dws", 0b1>;
964+
def PSRL_DWS : RVPBinary0F1WRs1pRdp<0b000, 0b01, "psrl.dws", 0b1>;
965965
def PSRL_DBS : RVPBinary0F1WRs1pRdp<0b000, 0b10, "psrl.dbs", 0b1>;
966966

967967
def PSRA_DHS : RVPBinary0F1WRs1pRdp<0b100, 0b00, "psra.dhs", 0b1>;
968-
def PSRA_DWS : RVPBinary0F1WRs1pRdp<0b100, 0b01, "psra.dws", 0b1>;
968+
def PSRA_DWS : RVPBinary0F1WRs1pRdp<0b100, 0b01, "psra.dws", 0b1>;
969969
def PSRA_DBS : RVPBinary0F1WRs1pRdp<0b100, 0b10, "psra.dbs", 0b1>;
970970

971971
def PADD_DH : RVPBinary1FWRs2pRs1pRdp<0b0000, 0b00, "padd.dh">;

0 commit comments

Comments
 (0)