aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parenta5bef50fdbfadbc6b8911b458580ee91cbfcdafd (diff)
downloadfsf-binutils-gdb-9a85b496ac4e6488d427155c24f87367ab1f6b1b.zip
fsf-binutils-gdb-9a85b496ac4e6488d427155c24f87367ab1f6b1b.tar.gz
fsf-binutils-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 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/ppc.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 330a656..9e3223c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-11 Alan Modra <amodra@gmail.com>
+
+ * opcode/ppc.h (PPC_OPCODE_ALTIVEC2): Delete.
+
2017-04-06 Pip Cet <pipcet@gmail.com>
* dis-asm.h: Add prototypes for wasm32 disassembler.
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index c4de834..c0112db 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -179,9 +179,6 @@ extern const int vle_num_opcodes;
/* Opcode which is supported by the e500 family */
#define PPC_OPCODE_E500 0x100000000ull
-/* Opcode is supported by Extended Altivec Vector Unit */
-#define PPC_OPCODE_ALTIVEC2 0x200000000ull
-
/* Opcode is supported by Power E6500 */
#define PPC_OPCODE_E6500 0x400000000ull