diff options
author | Alan Modra <amodra@gmail.com> | 2022-03-16 10:08:46 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-03-16 10:08:46 +1030 |
commit | dc3ff92676409a1c468c1cf1a00b4da67c25e2cc (patch) | |
tree | a1ae8a3ee20078d9dbfa6e3c55ea3a9915e22d1e /opcodes | |
parent | 8736318e4e066778fe7625d3a4e1ffc6c0ef615d (diff) | |
download | gdb-dc3ff92676409a1c468c1cf1a00b4da67c25e2cc.zip gdb-dc3ff92676409a1c468c1cf1a00b4da67c25e2cc.tar.gz gdb-dc3ff92676409a1c468c1cf1a00b4da67c25e2cc.tar.bz2 |
Delete PowerPC macro insn support
Let's hope this stays dead, but it's here as a patch separate from
those that removed use of powerpc_macros just in case it needs to be
resurrected.
include/
* opcode/ppc.h (struct powerpc_macro): Delete declaration.
(powerpc_macros, powerpc_num_macros): Likewise..
opcodes/
* ppc-opc.c (powerpc_macros, powerpc_num_macros): Delete.
gas/
* config/tc-ppc.c (ppc_macro): Delete function.
(ppc_macro_hash): Delete.
(ppc_setup_opcodes, md_assemble): Delete macro support.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ppc-opc.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index df0d541..bd83d44 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -10504,24 +10504,6 @@ const struct powerpc_opcode vle_opcodes[] = { const unsigned int vle_num_opcodes = sizeof (vle_opcodes) / sizeof (vle_opcodes[0]); - -/* The macro table. This is only used by the assembler. */ - -/* The expressions of the form (-x ! 31) & (x | 31) have the value 0 - when x=0; 32-x when x is between 1 and 31; are negative if x is - negative; and are 32 or more otherwise. This is what you want - when, for instance, you are emulating a right shift by a - rotate-left-and-mask, because the underlying instructions support - shifts of size 0 but not shifts of size 32. By comparison, when - extracting x bits from some word you want to use just 32-x, because - the underlying instructions don't support extracting 0 bits but do - support extracting the whole word (32 bits in this case). */ - -const struct powerpc_macro powerpc_macros[] = { -}; - -const int powerpc_num_macros = - sizeof (powerpc_macros) / sizeof (powerpc_macros[0]); /* SPE v2 instruction set from SPE2PIM Rev. 2 08/2011 */ const struct powerpc_opcode spe2_opcodes[] = { |