28 Commits

Author SHA1 Message Date
d29d5195ca * support sim-fpu.c for correct FP emulation.
* Makefile.in (LIB_OBJ): Add @sim_fpu@.
	(ICACHE_CFLAGS, SEMANTICS_CFLAGS): New variables.
	(icache.o, semantics.o): Add new ICACHE_FLAGS & SEMANTICS_FLAGS.
	(sim-fpu.o, sim-bits.o, tconfig.h): New targets.
	* configure.in: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.  Add a
	check for sim/common/sim-fpu.c.  Output sim_fpu and sim_fpu_cflags.
	* configure: Regenerate.
	* device.h (device_find_integer_array_property): Match function definition.
	* gen-icache.c (print_icache_internal_function_declaration): Rename
	INLINE_ICACHE to PSIM_INLINE_ICACHE.
	* gen-idecode.c (print_idecode_run_function_header): Rename INLINE_IDECODE
	to PSIM_INLINE_IDECODE.
	* gen-semantics.c (print_semantic_function_header): Rename
	EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
	* gen-support.c (print_support_function_name): Rename INLINE_SUPPORT to
	PSIM_INLINE_SUPPORT.
	* igen.c (print_function_name): Also escape `(' and `)'.
	(gen_semantics_h): Rename EXTERN_SEMANTICS to PSIM_EXTERN_SEMANTICS.
	(gen_semantics_c): Likewise.  Also output includes for "sim-fpu.h"
	* inline.h (INLINE_SIM_ENDIAN): Renamed INLINE_PSIM_ENDIAN.
	(EXTERN_SIM_ENDIAN): Renamed EXTERN_PSIM_ENDIAN.
	(STATIC_INLINE_SIM_ENDIAN): Renamed STATIC_INLINE_PSIM_ENDIAN.
	(INLINE_LOCALS): Renamed PSIM_INLINE_LOCALS.
	(EXTERN_SUPPORT): Renamed PSIM_EXTERN_SUPPORT.
	(INLINE_SUPPORT): Renamed PSIM_INLINE_SUPPORT.
	(EXTERN_SEMANTICS): Renamed PSIM_EXTERN_SEMANTICS.
	(INLINE_SEMANTICS): Renamed PSIM_INLINE_SEMANTICS.
	(EXTERN_IDECODE): Renamed PSIM_EXTERN_IDECODE.
	(INLINE_IDECODE): Renamed PSIM_INLINE_IDECODE.
	(EXTERN_ICACHE): Renamed PSIM_EXTERN_ICACHE.
	(INLINE_ICACHE): Renamed PSIM_INLINE_ICACHE.
	* options.c (options_inline): Fix names.
	* sim-endian-n.h: Change INLINE_SIM_ENDIAN to INLINE_PSIM_ENDIAN.
	* sim-endian.h: Likewise.
	* sim-main.h: New file.
	* std-config.h: Rename INLINE_LOCALS to PSIM_INLINE_LOCALS.
2001-12-14 00:22:13 +00:00
7a292a7adf import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
5c04f4f7fc January 23rd merge 1997-01-27 21:34:50 +00:00
30c87b55ec New simulator changes from Andrew 1996-07-23 15:42:42 +00:00
8a1d8a0b60 update from andrew 1996-03-23 15:02:42 +00:00
f2181eff5f Sort instruction names; Add igen -R option; count # of CRs that mtcrf moved 1995-11-25 01:35:14 +00:00
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
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
4220dcd698 checkpoint ppc simulator 1995-11-17 19:17:58 +00:00
84bbbc3577 Delete old functional_unit support; Add --enable-sim-model-issue; Monitor branch prediction success 1995-11-16 21:42:27 +00:00
867b71685a fix bug in last checkin 1995-11-16 19:25:47 +00:00
845ff5a45f more functional unit changes 1995-11-16 19:02:52 +00:00
80948f392b More model specific changes 1995-11-15 22:53:59 +00:00
39c324612d make inline model use static when inlining. 1995-11-14 11:34:01 +00:00
f35df46cc3 make inline model use static when inlining. 1995-11-14 11:25:34 +00:00
fe439e0f18 fix more warnings 1995-11-14 10:52:24 +00:00
ac79ccd41d Fix warnings and dependency 1995-11-14 09:52:29 +00:00
1dc7c0ed84 checkpoint 1995-11-13 16:07:30 +00:00
eb4ef19775 Add model-functions support 1995-11-13 01:27:21 +00:00
28816f45f5 Add support for setting model name and other things 1995-11-12 14:20:39 +00:00
a31140524a Tons of changes to allow model specific information in the instruction file. 1995-11-10 22:49:05 +00:00
ba62bb1c74 Turn on INLINES if using GCC to compile simulator; Print more stuff if requests -t trace; If !WITH_ASSERT, do not check whether illegal bits in instruction are set 1995-11-09 19:50:51 +00:00
c5addc193d General cleanup; add -t options support to print all options 1995-11-09 02:35:15 +00:00
c494cadde6 Use autoconf correctly; provide more stats with -I 1995-11-02 20:21:35 +00:00
a983c8f080 Andrew's latest changes & print all instruction counts if -I 1995-11-02 14:27:18 +00:00
c143ef6296 Lots of changes 1995-11-01 19:32:38 +00:00