ppc: add PPC_INS_BNE for alias instruction BNE
diff --git a/arch/PowerPC/PPCMapping.c b/arch/PowerPC/PPCMapping.c
index 7135d62..59d71d7 100644
--- a/arch/PowerPC/PPCMapping.c
+++ b/arch/PowerPC/PPCMapping.c
@@ -7872,6 +7872,9 @@
{ 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 c4a07e7..ade1c61 100644
--- a/include/ppc.h
+++ b/include/ppc.h
@@ -1231,6 +1231,9 @@
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;