Commit Graph

247 Commits

Author SHA1 Message Date
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
Michael Meissner 290ad14a9d Add determining when we do not have enough writeback slots; Do not do model specific handling if not printing out the information 1995-11-28 18:47:07 +00:00
Michael Meissner 70fc4ad384 Build again on SunOS; Make MODEL_INLINE default to 1 if inlining, not 2; Use __attribute__((const)) 1995-11-27 22:54:40 +00:00
Michael Meissner eade8e035c Check lf_printf for type correctness 1995-11-25 06:08:56 +00:00
Michael Meissner 3d2f9d7c88 Make WITH_MODEL_ISSUE==0 not core dump 1995-11-25 05:56:28 +00:00
Michael Meissner f2181eff5f Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved 1995-11-25 01:35:14 +00:00
Michael Meissner 63caaafa5b Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved 1995-11-25 01:34:26 +00:00
Michael Meissner 45525d8d6d Fix warnings to everything can be compiled with -Wall; Redo model specific changes once again to speed things up 1995-11-24 16:44:37 +00:00
Michael Meissner 46c065ab31 Count each type of conditional branch 1995-11-22 21:02:49 +00:00
Michael Meissner 4a0351ab45 Add floating point model specific support; Redo method model specific support is done; Add remaining floating add/subtract-multiply 1995-11-21 21:41:25 +00:00
David Edelsohn c3ccc15e43 minor cleanup 1995-11-21 01:45:07 +00:00
David Edelsohn 6d8e15cbaf * run.c: Include "getopt.h".
(verbose): Delete.
	(usage): Make static.
	(main): Call arm_sim_set_verbosity.
	Only load sections marked SEC_LOAD.
	* wrapper.c (mem_size, verbosity): New static global.
	(arm_sim_set_mem_size): Renamed from sim_size.
	Callers updated
	(arm_sim_set_profile{,_size}): Renamed from sim_foo.  Callers updated.
1995-11-21 01:44:50 +00:00
Michael Meissner 0bcce7d390 speed up search for free function unit slightly. 1995-11-20 04:05:36 +00:00
Angela Marie Thomas 50f694435f don't keep mips.. I don't think it's ready for primetime. 1995-11-19 10:12:19 +00:00
Angela Marie Thomas 86db8439a2 removed build-psim,config.make,config.hdr,function_unit.c,function_unit.h 1995-11-19 09:43:46 +00:00
David Edelsohn e47e480588 * armdefs.h (ARMul_State): New member `verbose'.
* armrdi.c (ARMul_ConsolePrint): Add missing va_end.
	* run.c (verbose): Make global.
	* wrapper.c (init): Set state->verbose.
	(ARMul_ConsolePrint): Don't print anything if !verbose.
1995-11-18 03:39:17 +00:00
Jim Wilson 708f6147e4 Patch for Hitachi PR 8433, avoid core dump on HPUX host
* gencode.c (tab): Add explicit NaN support for ftrc instruction.
1995-11-18 02:03:21 +00:00
Michael Meissner 15ec5b60e2 Add scheduling support for M{F,T}CR 1995-11-18 01:39:04 +00:00
Michael Meissner 54e986998a More scheduling stuff 1995-11-18 01:14:45 +00:00
Michael Meissner 4220dcd698 checkpoint ppc simulator 1995-11-17 19:17:58 +00:00
Michael Meissner 84bbbc3577 Delete old functional_unit support; Add --enable-sim-model-issue; Monitor branch prediction success 1995-11-16 21:42:27 +00:00
Michael Meissner 867b71685a fix bug in last checkin 1995-11-16 19:25:47 +00:00
Michael Meissner 845ff5a45f more functional unit changes 1995-11-16 19:02:52 +00:00
Michael Meissner acb06d3040 Add option to make options inline 1995-11-15 23:01:47 +00:00
Michael Meissner 80948f392b More model specific changes 1995-11-15 22:53:59 +00:00
Stu Grossman fe2f8313f0 * gencode.c: jsr, bsr and bsrf actually save pc+4 in pr, and rts
actually uses pr+0.
1995-11-15 00:47:21 +00:00
Stu Grossman 9999417ef6 * gencode.c: jsr actually saves pc+4, and rts actually uses pr+0. 1995-11-14 23:42:22 +00:00
Michael Meissner 39c324612d make inline model use static when inlining. 1995-11-14 11:34:01 +00:00
Michael Meissner f35df46cc3 make inline model use static when inlining. 1995-11-14 11:25:34 +00:00
Michael Meissner fe439e0f18 fix more warnings 1995-11-14 10:52:24 +00:00
Michael Meissner ac79ccd41d Fix warnings and dependency 1995-11-14 09:52:29 +00:00
Michael Meissner 1dc7c0ed84 checkpoint 1995-11-13 16:07:30 +00:00
Michael Meissner eb4ef19775 Add model-functions support 1995-11-13 01:27:21 +00:00