Commit graph

948 commits

Author SHA1 Message Date
Geoffrey Noer
2ce3016679 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: detect cygwin* instead of cygwin32*
        * configure: regenerate
1998-11-02 23:08:52 +00:00
Gavin Romig-Koch
d3b42ce1c7 * config/tc-mips.c (hilo_interlocks): Remove mips_3900.
(append_insn): Account for the tx39's multiply behavior.
	* mips.h (INSN_MULT): Added.
	* mips-opc.c (IS_M): Added.
1998-10-27 14:04:03 +00:00
Frank Ch. Eigler
62c0e5bc39 * Fixes for PRs 17559, 16602, brought over from sky branch.
start-sanitize-r5900
Fri Oct 23 12:06:00 EDT 1998  Frank Ch. Eigler <fche@cygnus.com>
	* mips-opc.c (vrget, vclipw, vrnext): Correct COP2 opcodes
	and masks.
end-sanitize-r5900
1998-10-23 11:31:32 +00:00
Doug Evans
fcea6f2092 * cgen-asm.in (insert_1): New function.
(insert_normal): Progress on handling ! CGEN_INT_INSN_P.
	(insert_insn_normal): Update handling of CGEN_INT_INSN_P.
	(@arch@_cgen_assemble_insn): Update type of `buf' arg.
	* cgen-dis.in (extract_1): New function.
	(extract_normal): buf_ctrl renamed to ex_info, update type.
	Progress on handling of CGEN_INT_INSN_P.
	(extract_insn_normal): buf_ctrl renamed to ex_info, update type.
	Update handling of CGEN_INT_INSN_P.  Handle errors from
	@arch@_cgen_extract_operand.
	(print_insn): Renamed from print_int_insn.  Handle ! CGEN_INT_INSN_P.
	(default_print_insn): Renamed from print_insn.
	Handle ! CGEN_INT_INSN_P.
	(print_insn_@arch@): Handle error returns from print_insn.
	* cgen-opc.in (cgen_get_insn_value, cgen_put_insn_value): New fns.
	(@arch@_cgen_lookup_insn): Update handling of CGEN_INT_INSN_P.
	(@arch@_cgen_lookup_get_insn_operands): Ditto.
	* m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate.
1998-10-19 20:15:24 +00:00
Frank Ch. Eigler
7b2d02e889 * Doh, backing out premature devo patch re PR 17559. 1998-10-13 11:51:36 +00:00
Frank Ch. Eigler
c65a4603ec * Patch for PR 17559, devo style.
start-sanitize-r5900
Tue Oct 13 12:47:42 EDT 1998 Frank Ch. Eigler <fche@cygnus.com>
	* mips-opc.c: Update COP2 operand formats for
	vrnext and vrget instructions.
end-sanitize-r5900
1998-10-13 11:38:49 +00:00
Jeff Law
02c1364dd0 * m10300-opc.c: DSP instrutions which only write to one general
register have no restrictions on matching operands.
1998-10-12 17:30:40 +00:00
Jeff Law
b657e68db8 * m10300-opc.c (lsr_add): Fix typo for "lsr_add imm,reg,reg,reg" case.
pr17742
1998-10-12 16:46:31 +00:00
Doug Evans
9a5d8a11aa regenerate m32r-opc.c, m32r-opc.h 1998-10-09 21:15:48 +00:00
Jeff Law
fefb09e572 * m10300-opc.c (asr, lsr, asl): Fix am33 single bit shift opcode.
pr17706
1998-10-08 12:06:51 +00:00
Nick Clifton
40dac6318f Fix PR 17469 - treat TRAP as another in the set of branch type instructions. 1998-09-30 17:18:36 +00:00
Nick Clifton
12f7dc5ae7 Fic PR 17045: Add FLAG_JSR attribute to DBT, REIT, RTD and TRAP insns. 1998-09-24 16:26:44 +00:00
Nick Clifton
b835e47b24 PR 16898: Add uses of EITHER_BUT_PREFER_ME execution unit class. 1998-09-23 00:57:07 +00:00
Doug Evans
46fca0d897 * dvp-opc.c (gif_opcodes): Support EOP on gifimage.
PR 17293.
1998-09-18 23:30:40 +00:00
Michael Meissner
52ce74dc9f Sanitize out Nortel 750 sprs 1998-09-10 18:28:13 +00:00
Michael Meissner
7be9a046da Add PowerPC 750 move to/from SPRs 1998-09-09 23:59:09 +00:00
Nick Clifton
49fe88644c Fix detection of thumb-elf function symbols 1998-09-05 02:47:40 +00:00
Catherine Moore
0c6c0bbeea remove armelf sanitization. 1998-08-31 17:16:05 +00:00
Catherine Moore
b0249a1759 remove armelf sanitization. 1998-08-31 16:10:56 +00:00
Richard Henderson
3ecd69d675 * alpha-dis.c (print_insn_alpha): Use the machine type to
decide which PALcode set to include.
1998-08-30 05:25:27 +00:00
Nick Clifton
fdd378489f Fix for PR15003 - add FLAG_MUL32 to MAC, MACS, MSUB and MSUBS insns. 1998-08-21 17:03:49 +00:00
Ian Lance Taylor
53438a7bb0 check for mentions of sanitized files 1998-08-20 20:58:28 +00:00
Ian Lance Taylor
b6ef9ad20f * mips-opc.c: Insert contents of vu0.h, rather than including it.
* vu0.h: Remove.
	* Makefile.am: Rebuild dependencies.
	* Makefile: Rebuild.
1998-08-18 20:50:44 +00:00
Ian Lance Taylor
341fb6f336 * ppc-opc.c (powerpc_operands): Omit parens around additions in
operand name macros.
1998-08-13 20:24:03 +00:00
Ian Lance Taylor
bfb25a00c4 From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
* ppc-opc.c (insert_mbe): Handle wrapping bitmasks.
	(extract_mbe): Likewise.
1998-08-12 18:02:01 +00:00
Jeff Law
75fb9c4c3e * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes. 1998-08-12 17:47:45 +00:00
Jeff Law
ffd95d63ec * m10300-opc.c: First cut at UDF instructions. 1998-08-12 17:12:31 +00:00
Ken Raeburn
3d759c53c9 sanitize-vr5400 -> sanitize-cygnus, for 98r2 1998-08-12 10:50:35 +00:00
Catherine Moore
420cfe32ad Fix indentation. 1998-08-10 17:54:33 +00:00
Catherine Moore
0ff7faafe6 * arm-dis.c (print_insn_big_arm): Check for thumb symbol
attributes.
        (print_insn_little_arm): Likewise.
1998-08-10 01:27:05 +00:00
Doug Evans
c2009f4a31 Move all global state data into opcode table struct, and treat
opcode table as something that is "opened/closed".
	* cgen-asm.c (all fns): New first arg of opcode table descriptor.
	(cgen_asm_init): Delete.
	(cgen_set_parse_operand_fn): New function.
	* cgen-dis.c (all fns): New first arg of opcode table descriptor.
	(cgen_dis_init): Delete.
	* cgen-opc.c (all fns): New first arg of opcode table descriptor.
	(cgen_current_{opcode_table_mach,endian}): Delete.
	* cgen-asm.in (all fns): New first arg of opcode table descriptor.
	* cgen-dis.in (all fns): Ditto.
	* cgen-opc.in (all fns): Ditto.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.

	* cgen-asm.in (parse_insn_normal): Ignore case in mnemonics.

	* cgen-dis.in (print_normal): Split into two.
	(print_address): New function.
	(extract_insn_normal): Clarify insn_value arg.
	(print_int_insn): Renamed from print_insn.
	(print_insn): New arg.
	(print_insn_@arch@): Open opcode table if not already done so.
	Move reading of insn into print_insn.
1998-08-03 19:56:43 +00:00
Frank Ch. Eigler
98c5616ad4 * Fix for PR 16389, brought over from d30v branch
Thu Jul 30 21:41:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* d30v-opc.c (d30v_opcode_table): Add new "LKR" flag to some
	instructions.
1998-07-30 19:38:15 +00:00
Jeff Law
9509185b58 * m10300-opc.c: Add entries for "no_match_operands" field in
the opcode table.
1998-07-28 17:01:21 +00:00
Jeff Law
7210606cf0 * m10300-dis.c: Do not emit a comma before a PLUS (autoincrement)
operand.
1998-07-24 21:23:35 +00:00
Doug Evans
2e6dfccc09 * m32r-asm.c,m32r-opc.c: Regenerate (-Wall cleanups). 1998-07-24 18:45:13 +00:00
Ian Lance Taylor
faec70d605 remove d30v sanitization 1998-07-24 03:58:14 +00:00
Jeff Law
47254a1631 * m10300-opc.c: Add DSP autoincrement memory loads/stores. 1998-07-23 15:51:24 +00:00
Jeff Law
b0b57954c5 * m10300-opc.c: Add autoincrement memory loads/stores. 1998-07-23 15:22:17 +00:00
Jeff Law
faac4767b1 * mips-opc.c: Make phmadh and phmsbh synonyms for phmaddh and
phmsubh respectively.
pr16537
1998-07-22 23:07:38 +00:00
Doug Evans
b00ea55caf regenerate, get displacement operand shifts right 1998-07-21 23:46:56 +00:00
Doug Evans
0cc2fbf340 tweak 1998-07-21 21:08:03 +00:00
Doug Evans
fbc8134df6 * cgen-opc.in (@arch@_cgen_lookup_insn): Update call to
CGEN_EXTRACT_FN.
	(@arch@_cgen_get_insn_operands): @arch@_cgen_get_operand renamed to
	@arch_cgen_get_int_operand.
	* cgen-asm.in (insert_insn_normal): New arg `pc', callers updated.
	Update call to @arch@_cgen_insert_operand.
	(@arch@_cgen_assemble_insn): Update call to CGEN_INSERT_FN.
	* cgen-dis.in (print_normal): Delete use of CGEN_PCREL_OFFSET.
	(extract_insn_normal): New arg `pc', callers updated.
	Update call to @arch@_cgen_extract_operand.
	(print_insn): Update call to CGEN_EXTRACT_FN.
	* m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
1998-07-21 20:59:23 +00:00
Jeff Law
f10a9bdead * m10300-opc.c (mn10300_opcodes): Fix opcode for 4 operand "mul" and
"mulu".
1998-07-17 00:06:55 +00:00
Ian Lance Taylor
33b111fa62 Mon Jul 13 14:53:59 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c (ckprefix): Handle fwait specially only when it isn't
	the first prefix.
	(dofloat): Correct test for fnstsw.  Print `fnstsw %ax' rather
	than `fnstsw %eax'.
	(OP_J): Remove unnecessary subtraction when 16-bit displacement
	will be masked later.
1998-07-13 18:54:43 +00:00
Jeff Law
228695a5d8 * m10300-opc.c (mn10300_opcodes): Fix destination operand for 3 operand
instructions.
1998-07-11 05:12:03 +00:00
Jeff Law
ccd5eb2da9 * m10300-dis.c (disassemble): When printing RREGs and XRREGs, map
from raw register #s to symbolic names to make debugging easier.
1998-07-08 17:38:15 +00:00
Doug Evans
1b9ec81e15 * m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define. 1998-07-03 00:11:25 +00:00
Doug Evans
0499462e76 * Makefile.am (CGENDIR): Set via configure.
(CGEN): New variable.
	(CGENFILES): object.scm renamed to cos.scm.
	(run-cgen): Renamed from cgen.  stamp file renamed to stamp-$prefix.
	(stamp-m32r): Pass prefix to run-cgen.
	* Makefile.in: Regenerate.
	* cgen-asm.in: @arch@-opc.h renamed to @prefix@-opc.h.
	* cgen-dis.in: Ditto.
	* cgen-opc.in: Ditto.
	* cgen.sh: New args cgen,prefix.  Delete args scheme,schemeflags.
	* configure.in: AC_SUBST cgen,cgendir.  No longer look for guile.
	* configure: Regenerate.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
1998-07-01 23:31:27 +00:00
Doug Evans
3c88e9a988 * dvp-opc.c (DVP_OPERAND_RELOC_11_S4): Temporarily back out
the DVP_OPERAND_RELOC_11_S4 relocation.
	* dvp-opc.c (LIMM11, LUIMM15): New symbol types
	DVP_OPERAND_RELOC_U15_S3 and DVP_OPERAND_RELOC_11_S4 to allow labels to
	be used as immediate values.
1998-07-01 19:34:55 +00:00
Nick Clifton
e38a77d3ca Replace object.scm with cos.scm 1998-07-01 16:42:36 +00:00