aboutsummaryrefslogtreecommitdiff
path: root/sim/common
AgeCommit message (Collapse)AuthorFilesLines
2001-01-15* Tidy.Ben Elliston1-2/+2
2001-01-12* configury fixFrank Ch. Eigler2-1/+6
[common/ChangeLog] 2001-01-12 Chris Demetriou <cgd@sibyte.com> * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case where a numeric value is supplied. [eg. m32r/ChangeLog] 2001-01-12 Frank Ch. Eigler <fche@redhat.com> * configure: Regenerated with sim_scache fix.
2001-01-052001-01-06 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen.sh: Allow extrafiles to include the semantics files when generating an ISA-specific decoder.
2000-12-27* Make-common.in (sim-io.o): Depend on targ-vals.h.Alexandre Oliva2-1/+5
2000-12-232000-12-23 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen-trace.c (trace_result): Handle 'f' type operands; output them to the trace stream using sim_fpu_printn_fpu. Include "sim-fpu.h".
2000-12-232000-12-15 Ben Elliston <bje@redhat.com>Ben Elliston3-31/+36
* sim-fpu.h (sim_fpu_printn_fpu): Declare. * sim-fpu.c (print_bits): Add digits parameter. Print only as many trailing digits as specified (-1 to print all digits). (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu. (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls to print_bits ().
2000-12-132000-12-13 Ben Elliston <bje@redhat.com>Ben Elliston2-24/+53
* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor sed expressions into $sedscript, substituting @prefix@/@PREFIX@. (defs): New action.
2000-12-12In sim/common:Geoffrey Keating2-56/+62
* sim-endian.h: Don't have parameters on macro definitions which are simply renaming functions, to permit use of XCONCAT2 in both the macro name and the arguments in a use of such a definition. In sim/ppc: * sim-endian.h: Don't have parameters on macro definitions which are simply renaming functions, to permit use of XCONCAT2 in both the macro name and the arguments in a use of such a definition.
2000-12-112000-12-11 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+13
* cgen-ops.h (SUBWORDDFDI): New function.
2000-12-052000-12-05 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+10
* Make-common.in (cgen-defs): New target. (cgen-decode): Pass $(EXTRAFILES).
2000-12-052000-12-05 Ben Elliston <bje@redhat.com>Ben Elliston2-60/+84
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and -outfile-suffix options.
2000-12-042000-12-04 Ben Elliston <bje@redhat.com>Ben Elliston2-3/+16
* cgen-ops.h (SUBWORDSIQI): Mask off top bits. (SUBWORDSIUQI): Likewise. (SUBWORDDIHI): Likewise. (SUBWORDDIQI): New function.
2000-12-042000-12-04 Ben Elliston <bje@redhat.com>Ben Elliston3-6/+5
* cgen-trace.c (disassemble_insn): Remove unused declaration. * cgen-scache.c (scache_option_handler): Remove unused local var.
2000-12-032000-12-03 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+5
* sim-profile.c (profile_option_handler): Remove unused prof_nr.
2000-11-30Add GNU Free Documentation LicenseNick Clifton1-15/+371
2000-11-27Fix delete_hw_event_data() to free the scheduled eventsStephane Carrez2-2/+7
2000-11-27Remove space == 0 restriction in the simulator (dv-core)Stephane Carrez2-2/+5
2000-11-25Fix for sim/common hw_delete()/hw_tree_delete()Stephane Carrez4-5/+15
2000-11-25Fix memory leak in sim_parse_argsStephane Carrez2-4/+22
2000-11-192000-11-20 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+62
* cgen-ops.h (SUBBI): New macro. (SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions. (SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
2000-11-162000-11-16 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+5
* cgen-types.h (VOID): New type.
2000-11-082000-11-09 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+7
* sim-fpu.c (sim_fpu_one): Set exponent to 0. (sim_fpu_two): Set exponent to 1.
2000-11-08* Spelling corrections.Ben Elliston1-5/+5
2000-10-262000-10-26 Ben Elliston <bje@redhat.com>Elena Zannoni3-7/+22
* cgen.sh: Handle an isa argument between cpu and mach. Default to `all'. Pass `-i' options to cgen applications. * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode, cgen-desc): Pass $(isa) to cgen.sh.
2000-10-08* usability improvementsBen Elliston3-0/+27
2000-10-08 Ben Elliston <bje@redhat.com> * cgen-utils.c (cgen_rtx_error): New function. 2000-10-07 Ben Elliston <bje@redhat.com> * cgen-trace.c (sim_cgen_disassemble_insn): Handle failure conditions for sim_core_read_buffer().
2000-09-262000-09-26 Dave Brolley <brolley@redhat.com>Dave Brolley2-0/+75
* cgen-utils.c (RORQI): New function. (ROLQI): New function. (RORHI): New function. (ROLHI): New function.
2000-08-282000-08-28 Dave Brolley <brolley@redhat.com>Dave Brolley2-1/+13
* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is in insn_value if it will fit.
2000-08-22Forgot to check this in with last commit!Dave Brolley1-0/+15
2000-08-21* Contribute CGEN simulator build support code.Frank Ch. Eigler3-0/+232
* Patch was posted by bje@redhat.com.
2000-08-152000-08-15 Dave Brolley <brolley@redhat.com>Dave Brolley1-2/+2
* sim-profile.c (profile_print_speed): Print cpu frequency if not zero.
2000-08-152000-08-15 Dave Brolley <brolley@redhat.com>Dave Brolley2-6/+103
* sim-profile.h (PROFILE_DATA): Add cpu_freq. (PROFILE_CPU_FREQ): New macro. * sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator. (profile-options): Add profile-cpu-frequency. (parse_frequency): New function. (profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY. (profile_print_speed): Print cpu frequency and simulated execution time. Re-indent other items to match.
2000-08-11Eliminate use of MIN().Andrew Cagney2-2/+7
2000-07-27* Usability improvementFrank Ch. Eigler2-1/+6
2000-07-27 Frank Ch. Eigler <fche@redhat.com> From Maciej W. Rozycki <macro@ds2.pg.gda.pl> * Makefile.in (install): Install run.1 man page.
2000-07-272000-06-23 Doug Evans <dje@casey.transmeta.com>Andrew Cagney2-8/+10
* Makefile.in (headers,nltvals.def): Merge.
2000-07-272000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>Andrew Cagney3-2/+9
* nrun.c (main): Print the simulator statistics only in verbose mode. * hw-properties.h (hw_find_integer_array_property): Fix prototype (use signed_cell).
2000-07-272000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>Andrew Cagney5-0/+39
* sim-events.c (sim_events_remain_time): New function returning the time that remains before the event is raised. * hw-events.c (hw_event_remain_time): Likewise. * sim-events.h (sim_events_remain_time): Declare. * hw-events.h (hw_event_remain_time): Declare.
2000-07-272000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>Andrew Cagney2-1/+17
* sim-hw.c: Use <errno.h> instead of <sys/errno.h> (OPTION_HW_LIST): New option --hw-list to list the devices. (hw_option_handler): List the device tree with 'sim_hw_print'.
2000-07-27From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:Andrew Cagney4-2/+126
* sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets. (MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16. (EXTENDED): Define for 16-bit word size. * sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED, MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size. * sim-types.h: Added support for 16-bit targets.
2000-06-24* verbosity reductionFrank Ch. Eigler2-2/+5
2000-06-23 Frank Ch. Eigler <fche@redhat.com> * cgen-trace.h (TRACE_USEFUL_MASK): Remove TRACE_EVENTS_IDX.
2000-06-24* build cleanliness fixFrank Ch. Eigler2-1/+6
2000-06-24 Frank Ch. Eigler <fche@redhat.com> From Maciej W. Rozycki <macro@ds2.pg.gda.pl>: * Makefile.in (distclean): Clean cconfig.h also.
2000-05-24Change profiling so that it is enabled by default. Re-generate everything.Andrew Cagney3-148/+167
2000-05-23sigrc wasn't initialized before being passed to sim_resume().Andrew Cagney2-0/+6
2000-04-28Provide more detailed traces of the event queue.Andrew Cagney2-0/+26
2000-04-05* updating copyright dates ("1999" -> "1999, 2000")Frank Ch. Eigler2-2/+2
2000-03-302000-03-30 Dave Brolley <brolley@redhat.com>Dave Brolley2-2/+6
* aclocal.m4 (cgen): Use guile to run cgen.
2000-03-302000-03-23 Dave Brolley <brolley@redhat.com>Dave Brolley3-2/+36
* cgen-fpu.h: Rename extsfdf to fextsfdf. Rename truncdfsf to ftruncdfsf. * cgen-accfp.c (fextsfdf): New function. (ftruncdfsf): New function. (cgen_init_accurate_fpu): Initialize fextsfdf and ftruncdfsf.
2000-03-132000-03-13 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2-0/+5
* cgen-ops.h: Added TRUNCSISI.
2000-03-08* extensionFrank Ch. Eigler3-3/+41
2000-03-08 Dave Brolley <brolley@redhat.com> * cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE. (CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write. (sim_queue_fn_si_write): Last argument is has type USI. (sim_queue_fn_sf_write): New function. * cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI. (sim_queue_fn_sf_write): New function. (cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
2000-02-22When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracingAndrew Cagney2-15/+45
instead of sim_trace() to run the program; include support for ``-o'' option (operating environment); when a signal occurs, only continue execution when operating environment mode. Update d10v.
2000-02-09Report SIGBUS and halt simulation when ld/st detect a misaligned address.Andrew Cagney2-6/+15