aboutsummaryrefslogtreecommitdiff
path: root/opcodes/sparc-dis.c
AgeCommit message (Collapse)AuthorFilesLines
1996-04-17 * saprc-dis.c (compute_arch_mask): Replace ANSI style def with K&R.David Edelsohn1-1/+2
1996-04-03 * sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.David Edelsohn1-23/+72
(current_arch_mask): New static global. (compute_arch_mask): New static function. (print_insn_sparc): Delete sparc_v9_p. New static local current_mach. Resort opcode table if current_mach changes. Generalize "insn not supported" test. (compare_opcodes): Prefer supported opcodes to nonsupported ones. Delete test for v9/!v9. * sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK. (v6notlet): Define. (brfc): Split into CBR and FBR for coprocessor/fp branches. (brfcx): Renamed to FBRX. (condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard coprocessor mnemonics are not supported on the sparclet). (condf): Renamed to CONDF. (SLCBCC2): Delete F_ALIAS flag.
1996-02-21 * sparc-opc.c (v8,v6notv9): Add MASK_SPARCLET.David Edelsohn1-10/+30
(sparc_opcode_archs): Add MASK_V8 to sparclet entry. (sparc_opcodes): Add sparclet insns. (sparclet_cpreg_table): New static local. (sparc_{encode,decode}_sparclet_cpreg): New functions. * sparc-dis.c (print_insn_sparc): Handle sparclet cpregs.
1996-01-23 * sparc-dis.c (print_insn_sparc): Renamed from print_insn.David Edelsohn1-42/+19
If DISASM_RAW_INSN, print insn in hex. Handle v9a as opcode architecture. (print_insn_sparc64): Deleted. * disassemble.c (disassembler, case bfd_arch_sparc): Always use print_insn_sparc.
1995-08-30 * sparc-opc.c (sparc_opcodes, prefetcha insn): Fix.David Edelsohn1-1/+36
(lookup_{name,value}): New functions. (prefetch_table): New static local. (sparc_{encode,decode}_prefetch): New functions. * sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
1995-08-29 * sparc-opc.c (asi): New static local.David Edelsohn1-35/+36
(sparc_{encode,decode}_asi): New functions. * sparc-dis.c (print_insn): Call sparc_decode_asi.
1995-08-02(build_hash_table): Fix memory leak.David Edelsohn1-8/+9
(print_insn_sparc, print_insn_sparc64): Clean up comments regarding switching between sparc32 and sparc64.
1995-08-02(build_hash_table): Allocate all entries at once.David Edelsohn1-3/+5
1995-08-02 * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.David Edelsohn1-161/+372
(opcode_bits, opcode_hash_table, sparc64_p): 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, and vice-versa if sparc64. * sparc-opc.c (all non-v9 insns): Use flag F_NOTV9 instead of F_ALIAS.
1993-04-01* sparc-dis.c: Use fprintf_func a few places where I forgot,Jim Kingdon1-32/+35
and double percent signs a few places.
1993-04-01Fix prototype problems related to recent disassembler changesJim Kingdon1-2/+3
1993-04-01this is part of the binutils/gdb sparc disassembler mergeJim Kingdon1-0/+612