Jeff Law
50d45d1b2f
* compile.c (sim_resume): Fix overflow checks for ALU insns.
...
So that int-compare.c passes.
1996-04-09 05:57:15 +00:00
Fred Fish
ed086b0a71
From: Miles Bader <miles@gnu.ai.mit.edu>
...
* configure.in: Use AC_CHECK_TOOL to find AR & RANLIB.
* configure: Regenerate using autoconf.
1996-04-08 04:56:53 +00:00
Jeff Law
e24146ec95
* compile.c (decode): Use "bit" to hold L_3 immediates instead
...
of holding them in "abs". Handle ABS8MEM memory references aka
8-bit area. Replace ABSMOV references with ABS8MEM.
So we've got a chance of simulating something like btst #0,@40:8 correctly.
hmse.
1996-04-06 00:21:35 +00:00
Michael Meissner
997f0ee967
fix long lines
1996-04-04 20:19:28 +00:00
Michael Meissner
64646bd32b
Doc fixes from Andrew
1996-04-04 20:03:33 +00:00
Michael Meissner
4e956fd5e1
Add dependency
1996-04-04 18:48:51 +00:00
Michael Meissner
6740925b4d
Print WITH_STDIO if -t options
1996-03-29 18:06:42 +00:00
Michael Meissner
d6103e8eb6
Add --enable-sim-stdio to make console I/O use stdio, not printf_filtered and polling input
1996-03-29 17:33:56 +00:00
Jackie Smith Cashion
d0757082eb
Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c (Convert): Provide round-to-nearest and round-to-zero
support for Sun hosts.
* Makefile.in (gencode): Ensure the host compiler and libraries
used for cross-hosted build.
Allow a DOS hosted version of the simulator to be built. NOTE: The FP
is still not complete, since round-to-nearest and round-to-zero have
not been implemented generically.
1996-03-28 14:08:51 +00:00
Jackie Smith Cashion
e871dd189e
Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* interp.c, gencode.c: Some more (TODO) tidying.
1996-03-27 14:46:27 +00:00
Michael Meissner
7a543ca48e
Fix typo that clobbered the stack and rewrite 2/26 change
1996-03-26 21:20:54 +00:00
Michael Meissner
8a1d8a0b60
update from andrew
1996-03-23 15:02:42 +00:00
David Edelsohn
5d06fa80b2
(sim_resume, shift insns): Fix setting of overflow flag for shal.
1996-03-11 23:25:53 +00:00
David Edelsohn
e10bb7b3e9
* run.c (main): Print error message if argument is invalid.
...
(usage): Improve text.
1996-03-11 21:59:47 +00:00
David Edelsohn
741fd619cb
(main): Print error message if argument is invalid.
...
(usage): Improve text.
1996-03-11 21:59:22 +00:00
David Edelsohn
4dfb4ffcd1
* compile.c: #include "wait.h".
...
(sim_resume, sleep insn): Check program exit status in r0.
1996-03-11 19:30:53 +00:00
David Edelsohn
e656ecf90c
* compile.c (sim_resume): Watch for calls to abort.
...
* run.c: #include <signal.h>.
(main): Abort if program got SIGILL.
1996-03-11 17:54:45 +00:00
Michael Meissner
98fe0e07c5
Make psim build on AIX 4.1
1996-03-08 01:24:01 +00:00
Jackie Smith Cashion
a647a859cb
Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
...
* gencode.c, interp.c: Replaced explicit long long references with
WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
* support.h (SET64LO, SET64HI): Macros added.
This is an intermediate checkin. The work of removing "long long"
usage is not yet finished. These changes are clean, and have been
sitting on my machine for a while (whilst doing other work), and it is
safer for them to be checked in.
1996-03-07 11:25:15 +00:00
Fred Fish
be7b99e5be
Remove missing file "PROBLEMS" from list of files to keep.
1996-02-29 03:41:50 +00:00
Michael Meissner
0d02fbb844
Update to 1.0.1
1996-02-24 14:36:59 +00:00
Michael Meissner
262faa5417
Add input support; at end of user writes, call fflush
1996-02-22 20:11:41 +00:00
Michael Meissner
eaf2030fff
fix typo
1996-02-22 16:32:31 +00:00
Michael Meissner
ad836e027c
Add more write system calls; Add system call tracing
1996-02-21 21:58:43 +00:00
Michael Meissner
94feae28e3
Fix -m switch
1996-02-21 18:58:31 +00:00
Ian Lance Taylor
5c59ec4318
regenerate configure scripts with autoconf 2.7
1996-02-21 17:18:42 +00:00
Ian Lance Taylor
c8cd6f237b
* Makefile.in (all): Simplify.
...
(clean, mostlyclean): SUBDIRS may contain whitespace; fix the loop
as in the all target.
(distclean, maintainer-clean, realclean): Likewise.
(install): Likewise.
1996-02-21 17:02:23 +00:00
Michael Meissner
eada1efcaf
Update to 1995-02-20 release
1996-02-21 16:47:06 +00:00
J.T. Conklin
d271dd0591
* config.in: Regenerated.
1996-02-21 01:02:10 +00:00
Michael Meissner
6cf9d64e77
Update to rev 1.0 from andrew
1996-02-16 15:51:57 +00:00
Michael Meissner
9fc3ba754e
Make configure work on first stage of HP/UX and Solaris.
1996-02-15 23:46:30 +00:00
Michael Meissner
74eeaa7d57
Make simulator build on Solaris 2.4
1996-02-15 23:18:56 +00:00
Michael Meissner
7393a6f0b1
Work with HP/UX 9.00
1996-02-14 22:50:23 +00:00
Fred Fish
837d289362
* interp.c (LoadMemory): Enclose text following #endif in /* */.
...
* support.h: Remove superfluous "1" from #if.
* support.h (CHECKSIM): Remove stray 'a' at end of line.
1996-01-31 02:36:07 +00:00
Michael Meissner
2e9bb935e8
Latest changes from Andrew
1996-01-22 15:56:15 +00:00
Jim Wilson
a7aa92e2cd
Remove SH3e sanitization.
1996-01-16 20:18:32 +00:00
Michael Meissner
4ffd6ed0f3
Make {add to,subtract from} minus one; Make -t alu work better
1996-01-16 16:21:17 +00:00
Michael Meissner
52edddb970
Latest changes from Andrew
1996-01-10 20:42:29 +00:00
Michael Meissner
979c3c25fd
Latest cagney update
1996-01-08 18:01:17 +00:00
Jason Molenda
ad3d97748b
keep configure
1995-12-23 01:07:12 +00:00
Michael Meissner
a9ddbbf5a1
12/19 release from Andrew that fixes Netbsd break problem
1995-12-19 16:41:06 +00:00
Michael Meissner
98a497b3e9
Work with new and old BFDs; Do not inline model externs functions by default
1995-12-16 15:02:48 +00:00
Ian Lance Taylor
e924127a4f
* run.c (main): Use new bfd_big_endian macro.
1995-12-15 21:28:11 +00:00
Michael Meissner
669b4e1ef6
Fix warnings when using full inlining.
1995-12-15 21:06:22 +00:00
Michael Meissner
93fac32455
Changes from Andrew
1995-12-15 20:20:13 +00:00
J.T. Conklin
2434e38489
* gencode.c (tab): Added several sh3 opcodes.
...
(think): Added printonmatch for A_SSR and A_SPC.
* interp.c (SSR, SPC): Added definitions.
(saved_state_type): Added ssr and spc registers.
1995-12-04 20:27:38 +00:00
Jackie Smith Cashion
8bae0a0c48
* gencode.c: Tidied instruction decoding, and added FP instruction
...
support.
* interp.c: Added dineroIII, and BSD profiling support. Also
run-time FP handling.
At the moment the options are still mostly build-time controlled,
rather than run-time. Also work still needs to be done to remove (long
long) usage (However this is trivial, just time-consuming).
The out-standing instruction work to be done is in supporting round
and trunc for FP operations, and providing better exception support.
1995-12-01 16:42:44 +00:00
Michael Meissner
1f1e5dd85f
Let autoconf determine if host is big endian or not
1995-11-30 11:13:08 +00:00
Jim Wilson
9dfb65e661
* gencode.c (tab): In shad/shld definitions, negate R[m] before
...
the and operation instead of after. For shad delete cast. For shld
use UR instead of R and delete cast.
1995-11-29 20:41:46 +00:00
Michael Meissner
cf644706d6
fix typo
1995-11-28 18:57:30 +00:00