Commit graph

616 commits

Author SHA1 Message Date
Doug Evans
239f4e323c * cgen-asm.in: Move insertion of generated routines to top of file.
(insert_normal): Add prototype.  Delete `shift' arg.
	* cgen-dis.in: Move insertion of generated routines to top of file.
	(extract_normal): Add prototype.  Delete `shift' arg.
	(print_normal): Add prototype.  Call CGEN_PRINT_NORMAL if defined.
	(print_keyword): Add prototype.  Fix type of `attrs' arg.
1998-03-04 02:54:57 +00:00
Gavin Romig-Koch
779b65bfdb * mips-dis.c (_print_insn_mips) : Handle bfd_mach_mips4320.
* mips-opc.c ("mac","dmac") : Added 4320 insns.
1998-03-03 16:53:41 +00:00
Nick Clifton
d4a05a4013 Prevent core dump when info->symbols is NULL. 1998-03-01 00:04:17 +00:00
Richard Henderson
a8c053005c * alpha-opc.c (cvtqs) There is no such thing.
(cvttq): Missing most of the /*d variants.
1998-02-28 20:21:32 +00:00
Jeff Law
01e5c2f36c Put sanitize markers around last ChangeLog entry. 1998-02-27 20:16:35 +00:00
Jeff Law
bac914a58b * mips-opc.c (r5900/madd.s): Takes three operands, not four. Fix
opcode.
        (r5900/min.s): Incorrect opcode ....,101001 not ...110000.
        (r5900/msub.s): Takes three operands, not four.  Fix opcode.
1998-02-27 20:15:50 +00:00
Michael Meissner
81b9505a43 Indicate which instructions are delayed branches or jumps 1998-02-27 19:24:15 +00:00
Doug Evans
b6f63b41bf * dvp-opc.c (vif_operands): Add unpack[u] support.
(vif_opcodes): Ditto.
	(*_vif_imrubits): Renamed from *_vif_imrbits.
1998-02-27 18:07:50 +00:00
Doug Evans
95bb4ad144 * dvp-dis.c (print_insn): Handle word number.
Handle mips address vs vu address.
        * dvp-opc.c (vif_operands): Use DVP_OPERAND_VU_ADDRESS.
        (dma_operands): Use DVP_OPERAND_MIPS_ADDRESS.
        ({insert,extract}_dma_addr): Fix word ofset.
        ({insert,print}_gif_regs): Fix encode/decode.
1998-02-25 08:34:41 +00:00
Doug Evans
fdd59f73f9 (dma_opcodes): Add dmarefe insn. 1998-02-25 01:11:14 +00:00
Doug Evans
4a7d1b79f1 (gif_regs): Add new register number/name changes. 1998-02-25 00:57:19 +00:00
Doug Evans
4771aa23ae (print_gif): Fix word order. 1998-02-24 22:10:28 +00:00
Doug Evans
52491f93ae * dvp-opc.c (gif_operands): Fix word order.
(gif_opcodes): Likewise.
	({insert,extract,print}_gif_regs): Likewise.
1998-02-24 21:56:44 +00:00
Doug Evans
88b38f0c3c * arm-dis.c (print_insn_{big,little}_arm): info->symbol changed
to *info->symbols.
	* mips-dis.c (print_insn_{big,little}_mips): Likewise.
	* tic30-dis.c (print_branch): Likewise.
start-sanitize-sky
	* mips-dis.c (print_insn_little_mips): Call dvp_info_mach_type.
	* dvp-dis.c (dvp_info_mach_type): New function.
	(print_insn_dvp): Call it.
	(print_vif): Return length of 4 if mpg or direct insn so following
	insns get properly disabled.
	* dvp-opc.c (vif_insn_len): New argument `pcpu'.  All callers updated.
end-sanitize-sky
1998-02-24 20:57:58 +00:00
Nick Clifton
89dc75c562 Removed saved_symbol code as it is no longer needed. 1998-02-24 19:23:07 +00:00
Nick Clifton
c3ba2ed2d0 Fixed bug displaying symbols in big endian arms. 1998-02-24 19:07:28 +00:00
Doug Evans
34e2f57412 (dma_operands): Fix word numbers.
(dma_opcodes): Likewise.
	({insert,extract}_dma_flags): Likewise.
