Commit graph

992 commits

Author SHA1 Message Date
Doug Evans
64db3c9a81 * mips-opc.c (sync*): Flag these instructions with INSN_SYNC. 1998-12-10 00:03:43 +00:00
Doug Evans
76ffe169eb bring changes over from sky-980617-branch 1998-12-09 23:28:41 +00:00
Doug Evans
a6831cce0f * mips-opc.c (mips_builtin_opcodes): Update vmtir syntax.
* dvp-opc.c (vu_lower_opcodes): Update mtir entry.
	(extract_ffstreg): Fix calculation of reg part of returned value.
PR 18402
1998-12-09 23:10:52 +00:00
David Taylor
ba2712676e (generic_strcat_address): reformat to GNU coding
conventions.  change sprintf call to an sprintf_vma call.
1998-12-08 19:01:34 +00:00
Dave Brolley
bfebcfbfcb Tue Dec 8 13:12:44 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-08 18:14:38 +00:00
David Taylor
b98e2024f4 The following changes were made by
Elena Zannoni <ezannoni@kwikemart.cygnus.com>,
	David Taylor <taylor@texas.cygnus.com>, and
	Edith Epstein <eepstein@sophia.cygnus.com> as part of a project to
	merge in changes by HP; HP did not create ChangeLog entries.

	* dis-buf.c (generic_strcat_address): new function.

	* hppa-dis.c: Changes to improve hppa disassembly.
	  Changed formatting in : reg_names, fp_reg_names,control_reg,
	  New variables : sign_extension_names, deposit_names, conversion_names
	    float_test_names, compare_cond_names_double, add_cond_names_double,
	    logical_cond_names_double, unit_cond_names_double,
	    branch_push_pop_names, saturation_names, shift_names, mix_names,
	  New Macros :   GET_COMPL_O, GET_PUSH_POP,MERGED_REG
	  Move some definitions to libhppa.h: GET_FIELD, GET_BIT
	  (fput_const): renamed as fput_hex_const
	  (print_insn_hppa):
	   - use the macros fputs_filtered and
	     fput_decimal_const whenever possible; calls to sign_extend require
	     2 params -- add a missing second param of 0.
	   - Some new code ifdefed for LOCAL_ONLY, all related to figuring out
	     architecture version number of current machine. HP folks are
	     trying to handle situation where the target program was compiled
	     for PA 1.x (32-bit), but is running on a PA 2.0 machine and
	     visa versa.
	   - added new cases : 'g', 'B', 'm'
	   - added cases specifically for PA 2.0
	   - changed the following cases : '"', 'n', 'N', 'p', 'Z',
	   - calls to fput_const become calls to fput_hex_const
1998-12-08 15:54:10 +00:00
Jim Wilson
10cb538eae i960 cgen simulator support.
* Makefile.am (CFILES): Add i960c-asm, i960c-dis.c, i960c-opc.c.
	(ALL_MACHINES): Add i960c-asm.lo, i960c-dis.lo, i960-opc.lo.
start-sanitize-cygnus
	(CLEANFILES): Add stamp-i960.
	(I960_DEPS): Define.
	(i960c-opc.h, i960c-opc.c, i960c-asm.c, i960c-dis.c, stamp-i960):
	New makefile rules.
end-sanitize-cygnus
	(i960-asm.lo, i960c-dis.lo, i960c-opc.lo): New Makefile rules.
	* Makefile.in: Rebuilt.
	* configure.in (bfd_i960_arch): Add i960c-opc.lo, i960-asm.o,
	i960-dis.c to ta.
	* i960-dis.c (print_insn_i960): Rename to print_insn_i960_orig.
	* i960c-asm.c, i960c-dis.c, i960c-opc.c, i960c-opc.h: New files.
