diff options
author | Alan Modra <amodra@gmail.com> | 2017-04-11 07:43:21 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-04-11 07:43:21 +0930 |
commit | c03dc33b606c17231e47f37ae0f00d1c9a6c0506 (patch) | |
tree | d45a59e74286d672328f3b43e002262834b120e9 /opcodes/ppc-dis.c | |
parent | ef85eab0ec3d7c88ea05047538d11fe704806cd8 (diff) | |
download | fsf-binutils-gdb-c03dc33b606c17231e47f37ae0f00d1c9a6c0506.zip fsf-binutils-gdb-c03dc33b606c17231e47f37ae0f00d1c9a6c0506.tar.gz fsf-binutils-gdb-c03dc33b606c17231e47f37ae0f00d1c9a6c0506.tar.bz2 |
Reorder PPC_OPCODE_* and set PPC_OPCODE_TMR for e6500
PPC_OPCODE_* renumbered to fill the gaps left by previous patches,
and reordered chronologically just because. I kept PPC_OPCODE_TMR
because presumably it might be used in future APUinfo for e6500.
include/
* opcode/ppc.h (PPC_OPCODE_*): Renumber and order chronologically.
(PPC_OPCODE_SPE): Comment on this and other bits used for APUinfo.
opcodes/
* ppc-dis.c (ppc_opts): Formatting. Set PPC_OPCODE_TMR for e6500.
* ppc-opc.c (powerpc_opcodes <mftmr, mttmr>): Remove now
unnecessary E6500.
Diffstat (limited to 'opcodes/ppc-dis.c')
-rw-r--r-- | opcodes/ppc-dis.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c index bb0bc30..3c9cbaf 100644 --- a/opcodes/ppc-dis.c +++ b/opcodes/ppc-dis.c @@ -141,13 +141,12 @@ struct ppc_mopt ppc_opts[] = { { "e5500", (PPC_OPCODE_PPC | PPC_OPCODE_BOOKE | PPC_OPCODE_ISEL | PPC_OPCODE_PMR | PPC_OPCODE_CACHELCK | PPC_OPCODE_RFMCI | PPC_OPCODE_E500MC | PPC_OPCODE_64 | PPC_OPCODE_POWER4 - | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 - | PPC_OPCODE_POWER7), + | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7), 0 }, { "e6500", (PPC_OPCODE_PPC | PPC_OPCODE_BOOKE | PPC_OPCODE_ISEL | PPC_OPCODE_PMR | PPC_OPCODE_CACHELCK | PPC_OPCODE_RFMCI | PPC_OPCODE_E500MC | PPC_OPCODE_64 | PPC_OPCODE_ALTIVEC - | PPC_OPCODE_E6500 | PPC_OPCODE_POWER4 + | PPC_OPCODE_E6500 | PPC_OPCODE_TMR | PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7), 0 }, { "e500x2", (PPC_OPCODE_PPC | PPC_OPCODE_BOOKE | PPC_OPCODE_SPE |