Re-do --enable-sim-hardware so that each simulator can specify the devices
[deliverable/binutils-gdb.git] / sim / tic80 / ChangeLog
index c955fdcc7cad0f451891c7c999981a62fddb35b6..d99cad7ae694c0874b7af79469b3e0f875fa488f 100644 (file)
@@ -1,3 +1,373 @@
+Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Mar 11 14:12:56 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * alu.h (IMEM32_IMMED, IMEM32, STORE, MEM): Replace sim_core_*_map
+       with read_map, write_map, exec_map resp.
+
+Thu Feb 26 19:08:37 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_info): Delete.
+
+Tue Feb 17 14:35:05 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * misc.c (tic80_trace_cond_br): Take size/code arguments, and
+       decode bcond conditions and bbo/bbz comparison bits.
+
+       * cpu.h (tic80_trace_cond_br): Update prototype.
+       (TRACE_COND_PR): Take size/code additional arguments.
+
+       * insns: (bbo/bbz/bcnd): Update call to TRACE_COND_PR.
+
+Tue Feb 17 12:50:27 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_store_register, sim_fetch_register): Pass in
+       length parameter.  Return -1.
+
+Fri Feb 13 17:11:22 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * insns ({get,set}_fp_reg): Tic80 floating point is little endian,
+       not big endian.
+
+       * misc.c (tic80_trace_fpu*): Pass address of sim_fpu structure,
+       not the structure itself.  Use %g consistantly to print floating
+       point.
+
+       * cpu.h: (tic80_trace_fpu*): Update prototypes.
+
+Tue Feb  3 16:25:47 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * alu.h (IMEM32, IMEM32_IMMED): Rename IMEM and IMEM_IMMED so that
+       in sync with recent igen change.
+
+Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Jan 30 11:47:50 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * cpu.h (CPU_CIA): Delete macro, replace with...
+       (CIA_SET, CIA_GET): Define.
+
+Wed Jan 28 18:44:33 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * misc.c (tic80_trace_cmp_internal): New function to return
+       compare bits as a string.
+       (tic80_trace_{,fpu2}cmp): New functions for tracing cmp and fcmp.
+
+       * cpu.h (tic80_trace_{,fpu2}cmp): Add declaration.
+       (TRACE_{,FPU2}CMP): New macros for tracing compares.
+
+       * insns (do_{,f}cmp): Use compare specific tracing functions to
+       print out the flag bits.
+
+Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Nov 24 14:57:58 1997  Doug Evans  <devans@seba.cygnus.com>
+
+       * cpu.h (TRACE_COND_BR): Use TRACE_BRANCH_P, not TRACE_ALU_P.
+
+Sat Nov 22 21:42:09 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (engine_step): Replace SIGTRAP with SIM_SIGTRAP.
+       (engine_run_until_stop): Replace SIGINT with SIM_SIGINT.
+
+       * sim-main.h: Include sim-signal.h.
+       (SIGTRAP): Delete definition.
+
+       * interp.c, sim-calls.c: Do not include signal.h.
+
+       * insns (illegal): SIGILL -> SIM_SIGILL.
+       (fp_unavailable): SIGFPE -> SIM_SIGFPE.
+       (do_trap): SIGTRAP -> SIM_SIGTRAP.
+       
+Tue Nov 18 15:33:48 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * sim-main.h (CIA_ADDR): Define.
+
+       * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
+
+Fri Oct 17 17:26:36 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * alu.h (ALU32_END): Use ALU32_RESULT.
+
+Mon Sep 29 12:49:06 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * insns (get_fp_reg, set_fp_reg): Update to use changed sim_fpu
+       interface.
+       (do_fadd, do_fcmp, do_fdiv, do_fmpy, do_frnd, do_fsub): Ditto.
+
+       * misc.c (tic80_trace_fpu3, tic80_trace_fpu2, tic80_trace_fpu1,
+       tic80_trace_fpu2i) Update to use changed sim_fpu interface.
+       
+Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (SIM_AC_OPTIONS_BITSIZE): Define.
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 23 10:19:51 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
+       SIM_HOSTENDIAN, SIM_INLINE, SIM_RESERVED_BITS): Delete, moved to
+       common.
+       (SIM_EXTRA_CFLAGS): Update.
+       
+Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Tue Sep 16 23:10:03 1997  Felix Lee  <flee@cygnus.com>
+
+       * sim-main.h (kill): macro was missing args.
+       (SIGTRAP): define for MSVC.
+
+Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Mon Sep  8 20:10:43 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * cpu.h (CPU_CIA): Define.
+
+       * sim-main.h (struct sim_state): Delete halt_ok, path_to_halt,
+       restart_ok, path_to_restart members.
+       (struct sim_state): Delete reason, siggnal members.
+       
+Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Thu Sep  4 17:45:14 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_open): Add memory before parsing arguments.
+       (sim_read): Delete, replace with sim-hrw.
+       (sim_write): Delete, replace with sim-hrw.
+
+Thu Sep  4 10:48:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_open): Use sim_do_command to add memory, only
+       add memory if none already present.
+       (sim_open): Move init of registers from here.
+       (sim_create_inferior): To here. Init modules.
+
+       * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
+
+       * sim-calls.c (sim_open): Add zero modulo arg to sim_core_attach.
+
+Mon Sep  1 11:06:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_open): Use sim_state_alloc
+       (simulation): Delete.
+
+Sat Aug 30 09:40:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * insns (do_trap): Unsigned `i' for unsigned iterator.
+       (do_trap): Ditto for comparison with getpid.
+
+Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Wed Aug 27 13:41:24 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * insns (do_st): Use U8_4 instead of V4_L8.
+
+       * sim-calls.c (sim_open): Add call to sim_analyze_program, update
+       call to sim_config.
+
+       * sim-calls.c (sim_kill): Delete.
+       (sim_create_inferior): Add ABFD argument.  Initialize PC from ABFD
+       and not SD.
+       (sim_load): Delete, use sim-hload.c.
+
+       * Makefile.in (SIM_OBJS): Add sim-hload.o module.
+
+Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure: Regenerated to track ../common/aclocal.m4 changes.
+       * config.in: Ditto.
+
+Mon Aug 25 16:33:29 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_open): Add ABFD argument.
+       (sim_open): Move sim_config call to just after argument
+       parsing. Check return status.
+
+Fri Aug  8 21:52:27 1997  Mark Alexander  <marka@cygnus.com>
+
+       * sim-calls.c (sim_store_register): Allow accumulators
+       other than A0 to be modified.  Correct error message.
+
+Thu May 29 14:02:40 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * misc.c (tic80_trace_fpu3, tic80_trace_fpu2, tic80_trace_fpu1,
+       tic80_trace_fpu2i): Pass in function prefix.
+       (tic80_trace_ldst): Rewrite so it calls print_one_insn directly.
+       
+       * Makefile.in (SIM_OBJS): Include sim-watch.o module.
+
+       * sim-main.h (WITH_WATCHPOINTS): Enable watchpoints.
+
+       * ic (bitnum): Compute bitnum from BITNUM.
+       * insn (bbo, bbz): Use.
+       
+       * insn: Convert long immediate instructions to igen long immediate
+       form.
+       * insn: Add disasembler information.
+       
+Thu May 29 12:09:13 1997  Andrew Cagney  <cagney@b2.cygnus.com>
+
+       * alu.h (IMEM_IMMED): New macro, fetch 32bit immediate operand N.
+
+       * insns (subu i): Immediate is signed not unsigned.
+
+Tue May 27 13:22:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_read): Pass NULL cpu to sim_core_read_buffer.
+       (sim_write): Ditto for write.
+
+Tue May 20 09:33:31 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_load): Set STATE_LOADED_P.
+
+       * sim-main.h: Include <unistd.h>.
+
+       * sim-calls.c (sim_set_callback): Delete.
+       (sim_open): Add/install callback argument.
+       (sim_size): Delete.
+       
+Mon May 19 18:59:33 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * configure.in: Check for getpid, kill functions.
+       * config{.in,ure}: Regenerate.
+
+       * insns (do_trap): Add support for kill, getpid system calls.
+
+       * sim-main.h (errno.h): Include.
+       (getpid,kill): Define as NOPs if the host doesn't have them.
+
+Mon May 19 14:58:47 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * sim-calls.c (sim_open): Set the simulator base magic number.
+       (sim_load): Delete prototype of sim_load_file.
+       (sim_open): Define sd to be &simulation.
+
+Fri May 16 14:35:30 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * insns (illegal, fp_unavailable): Halt instead of abort the
+       simulator.
+
+       * insns: Replace calls to engine_error with sim_engine_abort.
+       Ditto for engine_halt V sim_engine_halt.
+       
+Tue May 13 15:24:12 1997  Andrew Cagney  <cagney@b2.cygnus.com>
+
+       * interp.c (engine_run_until_stop): Delete. Moved to common.
+       (engine_step): Ditto.
+       (engine_step): Ditto.
+       (engine_halt): Ditto.
+       (engine_restart): Ditto.
+       (engine_halt): Ditto.
+       (engine_error): Ditto.
+
+       * sim-calls.c (sim_stop): Delete. Moved to common.
+       (sim_stop_reason): Ditto.
+       (sim_resume): Ditto.
+
+       * Makefile.in (SIM_OBJS): Link in generic sim-engine, sim-run,
+       sim-resume, sim-reason, sim-stop modules.
+
+Fri May 16 11:57:49 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ic (compute): Drop check for REG == 0, now always forced to
+       zero.
+
+       * cpu.h (GPR_SET): New macro update the gpr.
+       * insns (do_add): Use GPR_SET to update the GPR register.
+
+       * sim-calls.c (sim_fetch_register): Pretend that r0 is zero.
+
+       * Makefile.in (tmp-igen): Specify zero-r0 so that every
+       instruction clears r0.
+
+       * interp.c (engine_run_until_stop): Igen now generates code to
+       clear r0.
+       (engine_step): Ditto.
+
+Thu May 15 11:45:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * insns (do_shift): When rot==0 and zero/sign merge treat it as
+       32.
+       (set_fp_reg): For interger conversion, use sim-fpu fpu2i
+       functions.
+       (do_fmpy): Perform iii and uuu using integer arithmetic.
+       
+       * Makefile.in (ENGINE_H): Assume everything depends on the fpu.
+
+       * insns (get_fp_reg): Use sim_fpu_u32to to perform unsigned
+       conversion.
+       (do_fcmp): Update to use new fp compare functions. Make reg nr arg
+       instead of reg.  Stops fp overflow.
+       (get_fp_reg): Assume val is valid when reg == 0.
+       (set_fp_reg): Fix double conversion.
+
+       * misc.c (tic80_trace_fpu1): New function, trace simple fp op.
+       
+       * insns (do_frnd): Add tracing.
+
+       * cpu.h (TRACE_FPU1): Ditto.
+
+       * insns (do_trap): Printf formatting.
+
+Wed May 14 18:05:50 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * misc.c (tic80_trace_fpu{3,2,2i}): Align columns with other
+       insns.  Use %g to print floating point instead of %f in case the
+       numbers are real large.
+
+Tue May 13 18:00:10 1997  Mike Meissner  <meissner@cygnus.com>
+
+       * insns (do_trap): For system calls that are defined, but not
+       provided return EINVAL. Temporarily add traps 74-79 to just print
+       the register state.
+
+       * interp.c (engine_{run_until_stop,step}): Before executing
+       instructions, make sure r0 == 0.
+
 Tue May 13 16:39:37 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * alu.h (IMEM): Take full cia not just IP as argument.
This page took 0.032286 seconds and 4 git commands to generate.