From 9a85b496ac4e6488d427155c24f87367ab1f6b1b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 11 Apr 2017 07:33:50 +0930 Subject: Bye bye PPC_OPCODE_ALTIVEC2 This bit is worse than useless. Using it prevents the assembler and disassembler distinguishing between opcodes added for power8 and those added for power9. include/ * opcode/ppc.h (PPC_OPCODE_ALTIVEC2): Delete. opcodes/ * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_ALTIVEC2. * ppc-opc.c (PPCVEC2): Define as PPC_OPCODE_POWER8|PPC_OPCODE_E6500. (PPCVEC3): Define as PPC_OPCODE_POWER9. --- opcodes/ppc-opc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opcodes/ppc-opc.c') diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 4e8b9bf..8c34ec1 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -3089,8 +3089,8 @@ extract_vleil (unsigned long insn, #define PPC860 PPC_OPCODE_860 #define PPCPS PPC_OPCODE_PPCPS #define PPCVEC PPC_OPCODE_ALTIVEC -#define PPCVEC2 PPC_OPCODE_ALTIVEC2 -#define PPCVEC3 PPC_OPCODE_ALTIVEC2 +#define PPCVEC2 (PPC_OPCODE_POWER8 | PPC_OPCODE_E6500) +#define PPCVEC3 PPC_OPCODE_POWER9 #define PPCVSX PPC_OPCODE_VSX #define PPCVSX2 PPC_OPCODE_VSX #define PPCVSX3 PPC_OPCODE_VSX3 -- cgit v1.1