aboutsummaryrefslogtreecommitdiff
path: root/sim/common
AgeCommit message (Collapse)AuthorFilesLines
1998-06-12 * sim-engine.c (sim_engine_get_run_state): New function.Doug Evans1-0/+5
* sim-engine.h (sim_engine_get_run_state): Declare it.
1998-06-11 * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.Doug Evans3-167/+205
* sim-core.c (sim_core_signal): Make extern, always define.
1998-06-10 * Make-common.in (CGEN_FLAGS_TO_PASS): New variable.Doug Evans1-0/+6
* cgen-ops.h (ANDIF): New macro. (ANDIF[BQHSD]I): Delete.
1998-06-04Memory corruption problems - hw-event list wasn't correctAndrew Cagney2-3/+31
unlinking/freeing events. Couldn't handle the removal of a hw-event that just been scheduled.
1998-05-25Pull in preliminary versions of hw instances and handles from ../ppcAndrew Cagney5-0/+746
1998-05-25Make hw-main.h the main header file for H/W devices. Like sim-main.hAndrew Cagney7-102/+150
Update dv-*.c Replace *_callback with more correct. *_method. Update dv-*.c
1998-05-25Add files hw-alloc.[hc] (mising from last CI)Andrew Cagney7-33/+185
Move set_* macro's from hw-base to hw-device.
1998-05-25Initialize/destory hw-properties within the hw-device.Andrew Cagney4-0/+29
1998-05-25Split out hw-alloc code. Add constructor and destructor for hw-alloc.Andrew Cagney7-126/+83
1998-05-25Split out hw-event code. Clean up interface. Update all users.Andrew Cagney12-106/+269
1998-05-25Clean up create/delete of hw-portsAndrew Cagney5-55/+532
1998-05-25* hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): DropAndrew Cagney3-129/+51
PROCESSOR and CIA arguments.
1998-05-25De-sanitize simulator hw.Andrew Cagney3-77/+0
1998-05-22Only enable H/W on some mips targets.Andrew Cagney2-3/+20
Move common hw-obj to Make-common Pacify GCC
1998-05-21* sim-hw.c: Include ctype.h.Andrew Cagney3-1/+583
(do_hw_poll_read): Do not assume EAGAIN.
1998-05-20 * cgen-trace.c (first_insn_p): New static local.Doug Evans1-0/+16
(trace_insn_init): Set it. (trace_insn_fini): Use TRACE_PREFIX. (trace_insn): Rewrite to use trace_prefix. * sim-trace.c (trace_prefix): Don't print filename arg if NULL. Adjust width accordingly. * sim-profile.h (PROFILE_DATA): New member profile_any_p. (PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros. (PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros. (PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify. (PROFILE_COUNT_CORE): Simplify. * sim-profile.c (profile_option_handler): Compute profile_any_p.
1998-05-20 * cgen-ops.h (ADDCFSI): Fix typo.Doug Evans1-0/+4
1998-05-17 * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.Doug Evans1-0/+3
* genmloop.sh: Use them rather than static locals.
1998-05-16 * sim-engine.c (sim_engine_set_run_state): New function.Doug Evans2-28/+51
* sim-engine.h (sim_engine_set_run_state): Declare. * genmloop.sh (pending_reason,pending_sigrc): New static locals. (@cpu@_engine_stop): New args reason,sigrc. All callers updated. (engine_resume): Reorganize. Allow synchronous exit from main loop.
1998-05-15 * cgen-trace.c (trace_insn_init): New arg first_p.Doug Evans3-5/+15
All callers updated. (trace_insn_fini): New arg last_p. All callers updated. * cgen-trace.h (trace_insn_init,trace_insn_fini): Update. (TRACE_INSN_INIT,TRACE_INSN_FINI): Update. * genmloop.sh (engine_resume): Update.
1998-05-15Run ranlib on installed copy of libsim.a.Joyce Janczyn2-1/+7
1998-05-15Install libsim.a $(exec_prefix)/lib/lib[target]-sim.a as part of install-sim.Joyce Janczyn2-17/+70
1998-05-07 * Make-common (sim_main_headers): Sort.Doug Evans2-0/+82
(cgen-*.o): Add cgen-sim.h dependency. * sim-cpu.h: New file. sim_cpu_base moved here. Move sim_cpu_lookup decl here. * sim-base.h: #include "sim-cpu.h". * sim-cpu.c: New file. * Make-common (sim_main_headers): Add sim-cpu.h. (sim-cpu.o): Add rule for.
1998-05-06 * sim-io.c: #include <errno.h>.Doug Evans1-0/+4
1998-05-06Copy polling code in PSIM simulator into common directory. WillAndrew Cagney2-148/+84
need rewrite later. Use in mn10300 simulator.
1998-05-05Fix sanitization.Doug Evans1-7/+1
1998-05-01*) Delete CPU and CIA arguments from hw_io_*_buffer transfers.Andrew Cagney1-0/+56
Instead save them in the sim_hw structure. *) Route sim-core accesses to hw devices through the sim_hw module. *) Route hw device requests to abort/halt through the sim_hw module. *) Add print parameter to hw_tree_print() function. *) Add sim_engine_vabort () function.
1998-04-30Add 2-result FP trace macro.Andrew Cagney1-0/+8
Dump hex value of floating-point numbers
1998-04-29Tue Apr 28 18:28:58 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+8
* common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define AM_CYGWIN32 and AM_EXEEXT. * common/Make-common.in: set EXEEXT, add missing EXEEXTs to run and install-common rules. * common/configure: regenerate And update all subdirectory ChangeLogs and configure files.
1998-04-27Clean up cell types.Andrew Cagney1-0/+5
1998-04-26 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey2-3/+9
* config.in: Ditto. * acconfig.h (NEED_DECLARATION_PRINTF): Removed.
1998-04-24 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey6-48/+2163
* config.in: Ditto. * acconfig.h: New file. * Make-common.in (top_builddir): New macro. (INTL_LIB): Removed. (INTLLIBS): New macro. (INTLDEPS): Likewise. (LIBDEPS): Use INTLDEPS. (EXTRA_LIBS): Use INTLLIBS. * aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT. (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST, AM_LC_MESSAGES): New macros from GNU gettext.
1998-04-24Drop leading `_' from macros.Andrew Cagney2-5/+18
1998-04-22Delete sky sim-base.h entries (required sanitization).Doug Evans1-12/+0
1998-04-22Move target specific stuff from sim/common/sim-base.h to sim/mips/sim-main.hJames Lemke1-0/+7
1998-04-22Add intl supportMichael Meissner2-5/+16
1998-04-21sim-base.h: Add configure option --with-sim-funit.James Lemke2-0/+16
1998-04-21 * cgen-ops.h (ADDCFSI): Fix.Doug Evans1-0/+3
(SUBCFSI): Tweak. PR 15741.
1998-04-21 * cgen-types.h (GETHIDI,MAKEDI): Tweak.Doug Evans1-0/+4
1998-04-21Implement ERET instruction.Andrew Cagney2-4/+28
Add {signed,unsigned}_address type.
1998-04-16o CVT.S.W and CVT.W.S were reversedAndrew Cagney2-3/+47
o When unpacking an r5900 FP value, was not treating IEEE-NaN's as very large values. o When packing an r5900 FP result from an infinite precision intermediate value was saturating to IEEE-MAX instead of r5900-MAX o The least significant bit of the FP status register did not stick to one.
1998-04-15Add EXTEND11().Andrew Cagney1-2/+1
1998-04-15Define EXTEND15().Andrew Cagney2-1/+3
1998-04-15Define EXTEND4() and EXTEND5().Andrew Cagney2-0/+7
1998-04-14Tue Apr 14 16:31:35 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-0/+6
* sim-memopt.c (parse_addr): Sunos 4.5 does not hane strtol declared so we need this cast to prevent long long addresses from being misconfigures. Results in access to unmapped memory.
1998-04-14 * Make-common.in (RUNTESTFLAGS): Define.Doug Evans1-0/+5
(check): Pass RUNTESTFLAGS to recursive make.
1998-04-14* sim-info.c (sim_info): Be verbose when either VERBOSE or STATE_VERBOSE_P.Andrew Cagney1-0/+5
1998-04-05aclocal.m4: Don't enable inlining when cross-compiling.Andrew Cagney1-1/+5
mips/*: Tune mips simulator - allow all memory transfer code to be inlined.
1998-04-04Cleanup INLINE support for simulators using common framework.Andrew Cagney6-55/+171
Make IGEN responsible for co-ordinating inlining of generated files. By default, aclocal.m4 disabled all inlining.
1998-04-03Don't bother generating trace prefix string when not tracing.Andrew Cagney1-0/+15