📄 changelog
字号:
* cgen-par.h (sim_queue_fn_pc_write): New function. (CGEN_FN_PC_WRITE): New enumerator. (fn_pc_write): New union member. * cgen-par.c (sim_queue_fn_pc_write): New function. (cgen_write_queue_element_execute): Handle CGEN_FN_PC_WRITE.1999-10-18 Dave Brolley <brolley@cygnus.com> * cgen-par.h (CGEN_MEM_DI_WRITE): New enumerator. (CGEN_MEM_DF_WRITE): New enumerator. (mem_di_write): New union member. (mem_df_write): New union member. * cgen-par.c (sim_queue_mem_di_write): New function. (sim_queue_mem_df_write): New function. (cgen_write_queue_element_execute): Handle CGEN_MEM_DI_WRITE and CGEN_MEM_DF_WRITE. * cgen-accfp.c (divsf): Check for division errors.1999-10-14 Doug Evans <devans@casey.cygnus.com> * cgen-engine.h (EXTRACT_INT,EXTRACT_UINT): Delete.1999-10-07 Dave Brolley <brolley@cygnus.com> * cgen-par.h (CGEN_FN_HI_WRITE): New enumerator. (fn_hi_write): New union member. (sim_queue_fn_hi_write): New function. * cgen-par.c (sim_queue_fn_hi_write): New function. (cgen_write_queue_element_execute): Handle CGEN_FN_HI_WRITE.1999-09-29 Doug Evans <devans@casey.cygnus.com> * cgen-defs.h (sim_engine_invalid_insn): New arg `vpc'. Change type of result to SEM_PC.Wed Sep 29 14:43:57 1999 Dave Brolley <brolley@cygnus.com> * cgen-defs.h (sim_engine_invalid_insn): Now returns PC.1999-09-25 Doug Evans <devans@casey.cygnus.com> * cgen-ops.h (SUBWORD*): Delete cpu arg. (JOIN*): Delete cpu arg.Tue Sep 21 17:14:16 1999 Dave Brolley <brolley@cygnus.com> * genmloop.sh (@cpu@_scache_lookup): No longer takes last_insn_p parameter. (SET_LAST_INSN_P): Set last_insn_p flag in the scache element.Mon Sep 20 21:44:06 1999 Geoffrey Keating <geoffk@cygnus.com> * sim-fpu.c (i2fpu): Keep the guard bits sticky when converting large values.Tue Feb 8 16:33:48 2000 Andrew Cagney <cagney@b1.cygnus.com> * run.c (main): Check the sim_stop_reason and only halt simulation when a valid stop condition is identified.Wed Sep 15 14:12:37 1999 Andrew Cagney <cagney@b1.cygnus.com> * hw-tree.c, hw-properties.c, hw-instances.c: Include "sim-io.h".Tue Sep 14 14:15:47 1999 Dave Brolley <brolley@cygnus.com> * cgen-par.h (CGEN_BI_WRITE): New enumerator. (bi_write): New union element. (sim_queue_bi_write): New function. * cgen-par.c (sim_queue_bi_write): New function. (cgen_write_queue_element_execute): Handle CGEN_BI_WRITE.Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> * configure: Regenerated to track ../common/aclocal.m4 changes. * aclocal.m4 (WERROR_CFLAGS, WARN_CFLAGS): Merge from ../gdb/configure.in. * Make-common.in (WERROR_CFLAGS, WARN_CFLAGS): Define. (SIM_WERROR_CFLAGS, SIM_WARN_CFLAGS): Define. (SIM_WARNINGS): Delete (CONFIG_CFLAGS): Update.Tue Aug 31 16:01:42 1999 Dave Brolley <brolley@cygnus.com> * cgen-par.c: New file. * cgen-par.h: New file. * cgen-sim.h (cgen-par.h): #include it. * cgen-cpu.h (write_queue): New field. (CPU_WRITE_QUEUE): New access macro. * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-par.h. (cgen-par.o): New target.1999-08-28 Doug Evans <devans@casey.cygnus.com> * cgen-types.h (mode_type,MODE_VOID): Renamed from MODE_VM. * cgen-utils.c (mode_names): Update.1999-08-20 Doug Evans <devans@casey.cygnus.com> * genmloop.sh: New args -parallel-generic-write, -parallel-only. * cgen-engine.h (SEMANTIC_FN): Don't use version with PAREXEC buffer arg if WITH_PARALLEL_GENWRITE. (struct insn_sem): Handle WITH_PARALLEL_GENWRITE. (struct idesc): Ditto.Wed Aug 18 18:17:28 1999 Doug Evans <devans@canuck.cygnus.com> * sim-model.c (model_option_handler): Add \n to error message.1999-08-08 Doug Evans <devans@casey.cygnus.com> * cgen-engine.h (SEM_FN_NAME,SEMF_FN_NAME): Delete. (insn_sem): Rewrite. (sem_fn_desc): New struct. (idesc): Rewrite. * genmloop.sh (scache case,@cpu@_scache_lookup): Profile scache hit, misses if ! FAST_P. (scache case): Split into non-parallel/parallel versions. (@cpu@_engine_run_{full,fast}): Call @cpu@_{sem,semf}_init_idesc_table if not use semantic switch version.1999-08-04 Doug Evans <devans@casey.cygnus.com> * cgen-defs.h (SEM_BRANCH_TYPE): New enum. * cgen-engine.h (SEM_BRANCH_UNTAKEN,SEM_BRANCH_UNCACHEABLE): Delete. (SEM_BRANCH_INIT_EXTRACT): Delete. (SEM_BRANCH_INIT): Replace npc_ptr with br_type. (SEM_BRANCH_FINI): Ditto. (SEM_BRANCH_VIA_ADDR): Ditto. (SEM_BRANCH_VIA_CACHE): Ditto. Delete cachvarptr arg. (SEM_BRANCH_ADDR_CACHE): Delete. (SEM_SKIP_COMPILE,SEM_SKIP_INSN): New macros. * cgen-scache.h (cpu_scache): Replace member pbb_pr_npc_ptr with pbb_br_type. * genmloop.sh (eng.hin): Update prototype of ${cpu}_pbb_cti_chain. (@cpu@_pbb_begin): Initialize branch_target. (@cpu@_pbb_cti_chain): Replace arg new_vpc_ptr with br_type. (@cpu@_engine_run_full): Replace local pbb_br_npc_ptr with pbb_br_type. (@cpu@_engine_run_fast): Ditto.Fri Jul 16 14:47:53 1999 Dave Brolley <brolley@cygnus.com> * cgen-utils.c (RORSI): New function. (ROLSI): New function.1999-07-14 Doug Evans <devans@casey.cygnus.com> * Makefile.in (TAGS): Tweak TAGS regex. * cgen-mem.h (*): Add TAGS markers.Sun Jul 11 23:47:20 1999 Andrew Cagney <cagney@b1.cygnus.com> * sim-resume.c (sim_resume): Ensure that the siggnal [sic] is only passed in when sim_resume is first entered - don't re-pass it after a restart. Sun Jul 11 23:34:44 1999 Andrew Cagney <cagney@b1.cygnus.com> * sim-options.c (standard_option_handler): Add OPTION_LOAD_VMA and OPTION_LOAD_LMA but only when is defined. (standard_options): When SIM_HANDLES_LMA is defined include options --load-lma and --load-vma. (standard_install): Initialize STATE_LOAD_AT_LMA_P. * sim-base.h (STATE_LOAD_AT_LMA_P): Define. (struct sim_state_base): Add load_at_lma_p. * sim-hload.c (sim_load): Replace SIM_HANDLES_LMA with STATE_LOAD_AT_LMA_P.Sun Jul 11 12:03:36 1999 Andrew Cagney <cagney@b1.cygnus.com> * nrun.c (main): Re-format loop gnu style.Wed Jul 7 19:56:03 1999 Andrew Cagney <cagney@b1.cygnus.com> * dv-sockser.c (connected_p): Initialize addrlen.1999-07-06 Dave Brolley <brolley@cygnus.com> * cgen-accfp.c (floatsidf): New function. (fixdfsi): New function.1999-07-06 Doug Evans <devans@casey.cygnus.com> * sim-model.c (sim_model_init): Issue error if machine is unsupported.1999-07-05 Doug Evans <devans@casey.cygnus.com> * Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-fpu.h. (cgen-fpu.o,cgen-accfp.o): Add rules for. * cgen-fpu.c: New file. * cgen-fpu.h: New file. * cgen-accfp.c: New file. * cgen-cpu.h (CGEN_CPU): New member fpu. * cgen-mem.h: Redo fp support. * cgen-ops.h: Delete k&r support. Redo fp support. * cgen-sim.h: Include cgen-fpu.h. * cgen-types.h (SF,DF,XF,TF): Moved to cgen-fpu.h.1999-06-23 Doug Evans <devans@casey.cygnus.com> * cgen-engine.h (TARGET_SEM_BRANCH_FINI): Remove cruft at end of ifndef. * genmloop.sh (@cpu@_scache_lookup): Delete unused local var. (@cpu@_pbb_cti_chain): Minor clean up.1999-05-08 Felix Lee <flee@cygnus.com> * aclocal.m4: Use AC_EXEEXT instead of AM_EXEEXT. Delete defn of AM_CYGWIN32 and AM_EXEEXT. * configure: Regenerate. Fri Apr 16 16:43:22 1999 Doug Evans <devans@charmed.cygnus.com> * sim-core.c (device_error,device_io_read_buffer, device_io_write_buffer): Delete decls. * sim-core.h: Put them here. * sim-core.c (sim_core_read_buffer): Pass sd to device_io_read_buffer. (sim_core_write_buffer): Pass sd to device_io_write_buffer. * sim-n-core.h (sim_core_read_aligned_N): Ditto. (sim_core_write_aligned_N): Ditto.1999-04-14 Stephane Carrez <stcarrez@worldnet.fr> * sim-memopt.c (sim_memory_uninstall): Don't look into free()d memory.1999-04-14 Doug Evans <devans@casey.cygnus.com> * cgen-utils.scm (virtual_insn_entries): Update attribute definition.1999-04-13 Doug Evans <devans@casey.cygnus.com> * sim-core.c (sim_core_read_buffer): Handle NULL cpu when WITH_DEVICES. (sim_core_write_buffer): Ditto.1999-04-02 Keith Seitz <keiths@cygnus.com> * sim-io.c (sim_io_poll_quit): Only call the poll_quit callback after the interval counter has expired. (POLL_QUIT_INTERVAL): Define. Used to tweak the frequency of poll_quit callbacks. May be overridden by Makefile. (poll_quit_counter): New global. * sim-events.c: Remove all mentions of ui_loop_hook. The host callback "poll_quit" will serve the purpose. * run.c: Add definition of ui_loop_hook when NEED_UI_LOOP_HOOK is defined. * nrun.c: Remove declaration of ui_loop_hook.Wed Mar 31 18:55:41 1999 Doug Evans <devans@canuck.cygnus.com> * cgen-run.c (sim_resume): Don't tell main loop to run "forever" if being used by gdb.1999-03-22 Doug Evans <devans@casey.cygnus.com> * cgen-types.h (XF,TF): Tweak. * cgen-ops.h: Redo inline support. Delete DI_FN_SUPPORT, in cgen-types.h. (SUBWORD*,JOIN*): Define. * cgen-trace.c (sim_cgen_disassemble_insn): Update, base_insn_bitsize moved into cpu descriptor. * sim-model.h (MACH): New member `num'.1999-02-09 Doug Evans <devans@casey.cygnus.com> * cgen-cpu.h (CGEN_DISASSEMBLER): New type. (CGEN_CPU): Member opcode renamed to cpu_desc. New members get_idata,disassembler. * cgen-defs.h (CGEN_INSN_VIRTUAL_P): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE. (CGEN_STATE): Delete member opcode_table. (sim_disassemble_insn): Delete decl. * cgen-engine.h (struct insn_sem): Moved to here from <cpu>-decode.c. (struct idesc): Moved to here from <cpu>-decode.h. * cgen-run.c (prime_cpu): Call prepare_run callback. * cgen-trace.h (SFILE): New type. (sim_disasm_sprintf): Declare. (sim_disasm_read_memory,sim_disasm_perror_memory): Declare. (sim_cgen_disassemble_insn): Declare. * cgen-trace.c: Include errno.h,dis-asm.h. Don't include cpu-opc.h. (insn_fields): Delete. (trace_insn_fini): STATE_OPCODE_TABLE (sd) replaced with CPU_CPU_DESC (cpu). (trace_insn): Call CPU_DISASSEMBLER hook. (sim_disasm_sprintf): New function. (sim_disasm_read_memory): New function. (sim_disasm_perror_memory): New function. (sim_cgen_disassemble_insn): New function. * cgen-utils.c: Don't include cpu-opc.h. (virtual_insn_entries): New static local. (cgen_virtual_insn_table): Renamed from cgen_virtual_opcode_table. (cgen_insn_name): Rewrite. (disasm_sprintf,sim_disassemble_insn): Moved to cgen-trace.c. * cgen.sh (desc): New file generator handler. * genmloop.sh: -parallel changed to -parallel-read/-parallel-write. Define WITH_PARALLEL_READ/WITH_PARALLEL_WRITE appropriately. Don't include cpu-opc.h,cpu-sim.h. * sim-model.c (model_set): Delete SIM_DESC arg. (sim_model_set): Update. * sim-model.h (MACH): New member prepare_run.1999-01-28 Frank Ch. Eigler <fche@cygnus.com> * sim-memopt.c (memory_option_handler): Avoid memset() calls if redundant with allocator functions.Wed Jan 27 17:19:09 1999 Doug Evans <devans@canuck.cygnus.com> * cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix. * sim-profile.h: Make like sim-trace.h. (PROFILE_USEFUL_MASK): New macro. * sim-profile.c (profile_options): Make like trace_options, allow optional on|off arg where applicable. (set_profile_option_mask): New function. (sim_profile_set_option): New function. (profile_option_handler): Simplify. Have -p only enable selected things, not everything. Add missing break to OPTION_PROFILE_PC_RANGE. * cgen-scache.c (scache_options): Allow optional on|off arg to --profile-scache. (scache_option_handler): Use sim_profile_set_option.1999-01-26 Frank Ch. Eigler <fche@cygnus.com> * sim-memopt.c (memory_options): Add MEMORY_FILL option. (memory_option_handler): Implement MEMORY_FILL option. Make MEMORY_CLEAR an alias for MEMORY_FILL=0. (parse_ulong_value): New function. (do_memopt_add): Allocate all buffers. Optionally fill them.1999-01-15 Richard Henderson <rth@cygnus.com> * hw-events.c (hw_event_queue_schedule): _vtracef takes a va_list, not an integer. * sim-events.c (sim_events_schedule): Likewise. * sim-types.h (UNSIGNED32, UNSIGNED64): Properly cast to the appropriate type.1999-01-14 Doug Evans <devans@casey.cygnus.com> * cgen-defs.h (PCADDR,CIA): Define in terms of IADDR. (sim_disassemble_insn): Update prototype. (sim_engine_invalid_insn): Ditto. * cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version. (SEM_BRANCH_INIT): PCADDR->IADDR. (SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case. * cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR. * cgen-scache.h (*): Ditto. * cgen-trace.c (*): Ditto. * cgen-trace.h (*): Ditto. * cgen-utils.c (*): Ditto. * cgen-types.h (integer modes): Use signedNN/unsignedNN types. (insn_t): Delete. * genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support. (simple engine framework): Rewrite. * sim-module.c (modules): Install model module sooner (and in particular before the profile module).1999-01-12 Doug Evans <devans@casey.cygnus.com> * sim-model.h (sim_mach_lookup_bfd_name): Add prototype. * sim-model.c (sim_mach_lookup_bfd_name): New function. (sim_model_init): Call it. * cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.1999-01-05 Doug Evans <devans@casey.cygnus.com> * Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h. * cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated. (SEM_BRANCH_INIT_EXTRACT): New macro. (SEM_BRANCH_INIT): Add taken_p. (TARGET_SEM_BRANCH_FINI): Provide default definition. (SEM_BRANCH_FINI): Use it. (SEM_INSN): Update. * cgen-run.c (sim_resume): Handle tracing of last insn.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -