aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1995-08-02 22:35:22 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1995-08-02 22:35:22 +0000
commit9a84bc052a8364694007db46dc290c6930dab3f8 (patch)
tree7b865204260add6e3c307dd78d0d5f7451246d1b /opcodes
parent80aa15047a4914af1bce95899374446222dd8469 (diff)
downloadgdb-9a84bc052a8364694007db46dc290c6930dab3f8.zip
gdb-9a84bc052a8364694007db46dc290c6930dab3f8.tar.gz
gdb-9a84bc052a8364694007db46dc290c6930dab3f8.tar.bz2
Rewritten so table is only sorted/hashed once, even if switching
between sparc32/sparc64 in one executable.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog9
1 files changed, 5 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index a5188c2..4f6d603 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,15 +1,16 @@
Wed Aug 2 08:23:38 1995 Doug Evans <dje@canuck.cygnus.com>
* 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 <ian@cygnus.com>