📄 changelog
字号:
* hw-base.c (hw_create, hw_delete): Call. * hw-alloc.c (create_hw_alloc_data, delete_hw_alloc_data): Define. * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-alloc.o. (hw-alloc.o): New target. Mon May 25 17:14:27 1998 Andrew Cagney <cagney@b1.cygnus.com> * hw-events.h, hw-events.c: New files. Move event code to here. * sim-hw.c: From here. * hw-base.h: Include "hw-events.h". * Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-events.o. (hw-events.o): New target. * hw-device.h (struct hw): Add struct hw_event_data events_of_hw. * hw-events.h (struct hw_event): Replace typedef hw_event. * hw-base.h (create_hw_event_data, delete_hw_event_data): Declare. * hw-base.c (hw_create, hw_delete): Call. * hw-events.c (create_hw_event_data, delete_hw_event_data): Define. * dv-pal.c: Update.Mon May 25 16:55:16 1998 Andrew Cagney <cagney@b1.cygnus.com> * hw-base.c (panic_hw_port_event, empty_hw_ports): Move from here. * hw-ports.c: To here. * hw-base.h, hw-ports.c (create_hw_port_data, delete_hw_port_data): New functions. * hw-base.c (hw_delete, hw_create): Call same. * hw-base.h (set_hw_ports, set_hw_port_event): Move set functions from here. * hw-ports.h: To here.Mon May 25 16:42:48 1998 Andrew Cagney <cagney@b1.cygnus.com> * hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop PROCESSOR and CIA arguments.Fri May 22 12:16:27 1998 Andrew Cagney <cagney@b1.cygnus.com> * aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument. Move common object files from here. * Make-common.in (SIM_COMMON_HW_OBJS): To here. Thu May 21 17:57:16 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-hw.c: Include ctype.h. (do_hw_poll_read): Do not assume EAGAIN.Wed May 20 04:37:57 1998 Doug Evans <devans@seba.cygnus.com> * cgen-trace.c (first_insn_p): New static local. (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.Tue May 19 23:55:30 1998 Doug Evans <devans@seba.cygnus.com> * cgen-ops.h (ADDCFSI): Fix typo.Sat May 16 12:44:52 1998 Doug Evans <devans@seba.cygnus.com> * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p. * genmloop.sh: Use them rather than static locals. * sim-engine.c (sim_engine_set_run_state): New function. * 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.Fri May 15 16:06:05 1998 Doug Evans <devans@seba.cygnus.com> * cgen-trace.c (trace_insn_init): New arg first_p. 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.Fri May 15 15:59:00 1998 Joyce Janczyn <janczyn@cygnus.com> * Make-common.in (install-common): Run ranlib on installed copy of libsim.a.Fri May 15 15:03:00 1998 Joyce Janczyn <janczyn@cygnus.com> * Make-common.in (install-common): Rename and install libsim.a.Tue May 12 15:23:57 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-io.c (unistd.h): Include.Wed May 6 16:04:18 1998 Doug Evans <devans@seba.cygnus.com> * Make-common (sim_main_headers): Sort. (cgen-*.o): Add cgen-sim.h dependency. * cgen-scache.c (scache_init): Only allocate space if scache element size is non-zero. (scache_flush,scache_print_profile): Check if scache in use first. * cgen-sim.h (IDESC): Provide forward declaration. (DECODE): Delete. (CGEN_CPU): Always define scache member. New members idesc,opcode. (cgen_cpu_max_extra_bytes): Declare. * cgen-utils.c (cgen_cpu_max_extra_bytes): New function. * 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. * sim-model.c (set_model): Delete. (sim_model_set,model_set): New functions. (sim_model_install): Renamed from model_install. Don't set default model here. (model_option_handler): Rewrite --model processing. (sim_model_lookup,sim_mach_lookup): New functions. * sim-model.h (MAX_MODELS,MAX_INSNS): Delete. (insn_timing): Delete. (INSN_TIMING): New member `num'. (IMP_PROPERTIES): Always define scache_elm_size member. (MACH): New member init_cpu. (sim_machs): Renamed from machs. (sim_model_install): Renamed from model_install. (sim_model_set,sim_model_lookup,sim_mach_lookup): Declare. * sim-module.c (modules): Update. * sim-profile.c (profile_print_insn): Add cpu arg to INSN_NAME macro. * sim-io.c: #include <errno.h>.Wed May 6 12:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com> * dv-pal.c (struct hw_pal_device): Add reader. (hw_pal_finish): Initialize reader. (scan_hw_pal): Use reader. * hw-base.h, sim-hw.c (do_hw_poll_read): New function. (HW_IO_EOF, HW_IO_NOT_READY): Define. * dv-pal.c: Use. * sim-io.h, sim-io.c (sim_io_poll_read): New function. Copy from ../ppc/main.c sim_io_read_stdin.Fri May 1 12:11:02 1998 Andrew Cagney <cagney@b1.cygnus.com> * hw-tree.h (hw_tree_print): Paramaterize with print and file arguments. * hw-tree.c: Update. * hw-base.h (hw_port_event_callback): Delete CPU/CIA args. * hw-device.h (hw_io_read_buffer, hw_io_write_buffer): Delete CPU/CIA args. * hw-ports.h (hw_port_event): Ditto. * hw-ports.c (hw_port_event): Update. * hw-base.c (panic_hw_io_read_buffer, panic_hw_io_write_buffer): Update. * dv-pal.c (hw_pal_io_read_buffer, hw_pal_io_write_buffer): Update. (hw_pal_io_write_buffer): Call hw_halt not sim_engine_halt. (do_counter_event): Update. * dv-glue.c (hw_glue_io_read_buffer): Update. (hw_glue_port_event): Update. * hw-device.h (SIM_DESC): Replace with struct sim_state. * hw-base.h (hw_create): Ditto. * hw-base.c (hw_create): Ditto. * hw-device.c (hw_abort, hw_trace, hw_hw_event_queue_schedule, hw_event_queue_deschedule, hw_event_queue_time): Delete, moved from here to. * sim-hw.c: Here. * hw-device.h (hw_system_cpu): Declare. * sim-hw.c (hw_system_cpu): New function. * sim-core.c (sim_core_map_attach, sim_core_attach): Call sim_hw_abort not hw_abort. (sim-hw.h): Include. (sim_core_read_buffer, sim_core_write_buffer): Call sim_hw_io_read_buffer and sim_hw_io_write_buffer. Do not pass CPU argument. (sim_core_set_xor): Do not pass CPU when aborting. * sim-n-core.h (sim_core_read_aligned_N, sim_core_write_aligned_N): Call sim_hw_abort not hw_abort. (sim_core_read_aligned_N, sim_core_write_aligned_N): Call sim_cpu_hw_io_read_buffer and sim_cpu_hw_io_write_buffer. Does not return length. * sim-hw.h: Declare sim_hw_io_{read,write}_buffer. Declare sim_hw_print. * sim-hw.c (sim_hw_io_read_buffer, sim_hw_io_write_buffer, sim_cpu_hw_io_read_buffer, sim_cpu_hw_io_write_buffer): New functions. (sim_hw_print): New function. * sim-engine.h (sim_engine_vabort): Declare. * sim-engine.c (sim_engine_vabort): New function.Wed Apr 29 23:58:52 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-trace.c (print_data): For floating-point numbers trace raw hex value. (trace_result_fp2): New function. * sim-trace.h (trace_result_fp2): New declaration. (TRACE_FP_RESULT2): New macro.Tue Apr 28 18:28:58 1998 Geoffrey Noer <noer@cygnus.com> * 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: regenerateSat Apr 25 17:45:01 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-types.h (cell_word): New type. (natural_cell): Delete type.Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Sun Apr 26 15:25:07 1998 Tom Tromey <tromey@cygnus.com> * acconfig.h (NEED_DECLARATION_PRINTF): Removed.Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Fri Apr 24 11:38:08 1998 Tom Tromey <tromey@cygnus.com> * 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.Fri Apr 24 19:57:59 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-config.h: Discard leading _ from macros. * sim-types.h: Ditto.Wed Apr 22 14:14:19 1998 Michael Meissner <meissner@cygnus.com> * Make-common.in (CSEARCH): Add -I to intl directories. (INTL_LIB): Point to libintl.a. (LIBDEPS): Add $(INTL_LIB). (EXTRA_LIBS): Ditto.Tue Apr 21 12:44:27 1998 Doug Evans <devans@canuck.cygnus.com> * cgen-types.h (GETHIDI,MAKEDI): Tweak. * cgen-ops.h (ADDCFSI): Fix. (SUBCFSI): Tweak.Tue Apr 21 13:18:41 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-types.h (signed_address, unsigned_address): Define.Mon Apr 20 21:47:54 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-fpu.c (sim_fpu_2d): Don't return an SNaN, convert it into a QNaN.Thu Apr 16 10:30:14 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-fpu.c, sim-fpu.h (sim_fpu_fractionto, sim_fpu_tofraction): New functions, pack / unpack sim_fpu struct using raw values. (sim_fpu_is): Differentiate between negative and positive infinity.Tue Apr 14 18:49:31 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-bits.h (EXTEND4): Define. (EXTEND4, EXTEND15, EXTEND11): Ditto. Tue Apr 14 16:31:35 1998 John Metzler <jmetzler@cygnus.com> * sim-memopt.c (parse_addr): Sunos 4.5 does not have strtol declared so we need this cast to prevent long long addresses from being misconfigures. Results in access to unmapped memory.Tue Apr 14 13:19:14 1998 Doug Evans <devans@canuck.cygnus.com> * Make-common.in (RUNTESTFLAGS): Define. (check): Pass RUNTESTFLAGS to recursive make.Tue Apr 14 15:09:19 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-info.c (sim_info): Be verbose when either VERBOSE or STATE_VERBOSE_P.Sat Apr 4 23:24:17 1998 Andrew Cagney <cagney@b1.cygnus.com> * aclocal.m4 (sim-inline): By default, disable sim-inline when cross compiling.Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> * aclocal.m4 (sim-cflags): Add -fomit-frame-pointer to defaults. (sim-inline): Update to match sim-inline.[hc] * configure: Regenerated to track ../common/aclocal.m4 changes. * Make-common.in (sim_main_headers): Add sim-inline.h * sim-bits.h (sim-bits.c): Include when H_REVEALS_MODULE_P. selected. * sim-endian.h (sim-endian.c): Ditto. * sim-events.h (_SIM_EVENTS_H_): Replace with SIM_EVENTS_H. (sim_events_set_trace): Delete unused prototype. * sim-core.h (_SIM_CORE_H_): Replace with SIM_CORE_H. * sim-core.c (_SIM_CORE_C_): Ditto for SIM_CORE_C. * sim-fpu.h (sim-fpu.c): Include when H_REVEALS_MODULE_P. (sim_fpu_to232i, sim_fpu_to232u, sim_fpu_i232to, sim_fpu_u232to): Comment out, not yet implemented in sim-fpu.c. (sim_fpu_zero, sim_fpu_one, sim_fpu_two, sim_fpu_qnan, sim_fpu_max32, sim_fpu_max64): Mark as EXTERN_SIM_FPU. * sim-inline.h: Rewrite description. (H_REVEALS_MODULE_P, C_REVEALS_MODULE_P): Define. (SIM_MAIN_INLINE): Add inline option. * sim-inline.c (semantics.c, idecode.c, engine.c, ...): Do not include generated files. Handled by generator directly. Sat Apr 4 01:07:06 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-trace.c (set_trace_option_mask): Keep TRACE_ANY_P up-to-date. * sim-trace.h (TRACE_ANY_P): Define. (struct _trace_data): Add trace_any_p.Mon Mar 30 17:11:55 1998 Andrew Cagney <cagney@b1.cygnus.com> * run.c (main): Handle all alternatives of enum sim_stop. (main): Delete unused `asection *s'.Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> * hw-tree.h, hw-tree.c (hw_tree_vparse): New function * configure: Regenerated to track ../common/aclocal.m4 changes. * sim-hw.c: New file. * sim-hw.h (sim_hw_parse): Declare function. (hw-tree.h): Do not inclu
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -