diff options
author | Alan Modra <amodra@gmail.com> | 2017-04-11 07:36:43 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-04-11 07:36:43 +0930 |
commit | 9570835e5597037bee5042edf822675e715b3caf (patch) | |
tree | 97a926c2dc9e45f38949bf7e30216d1ddd5a2590 /include | |
parent | 9a85b496ac4e6488d427155c24f87367ab1f6b1b (diff) | |
download | gdb-9570835e5597037bee5042edf822675e715b3caf.zip gdb-9570835e5597037bee5042edf822675e715b3caf.tar.gz gdb-9570835e5597037bee5042edf822675e715b3caf.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 1 | ||||
-rw-r--r-- | include/opcode/ppc.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 9e3223c..e6a92a8 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,6 +1,7 @@ 2017-04-11 Alan Modra <amodra@gmail.com> * opcode/ppc.h (PPC_OPCODE_ALTIVEC2): Delete. + (PPC_OPCODE_VSX3): Delete. 2017-04-06 Pip Cet <pipcet@gmail.com> diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index c0112db..8c41cdc 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -208,9 +208,6 @@ extern const int vle_num_opcodes; /* 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 - /* Opcode is supported by e200z4. */ #define PPC_OPCODE_E200Z4 0x80000000000ull |