+2008-07-11 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure: Regenerate to track ../common/common.m4 changes.
+ * config.in: Ditto.
+
+2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
+ Daniel Jacobowitz <dan@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * configure: Regenerate.
+
+2006-12-21 Hans-Peter Nilsson <hp@axis.com>
+
+ * acconfig.h: Remove.
+ * config.in: Regenerate.
+
+2006-06-13 Richard Earnshaw <rearnsha@arm.com>
+
+ * configure: Regenerated.
+
+2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure: Regenerated.
+
+2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure: Regenerated.
+
+2005-03-23 Mark Kettenis <kettenis@gnu.org>
+
+ * configure: Regenerate.
+
+2005-01-14 Andrew Cagney <cagney@gnu.org>
+
+ * configure.ac: Sinclude aclocal.m4 before common.m4. Add
+ explicit call to AC_CONFIG_HEADER.
+ * configure: Regenerate.
+
+2005-01-12 Andrew Cagney <cagney@gnu.org>
+
+ * configure.ac: Update to use ../common/common.m4.
+ * configure: Re-generate.
+
+2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2005-01-07 Andrew Cagney <cagney@gnu.org>
+
+ * configure.ac: Rename configure.in, require autoconf 2.59.
+ * configure: Re-generate.
+
+2004-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ Committed by Kei Sakamoto.
+ * traps-linux.c (m32r_trap): Add entries of the following dummy system
+ calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32,
+ __NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32,
+ __NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32,
+ __NR_getresgid32 and __NR_chown32.
+ * syscall.h: Add new definitions of system call number.
+
+2004-12-08 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure: Regenerate for ../common/aclocal.m4 update.
+
+2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ Committed by Andrew Cagney.
+ * traps-linux.c: Don't include linux/module.h.
+ (m32r_trap): Remove dummy systemcall's entry of __NR_ustat and
+ __NR_get_kernel_syms.
+
+2004-05-18 Daniel Jacobowitz <dan@debian.org>
+
+ * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.
+
+2004-02-04 Andrew Cagney <cagney@redhat.com>
+
+ Committed by Andrew Cagney.
+ * mloopx.in: Update copyright.
+ (xextract-pbb): Fixed trap for system calls operation in parallel.
+ * mloop2.in (xextract-pbb): Ditto.
+
+2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * configure.in: Changed for dummy simulator of m32r-linux.
+ * configure: Regenerate.
+ * Makefile.in: Added traps-linux.o for dummy simulator of m32r-linux.
+ * traps-linux.c: Added for dummy simulator of m32r-linux.
+ * syscall.h: Ditto.
+ * sim-if.c (sim_create_inferior): Changed to setup SP for dummy
+ simulator for m32r-linux.
+ * sim-main.h (M32R_DEFAULT_MEM_SIZE): Changed for dummy simulator of
+ m32r-linux.
+
+2003-12-11 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * Makefile.in: Add support for new machine m32r2.
+ * cpu2.c: New file for m32r2 support.
+ * cpu2.h: Likewise.
+ * decode2.c: Likewise.
+ * decode2.h: Likewise.
+ * m32r2.c: Likewise.
+ * mloop2.in: Likewise.
+ * model2.c: Likewise.
+ * sem2-switch.c: Likewise.
+ * arch.c: Regenerate.
+ * arch.h: Regenerate.
+ * cpu.c: Regenerate.
+ * arch.c: Regenerate.
+ * cpuall.c: Regenerate.
+ * cpux.c: Regenerate.
+ * cpux.h: Regenerate.
+ * decode.c: Regenerate.
+ * decode.h: Regenerate.
+ * decodex.c: Regenerate.
+ * decodex.h: Regenerate.
+ * model.c: Regenerate.
+ * modelx.c: Regenerate.
+ * sem-switch.c: Regenerate.
+ * sem.c: Regenerate.
+ * semx-switch.c: Regenerate.
+ * m32r-sim.h: Add EVB register support.
+ * sim-if.c: Likewise.
+ * sim-main.h: Likewise.
+ * traps.c: Likewise.
+
+2003-09-08 Dave Brolley <brolley@redhat.com>
+
+ On behalf of Doug Evans <dje@sebabeach.org>
+ * Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen.
+
+2003-02-27 Andrew Cagney <cagney@redhat.com>
+
+ * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
+
+2002-12-19 Doug Evans <dje@sebabeach.org>
+
+ * arch.c,arch.h,cpuall.h: Regenerate.
+ * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
+ * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
+
+2002-06-16 Andrew Cagney <ac131313@redhat.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2001-11-14 Dave Brolley <brolley@redhat.com>
+
+ * arch.c: Regenerate.
+ * arch.h: Regenerate.
+ * cpu.c: Regenerate.
+ * cpu.h: Regenerate.
+ * cpuall.h: Regenerate.
+ * cpux.c: Regenerate.
+ * cpux.h: Regenerate.
+ * decode.c: Regenerate.
+ * decode.h: Regenerate.
+ * decodex.c: Regenerate.
+ * decodex.h: Regenerate.
+ * model.c: Regenerate.
+ * modelx.c: Regenerate.
+ * sem-switch.c: Regenerate.
+ * sem.c: Regenerate.
+ * semx-switch.c: Regenerate.
+
+2001-07-05 Ben Elliston <bje@redhat.com>
+
+ * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
+ (stamp-cpu): Likewise.
+ (stamp-xcpu): Likewise.
+
+2001-03-05 Dave Brolley <brolley@redhat.com>
+
+ * arch.c: Regenerate.
+ * arch.h: Regenerate.
+ * cpu.c: Regenerate.
+ * cpu.h: Regenerate.
+ * cpuall.h: Regenerate.
+ * cpux.c: Regenerate.
+ * cpux.h: Regenerate.
+ * decode.c: Regenerate.
+ * decode.h: Regenerate.
+ * decodex.c: Regenerate.
+ * decodex.h: Regenerate.
+ * model.c: Regenerate.
+ * modelx.c: Regenerate.
+ * sem-switch.c: Regenerate.
+ * sem.c: Regenerate.
+ * semx-switch.c: Regenerate.
+
+2001-01-12 Frank Ch. Eigler <fche@redhat.com>
+
+ * configure: Regenerated with sim_scache fix.
+
+2000-11-18 Greg McGary <greg@mcgary.org>
+
+ * Makefile.in: remove `@true' commands for rules that have
+ $(CGEN_MAINT) as a prerequisite.
+
+2000-10-06 Dave Brolley <brolley@redhat.com>
+
+ * sem.c: Regenerated.
+ * sem-switch.c: Regenerated.
+ * semx-switch.c: Regenerated.
+
+2000-08-28 Dave Brolley <brolley@redhat.com>
+
+ * Makefile.in: Use of @true confuses VPATH. Remove it.
+ * cpu.h: Regenerated.
+ * cpux.h: Regenerated.
+ * decode.c: Regenerated.
+ * decodex.c: Regenerated.
+ * model.c: Regenerated.
+ * modelx.c: Regenerated.
+ * sem-switch.c: Regenerated.
+ * sem.c: Regenerated.
+ * semx-switch.c: Regenerated.
+
+2000-08-21 Frank Ch. Eigler <fche@redhat.com>
+
+ * Makefile.in (m32r-clean): Add stamp-arch, stamp-cpu.
+ (stamp-arch, stamp-cpu): New targets.
+
+Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+2000-03-30 Dave Brolley <brolley@redhat.com>
+
+ * configure: Regenerated.
+
+1999-10-04 Doug Evans <devans@casey.cygnus.com>
+
+ * arch.c,arch.h,cpuall.h: Rebuild.
+ * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
+
+1999-09-29 Doug Evans <devans@casey.cygnus.com>
+
+ * mloop.in: Update call to sim_engine_invalid_insn.
+ * sem.c,sem-switch.c: Rebuild.
+ * traps.c (sim_engine_invalid_insn): New arg `vpc'. Change type of
+ result to SEM_PC. Return vpc.
+ * mloopx.in: Ditto.
+ * semx-switch.c: Rebuild.
+
+Wed Sep 29 14:47:20 1999 Dave Brolley <brolley@cygnus.com>
+
+ * traps.c (sim_engine_invalid_insn): Return PC.
+
+Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-09-01 Doug Evans <devans@casey.cygnus.com>
+
+ * decodex.c: Rebuild.
+
+1999-08-28 Doug Evans <devans@casey.cygnus.com>
+
+ * sem.c: Rebuild
+
+ * cpux.h: Rebuild.
+
+1999-08-09 Doug Evans <devans@casey.cygnus.com>
+
+ * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
+ * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
+
+1999-08-04 Doug Evans <devans@casey.cygnus.com>
+
+ * m32r-sim.h (SEM_SKIP_INSN): Delete.
+ * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
+ * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.
+ * mloopx.in (emit_parallel): Call SEM_SKIP_COMPILE.
+ (emit_full_parallel): Ditto.
+
+1999-05-08 Felix Lee <flee@cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+Fri Apr 16 16:47:43 1999 Doug Evans <devans@charmed.cygnus.com>
+
+ * devices.c (device_io_read_buffer): New arg `sd'.
+ (device_io_write_buffer): New arg `sd'.
+ (device_error): Give proper arg spec.
+
+1999-04-10 Doug Evans <devans@casey.cygnus.com>
+
+ * sem-switch.c,sem.c: Rebuild.
+ * cpux.h,semx-switch.c: Rebuild.
+
+1999-03-27 Doug Evans <devans@casey.cygnus.com>
+
+ * decode.c: Rebuild.
+ * decodex.c: Rebuild.
+
+1999-03-26 Doug Evans <devans@casey.cygnus.com>
+
+ * m32r-sim.h (M32R_DEVICE_LEN): Fix off by one error.
+
+1999-03-22 Doug Evans <devans@casey.cygnus.com>
+
+ * arch.c,arch.h,model.c: Rebuild.
+ * modelx.c: Rebuild.
+ * m32r-sim.h (a_m32r_h_gr_get,a_m32r_h_gr_set): Declare.
+ (a_m32r_h_cr_get,a_m32r_h_cr_set): Declare.
+ * m32r.c (m32rbf_fetch_register): Replace calls to a_m32r_h_pc_get,
+ a_m32r_h_accum_get with appropriate calls to m32rbf_*.
+ (m32rbf_store_register): Ditto.
+ (a_m32r_h_gr_get,a_m32r_h_gr_set): New functions.
+ (a_m32r_h_cr_get,a_m32r_h_cr_set): Ditto.
+ * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open.
+ * traps.c (m32r_core_signal): Replace calls to a_m32r_h_*,
+ with appropriate calls to m32rbf_*.
+
+1999-03-11 Doug Evans <devans@casey.cygnus.com>
+
+ * arch.c,arch.h,cpu.c,cpu.h,sem.c,sem-switch.c: Rebuild.
+ * cpux.c,cpux.h,semx-switch.c: Rebuild.
+ * m32r-sim.h (GET_H_*,SET_H_*, except GET_H_SM): Delete.
+ * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open.
+
+1999-02-25 Doug Evans <devans@casey.cygnus.com>
+
+ * cpu.c,cpu.h: Rebuild.
+
+1999-02-09 Doug Evans <devans@casey.cygnus.com>
+
+ * Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h.
+ (stamp-xmloop): s/-parallel/-parallel-write/.
+ * configure.in (sim_link_files,sim_link_links): Delete.
+ * configure: Rebuild.
+ * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
+ * decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild.
+ * mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE.
+ * sim-if.c (sim_open): m32r_cgen_cpu_open renamed from
+ m32r_cgen_opcode_open. Set disassembler.
+ (sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open.
+ * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
+ m32r-desc.h,m32r-opc.h,m32r-sim.h.
+
+Thu Feb 4 16:04:26 1999 Doug Evans <devans@canuck.cygnus.com>
+
+ * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
+
+1999-01-27 Doug Evans <devans@casey.cygnus.com>
+
+ * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
+ * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild.
+
+1999-01-15 Doug Evans <devans@casey.cygnus.com>
+
+ * decode.h,model.c: Regenerate.
+ * decodex.h,modelx.c: Regenerate.
+
+1999-01-14 Doug Evans <devans@casey.cygnus.com>
+
+ * arch.c,arch.h,cpuall.h: Regenerate.
+ * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
+ * traps.c (sim_engine_invalid_insn): PCADDR->IADDR.
+ * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
+
+1999-01-11 Doug Evans <devans@casey.cygnus.com>
+
+ * Makefile.in (m32r-clean): rm eng.h.
+ * sim-main.h: Delete inclusion of ansidecl.h.
+ * cpu.h: Regenerate.
+ * cpux.h: Regenerate.
+
+1999-01-06 Doug Evans <devans@casey.cygnus.com>
+
+ * cpu.h: Regenerate.
+ * cpux.h: Regenerate.
+
+1999-01-05 Doug Evans <devans@casey.cygnus.com>
+
+ * Makefile.in (MAIN_INCLUDE_DEPS): Delete.
+ (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete.
+ (sim-if.o): Use SIM_MAIN_DEPS.
+ (arch.o,traps.o,devices.o): Ditto.
+ (M32RBF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS.
+ (m32r.o,mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies.
+ (m32rx.o,mloopx.o,cpux.o,decodex.o,semx.o,modelx.o): Ditto.
+ * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
+ * m32r-sim.h (m32rbf_h_cr_[gs]et_handler): Declare.
+ ([GS]ET_H_CR): Define.
+ (m32rbf_h_psw_[gs]et_handler): Declare.
+ ([GS]ET_H_PSW): Define.
+ (m32rbf_h_accum_[gs]et_handler): Declare.
+ ([GS]ET_H_ACCUM): Define.
+ (m32rxf_h_{cr,psw,accum}_[gs]et_handler): Declare.
+ (m32rxf_h_accums_[gs]et_handler): Declare.
+ ([GS]ET_H_ACCUMS): Define.
+ * sim-if.c (sim_open): Model probing code moved to sim-model.c.
+ * m32r.c (WANT_CPU): Define as m32rbf.
+ (all register access fns): Rename to ..._handler.
+ * cpux.c,cpux.h,decodex.c,modelx.c,semx.c: Regenerate.
+ * m32rx.c (WANT_CPU): Define as m32rxf.
+ (all register access fns): Rename to ..._handler.
+
+1998-12-14 Doug Evans <devans@casey.cygnus.com>
+
+ * configure.in: --enable-cgen-maint support moved to common/aclocal.m4.
+ (SIM_AC_OPTION_ALIGNMENT): Make strict.
+ * configure: Regenerate.
+
+ * sem-switch.c,sem.c,semx-switch.c: Regenerate.
+ * sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define.
+ * traps.c (m32r_core_signal): Handle --environment=operating.
+
+1998-12-09 Doug Evans <devans@casey.cygnus.com>
+
+ * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
+ * cpux.h,decodex.c,semx-switch.c: Regenerate.
+
+ * sim-if.c: Include string.h or strings.h if present.
+
+1998-12-04 Doug Evans <devans@casey.cygnus.com>
+
+ * configure.in: Call SIM_AC_OPTION_INLINE.
+ * configure: Regenerate.
+ * sim-main.h: Protect against multiple inclusion.
+ Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
+ Done by cgen-sim.h now.
+ * tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h.
+ * cpuall.h: Regenerate.
+ * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
+ * mloop.in (extract16): Make static inline again.
+ Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
+ (extract32): Ditto.
+ Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp.
+ (execute): Test ARGBUF_PROFILE_P before profiling.
+ Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
+ * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate.
+ * mloopx.in: Rewrite.
+
+1998-11-22 Doug Evans <devans@tobor.to.cygnus.com>
+
+ * devices.c (device_io_write_buffer): Fix typo.
+ * sim-if.c (sim_open): Hack in call to dv_sockser_install.
+ * tconfig.in (HAVE_DV_SOCKSER): Add but comment out.
+
+1998-11-18 Doug Evans <devans@casey.cygnus.com>
+
+ * Makefile.in (M32R_OBJS): Delete extract.o.
+ (extract.o): Delete.
+ * cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild.
+ * mloop.in (extract16): Update type of `insn' arg.
+ Delete call to d->extract.
+ (extract32): Ditto.
+ * cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild.
+ * mloopx.in (extractx16): Update type of `insn' arg.
+ Delete call to d->extract. Delete arg pbb_p. All callers updated.
+ (extract-simple,full-exec-simple,fast-exec-simple): Delete.
+ (extractx32): Ditto.
+
+Wed Nov 4 23:55:37 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * sim-main.h: Delete inclusion of config.h, include sim-basics.h
+ before cgen-types.h.
+ * tconfig.in: Guard against multiple inclusion.
+ * cpu.h: Delete decls moved to genmloop.sh.
+ * cpux.h: Ditto.
+
+Mon Oct 19 14:13:05 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * sim-main.h: #include cpu-opc.h.
+ * arch.c,arch.h,decode.c,extract.c,model.c,sem.c: Regenerate
+ to get #include cleanup.
+ * decodex.c,extractx.c,modelx.c: Ditto.
+
+ * Makefile.in (SIM_EXTRA_DEPS): Replace cgen headers with
+ CGEN_INCLUDE_DEPS.
+ (M32RBF_INCLUDE_DEPS): Define.
+ (m32r .o's): Depend on it.
+ (mloop.c): Update call to genmloop.sh.
+ * cpu.h,cpuall.h: Regenerate.
+ * sim-main.h: Delete inclusion of cpu.h,decode.h, moved to cpuall.h.
+ #include cgen-scache.h,cgen-cpu.h.
+ * tconfig.in (WITH_FOO semantic macros): Delete.
+ * Makefile.in (M32RXF_INCLUDE_DEPS): Define.
+ (m32rx .o's): Depend on it.
+ (mloopx.c): Update call to genmloop.sh.
+ * cpux.h: Regenerate.
+
+Fri Oct 16 09:15:29 1998 Doug Evans <devans@charmed.cygnus.com>
+
+ * sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}".
+
+Fri Oct 9 16:11:58 1998 Doug Evans <devans@seba.cygnus.com>
+
+ Add pseudo-basic-block execution support.
+ * Makefile.in (SIM_OBJS): Add sim-reg.o, cgen-run.o, sim-stop.o.
+ (SIM_EXTRA_DEPS): Add include/opcode/cgen.h.
+ (INCLUDE_DEPS): Delete cpu-sim.h, include/opcode/cgen.h.
+ (mloop.c): Build pseudo-basic-block version. Depend on stamp-cpu.
+ * arch.c,arch.h,cpuall.h: Regenerate.
+ * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
+ * sem-switch.c,sem.c: Regenerate.
+ * m32r-sim.h (M32R_MISC_PROFILE): New members load_regs,
+ load_regs_pending.
+ * m32r.c (m32rbf_fetch_register): Renamed from m32rb_fetch_register.
+ (m32rbf_store_register,m32rbf_h_cr_get,m32rbf_h_cr_set,
+ m32rbf_h_psw_get,m32rbf_h_psw_set,m32rbf_h_accum_get,
+ m32rbf_h_accum_set): Likewise.
+ (m32r_model_{init,update}_insn_cycles): Delete.
+ (m32rbf_model_insn_{before,after}): New fns.
+ (m32r_model_record_cti,m32r_model_record_cycles): Delete.
+ (m32rb_model_mark_get_h_gr,m32rb_model_mark_set_h_gr): Delete.
+ (m32rb_model_mark_busy_reg,m32rb_model_mark_unbusy_reg): Delete.
+ (check_load_stall): New fn.
+ (m32rbf_model_m32r_d_u_{exec,cmp,mac,cti,load,store}): New fns.
+ (m32rbf_model_test_u_exec): New fn.
+ * mloop.in: Rewrite, use pbb support.
+ * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Delete.
+ (sim_fetch_register,sim_store_register): Delete.
+ * sim-main.h (CIA_GET,CIA_SET): Fix.
+ (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Delete.
+ * tconfig.in (WITH_SCACHE_PBB): Define.
+ (WITH_SCACHE_PBB_M32RBF): Define.
+ * traps.c (sim_engine_invalid_insn): Renamed from ..._illegal_....
+ (m32r_trap): Pass pc to sim_engine_halt.
+ * configure.in (SIM_AC_OPTION_SCACHE): Change 1024 to 16384.
+ * configure: Regenerate.
+ * Makefile.in (M32RX_OBJS): Delete semx.o, add extract.o.
+ (mloopx.c): Build pseudo-basic-block version.
+ (semx.o): Delete.
+ (extractx.o): Add.
+ * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c: Regenerate.
+ * readx.c: Delete.
+ * semx.c: Delete.
+ * extractx.c: New file.
+ * semx-switch.c: New file.
+ * m32r-sim.h (BRANCH_NEW_PC): Delete.
+ (SEM_SKIP_INSN): New macro.
+ * m32rx.c (m32rxf_fetch_register): Renamed from m32rx_fetch_register.
+ (m32rxf_store_register,m32rxf_h_cr_get,m32rxf_h_cr_set,
+ m32rxf_h_psw_get,m32rxf_h_psw_set,m32rxf_h_accum_get,
+ m32rxf_h_accum_set,m32rxf_h_accums_get,m32rxf_h_accums_set): Likewise.
+ (m32rxf_model_insn_{before,after}): New fns.
+ (m32rx_model_mark_get_h_gr,m32rx_model_mark_set_h_gr): Delete.
+ (m32rx_model_mark_busy_reg,m32rx_model_mark_unbusy_reg): Delete.
+ (check_load_stall): New fn.
+ (m32rxf_model_m32rx_u_{exec,cmp,mac,cti,load,store}): New fns.
+ * mloopx.in: Rewrite, use pbb support.
+ * tconfig.in (WITH_SCACHE_PBB_M32RXF): Define.
+ (WITH_SEM_SWITCH_FULL): Change from 0 to 1.
+
+Wed Sep 16 18:22:27 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * m32r-sim.h ({PSW,CBR,SPI,SPU,BPC,BBPSW,BBPC}_REGNUM): New macros.
+ ({ACC1L,ACC1H}_REGNUM): New macros.
+ (m32r_decode_gdb_ctrl_regnum): Add prototype.
+ * m32r.c (m32r_decode_gdb_ctrl_regnum): New function.
+ (m32r_fetch_register,m32r_store_register): Rewrite.
+ * m32rx.c (m32rx_fetch_register,m32rx_store_register): Rewrite.
+
+Tue Sep 15 15:01:14 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * m32r-sim.h (GET_H_SM): New macro.
+ (UART params): Update to msa2000.
+ * devices.c (device_io_read_buffer): Update to msa2000.
+ * m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw.
+ (m32rb_h_psw_get,m32rb_h_psw_set): New functions.
+ * arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate.
+ * m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw.
+ (m32rx_h_psw_get,m32rx_h_psw_set): New functions.
+ * cpux.c,cpux.h,readx.c,semx.c: Regenerate.
+
+Wed Sep 9 15:29:36 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * m32r-sim.h (m32r_trap): Update prototype.
+ * traps.c (m32r_trap): New arg `pc'.
+ * sem.c,sem-switch.c: Regenerated.
+ * cpux.h,readx.c,semx.c: Regenerated.
+
+Mon Aug 3 12:59:17 1998 Doug Evans <devans@seba.cygnus.com>
+
+ Rename cpu m32r to m32rb to distinguish from architecture name.
+ * Makefile.in (mloop.c): cpu m32r renamed to m32rb.
+ * sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R.
+ * tconfig.in (WANT_CPU_M32RB): Ditto.
+ * m32r.c (WANT_CPU_M32RB): Ditto.
+ (*): m32r_ cpu fns renamed to m32rb_.
+ * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update.
+ * arch.h,arch.c: Regenerate.
+ * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
+ * sem-switch.c,sem.c: Regenerate.
+
+ * sim-if.c (sim_open): Don't allocate memory on top of any user
+ specified memory.
+ (h_gr_get,h_gr_set): Delete.
+ * sim-main.h (h_gr_get,h_gr_set): Delete.
+ * traps.c (m32r_trap): Replace calls to h_gr_[gs]et with
+ a_m32r_h_gr_[gs]et.
+
+ * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h.
+
+ * sim-if.c (sim_open): Open opcode table.
+ (sim_close): Close it.
+
+Tue Jul 28 13:06:19 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that
+ accept an accumulator choice.
+ * cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
+
+Fri Jul 24 13:00:29 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * m32r.c: Include cgen-mem.h.
+ * traps.c (m32r_trap): Tweak for -Wall.
+ * m32rx.c: Include cgen-mem.h.
+ * semx.c: Regenerate, get -Wall cleanups.
+
+Tue Jul 21 16:53:10 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * cpu.h,extract.c: Regenerate. pc-rel calcs done on f_dispNN now.
+ * cpux.h,readx.c,semx.c: Ditto.
+
+Wed Jul 1 16:51:15 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * Makefile.in: cgen_maint -> CGEN_MAINT.
+ * configure.in: AC_SUBST cgen,cgendir. No longer look for guile.
+ * configure: Regenerate.
+ * arch.c,arch.h,cpuall.h: Regenerate.
+ * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
+ * sem-switch.c,sem.c: Regenerate.
+ * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate.
+ * semx.c: Regenerate.
+ * mloopx.in (icount): Moved here from genmloop.sh.
+
+Sat Jun 13 07:49:23 1998 Doug Evans <devans@fallis.cygnus.com>
+
+ * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
+ load_stall,biggest_cycles.
+ * m32r.c (m32r_model_mark_get_h_gr): Update.
+ (m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns.
+ (m32r_model_record_cti,m32r_model_record_cycles): New functions.
+ * mloop.in: Call cycle init/update fns.
+ * model.c: Regenerate.
+ * m32rx.c (m32rx_model_mark_get_h_gr): Update.
+ * mloopx.in: Call cycle init/update fns.
+ * modelx.c: Regenerate.
+
+Wed Jun 10 17:39:29 1998 Doug Evans <devans@canuck.cygnus.com>
+
+ * traps.c: New file. Trap support moved here from sim-if.c.
+ * Makefile.in (SIM_OBJS): Add traps.o
+ * sim-if.c: Don't include targ-vals.h.
+ (sim_engine_illegal_insn): Moved to traps.c
+ * sim-main.h (SIM_CORE_SIGNAL): Define.
+ (m32r_core_signal): Declare.
+ * m32r-sim.h (m32r_trap): Declare.
+
+ * devices.c (device_io_read_buffer): Handle cache purging via MCCR
+ register.
+
+ * m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h.
+ (PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros.
+ (TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.
+
+ * extract.c,sem-switch.c,sem.c: Regenerate.
+ * cpux.h,readx.c,semx.c: Regenerate.
+
+Wed May 20 00:10:40 1998 Doug Evans <devans@seba.cygnus.com>
+
+ * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.
+ * mloopx.in (extract): Set abuf.addr for proper fill nop counting.
+ (execute): Count parallel insns.
+ * sim-if.c (print_m32r_misc_cpu): Print count.
+ * sim-main.h (M32R_MISC_PROFILE): New member parallel_count.
+
+ Zero bottom two bits of pc in jmp,jl insns.
+ * sem.c,sem-switch.c: Regenerate.
+ * semx.c: Regenerate.
+
Tue May 19 16:45:33 1998 Doug Evans <devans@seba.cygnus.com>
* sim-if.c (do_trap): Treat traps 2-15 as hardware does.
* arch.h,cpu.c,cpu.h,cpuall.h: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
-start-sanitize-m32rx
* cpux.c,cpux.h,modelx.c,semx.c: Regenerate.
* m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions.
* mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
-end-sanitize-m32rx
+ Fix pc value passed to TRACE_INSN for second parallel insn.
Thu May 7 02:51:35 1998 Doug Evans <devans@seba.cygnus.com>
* arch.h,arch.c,cpu.h,cpuall.h: Regenerate, tweaks mostly.
* model.c: Ditto. Reorganize model/mach data.
-start-sanitize-m32rx
* cpux.h: Ditto.
* modelx.c: Ditto.
-end-sanitize-m32rx
* Makefile.in (m32r.o,mloop.o,cpu.o,model.o): Add decode.h dependency.
-start-sanitize-m32rx
(m32rx.o,mloopx.o,cpux.o,modelx.o): Add decodex.h dependency.
-end-sanitize-m32rx
* decode.c,decode.h: Regenerate, introduces IDESC table.
* mloop.in (extract16,extract32): Add IDESC support.
Update names of semantic handler member names.
(execute): Ditto. Delete call to PROFILE_COUNT_INSN.
-start-sanitize-m32rx
* decodex.c,decodex.h: Regenerate, introduces IDESC table.
* mloopx.in: Add IDESC support.
Update names of semantic handler member names.
Delete call to PROFILE_COUNT_INSN.
-end-sanitize-m32rx
* sem-switch.c: Regenerate. Redo computed goto label handling.
* sem.c: Regenerate. Call PROFILE_COUNT_INSN.
-start-sanitize-m32rx
* readx.c: Regenerate. Redo computed goto label handling.
* semx.c: Regenerate. Call PROFILE_COUNT_INSN. Finish profiling
support.
- * Makefile.in (stamp-xcpu): Turn on profiling support.
-end-sanitize-m32rx
* m32r.c (m32r_fetch_register): Change result type and args to
conform to sim_fetch_register interface.
(m32r_store_register): Ditto for sim_store_register interface.
-start-sanitize-m32rx
* m32rx.c (m32rx_fetch_register): Change result type and args to
conform to sim_fetch_register interface.
(m32rx_store_register): Ditto for sim_store_register interface.
-end-sanitize-m32rx
* sim-if.c (alloc_cpu): Delete.
(free_state): Uninstall modules here ...
* sim-main.h (sim_cia): Change to USI.
(sim_cpu): Move m32r_misc_profile before machine generated part.
-Fri May 1 18:25:41 1998 Doug Evans <devans@seba.cygnus.com>
-
- * Makefile.in: Replace @MAINT@ with $(CGEN_MAINT).
- (CGEN_MAINT): New variable.
- * configure.in: Add support for --enable-cgen-maint.
- * configure: Regenerate.
-
Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Tue Apr 28 18:05:53 1998 Nick Clifton <nickc@cygnus.com>
* model.c: Rebuilt.
-start-sanitize-m32rx
* modelx.c: Rebuilt.
-end-sanitize-m32rx
Mon Apr 27 15:36:30 1998 Doug Evans <devans@seba.cygnus.com>
* cpu.h,model.c,sem-switch.c,sem.c: Regenerated. Mostly comment
and variable renaming due to macro insn additions.
* mloop.in: Update to use CGEN_INSN_NUM.
-start-sanitize-m32rx
* cpux.h,modelx.c,readx.c,semx.c: Regenerated.
* mloopx.in: Update to use CGEN_INSN_NUM.
-end-sanitize-m32rx
Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
- cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS.
* m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
#include cgen-ops.h.
-start-sanitize-m32rx
* cpux.c,readx.c,semx.c: Regenerate.
* m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions.
#include cgen-ops.h. Delete inclusion of several unnecessary headers.
(m32r_h_accums_get): Sign extend top 8 bits.
-end-sanitize-m32rx
-start-sanitize-m32rx
Tue Apr 14 14:04:07 1998 Doug Evans <devans@canuck.cygnus.com>
* semx.c: Regenerate.
-end-sanitize-m32rx
Fri Apr 10 18:22:41 1998 Doug Evans <devans@canuck.cygnus.com>
* cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate.
-start-sanitize-m32rx
* cpux.h,decodex.c,decodex.h,readx.c,semx.c: Regenerate.
-end-sanitize-m32rx
Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
* sim-if.c (do_trap): Result is new pc.
Handle --environment=operating.
* sem-switch.c,sem.c: Regenerate.
-start-sanitize-m32rx
* semx.c: Regenerate.
-end-sanitize-m32rx
Wed Mar 11 14:07:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h.
(arch.o): Delete cpu-opc.h dependency.
(decode.o,model.o): Likewise.
-start-sanitize-m32rx
(decodex.o,modelx.o): Likewise.
-end-sanitize-m32rx
* cpu.h,model.c,sem-switch.c,sem.c: Regenerate.
-start-sanitize-m32rx
* cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
-end-sanitize-m32rx
Thu Feb 26 18:38:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
* sim-if.c (sim_info): Delete.
-start-sanitize-m32rx
Fri Feb 27 10:14:29 1998 Doug Evans <devans@canuck.cygnus.com>
* mloopx.in: Fix handling of branch in parallel with another insn.
* semx.c: Regenerate.
-end-sanitize-m32rx
Mon Feb 23 13:30:46 1998 Doug Evans <devans@seba.cygnus.com>
* sim-main.h: #include symcat.h.
(NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros.
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
* sem.c,sem-switch.c: Regenerate.
-start-sanitize-m32rx
* m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec.
* mloopx.in: Rewrite.
* cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
-end-sanitize-m32rx
Mon Feb 23 12:27:52 1998 Nick Clifton <nickc@cygnus.com>
* m32r.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6
in the backup PC register.
-start-sanitize-m32rx
* m32rx.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6
in the backup PC register.
-end-sanitize-m32rx
Thu Feb 19 16:39:35 1998 Doug Evans <devans@canuck.cygnus.com>
* m32r.c (do_lock,do_unlock): Delete.
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate.
* sem.c,sem-switch.c: Regenerate.
-start-sanitize-m32rx
* cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
-end-sanitize-m32rx
Tue Feb 17 18:18:10 1998 Doug Evans <devans@seba.cygnus.com>
* cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* mloop.in (execute): Update call to semantic fn.
-start-sanitize-m32rx
(M32RX_OBJS): Add cpux.o.
(cpux.o): Add rule for.
cpux.c: New file.
(m32rx_h_cr_{get,set}): New functions.
(m32rx_h_accums_{get,set}): New functions.
* mloopx.in: Rewrite main loop.
-end-sanitize-m32rx
* m32r.c (do_trap): Move from here.
* sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support.
* sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now.
* decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate.
-start-sanitize-m32rx
* cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate.
-end-sanitize-m32rx
Mon Feb 9 19:41:54 1998 Doug Evans <devans@canuck.cygnus.com>
* decode.c, sem.c: Regenerate.
-start-sanitize-m32rx
* cpux.h, decodex.c, readx.c, semx.c: Regenerate.
* m32rx.c (m32rx_h_accums_set): New function.
(m32rx_model_mark_[gs]et_h_gr): New function.
* Makefile.in (mloopx.o): Build with -parallel.
* sim-main.h (_sim_cpu): Delete member `par_exec'.
* tconfig.in (WITH_SEM_SWITCH_FULL): Define as 0 for m32rx.
-end-sanitize-m32rx
Thu Feb 5 12:44:31 1998 Doug Evans <devans@seba.cygnus.com>
* extract.c,model.c,sem-switch.c,sem.c: Regenerate.
* sim-main.h: #include "ansidecl.h".
Don't include cpu-opc.h, done by arch.h.
-start-sanitize-m32rx
* Makefile.in (M32RX_OBJS): Build m32rx support now.
(m32rx.o): New rule.
* m32r-sim.h (m32rx_h_cr_[gs]et): Define.
(m32rx_h_accums_get): New function.
* mloopx.in: Update call to m32rx_decode. Rewrite exec loop.
* cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate.
-end-sanitize-m32rx
Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
-start-sanitize-m32rx
Thu Jan 29 11:22:00 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.in (M32RX_OBJS): Comment out until m32rx port working.
* arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h.
* arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry.
-end-sanitize-m32rx
Tue Jan 20 14:16:02 1998 Nick Clifton <nickc@cygnus.com>
* cpux.h: Fix duplicate definition of h_accums field for
fmt_53_sadd structure.
-start-sanitize-m32rx
Tue Jan 20 01:42:17 1998 Doug Evans <devans@seba.cygnus.com>
* Makefile.in: Add m32rx objs, and rules to build them.
* cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files.
* m32rx.c, mloopx.in: New files.
-end-sanitize-m32rx
Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
* configure: Regenerated to track ../common/aclocal.m4 changes.
* Makefile.in: Update.
* sem-ops.h: Deleted.
* mem-ops.h: Deleted.
-start-sanitize-cygnus
- Add cgen support for generating files.
-end-sanitize-cygnus
(arch): Renamed from CPU.
* cpu.h: New file.
* decode.c: Redone.
(sim_open): Call sim_state_alloc, and malloc space for selected cpu
type. Call sim_analyze_program.
(sim_create_inferior): Handle selected cpu type when setting PC.
-start-sanitize-m32rx
(sim_resume): Handle m32rx.
-end-sanitize-m32rx
(sim_stop_reason): Deleted.
(print_m32r_misc_cpu): Update.
-start-sanitize-m32rx
(sim_{fetch,store}_register): Handle m32rx.
-end-sanitize-m32rx
(sim_{read,write}): Deleted.
(sim_engine_illegal_insn): New function.
* sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h.
Include arch.h,cpuall.h. Include cpu.h,decode.h if m32r.
-start-sanitize-m32rx
Include cpux.h,decodex.h if m32rx.
-end-sanitize-m32rx
(_sim_cpu): Include member appropriate cpu_data member for the cpu.
(M32R_MISC_PROFILE): Renamed from M32R_PROFILE.
(sim_state): Delete members core,events,halt_jmp_buf.