1998-02-23 23:56:04 +00:00
Doug Evans
0bf55db8fd * m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate. 1998-02-23 21:20:37 +00:00
Doug Evans
833d299073 * cgen-asm.c: Include symcat.h.
* cgen-dis.c,cgen-opc.c,cgen-asm.in,cgen-dis.in: Ditto.
1998-02-23 21:17:29 +00:00
Doug Evans
3ea07de422 * dvp-opc.c (extra_dma_flags): Fix typos. 1998-02-23 17:53:31 +00:00
Jeff Law
fb1a826b06 * mips-dis.c (print_insn_arg): Do not prefix 'P' arguments with '$'. 1998-02-23 17:32:21 +00:00
Doug Evans
a2707619a5 (extract_vif_datalen,{insert,extract}_vif_imrbits): New functions.
(vif_insn_len): Handle `unpack'.
	({insert,extract}_dma_flags): Complete.
1998-02-21 06:26:41 +00:00
Doug Evans
c2b2e0f0f3 * dvp-dis.c (print_gif): Complete.
* dvp-opc.c (gif_operands,gif_opcodes): Complete.
	(state_gif_{nregs,regs,nloop}): New static locals.
	(*_gif_*): Complete.
	(dvp_opcode_init_{parse,print}): Init gif state locals.
1998-02-21 02:09:02 +00:00
Jeff Law
10e3e6ced5 * mips-opc.c (mula.s): Renamed from multa.s. 1998-02-20 08:22:48 +00:00
Doug Evans
8d157f9653 * m32r-opc.[ch]: Regenerate. 1998-02-20 00:57:03 +00:00
Doug Evans
6370553445 Rewrite dma operands/opcodes tables. 1998-02-19 22:40:08 +00:00
Doug Evans
1b4817e3c3 * dvp-dis.c (print_vu): Handle loi insns.
(print_insn): Likewise.
	* dvp-opc.c (vu_lower_opcodes): Add "loi".
1998-02-18 23:49:27 +00:00
Doug Evans
98a112c069 * dvp-opc.c (parse_vfreg): Dest spec is optional.
(print_vfreg): Don't print dest spec.
	(parse_accdest): Dest spec is optional.
	(print_accdest): Don't print dest spec.
1998-02-18 02:50:58 +00:00
Doug Evans
b02643b554 * Makefile.am (CGENFILES): Update.
* Makefile.in: Regenerate.
	* cgen-asm.in (insert_normal): Result is error message now.
	Validate value to be inserted.
	(insert_insn_normal): Result is error message now.
	(@arch@_cgen_assemble_insn): Update.
	* cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max
	arguments.  Don't perform validation here.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate.
1998-02-18 01:26:15 +00:00
Doug Evans
b2f1861292 * cgen-opc.in (@arch@_cgen_get_insn_operands): Handle empty
operand instance list.
	* m32r-opc.c: Regenerate.
1998-02-13 22:35:43 +00:00
Ian Lance Taylor
251617280e * Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
1998-02-13 19:55:14 +00:00
Ian Lance Taylor
cf4ce8779a x 1998-02-13 18:39:49 +00:00
Mark Alexander
d31bae35d0 Oops, fix typo. 1998-02-13 18:34:46 +00:00
Mark Alexander
3ed34fca38 * mn10300-dis.c (print_insn_mn10300): Recognize break instruction. 1998-02-13 18:33:34 +00:00
Ian Lance Taylor
ef3c03a472 * configure.in: Get the version number from BFD.
* configure: Rebuild.
1998-02-13 18:31:09 +00:00
Ian Lance Taylor
3a99465376 * Makefile.am (libopcodes_la_LDFLAGS): Define.
* Makefile.in: Rebuild.
1998-02-13 18:13:58 +00:00
Nick Clifton
6eacba2e77 Regenerated after modifying cgen/m32r.cpu to remove WRITE_LR and WRITE_SRC
attributes.
1998-02-13 17:51:46 +00:00
Doug Evans
bf59c0544d tweak last entry 1998-02-13 02:31:33 +00:00
Doug Evans
390bd87dba * cgen-opc.in (@arch@_cgen_lookup_insn): New argument alias_p.
Ignore ALIAS insns if asked to.
	(@arch@_cgen_get_insn_operands): Pass 0 for alias_p, NULL for insn.
	* m32r-opc.c: Regenerate.
1998-02-13 02:31:10 +00:00
Doug Evans
a7dead174d (vu_operands): New element UFLAGS.
(parse_uflags,print_uflags): New functions.
	(vu_upper_opcodes): Add UFLAGS to all insns.
1998-02-13 01:48:16 +00:00
Doug Evans
a45cf1c5cf * dvp.opc.c: Nicely format opcode tables. 1998-02-12 19:04:15 +00:00
Joern Rennecke
fc3c25b9e0 opcodes:
* d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes):
	Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
	Introduce OPERAND_GPR.
	* d10v-dis.c (print_operand): Likewise.
include/opcode:
	* d10v.h (OPERAND_ACC): Split into:
	(OPERAND_ACC0, OPERAND_ACC1) .
	(OPERAND_GPR): Define.
gas/config:
	* tc-d10v.c (parallel_ok, find_opcode):
	Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
	Introduce OPERAND_GPR.
1998-02-12 03:56:57 +00:00
Doug Evans
ab0bd0493a * cgen-opc.in: New file.
* cgen.sh: Translate @ARCH@.  Cat cgen-opc.in into @arch@-opc.c.
	* Makefile.am (CGENFILES): Add cgen-opc.in.
	* Makefile.in: Regenerate.

	* cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain.
	(cgen_hw_lookup): Make result const.

	* cgen-dis.in (*): Use PTR instead of void *.
	(print_insn): Delete unused vars `i', `syntax'.

	* m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate.
1998-02-12 03:13:21 +00:00
Doug Evans
9766c43faf * dvp-opc.c (*): pke,gpuif renamed to vif,gif.
* dvp-dis.c (*): Likewise.
1998-02-10 22:58:49 +00:00
Ian Lance Taylor
7ee4e307d6 * configure, aclocal.m4: Rebuild with new libtool. 1998-02-07 20:35:04 +00:00
Michael Meissner
942738d396 Repeat/repeati are pc-relative 1998-02-05 23:01:37 +00:00
Ian Lance Taylor
788e3f91eb * configure.in: Set libtool_enable_shared rather than
libtool_shared.  Remove diversion hack.
	* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
1998-02-05 00:18:54 +00:00
Doug Evans
7c26196f5a * cgen-opc.c (cgen_set_cpu): Initialize hardware table.
* m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Update.
1998-02-04 01:54:47 +00:00
Nick Clifton
b73ebb798d Removed mulwhi-a mulwlo-a, macwhi-a, macwlo-a instructions. 1998-02-02 19:07:04 +00:00
Ian Carmichael
54917cbbd5 * dvp-opc.c, a bunch of little change to the instruction table to make
* it consistent with the SCE asmvu assembler (and inconsistent with the
* spec).
1998-01-30 22:42:04 +00:00