Commit Graph

12 Commits

Author SHA1 Message Date
David Edelsohn
ca4cb8bca2 * sparc-dis.c (print_insn_sparc): NUMOPCODES replaced with
sparc_num_opcodes.  Update architecture enum values.
	* sparc-opc.c (sparc_opcode_archs): Replaces architecture_pname.
	(sparc_opcode_lookup_arch): New function.
	(sparc_num_opcodes): Renamed from bfd_sparc_num_opcodes.
	(sparc_opcodes): Add v9a shutdown insn.
1996-01-25 11:42:18 +00:00
David Edelsohn
187fddf78c * sparc-opc.c (architecture_pname): Add v9a.
The actual insns haven't been added yet.
1996-01-22 16:34:01 +00:00
David Edelsohn
a52f75a078 * sparc-opc.c (sparc_opcodes, prefetcha insn): Fix.
(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-30 20:55:51 +00:00
David Edelsohn
7ec658304a * sparc-opc.c (asi): New static local.
(sparc_{encode,decode}_asi): New functions.
	* sparc-dis.c (print_insn): Call sparc_decode_asi.
1995-08-29 22:44:00 +00:00
David Edelsohn
f069afb4eb * sparc-dis.c (HASH_SIZE, HASH_INSN): Define.
(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.
1995-08-02 16:06:17 +00:00
David Edelsohn
eea92b2442 Rename sigm insn to sir.
Change impdep insn from [1+2],d to 1,2,d.
1993-08-04 05:12:50 +00:00
David Edelsohn
261d3247f9 Macroize all conditional move insns.
Fix generated code of fmovcc insns (opf field was wrong).
1993-05-11 21:16:39 +00:00
Ken Raeburn
27ee87b307 delete unused BFD_EMIT_TABLE macro def 1992-11-04 16:08:39 +00:00
Jim Wilson
23996caa33 Update to SPARC V9 draft 1.1. Put brfcx before brfc to avoid superfluous
symbol table entries.  Document unimplemented synthetic instructions.
1992-09-16 00:23:52 +00:00
Jim Wilson
866e23d055 In brx macro, check for XCC bit set in xcc insns, and not set in icc insns.
In cond macro, do brx before br, to avoid getting extra symbol table entries
due to failed pattern matches.
1992-09-15 19:55:26 +00:00
Ken Raeburn
493d3e7568 accidentally used out-of-date version 1992-09-09 01:18:47 +00:00
Ken Raeburn
794a16b09d Makefile.in bug fixes and sparc-opc.c addition 1992-09-08 21:12:26 +00:00