Skip to content

Commit

Permalink
Merge pull request #1906 from trufae/fb
Browse files Browse the repository at this point in the history
  • Loading branch information
kabeor committed Aug 1, 2022
2 parents 0494e94 + 813780b commit 0d0e684
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/PowerPC/PPCDisassembler.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,13 @@ static DecodeStatus DecodeCRRCRegisterClass(MCInst *Inst, uint64_t RegNo,
return decodeRegisterClass(Inst, RegNo, CRRegs, sizeof(CRRegs));
}

#if 0
static DecodeStatus DecodeCRRC0RegisterClass(MCInst *Inst, uint64_t RegNo,
uint64_t Address, const void *Decoder)
{
return decodeRegisterClass(Inst, RegNo, CRRegs, sizeof(CRRegs));
}
#endif

static DecodeStatus DecodeCRBITRCRegisterClass(MCInst *Inst, uint64_t RegNo,
uint64_t Address, const void *Decoder)
Expand Down
1 change: 1 addition & 0 deletions arch/PowerPC/PPCGenDisassemblerTables.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4925,6 +4925,7 @@ static const uint8_t DecoderTableSPE32[] = {
static bool checkDecoderPredicate(unsigned Idx, MCInst *MI)
{
/* llvm_unreachable("Invalid index!");*/
return false;
}

#define DecodeToMCInst(fname, fieldname, InsnType) \
Expand Down

0 comments on commit 0d0e684

Please sign in to comment.