@@ -262,9 +262,9 @@ DECODE_OPERAND_SRC_REG_OR_IMM_DEFERRED_9(VS_32, OPW16, 16)
262
262
DECODE_OPERAND_SRC_REG_OR_IMM_DEFERRED_9(VS_32, OPW32, 32 )
263
263
DECODE_OPERAND_SRC_REG_OR_IMM_DEFERRED_9(SReg_32, OPW32, 32 )
264
264
265
- [[maybe_unused]] static DecodeStatus
266
- DecodeVGPR_16RegisterClass(MCInst &Inst, unsigned Imm, uint64_t /* Addr*/ ,
267
- const MCDisassembler *Decoder) {
265
+ static DecodeStatus DecodeVGPR_16RegisterClass(MCInst &Inst, unsigned Imm,
266
+ uint64_t /* Addr*/ ,
267
+ const MCDisassembler *Decoder) {
268
268
assert (isUInt<10 >(Imm) && " 10-bit encoding expected" );
269
269
assert ((Imm & (1 << 8 )) == 0 && " Imm{8} should not be used" );
270
270
@@ -274,7 +274,7 @@ DecodeVGPR_16RegisterClass(MCInst &Inst, unsigned Imm, uint64_t /*Addr*/,
274
274
return addOperand (Inst, DAsm->createVGPR16Operand (RegIdx, IsHi));
275
275
}
276
276
277
- [[maybe_unused]] static DecodeStatus
277
+ static DecodeStatus
278
278
DecodeVGPR_16_Lo128RegisterClass (MCInst &Inst, unsigned Imm, uint64_t /* Addr*/ ,
279
279
const MCDisassembler *Decoder) {
280
280
assert (isUInt<8 >(Imm) && " 8-bit encoding expected" );
@@ -285,9 +285,9 @@ DecodeVGPR_16_Lo128RegisterClass(MCInst &Inst, unsigned Imm, uint64_t /*Addr*/,
285
285
return addOperand (Inst, DAsm->createVGPR16Operand (RegIdx, IsHi));
286
286
}
287
287
288
- [[maybe_unused]] static DecodeStatus
289
- decodeOperand_VSrcT16_Lo128 (MCInst &Inst, unsigned Imm, uint64_t /* Addr*/ ,
290
- const MCDisassembler *Decoder) {
288
+ static DecodeStatus decodeOperand_VSrcT16_Lo128 (MCInst &Inst, unsigned Imm,
289
+ uint64_t /* Addr*/ ,
290
+ const MCDisassembler *Decoder) {
291
291
assert (isUInt<9 >(Imm) && " 9-bit encoding expected" );
292
292
293
293
const auto *DAsm = static_cast <const AMDGPUDisassembler *>(Decoder);
@@ -301,9 +301,9 @@ decodeOperand_VSrcT16_Lo128(MCInst &Inst, unsigned Imm, uint64_t /*Addr*/,
301
301
Imm & 0xFF , false , 16 ));
302
302
}
303
303
304
- [[maybe_unused]] static DecodeStatus
305
- decodeOperand_VSrcT16 (MCInst &Inst, unsigned Imm, uint64_t /* Addr*/ ,
306
- const MCDisassembler *Decoder) {
304
+ static DecodeStatus decodeOperand_VSrcT16 (MCInst &Inst, unsigned Imm,
305
+ uint64_t /* Addr*/ ,
306
+ const MCDisassembler *Decoder) {
307
307
assert (isUInt<10 >(Imm) && " 10-bit encoding expected" );
308
308
309
309
const auto *DAsm = static_cast <const AMDGPUDisassembler *>(Decoder);
0 commit comments