Commit Graph

605 Commits

Author SHA1 Message Date
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
Doug Evans 04eb2dddaf fix d30v and sky sanitization 1998-01-30 20:45:53 +00:00
Ian Carmichael 7092fe96e8 * Fix MAXi encoding, Fix pkemscal/pkemscalf order. 1998-01-30 02:05:05 +00:00
Doug Evans 35e689de71 * m32r-opc.h (HAVE_CPU_M32R): Define. 1998-01-29 21:04:25 +00:00
Doug Evans 37130f1153 * dvp-dis.c, dvp-opc.c: New files.
* configure.in: Compile them if bfd_dvp_arch, as well as mips.
	* configure: Regenerate.
	* Makefile.am (ALL_MACHINES): Add dvp-{dis,opc}.lo.
	(dvp-dis.lo,dvp-opc.lo): Add rules for.
	(mips-dis.lo): Compile with @archdefs@.
	* Makefile.in: Regenerate.
	* disassemble.c: Define ARCH_mips ifdef ARCH_dvp.
	* mips-dis.c (print_insn_little_mips): Check for DVP insns.
plus delete old txvu stuff
1998-01-28 21:58:23 +00:00
Nick Clifton 397b3a9d72 Report combined alignment and size overflow errors. 1998-01-28 17:59:52 +00:00
Jeff Law 83af233519 * mips-dis.c (_print_insn_mips): Set target_processor as appropriate.
Only recognize instructions for the current target_processor.
1998-01-28 04:51:22 +00:00
Doug Evans f006120d1d * txvu-dis.c (*): Update to use new arguments in
parse/insert/extract/print fns.
	* txvu-opc.c (*): Likewise.
1998-01-27 22:11:55 +00:00
Doug Evans 7b5c32cfa1 (lookup_keyword_{value,name}): New functions.
(scan_symbol): New function.
	(issymchar,SKIP_BLANKS): New macros.
Plus more dma/gpuif support code.
1998-01-27 02:58:45 +00:00
Doug Evans f31e207296 * txvu-dis.c (print_insn): Extract/print fns take pointer to
insn now and not insn itself.
	* txvu-opc.c: insert/extract/print fns take pointer to
	insn now and not insn itself.  Add initial dma,pke,gpuif support.
	Parse fn no longer needs to set errmsg = NULL for success.
1998-01-27 00:27:54 +00:00
Doug Evans 42e6567657 * txvu-opc.c:
(parse_dest1,insert_luimm12up6): New functions.
	(txvu_operands): New operands LUIMM12UP6, LDEST1.
	(txvu_lower_opcodes): Clean up pass over table.
	(parse_dotdest1): Fix dest calculation.
	(_parse_sdest): Fix typo.
1998-01-24 02:47:35 +00:00
Doug Evans d1128f738f * txvu-opc.c (txvu_operands, UBC): Add extract entry.
(txvu_operands, UACCDEST): Not a fake operand.
	(txvu_operands, UXYZ): Move parse entry to insert entry.
	(txvu_operands, LVI01): Not a fake operand.
	(txvu_upper_opcodes): Fix spelling of minii instruction.
	(printf_vfreg): Print register number with "%02ld".
	(print_bcftreg): Likewise.
	(print_accdest): Pass `dest' to _print_dest.
	(insert_xyz): Renamed from parse_xyz.
1998-01-23 10:06:43 +00:00