Commit graph

21567 commits

Author SHA1 Message Date
Doug Evans
652af042db * cgen.h (cgen_insert_fn): Change type of result to const char *.
(cgen_parse_{signed,unsigned}_integer): Delete min,max arguments.
1998-02-18 00:02:27 +00:00
Ian Carmichael
374ed20d80 * XGKICK now uses memory-based GIF fifo. 1998-02-17 23:50:35 +00:00
Frank Ch. Eigler
f8611801b1 * remote-mips.c (mips_request): Use unsigned long during parsing
returned value from monitor, to prevent accidental sign extension.
1998-02-17 23:14:57 +00:00
Jason Molenda
dd60073596 Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
        * configure.in: Ditto.
        * configure: Regenerated.

Tue Feb 17 14:07:34 1998  Peter Schauer <pes@regent.e-technik.tu-muenchen.de>

        * gdbtypes.c (check_typedef): Do not try to resolve the length of
        a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
        set TYPE_FLAG_TARGET_STUB as well.



Patches from Peter.
1998-02-17 22:42:02 +00:00
Doug Evans
761784f055 keep config, lib, sim. 1998-02-17 22:05:11 +00:00
Doug Evans
fdad7ba5a2 * config/default.exp: New file.
* lib/sim-defs.exp: New file.
	* sim/m32r/*: m32r dejagnu simulator testsuite.
1998-02-17 21:58:11 +00:00
Doug Evans
6b47885968 keep m32r 1998-02-17 21:54:07 +00:00
Doug Evans
6b35d9dd89 m32r simulator testsuite 1998-02-17 21:52:53 +00:00
Doug Evans
ed063d525f * Makefile.in (build_alias): Define.
(arch): Define.
	(RUNTEST_FOR_TARGET): Delete.
	(RUNTEST): Fix.
	(SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define.
	(check): Depend on site.exp.
	(site.exp): New target.
	(cgen): New target.
	* configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen.
	(arch): Define from target_cpu.
	* configure: Regenerate.
1998-02-17 20:54:50 +00:00
Michael Meissner
9902213101 Better tracing for conditional branches 1998-02-17 19:38:48 +00:00
Ian Lance Taylor
5290378abc * libbfd.c (bfd_seek): If fseek fails, save errno around call to
bfd_tell.  If errno is EINVAL, set bfd_error_file_truncated, not
	bfd_error_system_call.
1998-02-17 18:02:55 +00:00
Andrew Cagney
bccb2e7f89 Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returned
register size.
1998-02-17 04:28:00 +00:00
Andrew Cagney
fbb8b6b9ab For sim_fetch_register / sim_store_register: Add LENGTH parameter,
return actual size of register, 0 if not applicable, -1 of legacy
implementation.
1998-02-17 04:06:38 +00:00
Ian Carmichael
c5efcf3c85 * Added VU0_CIA register #define. 1998-02-16 22:09:57 +00:00
Ian Carmichael
04a7f72aea * Add magic VU1_CIA register. 1998-02-16 22:07:11 +00:00
Ian Carmichael
9c577d9a94 * Partially implement new VPE_STAT register. 1998-02-16 21:44:45 +00:00
Nick Clifton
b86c0dd361 Only parallelise instructions when assembling for the m32rx, and when
neither instruction is relaxable.
1998-02-16 20:30:58 +00:00
Ian Lance Taylor
38c82baf63 fix 5900 in Makefile.am 1998-02-16 17:25:52 +00:00
Andrew Cagney
6c3beaaf21 Make `target d10v'' and `target remote'' equivalent.
Hack remote.c so that xfer_memory calls a memory translate function.
1998-02-16 09:17:07 +00:00
Ron Unrau
7aa6042f58 configure: rerun autoconf
interp.c: shield dummy vu registers with -DTARGET_SKY
1998-02-16 04:33:28 +00:00
Andrew Cagney
729295b597 Implement "dbt" and "rtd" instructions.
Import fixes to dmap_addr() from mitsu branch.
1998-02-16 00:35:57 +00:00
Andrew Cagney
b104806fd3 Test the RDT and DBT instructions. 1998-02-15 23:21:19 +00:00
Ron Unrau
97908603a4 configure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.
sim-main.h: Define regs for sky if -DTARGET_SKY
interp.c: Initial register upload/download support for sky.
1998-02-15 21:33:13 +00:00
Ron Unrau
678fa7ffe3 parse.c (write_dollar_variable): call new function target_map_name_to_register
so that targets can define their own register name aliases.
infcmd.c (registers_info): call target_map_name_to_register so that
	"print $reg" and "info reg $reg" share the same register alias set.
mips-tdep.c: separate MIPS_R5900_REGS from NUM_REGS so that sky registers
	can be printed separately.
txvu-tdep.c: print registers according to current CPU context.
tm-txvu.h: define SKY registers and conditionalize register interpretation
	macros.
txvu.mt: Don't bother building remote-mips.o for sky target.
1998-02-15 21:30:02 +00:00
Ian Carmichael
486c714a26 * Vu1 state moved to struct. Host-target endian twiddling. Misc other fixes. 1998-02-14 05:34:08 +00:00
Michael Meissner
77cfb0a136 TIC80 uses little endian doubles, not big endian 1998-02-14 00:59:44 +00:00
Stan Shebs
8970f2fd36 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
* config/i386/xm-i386mk.h: Fix an include.
	* config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
1998-02-14 00:49:47 +00:00
Stan Shebs
67d8c3aa30 micro-cleanup 1998-02-14 00:38:57 +00:00
Frank Ch. Eigler
db6dac32c7 - PKE simulation almost finished. Needed enhancements:
* trace file generation
  * FIFO pruning

- PKE functions still missing due to external dependencies:
  * interrupt to 5900 (igen?)
  * VU busy checking (sky-vu / coprocessor registers)
  * PATH3 masking (sky-gpuif / covert control interface)
1998-02-13 23:29:38 +00:00
Nick Clifton
62e89e48a4 Fix tests to match latest version of the assembler. 1998-02-13 22:46:09 +00:00
Nick Clifton
c9cec4ef98 Do not bother checking the operands of instructions which have no operands! 1998-02-13 22:45:14 +00:00
Doug Evans
bed9a23ccd Fix comment. 1998-02-13 22:36:22 +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
Michael Meissner
8114673a2b Pass floating point structure address instead of the structure itself 1998-02-13 22:12:51 +00:00
Nick Clifton
8e7a5a048a Reverted writes_to_pc() back to old version of code until PC operands are
supported by cgen.
1998-02-13 21:52:13 +00:00
Ian Lance Taylor
ba4da4fe4e * Makefile.am (AUTOMAKE_OPTIONS): Add cygnus.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
	* doc/Makefile.am (AUTOMAKE_OPTIONS): Define.
	* doc/Makefile.in: Rebuild.
1998-02-13 21:48:00 +00:00
Ian Lance Taylor
d383cc5c5b * Makefile.am (AUTOMAKE_OPTIONS): Define.
* configure, Makefile.in, aclocal.m4: Rebuild with automake 1.2e.
1998-02-13 21:39:55 +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
004040c93b rebuild with new automake 1998-02-13 19:44:27 +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
Ian Lance Taylor
6e639e5d7b * Makefile.am (libbfd_la_LDFLAGS): Define.
* Makefile.in: Rebuild.
1998-02-13 18:12:58 +00:00
Patrick Macdonald
8f9acca317 First functional drop of the gpuif code plus modifications to
non-gpuif code to allow sky sim to build with --enable-sim-warnings
1998-02-13 18:02:24 +00:00
Nick Clifton
6cf2575a22 Parallelisation code changed to used cgen's new ins operands feature. 1998-02-13 18:01:19 +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
Ian Lance Taylor
679f7845cc * config/tc-mips.c (macro_build): Handle operand type 'C'.
(macro): Fix handling of M_COP[0-3].
1998-02-13 05:49:55 +00:00
Andrew Cagney
ac9a7d8a2c Implement separate user (SPU) and interrupt (SPI) stack pointers. 1998-02-13 05:22:49 +00:00