diff --git a/arch/PowerPC/PPCMapping.c b/arch/PowerPC/PPCMapping.c index 7135d621b2..59d71d7a3c 100644 --- a/arch/PowerPC/PPCMapping.c +++ b/arch/PowerPC/PPCMapping.c @@ -7872,6 +7872,9 @@ static name_map insn_name_maps[] = { { PPC_INS_BA_CC, "ba_cc" }, { PPC_INS_BCTR_CC, "bctr_cc" }, { PPC_INS_BCTRL_CC, "bctrl_cc" }, + + // alias instructions + { PPC_INS_BNE, "bne" }, }; // special alias insn diff --git a/include/ppc.h b/include/ppc.h index c4a07e79b6..ade1c61eb3 100644 --- a/include/ppc.h +++ b/include/ppc.h @@ -1231,6 +1231,9 @@ typedef enum ppc_insn { PPC_INS_BCTR_CC, // BccCTR PPC_INS_BCTRL_CC, // BccCTRL + // alias instructions + PPC_INS_BNE, + PPC_INS_MAX, // <-- mark the end of the list of instructions } ppc_insn;