diff options
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/ChangeLog | 6 | ||||
-rw-r--r-- | include/opcode/ppc.h | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index b0fff81..8a0a946 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,9 @@ +2015-11-11 Alan Modra <amodra@gmail.com> + Peter Bergner <bergner@vnet.ibm.com> + + * ppc.h (PPC_OPCODE_POWER9): New define. + (PPC_OPCODE_VSX3): Likewise. + 2015-11-02 Nick Clifton <nickc@redhat.com> * rx.h (enum RX_Opcode_ID): Add more NOP opcodes. diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index 8f87e68..44d2d6c 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -204,6 +204,12 @@ extern const int vle_num_opcodes; /* Opcode is supported by ppc821/850/860. */ #define PPC_OPCODE_860 0x10000000000ull +/* Opcode is only supported by Power9 architecture. */ +#define PPC_OPCODE_POWER9 0x20000000000ull + +/* Opcode is supported by Vector-Scalar (VSX) Unit from ISA 2.08. */ +#define PPC_OPCODE_VSX3 0x40000000000ull + /* A macro to extract the major opcode from an instruction. */ #define PPC_OP(i) (((i) >> 26) & 0x3f) |