From: David Edelsohn Date: Wed, 2 Aug 1995 22:35:22 +0000 (+0000) Subject: Rewritten so table is only sorted/hashed once, even if switching X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=9a84bc052a8364694007db46dc290c6930dab3f8;p=deliverable%2Fbinutils-gdb.git Rewritten so table is only sorted/hashed once, even if switching between sparc32/sparc64 in one executable. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index a5188c2984..4f6d6030c2 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,15 +1,16 @@ Wed Aug 2 08:23:38 1995 Doug Evans * sparc-dis.c (HASH_SIZE, HASH_INSN): Define. - (opcode_bits, opcode_hash_table, sparc64_p): New variables. + (opcode_bits, opcode_hash_table): New variables. (opcodes_initialized): Renamed from opcodes_sorted. (build_hash_table): New function. (is_delayed_branch): Use hash table. (print_insn): Renamed from print_insn_sparc, made static. - Build and use hash table. - (print_insn_sparc, print_insn_sparc64): New functions. - (compare_opcodes): If !sparc64, move sparc64 opcodes to end, + Build and use hash table. If !sparc64, ignore sparc64 insns, and vice-versa if sparc64. + (print_insn_sparc, print_insn_sparc64): New functions. + (compare_opcodes): Move sparc64 opcodes to end. + Print commutative insns with constant second. * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS. Tue Aug 1 00:12:49 1995 Ian Lance Taylor