From 9a84bc052a8364694007db46dc290c6930dab3f8 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 2 Aug 1995 22:35:22 +0000 Subject: [PATCH] Rewritten so table is only sorted/hashed once, even if switching between sparc32/sparc64 in one executable. --- opcodes/ChangeLog | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index a5188c29842..4f6d6030c20 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 -- 2.30.2