📄 changelog
字号:
(sim_engine_run): To this. Simplify - most moved to common. * sim-calls.c (sim_stop_reason, sim_resume, sim_stop): Delete. Replaced by common code. * engine.c (engine_error, engine_restart, engine_halt): Ditto. * sim-main.h (SIM_ENGINE_RESTART_HOOK, SIM_ENGINE_HALT_HOOK): Define as NOPs.Mon May 5 23:05:41 1997 Andrew Cagney <cagney@b1.cygnus.com> * alu.h (IMEM, MEM, STORE): Update to reflect changes to core in ../common. * sim-calls.c (sim_open): Ditto. * alu.h, cpu.h, cpu.c, d30v-insn, dc-short: Clean up copyright notice.Fri May 2 12:01:38 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-calls.c (sim-options.h, sim-utils.h): Include. * Makefile.in (sim-calls.o): Add dependencies. * d30v-insns (address_word): Remove cia argument from support functions, igen now does this automatically. * Makefile.in (tmp-igen): Include line number information in generated files. * sim-main.h (SIM_DESC): Remove sim_events and sim_core, moved to simulator base type sim_state_base. (sim-core.h, sim-events.h, sim-io.h): Replace with #include "sim-base.h". * sim-main.h (sim_state): Track recomendations in common directory. * cpu.h (sim_cpu): Ditto. * engine.c (do_2_short, do_parallel): Ditto. * cpu.h (GPR): Ditto. * alu.h (MEM, IMEM, STORE): Ditto. * cpu.c (is_wrong_slot): Ditto. * ic-d30v (Aa, Ab): Ditto.Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. * Makefile.in (SIM_OBJS): Add sim-module.o, sim-profile.o. * sim-calls.c (sim_open): Call sim_module_uninstall if argument parsing fails. Call sim_post_argv_init. (sim_close): Call sim_module_uninstall.Fri Apr 18 13:44:48 1997 Andrew Cagney <cagney@b1.cygnus.com> * sim-calls.c (sim_stop): New function.Thu Apr 17 02:57:55 1997 Doug Evans <dje@canuck.cygnus.com> * Makefile.in (SIM_OBJS): Add sim-load.o, sim-options.o, sim-trace.o. (SIM_EXTRA_{LIBS,LIBDEPS,ALL,INSTALL}): Delete. (SIM_RUN_OBJS): Change from run.o to nrun.o. * cpu.h (sim_cpu): New member base. Delete members trace, sd. (cpu_traces): Delete. * engine.c (engine_init): Set backlink from cpu to state. * sim-calls.c: #include bfd.h. (sim_open): Set STATE_OPEN_KIND. Call sim_pre_argv_init, sim_parse_args. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. (sim_create_inferior): Return SIM_RC. Delete arg start_address. (sim_trace): Delete. * sim-main.h (struct sim_state): sim_state_base is typedef now. (STATE_CPU): Define.Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. * config.in: Ditto.Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> * Makefile.in (SIM_EXTRA_DEPS): Define. (SIM_OBJS): Add sim-utils.o. (SIM_GEN): Delete tmp-common. (SIM_EXTRA_CLEAN): Delete clean-common. (BUILT_SRC_FROM_COMMON): Moved to ../common/Make-common.in. (tmp-common,clean-common): Delete. (ENGINE_H): sim-state.h renamed to sim-main.h. (clean-igen): Delete tmp-insns. * cpu.c: sim-state.h renamed to sim-main.h. * engine.c: Likewise. * sim-calls.c: Likewise. (zalloc,zfree): Moved to ../common/sim-utils.c. * sim-main.h: Renamed from sim-state.h. * sim-calls.c (sim_open): New arg `kind'. * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes.Wed Apr 2 11:13:15 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * Makefile.in (SIM_OBJS): Link in the recently added sim-config.o * engine.c (current_target_byte_order, current_host_byte_order, current_environment, current_alignment, current_floating_point, current_model_issue, current_stdio): Delete, moved to ../common/sim-config.cMon Mar 24 14:50:30 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns (do_ldw): Load 4 bytes not 2. (do_incr, LD*, ST*): Increment register not its value.Mon Mar 24 09:59:53 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * cpu.c (is_wrong_slot): Ditto. (is_condition_ok): Ditto. * sim-calls.c (sim_trace): Ditto. * engine.c (engine_init): Ditto. (do_2_short): Ditto. (engine_run_until_stop): Ditto. * d30v-insns (void): Update. For functions, remove `SIM_DESC sd' and `cpu *processor' arguments as igen now handles this. * cpu.h: Rename struct _cpu to struct _sim_cpu. Rename variable processor to cpu. * sim-state.h: Update.Fri Mar 21 12:52:12 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns (do_sat): Correct calculation of saturate lower bound. (do_sath): Ditto. (do_satzh, do_satz): Arguments should be signed. * sim-calls.c (zalloc): Use malloc() instead of xmalloc() for moment. (filter_filename): Drop. * cpu.h (is_wrong_slot): Correct declaration name - was is_valid_slot. * engine.c (do_parallel): Plicate GCC. (engine_error): Ditto. (engine_run_until_stop): Ditto. * cpu.c (is_wrong_slot): Ditto. (is_condition_ok): Ditto. * sim-calls.c (sim_size): Ditto. (sim_read): Ditto. (sim_trace): Ditto. * engine.h, engine.c (engine_create): Add missing prototype to header file. Clean up missing variables. * configure.in (unistd.h, string.h, strings.h): Configure in. * configure, config.in: Rebuild.Thu Mar 20 19:40:20 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns (void): Provide a second emul instruction using a branch prefix.Tue Mar 18 20:51:42 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insn (do_sat*): Pass all necessary args. Tue Mar 18 18:49:10 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns (SAT*): Issue warning when bit overflow. (EMUL): Exit with GPR[2] not 2.Tue Mar 18 14:24:09 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * sim-state.h: New file rename engine.h. (sim_state): Rename engine strut to sim_state, rename events and core members. * engine.c: Update. * cpu.h, cpu.c: Ditto. * alu.h: Ditto. * d30v-insns: Ditto. * sim-calls.c: Ditto. * Makefile.in (sim-*.c): Moved to ../common.Tue Mar 18 10:39:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns (do_mac): Adding wrong register. (do_macs): Ditto. (do_msub): Ditto. (do_msubs): Ditto. * ic-d30v: Put back definitions of RaH, RaL, et.al. (do_sra2h, do_srah): Use. (do_srl2h, do_srlh): Use. * d30v-insns (SAT, SAT2H, SATp, SATZ): Implement saturate.Tue Mar 18 03:01:25 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns: Specify wild insted of reserved bits. (void): Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * configure: Re-generate.Mon Mar 17 14:35:37 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * Makefile.in (SIM_EXTRA_CFLAGS), configure.in: Include SIM_* options. Allow RESERVED_BITS to be configured. * configure: Re-generate. * Makefile.in (sim-*.h): Drop, not needed. (sim-*.c): Make each explicit so that they automatically update.Sat Mar 15 02:34:30 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * ic-d30v (imm long): Incorrect calculation. * d30v-insns (EMUL): Finish exit, write-string emul-call. * sim-calls.c (sim_trace): Have sim-trace enable basic instruction tracing.Sat Mar 15 02:10:31 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * configure.in: Enable common options - endian, inline and warnings. * configure: Regenerate. Fri Mar 14 16:11:50 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * Makefile.in (cpu.o): Update dependencies. * cpu.c (is_condition_ok): Update PSW bit manipulations.Fri Mar 14 12:49:20 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * configure.in: Autoconfig m4 * configure: Regenerate. * Makefile.in: Use m4 to preprocess d30v-insns. * d30v-insn: Adjust.Thu Mar 13 12:44:54 1997 Doug Evans <dje@canuck.cygnus.com> * sim-calls.c (sim_open): New SIM_DESC result. Argument is now in argv form. (other sim_*): New SIM_DESC argument.Wed Mar 12 19:05:45 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * sim-calls.c (sim_open): Create all the d30v RAM blocks. * engine.c (engine_run_until_stop): Handle delayed subroutine call. * d30v-insn: Ditto. * ic-d30v: For Rb and Rc always return the value and not the equation. * d30v-insn: Use. * ic-d30v (val_Ra): Returns 0 or RA. * d30v-insn: Use. * d30v-insn (make_even_reg, get_even_reg): New functions. Force the register index to be even, issusing a warning if it was not. (LD*, ST*): Use. Wed Mar 12 14:57:26 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns (do_trap): Implement TRAP instruction. * alu.h (PSW_F, PSW_FLAG_VAL, PSW_FLAG_SET): New macro, map flag onto PSW bit. * ic-d30v: Drop F* expressions. * d30v-insn: Use more explicit PSW_FLAG_ ops. * cpu.h (PSW_*): Redo PSW bit values. * alu.h (ALU*_END): Update. Fix setting of overflow - logic was backwards. * d30v-insn (MVFSYS, MVTSYS): Implement. * cpu.h (PSWH, PSWL): New macros for high, low word of PSW. Wed Mar 12 14:12:11 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * cpu.h (RPT_IS_CALL): New macro for processor field is_delayed_call. That in turn used as a flag to indicate if a delayed branch or delayed call is to occure. * d30v-insns (do_dbra): Set/clear RPT_IS_CALL; (do_dbrai): Ditto. (do_dbsr): Ditto. (do_dbsr): Ditto. (do_djmp): Ditto. (do_djmpi): Dotto. (do_djsr): Ditto. (do_djsri): Ditto. (void): * d30v-insn (do_incr): Finish - handle modulo registers. * d30v-insns (CMPU): Include all possible compare operations. Issue a warning where op defined by the processor spec. Wed Mar 12 13:55:55 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns: Add a new instruction class _EMUL and a new instruction EMUL that emulates a few basic IO operations. * Makefile.in (tmp-igen): Filter in emul instructions.Fri Mar 7 20:32:13 1997 Andrew Cagney <cagney@kremvax.cygnus.com> * d30v-insns (void): Fill in the gaps.Wed Feb 26 09:31:10 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au> * Makefile.in (tmp-igen): Include ic-d30v in dependencies. * ic-d30v (cache): Update to use H_word, L_word added to sim-endian.h.Tue Feb 25 15:26:51 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au> * Makefile.in (tmp-igen): Correctly run $(MAKE).Thu Feb 20 20:30:31 1997 Andrew Cagney <cagney@critters.cygnus.com> * Makefile.in (FROM_IGEN, FROM_COMMON): Make the igen generated files dependant on tmp-igen. Define ENGINE_H. Sun Feb 16 16:42:48 1997 Andrew Cagney <cagney@critters.cygnus.com> * configure.in: New file - follow Doug Evans instructions. * Makefile.in: Ditto.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -