From 9570835e5597037bee5042edf822675e715b3caf Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 11 Apr 2017 07:36:43 +0930 Subject: Bye Bye PPC_OPCODE_VSX3 This bit is also useless as it can be replaced with PPC_OPCODE_POWER9. Defining the VSX2 and VSX3 selection based on cpu bits also lets the assembler/disassembler distinguish between the power7 VSX opcodes and the power8 ones. Note that this change means -mvsx now reverts back to just adding the power7 VSX insns. include/ * opcode/ppc.h (PPC_OPCODE_VSX3): Delete. opcodes/ * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_VSX3. * ppc-opc.c (PPCVSX2): Define as PPC_OPCODE_POWER8. (PPCVSX3): 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 8c34ec1..7294c6d 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -3092,8 +3092,8 @@ extract_vleil (unsigned long insn, #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 +#define PPCVSX2 PPC_OPCODE_POWER8 +#define PPCVSX3 PPC_OPCODE_POWER9 #define POWER PPC_OPCODE_POWER #define POWER2 PPC_OPCODE_POWER | PPC_OPCODE_POWER2 #define PWR2COM PPC_OPCODE_POWER | PPC_OPCODE_POWER2 | PPC_OPCODE_COMMON -- cgit v1.1