aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-04-11 07:33:50 +0930
committerAlan Modra <amodra@gmail.com>2017-04-11 07:33:50 +0930
commit9a85b496ac4e6488d427155c24f87367ab1f6b1b (patch)
tree7d8e1b150731562d82fb3a6e7dfaecf088380ead /opcodes/ppc-opc.c
parenta5bef50fdbfadbc6b8911b458580ee91cbfcdafd (diff)
downloadgdb-9a85b496ac4e6488d427155c24f87367ab1f6b1b.zip
gdb-9a85b496ac4e6488d427155c24f87367ab1f6b1b.tar.gz
gdb-9a85b496ac4e6488d427155c24f87367ab1f6b1b.tar.bz2
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.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r--opcodes/ppc-opc.c4
1 files changed, 2 insertions, 2 deletions
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