@@ -353,10 +353,6 @@ static DecodeStatus decodeRVCInstrRdRs1ImmZero(MCInst &Inst, uint32_t Insn,
353
353
uint64_t Address,
354
354
const MCDisassembler *Decoder);
355
355
356
- static DecodeStatus decodeRVCInstrSImm (MCInst &Inst, uint32_t Insn,
357
- uint64_t Address,
358
- const MCDisassembler *Decoder);
359
-
360
356
static DecodeStatus decodeRVCInstrRdSImm (MCInst &Inst, uint32_t Insn,
361
357
uint64_t Address,
362
358
const MCDisassembler *Decoder);
@@ -387,17 +383,6 @@ static DecodeStatus decodeRVCInstrRdRs1ImmZero(MCInst &Inst, uint32_t Insn,
387
383
return MCDisassembler::Success;
388
384
}
389
385
390
- static DecodeStatus decodeRVCInstrSImm (MCInst &Inst, uint32_t Insn,
391
- uint64_t Address,
392
- const MCDisassembler *Decoder) {
393
- uint32_t SImm6 =
394
- fieldFromInstruction (Insn, 12 , 1 ) << 5 | fieldFromInstruction (Insn, 2 , 5 );
395
- DecodeStatus Result = decodeSImmOperand<6 >(Inst, SImm6, Address, Decoder);
396
- (void )Result;
397
- assert (Result == MCDisassembler::Success && " Invalid immediate" );
398
- return MCDisassembler::Success;
399
- }
400
-
401
386
static DecodeStatus decodeRVCInstrRdSImm (MCInst &Inst, uint32_t Insn,
402
387
uint64_t Address,
403
388
const MCDisassembler *Decoder) {
0 commit comments