1 2017-09-06 John Baldwin <jhb@FreeBSD.org>
3 * configure: Regenerate.
5 2017-02-13 Mike Frysinger <vapier@gentoo.org>
7 * decode-compact.c (sh64_compact_init_idesc_table): Use ARRAY_SIZE.
8 * decode-media.c (sh64_media_init_idesc_table): Likewise.
10 2016-01-10 Mike Frysinger <vapier@gentoo.org>
12 * config.in, configure: Regenerate.
14 2016-01-10 Mike Frysinger <vapier@gentoo.org>
16 * configure: Regenerate.
18 2016-01-10 Mike Frysinger <vapier@gentoo.org>
20 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
21 * configure: Regenerate.
23 2016-01-10 Mike Frysinger <vapier@gentoo.org>
25 * configure: Regenerate.
27 2016-01-10 Mike Frysinger <vapier@gentoo.org>
29 * configure: Regenerate.
31 2016-01-10 Mike Frysinger <vapier@gentoo.org>
33 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
34 * configure: Regenerate.
36 2016-01-10 Mike Frysinger <vapier@gentoo.org>
38 * configure: Regenerate.
40 2016-01-10 Mike Frysinger <vapier@gentoo.org>
42 * configure: Regenerate.
44 2016-01-09 Mike Frysinger <vapier@gentoo.org>
46 * config.in, configure: Regenerate.
48 2016-01-06 Mike Frysinger <vapier@gentoo.org>
50 * sim-if.c (sim_open): Mark argv const.
51 (sim_create_inferior): Mark argv and env const.
53 2016-01-04 Mike Frysinger <vapier@gentoo.org>
55 * configure: Regenerate.
57 2016-01-03 Mike Frysinger <vapier@gentoo.org>
59 * sim-if.c (sim_open): Update sim_parse_args comment.
61 2016-01-03 Mike Frysinger <vapier@gentoo.org>
63 * sh64-sim.h (GETTWI, SETTWI): Delete unused defines.
64 (sh5_devices): Delete.
65 (struct _device): Delete.
67 2016-01-03 Mike Frysinger <vapier@gentoo.org>
69 * sh64.c (count_argc): Delete.
70 (trap_handler): Change count_argc to countargv.
72 2016-01-03 Mike Frysinger <vapier@gentoo.org>
74 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
75 * configure: Regenerate.
77 2016-01-02 Mike Frysinger <vapier@gentoo.org>
79 * arch.h (TARGET_BIG_ENDIAN): Delete.
80 * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG.
81 * configure: Regenerate.
83 2016-01-02 Mike Frysinger <vapier@gentoo.org>
85 * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call.
87 2016-01-02 Mike Frysinger <vapier@gentoo.org>
89 * sim-if.c (current_state): Delete.
90 (sim_open): Delete current_state assignment.
92 2015-12-27 Mike Frysinger <vapier@gentoo.org>
94 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
96 2015-12-26 Mike Frysinger <vapier@gentoo.org>
98 * config.in, configure: Regenerate.
100 2015-12-26 Mike Frysinger <vapier@gentoo.org>
102 * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
104 2015-12-25 Mike Frysinger <vapier@gentoo.org>
106 * Makefile.in (SIM_OBJS): Delete sim-model.o.
107 * tconfig.h: Delete file.
109 2015-12-25 Mike Frysinger <vapier@gentoo.org>
111 * arch.c: Rename MACH to SIM_MACH.
112 * cpuall.h: Likewise.
113 * sh64.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
114 SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
116 2015-12-25 Mike Frysinger <vapier@gentoo.org>
118 * sim-main.h (WITH_SCACHE_PBB): Move from ...
119 * tconfig.h (WITH_SCACHE_PBB): ... here.
121 2015-12-24 Mike Frysinger <vapier@gentoo.org>
123 * tconfig.h (SIM_HANDLES_LMA): Delete.
125 2015-12-24 Mike Frysinger <vapier@gentoo.org>
127 * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
128 SIM_BREAKPOINT_SIZE): Delete.
130 2015-12-24 Mike Frysinger <vapier@gentoo.org>
132 * tconfig.h (WITH_WATCHPOINTS): Delete.
134 2015-12-24 Mike Frysinger <vapier@gentoo.org>
136 * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
138 2015-11-15 Mike Frysinger <vapier@gentoo.org>
140 * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
143 2015-11-14 Mike Frysinger <vapier@gentoo.org>
145 * sim-if.c (sim_close): Delete.
147 2015-06-23 Mike Frysinger <vapier@gentoo.org>
149 * configure: Regenerate.
151 2015-06-12 Mike Frysinger <vapier@gentoo.org>
153 * configure: Regenerate.
155 2015-06-12 Mike Frysinger <vapier@gentoo.org>
157 * configure: Regenerate.
159 2015-06-12 Mike Frysinger <vapier@gentoo.org>
161 * decode-compact.c (sh64_compact_decode): Change TRACE_EXTRACT to
163 * decode-media.c: Likewise.
164 * mloop-compact.in (execute): Change TRACE_INSN_INIT to
165 CGEN_TRACE_INSN_INIT, TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI
166 to CGEN_TRACE_INSN_FINI.
167 (sh64_compact_pbb_before): Likewise.
168 (sh64_compact_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
169 * mloop-media.in: Likewise.
170 * sem-compact.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
171 * sem-compact-switch.c: Likewise.
172 * sem-media.c: Likewise.
173 * sem-media-switch.c: Likewise.
175 2015-04-18 Mike Frysinger <vapier@gentoo.org>
177 * sim-main.h (USING_SIM_BASE_H): Delete.
179 2015-04-18 Mike Frysinger <vapier@gentoo.org>
181 * sim-main.h (_sim_cpu, SIM_CPU): Delete.
183 2015-04-18 Mike Frysinger <vapier@gentoo.org>
185 * sim-main.h (CIA_ADDR): Define.
187 2015-04-17 Mike Frysinger <vapier@gentoo.org>
189 * sim-main.h (CIA_GET, CIA_SET): Delete.
191 2015-04-15 Mike Frysinger <vapier@gentoo.org>
193 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
194 * sim-main.h (STATE_CPU): Delete.
196 2015-04-15 Mike Frysinger <vapier@gentoo.org>
198 * sim-main.h (struct sim_state): Change cpu to an array of pointers.
199 (STATE_CPU): Handle WITH_SMP.
201 2015-04-13 Mike Frysinger <vapier@gentoo.org>
203 * configure: Regenerate.
205 2015-04-06 Mike Frysinger <vapier@gentoo.org>
207 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
209 2015-03-31 Mike Frysinger <vapier@gentoo.org>
211 * config.in, configure: Regenerate.
213 2015-03-24 Mike Frysinger <vapier@gentoo.org>
215 * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
217 2015-03-24 Mike Frysinger <vapier@gentoo.org>
219 * configure: Regenerate.
221 2015-03-24 Mike Frysinger <vapier@gentoo.org>
223 * configure: Regenerate.
225 2015-03-23 Mike Frysinger <vapier@gentoo.org>
227 * configure: Regenerate.
229 2015-03-23 Mike Frysinger <vapier@gentoo.org>
231 * configure: Regenerate.
233 2015-03-23 Mike Frysinger <vapier@gentoo.org>
235 * Makefile.in (CONFIG_DEVICES): Delete.
236 (SIM_OBJS): Delete CONFIG_DEVICES.
238 2015-03-16 Mike Frysinger <vapier@gentoo.org>
240 * aclocal.m4, config.in, configure: Regenerate.
241 * tconfig.in: Rename file ...
242 * tconfig.h: ... here.
244 2015-03-15 Mike Frysinger <vapier@gentoo.org>
246 * tconfig.in [HAVE_DV_SOCKSER]: Delete.
248 2015-03-14 Mike Frysinger <vapier@gentoo.org>
250 * Makefile.in (SIM_RUN_OBJS): Delete.
252 2014-08-23 Hans-Peter Nilsson <hp@axis.com>
254 * configure.ac: Default simulator hardware to off again
255 without emitting errors when off or dv-sockser.o unavailable.
256 * configure: Regenerate.
258 2014-08-19 Alan Modra <amodra@gmail.com>
260 * configure: Regenerate.
262 2014-08-15 Roland McGrath <mcgrathr@google.com>
264 * configure: Regenerate.
265 * config.in: Regenerate.
267 2013-09-23 Alan Modra <amodra@gmail.com>
269 * configure: Regenerate.
271 2013-06-03 Mike Frysinger <vapier@gentoo.org>
273 * aclocal.m4, configure: Regenerate.
275 2013-03-26 Mike Frysinger <vapier@gentoo.org>
277 * configure: Regenerate.
279 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
281 * configure.ac: Fail if dv-sockser.o not available.
282 Error when --disable-sim-hardware is specified.
283 * configure: Regenerated.
285 2012-06-15 Joel Brobecker <brobecker@adacore.com>
287 * config.in, configure: Regenerate.
289 2012-05-18 Nick Clifton <nickc@redhat.com>
292 * interp.c: Include config.h before system header files.
294 2012-03-24 Mike Frysinger <vapier@gentoo.org>
296 * aclocal.m4, config.in, configure: Regenerate.
298 2011-12-03 Mike Frysinger <vapier@gentoo.org>
300 * aclocal.m4: New file.
301 * configure: Regenerate.
303 2011-10-17 Mike Frysinger <vapier@gentoo.org>
305 * configure.ac: Change include to common/acinclude.m4.
307 2011-10-17 Mike Frysinger <vapier@gentoo.org>
309 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
310 call. Replace common.m4 include with SIM_AC_COMMON.
311 * configure: Regenerate.
313 2011-07-05 Mike Frysinger <vapier@gentoo.org>
315 * sim-if.c (sim_do_command): Delete.
317 2011-02-14 Mike Frysinger <vapier@gentoo.org>
319 * sh64.c (trap_handler): Change zfree to free.
321 2010-10-09 Alan Modra <amodra@gmail.com>
323 * sh-desc.h: Regenerate.
325 2010-02-12 Doug Evans <dje@sebabeach.org>
327 * decode-media.c, * decode-media.h: Regenerate.
329 2010-02-11 Doug Evans <dje@sebabeach.org>
331 * decode-compact.c, * decode-media.c, * defs-compact.h, * defs-media.h,
332 * sem-compact-switch.c, * sem-compact.c, * sem-media-switch.c,
333 * sem-media.c, * sh-desc.c, * sh-desc.h: Regenerate.
335 2010-01-24 Doug Evans <dje@sebabeach.org>
339 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
341 * configure: Regenerate.
343 2010-01-02 Doug Evans <dje@sebabeach.org>
345 * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode-compact.c,
346 * decode-compact.h, * decode-media.c, * decode-media.h,
347 * defs-compact.h, * defs-media.h, * sem-compact-switch.c,
348 * sem-compact.c, * sem-media-switch.c, * sem-media.c, * sh-desc.c,
349 * sh-desc.h, * sh-opc.h: Regenerate, update copyright year.
351 2009-11-22 Doug Evans <dje@sebabeach.org>
354 * cpuall.h: Regenerate.
355 * decode-compact.c: Regenerate.
356 * decode-compact.h: Regenerate.
357 * decode-media.c: Regenerate.
358 * decode-media.h: Regenerate.
359 * defs-compact.h: Regenerate.
360 * defs-media.h: Regenerate.
362 2009-11-03 Doug Evans <dje@sebabeach.org>
364 * arch.c: Regenerate.
365 * arch.h: Regenerate.
368 * cpuall.h: Regenerate.
369 * decode-compact.c: Regenerate.
370 * decode-compact.h: Regenerate.
371 * decode-media.c: Regenerate.
372 * decode-media.h: Regenerate.
373 * defs-compact.h: Regenerate.
374 * defs-media.h: Regenerate.
375 * sem-compact-switch.c: Regenerate.
376 * sem-compact.c: Regenerate.
377 * sem-media-switch.c: Regenerate.
378 * sem-media.c: Regenerate.
379 * sh-desc.c: Regenerate.
380 * sh-opc.h: Regenerate.
382 * Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.
383 (sh-desc.o): New rule.
384 (sh-desc.h,sh-desc.c,sh-opc.h): Replaces rule for desc.h.
385 (all generated file rules): Specify generated file with full path.
387 2009-10-24 Doug Evans <dje@sebabeach.org>
389 * sh-desc.h: Regenerate.
391 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
393 * config.in: Regenerate.
394 * configure: Likewise.
396 * configure: Regenerate.
398 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
400 * configure: Regenerate to track ../common/common.m4 changes.
403 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
404 Daniel Jacobowitz <dan@codesourcery.com>
405 Joseph Myers <joseph@codesourcery.com>
407 * configure: Regenerate.
409 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
411 * config.in, configure: Regenerate.
413 2006-10-18 Dave Brolley <brolley@redhat.com>
415 * Contribute the following changes:
417 2006-06-14 Dave Brolley <brolley@redhat.com>
419 * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
420 (sh64_fpref): New functions.
421 * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
422 (sh64_fpref): New functions.
423 (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a,
424 sh4a_nofpu and sh4al.
425 (sh2e_mach): New MACH.
426 (sh2a_fpu_mach): New MACH.
427 (sh2a_nofpu_mach): New MACH.
428 (sh4_nofpu): New MACH.
429 (sh4a_mach): New MACH.
430 (sh4a_nofpu_mach): New MACH.
431 (sh4al_mach): New MACH.
432 * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass
433 archfile to CGEN script.
434 * arch.c: Regenerated.
435 * arch.h: Regenerated.
436 * cpu.c: Regenerated.
437 * cpu.h: Regenerated.
438 * cpuall.h: Regenerated.
439 * decode-compact.c: Regenerated.
440 * decode-compact.h: Regenerated.
441 * decode-media.c: Regenerated.
442 * decode-media.h: Regenerated.
443 * defs-compact.h: Regenerated.
444 * defs-media.h: Regenerated.
445 * sem-compact-switch.c: Regenerated.
446 * sem-compact.c: Regenerated.
447 * sem-media-switch.c: Regenerated.
448 * sem-media.c: Regenerated.
449 * sh-desc.c: Regenerated.
450 * sh-desc.h: Regenerated.
451 * sh-opc.h: Regenerated.
453 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
455 * configure: Regenerated.
457 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
459 * configure: Regenerated.
461 2005-05-02 Corinna Vinschen <vinschen@redhat.com>
463 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
466 2005-04-15 Corinna Vinschen <vinschen@redhat.com>
468 * configure.ac: New file.
469 * configure.in: Remove.
470 * configure: Regenerate.
471 * defs-media.h (sem_fields): Add missing sfmt_ldhil member.
472 * sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
473 (sim_create_inferior): Ditto.
475 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
477 * configure: Regenerate for ../common/aclocal.m4 update.
479 Fri Feb 21 19:49:45 2003 J"orn Rennecke <joern.rennecke@superh.com>
481 * sem-media-switch.c, sem-media.c: Regenerate.
483 2002-06-24 Richard Sandiford <rsandifo@redhat.com>
485 * sh64.c: Update path of "callback.h".
487 2002-06-20 Elena Zannoni <ezannoni@redhat.com>
489 * sh64.c: Include correct file for register numbers.
491 Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
493 * sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
496 2001-07-05 Ben Elliston <bje@redhat.com>
498 * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
499 (stamp-desc): Likewise.
500 (stamp-cpu): Likewise.
501 (stamp-defs-compact): Likewise.
502 (stamp-defs-media): Likewise.
503 (stamp-decode-compact): Likewise.
504 (stamp-decode-media): Likewise.
506 2001-03-30 Ben Elliston <bje@redhat.com>
508 * sim-if.c (sim_open): Set sh64_idesc_{media,compact} to NULL.
509 * sh64-sim.h (sh64_idesc_{compact,media}): Declare extern.
510 * sh64.c (sh64_idesc_{compact,media}): Make non-static.
512 2001-01-30 Ben Elliston <bje@redhat.com>
514 * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
515 (trap_handler): Implement these syscalls.
516 (count_argc): New function.
518 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
520 * sh64.c (trap_handler): Implement time.
522 * sh64.c (fetch_str): New function.
523 (trap_handler): Re-implement write, and implement lseek, read,
526 2001-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
528 * sh64.c (sh64_fetch_register): When fetching the PC, return the
529 PC value and set the LSB according to the current ISA.
531 2001-01-18 Ben Elliston <bje@redhat.com>
533 * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
534 has terminated, not exit!
536 2001-01-12 Ben Elliston <bje@redhat.com>
538 * sh64.c (sh64_fcnvds): Re-implement.
540 * sh64.c: Include "bfd.h".
541 (trap_handler): New function. Consolidate function bodies of
542 sh64_trapa and sh64_compact_trapa.
543 (sh64_trapa): Use it.
544 (sh64_compact_trapa): Likewise.
546 2001-01-11 Ben Elliston <bje@redhat.com>
548 * sem-media.c, sem-media-switch.c: Regenerate.
549 * sem-compact.c, sem-compact-switch.c: Likewise.
551 * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
553 * cpu.h, sh-desc.c, sh-desc.h, sh-opc.h: Regenerate.
554 * decode-media.c, decode-media.h, defs-media.h: Likewise.
555 * sem-compact.c, sem-compact-switch.c: Likewise.
556 * sem-media.c, sem-media-switch.c: Likewise.
558 2001-01-10 Ben Elliston <bje@redhat.com>
560 * sim-main.h (CIA_SET): Encode the current instruction set mode
561 when setting the cia.
563 2001-01-08 Ben Elliston <bje@redhat.com>
565 * sh64.c (sh64_store_register): Do not set insn set mode--allow
566 sh64_h_pc_set() to do it.
567 (shmedia_init_cpu): Do not initialise the insn set mode--let the
568 loader set it based on bit 0 of the executable's starting address.
569 (shcompact_init_cpu): Likewise.
570 * mloop-compact.c (sh64_compact_pbb_begin): Emit a warning message
571 about malformed programs which have illegal insns in delay slots.
572 (sh64_compact_pbb_cti_chain): Examine the least significant bit of
573 the new pc, not the current instruction set mode to determine if
574 the next pbb in the chain will consist of SHmedia instructions.
575 * mloop-media.c (sh64_media_pbb_cti_chain): Likewise for SHcompact
576 switches. Set bit 0 when setting the pc for the next SHmedia pbb.
578 * cpu.c, cpu.h: Regenerate.
579 * sem-compact.c, sem-compact-switch.c: Likewise.
580 * sem-media.c, sem-media-switch.c: Likewise.
582 * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
583 not stdio functions to emit output when executing write traps.
585 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
587 * sh64.c (sh64_compact_trapa): Support writing to stderr. Flush
588 output stream after each (compound) write.
590 2001-01-06 Ben Elliston <bje@redhat.com>
592 * sem-media.c, sem-media-switch.c: Regenerate.
594 2001-01-04 Ben Elliston <bje@redhat.com>
596 * sem-compact.c, sem-compact-switch.c: Regenerate.
599 2001-01-03 Ben Elliston <bje@redhat.com>
601 * cpu.c, cpu.h: Regenerate.
602 * sem-media.c, sem-media-switch.c: Likewise.
604 2001-01-02 Ben Elliston <bje@redhat.com>
606 * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
609 * sem-compact.c, sem-compact-switch.c: Regenerate.
611 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
613 * sh64.c (sh64_nsb): Re-implement correctly.
615 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
617 * sh64.c (sh64_nsb): Re-implement.
619 2000-12-27 Ben Elliston <bje@redhat.com>
621 * cpu.c, cpu.h: Regenerate.
622 * sem-compact.c, sem-compact-switch.c: Likewise.
623 * sem-media.c, sem-media-switch.c: Likewise.
624 * sh-desc.c: Likewise.
626 2000-12-26 Ben Elliston <bje@redhat.com>
628 * mloop-compact.in, mloop-media.in: Remove.
629 * mloop-compact.c, mloop-media.c: New files.
630 * eng-compact.c, eng-media.c: Likewise.
631 * Makefile.in (mloop-compact.c): Remove target.
632 (stamp-mloop-compact): Likewise.
633 (mloop-media.c): Likewise.
634 (stamp-mloop-media): Likewise.
635 (sh64-clean): Update.
636 (stamp-mloop): Remove.
638 2000-12-23 Ben Elliston <bje@redhat.com>
640 * sh64.c (sh64_prepare_run): Rename from shmedia_prepare_run.
641 (shcompact_prepare_run): Remove.
642 (sh2_mach, sh3_mach, sh3e_mach, sh4_mach, sh5_mach): Update.
644 2000-12-22 Ben Elliston <bje@redhat.com>
646 * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
648 (sh64_engine_run_full): Only compute idesc tables once.
649 (sh64_engine_run_fast): Likewise.
650 (shmedia_prepare_run): Do nothing.
651 (shcompact_prepare_run): Likewise.
653 * sem-compact.c, sem-compact-switch.c: Regenerate.
654 * sem-media.c, sem-media-switch.c: Likewise.
656 2000-12-19 Ben Elliston <bje@redhat.com>
658 * sem-media.c, sem-media-switch.c: Regenerate.
660 2000-12-15 Ben Elliston <bje@redhat.com>
662 * sh64.c (sh64_store_register): When storing a new PC, set ISA
663 mode based on the value of bit 0.
665 * sh64.c: Include "sim-sh64.h" for GDB interfacing.
666 (sh64_fetch_register): Implement.
667 (sh64_store_register): Likewise.
669 * sh64-sim.h (sh64_fmacs): Declare.
670 (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
672 * sem-media.c, sem-media-switch.c: Regenerate.
674 2000-12-13 Ben Elliston <bje@redhat.com>
676 * sh64-sim.h (sh64_compact_trapa): Renamed from sh64_trapa.
677 (sh64_trapa): Renamed from sh64_trap.
678 * sh64.c (sh64_trapa): Call sh64_compact_trapa for handling.
679 Apply renaming described above.
681 * decode-media.c, decode-media.h, defs-media.h: Regenerate.
682 * sem-media.c sem-media-switch.c: Likewise.
683 * sh-desc.c, sh-desc.h, sh-opc.h: Likewise.
685 2000-12-12 Ben Elliston <bje@redhat.com>
687 * cpu.c, cpu.h, sh-desc.c: Regenerate.
688 * sem-media.c, sem-media-switch.c: Likewise.
689 * sem-compact.c, sem-compact-switch.c: Likewise.
690 * sh64-sim.h (sh64_ftrvs): Declare.
691 * sh64.c (sh64_ftrvs): Bug fixes.
693 * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
694 (sh64_fcmpgts): Likewise.
696 2000-12-11 Ben Elliston <bje@redhat.com>
698 * decode-media.c, decode-media.h: Regenerate.
699 * defs-media.h: Likewise.
700 * sem-media.c, sem-media-switch.c: Likewise.
701 * sh-desc.c: Likewise.
703 2000-12-08 Ben Elliston <bje@redhat.com>
705 * decode-media.c, decode-media.h: Regenerate.
706 * defs-media.h: Likewise.
707 * sem-media.c, sem-media-switch.c: Likewise.
709 2000-12-07 Ben Elliston <bje@redhat.com>
711 * decode-media.c, decode-media.h: Regenerate.
712 * sem-media.c, sem-media-switch.c: Likewise.
714 * defs-media.h: Regenete.
715 * decode-compact.c, decode-media.c: Likewise.
717 2000-12-06 Ben Elliston <bje@redhat.com>
719 * sh64.c (sh64_fcmpund): Return a BI.
720 (sh64_fcmpuns): Likewise.
721 (sh64_nsb): Treat source value as unsigned.
722 (sh64_compact_model_insn_before): New function.
723 (sh64_media_model_insn_before): Likewise.
724 (sh64_compact_model_insn_after): Likewise.
725 (sh64_media_model_insn_after): Likewise.
726 (sh_models): Use sh5_mach for "sh5".
727 * sh64-sim.h: Add missing function prototypes.
729 * cpu.c, cpu.h, defs-media.h, sh-desc.c: Regenerate.
730 * decode-media.c, decode-media.h: Likewise.
731 * sem-media.c, sem-media-switch.c: Likewise.
733 2000-12-05 Ben Elliston <bje@redhat.com>
735 * mloop-compact.in, mloop-media.in: Use @prefix@.
736 * Makefile.in (stamp-mloop-compact): Pass -outfile-suffix option
737 to make generated files safe in the presence of parallel makes.
738 (stamp-mloop-media): Likewise.
740 * decode-media.c, defs-media.h: Regenerate.
742 2000-12-04 Ben Elliston <bje@redhat.com>
744 * sh64-sim.h: Add function prototypes from sh64.c.
746 * Makefile.in (SH64_OBJS): Add ISA variant objects.
747 (SIM_EXTRA_DEPS): Do not depend on opcodes headers.
748 (SH64_INCLUDE_DEPS): Update for ISA variants.
749 (stamp-mloop-compact, stamp-mloop-media): New targets.
750 (decode-compact.o, sem-compact.o): New rules.
751 (decode-media.o, sem-media.o): Likewise.
752 (sh64-clean): Update.
753 (stamp-all, stamp-mloop, stamp-decode, stamp-defs): New targets.
754 (stamp-desc, stamp-cpu): Likewise.
755 (stamp-defs-compact, stamp-defs-media): Likewise.
756 (stamp-decode-compact, stamp-decode-media): Likewise.
758 * defs-compact.h, defs-media.h: Regenerate.
760 2000-12-03 Ben Elliston <bje@redhat.com>
762 * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
763 (sh64_fcmpged, sh64_fcmpges): Likewise.
764 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
766 * sh64.c (sh64_endian): New function.
767 (sh64_fcmpeqd, sh64_fcmpeqs): Return a BI.
768 (sh64_fcmpged, sh64_fcmpges): Likewise.
769 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
770 (sh64_trap): Implement a basic syscall facility.
771 (sh64_trapa): Exit with return code in R5, not 0.
772 (sh64_model_sh5_u_exec): Remove.
773 (sh64_engine_run_full): New function.
774 (sh64_engine_run_fast): Likewise.
775 (shmedia_prepare_run): Likewise.
776 (shcompact_prepare_run): Likewise.
777 (sh64_get_idata): Likewise.
778 (sh64_init_cpu): Likewise.
779 (shmedia_init_cpu): Likewise.
780 (shcompact_init_cpu): Likewise.
781 (sh64_model_init): Likewise.
783 (sh5_imp_properties): Likewise.
784 (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
786 * sem-compact.c, sem-compact-switch.c: Regenerate.
788 2000-12-01 Ben Elliston <bje@redhat.com>
790 * sh64-sim.h (sh64_endian): Declare.
791 * sim-main.h (sim_cia): Use UDI, not USI.
792 (WITH_PROFILE_MODEL_P): Remove.
793 * sim-if.c (sim_sh64_disassemble_insn): Remove.
794 (sh64_disassemble_insn): New function.
795 (sim_open): Use as this CPU's disassembler.
797 * decode.h (WITH_PROFILE_MODEL_P): Undefine.
799 * decode-compact.c, decode-media.c: Regenerate.
800 * defs-compact.h, defs-media.h: Likewise.
801 * sem-compact.c, sem-compact-switch.c: Likewise.
802 * sh-desc.c, sh-desc.h: Likewise.
803 * cpu.c, cpu.h, cpuall.h: Likewise.
805 2000-11-30 Ben Elliston <bje@redhat.com>
807 * arch.c, sh-desc.c, sh-desc.h: Regenerate.
809 * tconfig.in (SIM_HAVE_BIENDIAN): Define.
810 * configure.in (SIM_AC_OPTION_BIGENDIAN): Do not hard-wire a
811 target byte order, but default to big endian.
812 * configure: Regenerate.
814 2000-11-27 Ben Elliston <bje@redhat.com>
816 * sim-main.h (WITH_PROFILE_MODEL_P): Define.
817 * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
819 * sh-desc.c, sh-desc.h: Regenerate.
820 * arch.c, cpu.h, cpuall.h: Regenerate.
821 * decode.h (WITH_PROFILE_MODEL_P): Remove.
823 * mloop-compact.in, mloop-media.in: New files.
824 * decode.h: Likewise.
826 2000-11-26 Ben Elliston <bje@redhat.com>
828 * sem-compact.c, sem-compact-switch.c: Generate.
829 * sem-media.c, sem-media-switch.c: Likewise.
831 2000-11-25 Ben Elliston <bje@redhat.com>
833 * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
835 * arch.c, arch.h, cpuall.h, cpu.c, cpu.h: Generate.
836 * decode-compact.c, decode-compact.h: Likewise.
837 * decode-media.c, decode-media.h: Likewise.
838 * sh64-sim.h: New file.
839 * sim-main.h: Likewise.
841 2000-11-22 Ben Elliston <bje@redhat.com>
843 * sim-if.c: New file.
846 2000-11-16 Ben Elliston <bje@redhat.com>
848 * config.in: New file.
849 * tconfig.in: Likewise.
850 * configure.in: Likewise.
851 * configure: Generate.
852 * Makefile.in: New file.