Age | Commit message (Collapse) | Author | Files | Lines |
|
Add notes to hw-device.h that discuss the interpretation of SPACE:ADDR
on a BUS.
|
|
|
|
sim_dv_src in Makefile. Take list of devices as parameter to m4
macro..
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
|
|
|
* Make-common.in (dv-sockser.o): Add rule for.
* aclocal.m4: Check for fcntl.h.
* config.h: Add HAVE_FCNTL_H.
* sim-break.c (remove_breakpoint): Fix thinko.
* sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
|
|
define macro STATE_PROG_SYMS.
* sim-trace.c (trace_one_insn): Add variables abfd, symsize,
symbol_count, and asymbols. Call bfd_get_symtab_upper_bound
and bfd_canonicalize_symtab, to get symbol table on first use
and preserve it via STATE_PROG_SYMS for future calls to
bfd_find_nearest_line.
|
|
|
|
module.
|
|
(STATE_ENVIRONMENT): New macro.
* sim-config.c (current_environment): Delete.
(sim_config_default): New function.
(sim_config): Set STATE_ENVIRONMENT, not current_environment.
* sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
(sim_config_default): Add prototype.
* sim-module.c (sim_pre_argv_init): Call sim_config_default.
* sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
Set STATE_ENVIRONMENT, not current_environment.
|
|
* sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.
|
|
Use 0xa5 as initial value.
(sim_core_map_detach): Use free instead of zfree.
Back out this change.
|
|
* sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.
|
|
|
|
* Makefile.in (TAGS): Ditto.
|
|
|
|
|
|
Tweak switch() sanity check.
|
|
|
|
Use 0xa5 as initial value.
|
|
(sim_core_map_detach): Use free instead of zfree.
|
|
subset words are alone on the command line.
|
|
|
|
void; unused variable.
|
|
Clean up compile probs in mips/vr5400.
|
|
(sim_cpu_lookup): Add prototype.
* sim-module.c (sim_pre_argv_init): Provide default names for cpus.
* sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
(sim_add_option_table): Update prototype.
* sim-options.c (sim_add_option_table): New argument `cpu'.
(standard_option_handler,standard_install): Update.
(sim_parse_args): Handle cpu specific options.
(print_help): New static function.
(sim_print_help): Call it. Print cpu specific options.
(find_match): New static function.
(sim_args_command): Call it. Handle cpu specific options.
* sim-utils.c (sim_cpu_lookup): New function.
* sim-memopt.c (memory_option_handler): Update.
(sim_memopt_install): Update.
* sim-model.c (model_option_handler): Update.
(model_install): Update.
* sim-profile.c (profile_option_handler): Update.
(profile_install): Update.
* sim-trace.c (trace_option_handler): Update.
(trace_install): Update.
* sim-watch.c (watchpoint_option_handler): Update.
(sim_watchpoint_install): Update.
* cgen-scache.c (scache_option_handler): Update.
(scache_install): Update.
|
|
|
|
Add MAX/MIN floating point functions.
Add max32, min32 floating point contstants.
|
|
|
|
(engine_resume_full): Keep accurate core profile data.
* cgen-utils.c (sim_disassemble_insn): Don't use
sim_core_read_aligned_N, it messes up profiling results.
|
|
* sim-core.h (sim_core_map_to_str): Declare.
* sim-core.c (sim_core_map_to_str): Make non-static.
|
|
* sim-core.h (sim_core_map_to_str): Declare.
* sim-core.c (sim_core_map_to_str): Make non-static.
|
|
PROFILE_INSN_IDX.
(profile_print_pc): Exit early if data collection not set up.
|
|
|
|
|
|
|
|
* cgen-mem.h: Delete inclusion of sim-xcat.h.
* cgen-sim.h: Ditto.
* sim-alu.h: Replace sim-xcat.h with symcat.h.
* sim-n-bits.h: Ditto.
* sim-n-core.h: Ditto.
* sim-n-endian.h: Ditto.
|
|
|
|
|
|
(sim_fpu_fpto, sim_fpu_tofp): Define.
|
|
|
|
denorms.
|
|
|
|
ALU/... inputs/outputs.
Base implementation on original v850 code.
Update igen to generate code interfacing with newer sim-trace.[hc].
|
|
* aclocal.m4 (USE_MAINTAINER_MODE): New variable.
|
|
(SEMANTIC_FN): Rewrite declaration.
(DECODE): Update type of semantic_fast member.
({EX,SEM}_FN_NAME): Have only one version.
* cgen.sh: Support building cpu.c.
* sim-base.h (sim_state_base): Delete conditionals surrounding
member scache_size.
|
|
used.
|
|
(SEMANTIC{,_CACHE}_FN): Fix return type.
|
|
* cgen.sh (decode): Add s/@arch@/$arch/.
* genmloop.sh (@cpu@_engine_run): Delete `current_state'.
(engine_resume): Likewise. Make `engine' volatile. Save copy
of cpu pointer in volatile object. Initialize read switch if
-parallel.
|
|
(engine_resume): Likewise. Make `engine' volatile. Save copy
of cpu pointer in volatile object.
|
|
(SEM_INSN): New macro.
|