1998-12-08 07:40:07 +00:00
Dave Brolley
9e986b97b7 Mon Dec 7 14:33:44 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-07 19:34:45 +00:00
Ian Lance Taylor
79d8b733a3 * mips-opc.c (mips_builtin_opcodes): Add dmfc2 and dmtc2. 1998-12-07 00:01:16 +00:00
Ian Lance Taylor
0894cecfab * ppc-opc.c (powerpc_opcodes): Add PowerPC403 GC[X] instructions.
From Saitoh Masanobu <msaitoh@spa.is.uec.ac.jp>.
1998-12-06 19:09:24 +00:00
Doug Evans
c8faefbe09 * fr30-opc.c: Regenerate. 1998-12-05 01:46:33 +00:00
Dave Brolley
ac1b0e6d01 Fri Dec 4 17:08:08 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-04 22:08:56 +00:00
Dave Brolley
7862c6cfb2 Thu Dec 3 14:26:20 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-12-03 19:27:35 +00:00
Doug Evans
a73911a767 * fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerate. 1998-12-03 08:14:46 +00:00
Michael Snyder
bc2574a9dd spelling correction. 1998-12-02 23:27:40 +00:00
Doug Evans
86dc452e25 * cgen-dis.c (hash_insn_array): CGEN_INSN_VALUE ->
CGEN_INSN_BASE_VALUE.
	* cgen-asm.in (insert_normal): Change start,length to unsigned int.
	New args word_offset, word_length.  Rewrite.
	(FLD): Define.
	(insert_1): Fix lsb0 case.
	* cgen-dis.in (extract_normal): Change start,length to unsigned int.
	New args word_offset, word_length.  Rewrite.
	(FLD): Define.
	(extract_1): Fix lsb0 case.
	* cgen-opc.in (FLD): Define.
	* m32r-opc.c,m32r-opc.h,m32r-asm.c,m32r-dis.c: Regenerate.
	* fr30-opc.c,fr30-opc.h,fr30-asm.c,fr30-dis.c: Regenerate.
1998-11-30 23:41:55 +00:00
Doug Evans
60babd1a36 * Makefile.am (CGENFILES): Add rtx-funcs.scm.
* Makefile.in: Rebuild.
1998-11-30 19:53:57 +00:00
Dave Brolley
e1aa8a6373 Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
* fr30-dis.c: Regenerated.
1998-11-26 16:50:44 +00:00
Dave Brolley
b42d437552 Thu Nov 26 11:26:32 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c: Regenerated.
1998-11-26 16:28:02 +00:00
Dave Brolley
988fcc4b5e Mon Nov 23 18:28:48 1998 Dave Brolley <brolley@cygnus.com>
* fr30-asm.c,fr30-dis.c,fr30-opc.c,fr30-opc.h: Regenerated.
1998-11-23 23:30:08 +00:00
Doug Evans
9657e7fda1 regenerate 1998-11-20 20:59:50 +00:00
Doug Evans
367e0392e4 regenerate fr30-opc.c 1998-11-20 19:47:09 +00:00
Dave Brolley
e17387a51f Thu Nov 19 16:02:46 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c: Regenerated.
	* fr30-opc.h: Regenerated.
	* fr30-dis.c: Regenerated.
	* fr30-asm.c: Regenerated.
1998-11-19 21:04:00 +00:00
Doug Evans
ce04843a3e regenerate fr30-opc.c 1998-11-19 18:27:10 +00:00
Doug Evans
707f2a3208 * mips-opc.c (sync.p,sync.l): Swap insn values.
pr 18302
1998-11-19 16:00:43 +00:00
Dave Brolley
9225e69cb3 Wed Nov 18 21:36:37 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c: Regenerated.
	* fr30-opc.h: Regenerated.
1998-11-19 02:38:50 +00:00
Doug Evans
911701b78c rebuild 1998-11-19 01:58:46 +00:00
Doug Evans
95b03313e0 * cgen-asm.in (insert_1): Replace calls to bfd_getb8/putb8.
(insert_normal, !CGEN_INT_INSN_P case): Only fetch enough bytes
	to hold value.
	(insert_insn_normal): Fix typo.
	* cgen-dis.c (cgen_dis_lookup_insn): Update type of `value' arg.
	* cgen-dis.in (extract_normal): Ditto.  New arg `pc'.
	Rewrite ! CGEN_INT_INSN_P case.
	(extract_insn_normal): Ditto.
	(extract_1): New arg `pc'.  All callers updated.
	Replace calls to bfd_getb8.
	(fill_cache): New fn.
	* cgen-opc.c (cgen_{get,put}_insn_value): Move here ...
	* cgen-opc.in: ... from here.
	(@arch@_cgen_lookup_insn): Rewrite ! CGEN_INT_INSN_P case.
	* m32r-asm.c,m32r-dis.c,m32r-opc.c: Rebuild.
	* fr30-asm.c,fr30-dis.c,fr30-opc.c: Rebuild.
1998-11-18 23:25:45 +00:00
Dave Brolley
cdb89f92cb Wed Nov 18 11:30:04 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c: Regenerated.
1998-11-18 16:30:49 +00:00
Dave Brolley
6a1254af01 Mon Nov 16 19:21:48 1998 Dave Brolley <brolley@cygnus.com>
* fr30-opc.c: Regenerated.
	* fr30-opc.h: Regenerated.
	* fr30-dis.c: Regenerated.
	* fr30-asm.c: Regenerated.
1998-11-17 00:23:03 +00:00
Dave Brolley
7a0737c808 Thu Nov 12 19:24:18 1998 Dave Brolley <brolley@cygnus.com>
* po/opcodes.pot: Regenerated.
	* fr30-opc.c: Regenerated.
	* fr30-opc.h: Regenerated.
	* fr30-dis.c: Regenerated.
	* fr30-asm.c: Regenerated.
1998-11-13 00:36:58 +00:00
Nick Clifton
0f461c4bfa Add support for FR30 target. 1998-11-10 23:29:18 +00:00
Doug Evans
1c8f439ec6 * cgen-dis.in (print_normal): CGEN_OPERAND_FAKE renamed to
CGEN_OPERAND_SEM_ONLY.
	* m32r-dis.c,m32r-opc.c,m32r-opc.h: Rebuild.
	* fr30-dis.c,fr30-opc.c,fr30-opc.h: Rebuild.
1998-11-10 19:11:04 +00:00
Doug Evans
8bf844741a add fr30 sanitization markers 1998-11-10 02:26:21 +00:00
Dave Brolley
8f6beefd60 Mon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com>
* po/opcodes.pot: Regenerate.
	* po/POTFILES.in: Regenerate.
1998-11-09 23:33:25 +00:00
Dave Brolley
6146431a2e Mon Nov 9 18:22:55 1998 Dave Brolley <brolley@cygnus.com>
* po/opcodes.pot: Regenerate.
	* po/POTFILES.in: Regenerate.
	* fr30-opc.c: Regenerate.
	* fr30-opc.h: Regenerate.
1998-11-09 23:32:48 +00:00
Doug Evans
617e3d097b * m32r-asm.c: Regenerate.
Fixes calls to cgen_parse_address.
1998-11-07 01:22:51 +00:00
Doug Evans
71e6edeab4 redo fr30 sanitization 1998-11-06 00:10:54 +00:00
Doug Evans
04ad3a5905 temporarily sanitize fr30 1998-11-06 00:01:02 +00:00
Dave Brolley
290ca45abd Added fr30-asm.c fr30-dis.c fr30-opc.c fr30-opc.h 1998-11-05 22:02:44 +00:00
Doug Evans
52a53d1f37 * m32r-opc.c (m32r_cgen_insn_table_entries): Add FILL_SLOT attribute
to bcl8,bncl8 entries.
	(macro_insn_table_entries): Add FILL_SLOT attribute
	to bcl8r,bncl8r entries.
1998-11-05 20:22:40 +00:00
Dave Brolley
6f8811f370 Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
* configure.in: Added case for bfd_fr30_arch.
	* Makefile.am (CFILES): Added fr30-asm.c, fr30-dis.c, fr30-opc.c.
	(ALL_MACHINES): Added fr30-asm.lo, fr30-dis.lo, fr30-opc.lo.
	(CLEANFILES): Added stamp-fr30.
	(FR30_DEPS): Added.
	* fr30-asm.c: New file.
	* fr30-dis.c: New file.
	* fr30-opc.c: New file.
	* fr30-opc.h: New file.
	* po/POTFILES.in: Regenerated
	* po/opcodes.pot: Regenerated
1998-11-05 20:19:52 +00:00
Dave Brolley
c528ab7d86 Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
* po/POTFILES.in: Regenerated
	* po/opcodes.pot: Regenerated
1998-11-05 20:19:29 +00:00
Dave Brolley
a86481d3e9 Wed Nov 4 18:46:47 1998 Dave Brolley <brolley@cygnus.com>
* configure.in): Added case for bfd_fr30_arch.
	* Makefile.am (CFILES): Added fr30-asm.c, fr30-dis.c, fr30-opc.c.
	(ALL_MACHINES): Added fr30-asm.lo, fr30-dis.lo, fr30-opc.lo.
	(CLEANFILES): Added stamp-fr30.
	(FR30_DEPS): Added.
	* fr30-asm.c: New file.
	* fr30-dis.c: New file.
	* fr30-opc.c: New file.
	* fr30-opc.h: New file.
1998-11-05 20:16:27 +00:00
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