1 2021-06-20 Mike Frysinger <vapier@gentoo.org>
3 * configure.ac (SIM_AC_COMMON): Delete.
4 * aclocal.m4, configure: Regenerate.
6 2021-06-20 Mike Frysinger <vapier@gentoo.org>
8 * aclocal.m4: Regenerate.
9 * configure: Regenerate.
11 2021-06-19 Mike Frysinger <vapier@gentoo.org>
13 * aclocal.m4: Regenerate.
14 * configure: Regenerate.
16 2021-06-19 Mike Frysinger <vapier@gentoo.org>
18 * configure: Regenerate.
20 2021-06-18 Mike Frysinger <vapier@gentoo.org>
22 * aclocal.m4, configure: Regenerate.
24 2021-06-18 Mike Frysinger <vapier@gentoo.org>
26 * configure: Regenerate.
28 2021-06-18 Mike Frysinger <vapier@gentoo.org>
30 * interp.c: Include sim-signal.h.
31 * op_utils.c, sim-main.h: Likewise.
32 * mn10300_sim.h: Delete sim-signal.h include.
34 2021-06-17 Mike Frysinger <vapier@gentoo.org>
36 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
37 * interp.c (sim_open): Set current_target_byte_order.
38 * aclocal.m4, configure: Regenerate.
40 2021-06-17 Mike Frysinger <vapier@gentoo.org>
42 * mn10300_sim.h (u642dw, dw2u64): Change INLINE to INLINE2.
44 2021-06-16 Mike Frysinger <vapier@gentoo.org>
46 * configure: Regenerate.
48 2021-06-16 Mike Frysinger <vapier@gentoo.org>
50 * configure: Regenerate.
53 2021-06-15 Mike Frysinger <vapier@gentoo.org>
55 * config.in, configure: Regenerate.
57 2021-06-14 Mike Frysinger <vapier@gentoo.org>
59 * configure.ac: Delete all to SIM_AC_OPTION_WARNINGS.
60 * configure: Regenerate.
62 2021-06-14 Mike Frysinger <vapier@gentoo.org>
64 * mn10300.igen: Change abort to sim_engine_abort.
66 2021-06-12 Mike Frysinger <vapier@gentoo.org>
68 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
70 2021-06-12 Mike Frysinger <vapier@gentoo.org>
72 * aclocal.m4, config.in, configure: Regenerate.
74 2021-06-12 Mike Frysinger <vapier@gentoo.org>
76 * config.in, configure: Regenerate.
78 2021-06-09 Mike Frysinger <vapier@gentoo.org>
80 * sim-main.h (SIM_ENGINE_HALT_HOOK): Delete 0.
82 2021-06-08 Mike Frysinger <vapier@gentoo.org>
84 * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
87 2021-05-29 Mike Frysinger <vapier@gentoo.org>
89 * interp.c [!SIGTRAP] (SIGTRAP): Define to 5.
91 2021-05-17 Mike Frysinger <vapier@gentoo.org>
93 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
95 2021-05-17 Mike Frysinger <vapier@gentoo.org>
97 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
98 (struct sim_state): Delete.
100 2021-05-16 Mike Frysinger <vapier@gentoo.org>
102 * dv-mn103cpu.c, dv-mn103int.c, dv-mn103iop.c, dv-mn103ser.c,
103 dv-mn103tim.c, op_utils.c: Include defs.h.
104 * interp.c: Replace config.h include with defs.h.
106 2021-05-16 Mike Frysinger <vapier@gentoo.org>
108 * config.in, configure: Regenerate.
110 2021-05-14 Mike Frysinger <vapier@gentoo.org>
112 * mn10300_sim.h: Update include path.
114 2021-05-04 Mike Frysinger <vapier@gentoo.org>
116 * op_utils.c: Delete sys/times.h include.
118 2021-05-04 Mike Frysinger <vapier@gentoo.org>
120 * configure: Regenerate.
122 2021-05-01 Mike Frysinger <vapier@gentoo.org>
124 * config.in, configure: Regenerate.
126 2021-04-26 Mike Frysinger <vapier@gentoo.org>
128 * Makefile.in (NL_TARGET): Delete.
130 2021-04-23 Mike Frysinger <vapier@gentoo.org>
132 * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
133 * configure: Regenerate.
135 2021-04-22 Tom Tromey <tom@tromey.com>
137 * configure, config.in: Rebuild.
139 2021-04-22 Tom Tromey <tom@tromey.com>
141 * Makefile.in (INCLUDE): Remove.
143 2021-04-22 Tom Tromey <tom@tromey.com>
145 * Makefile.in (interp.o): Remove.
146 (idecode.o op_utils.o semantics.o): Remove.
148 2021-04-22 Tom Tromey <tom@tromey.com>
150 * configure: Rebuild.
152 2021-04-21 Mike Frysinger <vapier@gentoo.org>
154 * aclocal.m4: Regenerate.
156 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
158 * configure: Regenerate.
160 2021-04-18 Mike Frysinger <vapier@gentoo.org>
162 * configure: Regenerate.
164 2021-04-18 Mike Frysinger <vapier@gentoo.org>
166 * configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls.
167 * op_utils.c: Delete utime.h include.
168 * config.in, configure: Regenerate.
170 2021-04-15 John Baldwin <jhb@FreeBSD.org>
172 * Makefile.in: (tmp-igen) Only pass mn10300.igen to igen.
173 * mn10300.igen: Include am33-2.igen.
175 2021-04-12 Mike Frysinger <vapier@gentoo.org>
177 * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
179 2021-04-08 Simon Marchi <simon.marchi@polymtl.ca>
181 * Makefile.in: Set ASAN_OPTIONS when running igen.
183 2021-04-02 Mike Frysinger <vapier@gentoo.org>
185 * Makefile.in (../igen/igen): Delete rule.
186 (tmp-igen): Delete ../igen make.
188 2021-04-02 Mike Frysinger <vapier@gentoo.org>
190 * aclocal.m4, configure: Regenerate.
192 2021-02-28 Mike Frysinger <vapier@gentoo.org>
194 * configure: Regenerate.
196 2021-02-21 Mike Frysinger <vapier@gentoo.org>
198 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
199 * aclocal.m4, configure: Regenerate.
201 2021-02-13 Mike Frysinger <vapier@gentoo.org>
203 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
204 * aclocal.m4, configure: Regenerate.
206 2021-02-06 Mike Frysinger <vapier@gentoo.org>
208 * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
210 2021-02-06 Mike Frysinger <vapier@gentoo.org>
212 * configure: Regenerate.
214 2021-01-30 Mike Frysinger <vapier@gentoo.org>
216 * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
218 2021-01-11 Mike Frysinger <vapier@gentoo.org>
220 * config.in, configure: Regenerate.
221 * interp.c, op_utils.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
222 HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
224 2021-01-09 Mike Frysinger <vapier@gentoo.org>
226 * configure: Regenerate.
228 2021-01-09 Mike Frysinger <vapier@gentoo.org>
230 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
231 * configure: Regenerate.
233 2021-01-08 Mike Frysinger <vapier@gentoo.org>
235 * configure: Regenerate.
237 2021-01-04 Mike Frysinger <vapier@gentoo.org>
239 * configure: Regenerate.
241 2017-09-06 John Baldwin <jhb@FreeBSD.org>
243 * configure: Regenerate.
245 2016-01-10 Mike Frysinger <vapier@gentoo.org>
247 * config.in, configure: Regenerate.
249 2016-01-10 Mike Frysinger <vapier@gentoo.org>
251 * configure: Regenerate.
253 2016-01-10 Mike Frysinger <vapier@gentoo.org>
255 * configure: Regenerate.
257 2016-01-10 Mike Frysinger <vapier@gentoo.org>
259 * configure: Regenerate.
261 2016-01-10 Mike Frysinger <vapier@gentoo.org>
263 * configure: Regenerate.
265 2016-01-10 Mike Frysinger <vapier@gentoo.org>
267 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
268 * configure: Regenerate.
270 2016-01-10 Mike Frysinger <vapier@gentoo.org>
272 * configure: Regenerate.
274 2016-01-10 Mike Frysinger <vapier@gentoo.org>
276 * configure: Regenerate.
278 2016-01-09 Mike Frysinger <vapier@gentoo.org>
280 * config.in, configure: Regenerate.
282 2016-01-06 Mike Frysinger <vapier@gentoo.org>
284 * interp.c (sim_open): Mark argv const.
285 (sim_create_inferior): Mark argv and env const.
287 2016-01-04 Mike Frysinger <vapier@gentoo.org>
289 * configure: Regenerate.
291 2016-01-03 Mike Frysinger <vapier@gentoo.org>
293 * interp.c (sim_open): Update sim_parse_args comment.
295 2016-01-03 Mike Frysinger <vapier@gentoo.org>
297 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
298 * configure: Regenerate.
300 2016-01-02 Mike Frysinger <vapier@gentoo.org>
302 * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
304 * configure: Regenerate.
306 2015-12-30 Mike Frysinger <vapier@gentoo.org>
308 * wrapper.c (mn10300_reg_store, mn10300_reg_fetch): Define.
309 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
310 (sim_store_register): Rename to ...
311 (mn10300_reg_store): ... this.
312 (sim_fetch_register): Rename to ...
313 (mn10300_reg_fetch): ... this.
315 2015-12-27 Mike Frysinger <vapier@gentoo.org>
317 * Makefile.in (MN10300_OBJS): Delete sim-hload.o.
319 2015-12-26 Mike Frysinger <vapier@gentoo.org>
321 * config.in, configure: Regenerate.
323 2015-12-24 Mike Frysinger <vapier@gentoo.org>
325 * sim-main.h (SIM_HANDLES_LMA): Delete.
327 2015-12-24 Mike Frysinger <vapier@gentoo.org>
329 * sim-main.h (WITH_WATCHPOINTS): Delete.
331 2015-11-21 Mike Frysinger <vapier@gentoo.org>
333 * interp.c (mn10300_callback): Delete.
334 (sim_open): Delete mn10300_callback assignment.
335 (program_interrupt): Call sim_io_printf.
336 * mn10300_sim.h (mn10300_callback): Delete.
338 2015-11-17 Mike Frysinger <vapier@gentoo.org>
340 * sim-main.h (WITH_CORE): Delete.
342 2015-11-15 Mike Frysinger <vapier@gentoo.org>
344 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
346 2015-11-14 Mike Frysinger <vapier@gentoo.org>
348 * interp.c (sim_close): Delete.
350 2015-06-23 Mike Frysinger <vapier@gentoo.org>
352 * configure: Regenerate.
354 2015-06-17 Mike Frysinger <vapier@gentoo.org>
356 * op_utils.c (do_syscall): Replace call to cb_syscall with
359 2015-06-17 Mike Frysinger <vapier@gentoo.org>
361 * mn10300_sim.h (syscall_read_mem, syscall_write_mem): Delete.
362 * op_utils.c: Include sim-syscall.h.
363 (syscall_read_mem, syscall_write_mem): Delete.
364 (do_syscall): Change syscall_read_mem/syscall_write_mem
365 to sim_syscall_read_mem/sim_syscall_write_mem. Set syscall.p2.
367 2015-06-12 Mike Frysinger <vapier@gentoo.org>
369 * configure: Regenerate.
371 2015-06-12 Mike Frysinger <vapier@gentoo.org>
373 * configure: Regenerate.
375 2015-06-11 Mike Frysinger <vapier@gentoo.org>
377 * interp.c (get_byte, get_half, get_word, put_byte, put_half,
379 (sim_fetch_register): Inline put_word call.
380 (sim_store_register): Inline get_word call.
381 * mn10300_sim.h (struct _state): Delete mem member.
382 (OP, Simops, get_byte, get_half, get_word, put_byte, put_half,
383 put_word, map): Delete.
384 * op_utils.c (MEMPTR): Delete.
386 2015-06-11 Mike Frysinger <vapier@gentoo.org>
388 * interp.c (round_64, fpu_status_ok): Add static.
390 2015-06-11 Mike Frysinger <vapier@gentoo.org>
392 * interp.c (mn10300_debug): Delete.
393 * mn10300_sim.h (DEBUG_TRACE, DEBUG_VALUES, mn10300_debug): Delete.
394 (struct _state): Delete exception and exited members.
395 [_WIN32] (SIGTRAP, SIGQUIT): Delete.
396 * op_utils.c (do_syscall): Call sim_engine_halt instead of setting
399 2015-06-11 Mike Frysinger <vapier@gentoo.org>
401 * mn10300_sim.h (uint8, int8, uint16, int16, uint32, int32): Typedef
402 in terms of unsigned8, signed8, unsigned16, signed16, unsigned32,
403 and signed32 respectively.
405 2015-06-11 Mike Frysinger <vapier@gentoo.org>
407 * interp.c (INLINE): Delete define.
408 * mn10300_sim.h (INLINE): Likewise.
410 2015-04-18 Mike Frysinger <vapier@gentoo.org>
412 * sim-main.h (SIM_CPU): Delete.
414 2015-04-18 Mike Frysinger <vapier@gentoo.org>
416 * sim-main.h (sim_cia): Delete.
417 (SIM_ADDR): Delete comment.
419 2015-04-17 Mike Frysinger <vapier@gentoo.org>
421 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Change CIA_GET to
422 CPU_PC_GET and CIA_SET to CPU_PC_SET.
423 * interp.c (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
424 (program_interrupt): Change CIA_GET to CPU_PC_GET and CIA_SET to
426 (mn10300_cpu_exception_trigger): Change CIA_SET to CPU_PC_SET.
427 (mn10300_cpu_exception_suspend): Likewise.
428 (mn10300_cpu_exception_resume): Likewise.
429 * sim-main.h (CIA_GET, CIA_SET): Delete.
431 2015-04-15 Mike Frysinger <vapier@gentoo.org>
433 * Makefile.in (MN10300_OBJS): Delete sim-cpu.o.
434 * sim-main.h (STATE_CPU): Delete.
436 2015-04-13 Mike Frysinger <vapier@gentoo.org>
438 * configure: Regenerate.
440 2015-04-13 Mike Frysinger <vapier@gentoo.org>
442 * Makefile.in (MN10300_OBJS): Add sim-cpu.o.
443 * interp.c (mn10300_pc_get, mn10300_pc_set): New functions.
444 (sim_open): Declare new local var i. Call sim_cpu_alloc_all.
445 Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
446 (sim_pc_get): Delete.
447 * sim-main.h (null_cia, NULL_CIA): Delete.
449 (struct sim_state): Change cpu to an array of pointers.
450 (STATE_CPU): Drop & and handle WITH_SMP.
452 2015-04-06 Mike Frysinger <vapier@gentoo.org>
454 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
456 2015-03-31 Mike Frysinger <vapier@gentoo.org>
458 * config.in, configure: Regenerate.
460 2015-03-24 Mike Frysinger <vapier@gentoo.org>
462 * interp.c (sim_pc_get): New function.
464 2015-03-24 Mike Frysinger <vapier@gentoo.org>
466 * configure: Regenerate.
468 2015-03-23 Mike Frysinger <vapier@gentoo.org>
470 * Makefile.in (MN10300_OBJS): Delete dv-sockser.o.
472 2015-03-23 Mike Frysinger <vapier@gentoo.org>
474 * configure: Regenerate.
476 2015-03-23 Mike Frysinger <vapier@gentoo.org>
478 * configure: Regenerate.
480 2015-03-23 Mike Frysinger <vapier@gentoo.org>
482 * configure: Regenerate.
484 2015-03-23 Mike Frysinger <vapier@gentoo.org>
486 * configure: Regenerate.
487 * configure.ac: Delete SIM_DV_SOCKSER_O check.
489 2015-03-16 Mike Frysinger <vapier@gentoo.org>
491 * config.in, configure: Regenerate.
493 2015-03-15 Mike Frysinger <vapier@gentoo.org>
495 * tconfig.in: Delete file.
497 2015-03-14 Mike Frysinger <vapier@gentoo.org>
499 * Makefile.in (SIM_RUN_OBJS): Delete.
501 2015-03-14 Mike Frysinger <vapier@gentoo.org>
503 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h &
504 string.h & strings.h & time.h.
505 * aclocal.m4, configure: Regenerate.
507 2014-08-19 Alan Modra <amodra@gmail.com>
509 * configure: Regenerate.
511 2014-08-15 Roland McGrath <mcgrathr@google.com>
513 * configure: Regenerate.
514 * config.in: Regenerate.
516 2014-03-04 Mike Frysinger <vapier@gentoo.org>
518 * configure: Regenerate.
520 2013-09-23 Alan Modra <amodra@gmail.com>
522 * configure: Regenerate.
524 2013-06-03 Mike Frysinger <vapier@gentoo.org>
526 * aclocal.m4, configure: Regenerate.
528 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
530 * configure: Rebuild.
532 2013-03-26 Mike Frysinger <vapier@gentoo.org>
534 * configure: Regenerate.
536 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
538 * configure.ac: Fail if dv-sockser.o not available.
539 Error when --disable-sim-hardware is specified.
540 * tconfig.in: Conditionalize use of dv_sockser_install.
541 * configure: Regenerated.
542 * config.in: Regenerated.
544 2012-06-17 Hans-Peter Nilsson <hp@axis.com>
546 * interp.c: Include config.h first. Do not include sysdep.h.
548 2012-06-15 Joel Brobecker <brobecker@adacore.com>
550 * config.in, configure: Regenerate.
552 2012-03-24 Mike Frysinger <vapier@gentoo.org>
554 * aclocal.m4, config.in, configure: Regenerate.
556 2012-02-16 Kevin Buettner <kevinb@redhat.com>
558 * interp.c (sim_fetch_register): Return length, not -1.
560 2012-01-02 Joel Brobecker <brobecker@adacore.com>
562 * sim-main.h: Reformat copyright header.
564 2011-12-03 Mike Frysinger <vapier@gentoo.org>
566 * aclocal.m4: New file.
567 * configure: Regenerate.
569 2011-11-07 Mike Frysinger <vapier@gentoo.org>
572 * dv-mn103iop.c (write_dedicated_control_reg): Convert && to &.
574 2011-10-19 Mike Frysinger <vapier@gentoo.org>
576 * configure: Regenerate after common/acinclude.m4 update.
578 2011-10-17 Mike Frysinger <vapier@gentoo.org>
580 * configure.ac: Change include to common/acinclude.m4.
582 2011-10-17 Mike Frysinger <vapier@gentoo.org>
584 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
585 call. Replace common.m4 include with SIM_AC_COMMON.
586 * configure: Regenerate.
588 2011-07-05 Mike Frysinger <vapier@gentoo.org>
590 * interp.c (sim_do_command): Delete.
592 2011-06-20 Nick Clifton <nickc@redhat.com>
594 * am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag.
596 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
598 * interp.c (sim_store_register): Update return value to
601 2010-04-19 Mike Frysinger <vapier@gentoo.org>
603 * dv-mn103ser.c (sockser_addr, USE_SOCKSER_P): Delete
604 (do_polling_event): Change USE_SOCKSER_P to dv_sockser_status.
605 (read_status_reg): Likewise.
606 (write_txb): Likewise.
608 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
610 * configure: Regenerate.
612 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
614 * config.in: Regenerate.
615 * configure: Likewise.
617 * configure: Regenerate.
619 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
621 * configure: Regenerate to track ../common/common.m4 changes.
624 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
625 Daniel Jacobowitz <dan@codesourcery.com>
626 Joseph Myers <joseph@codesourcery.com>
628 * configure: Regenerate.
630 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
632 * acconfig.h: Remove.
633 * config.in: Regenerate.
635 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
637 * configure: Regenerated.
639 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
641 * configure: Regenerated.
643 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
645 * configure: Regenerated.
647 2006-03-29 Hans-Peter Nilsson <hp@axis.com>
649 * configure: Regenerate.
651 2005-03-23 Mark Kettenis <kettenis@gnu.org>
653 * configure: Regenerate.
655 2005-01-14 Andrew Cagney <cagney@gnu.org>
657 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
658 explicit call to AC_CONFIG_HEADER.
659 * configure: Regenerate.
661 2005-01-12 Andrew Cagney <cagney@gnu.org>
663 * configure.ac: Update to use ../common/common.m4.
664 * configure: Re-generate.
666 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
668 * configure: Regenerated to track ../common/aclocal.m4 changes.
670 2005-01-07 Andrew Cagney <cagney@gnu.org>
672 * configure.ac: Rename configure.in, require autoconf 2.59.
673 * configure: Re-generate.
675 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
677 * configure: Regenerate for ../common/aclocal.m4 update.
679 2004-06-26 Alexandre Oliva <aoliva@redhat.com>
681 2000-08-07 Graham Stott <grahams@cygnus.co.uk>
682 * am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo.
683 2000-05-29 Alexandre Oliva <aoliva@cygnus.com>
684 * interp.c (fpu_disabled_exception, fpu_unimp_exception,
685 fpu_check_signal_exception): Take additional state arguments.
686 Print exception type and call program_interrupt. Adjust callers.
687 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
688 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional
690 * mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception,
691 fpu_check_signal_exception): Adjust prototypes.
692 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
693 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise.
694 * am33-2.igen: Adjust calls.
695 2000-05-19 Alexandre Oliva <aoliva@cygnus.com>
696 * op_utils.c (cmp2fcc): Moved...
697 * interp.c: ... here.
698 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
699 * am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or
700 `signed64' where type width is relevant.
701 2000-05-15 Alexandre Oliva <aoliva@cygnus.com>
702 * mn10300_sim.h: Include sim-fpu.h.
703 (FD2FPU, FPU2FD): Enclose the FD argument in parentheses.
704 (fpu_check_signal_exception): Declare.
705 (struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise.
706 (FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec.
707 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
708 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare.
709 * interp.c (fpu_disabled_exception): Document.
710 (fpu_unimp_exception): Likewise.
711 (fpu_check_signal_exception): Define.
712 (reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise.
713 (reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise.
714 (REG2VAL, ROUND, VAL2REG): Define shorthands.
715 (fpu_status_ok): Define.
716 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
717 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define.
718 * am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv,
719 fmadd, fmsub, fnmadd, fnmsub): Use new functions.
720 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
721 * interp.c (sim_create_inferior): Set PSW bit to enable FP insns
722 if architecture is AM33/2.0.
723 * am33.igen: Include am33-2.igen.
724 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
725 * mn10300.igen (movm, call, ret, retf): Check for am33_2 too.
726 * am33.igen (movm): Likewise.
727 2000-04-19 Alexandre Oliva <aoliva@cygnus.com>
728 * am33.igen: Added `*am33_2' to some instructions that were
730 2000-04-07 Alexandre Oliva <aoliva@cygnus.com>
731 * am33-2.igen: New file. All insns implemented, but FP flags are
732 only set for fcmp, exceptional conditions are not handled yet.
733 * Makefile.in (IGEN_INSN): Added am33-2.igen.
734 (tmp-igen): Added -M am33_2.
735 * mn10300.igen, am33.igen: Added `*am33_2' to all insns.
736 * gencode.c: Support FMT_D3.
737 * mn10300_sim.h (dword): New type.
738 (struct _state): Added fpregs.
739 (REG_FPCR, FPCR): New define. All assorted bitmaps.
740 (XS2FS, AS2FS, Xf2FD): New macros.
741 (FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise.
742 (load_dword, store_dword): New functions or macros.
743 (u642dw, dw2u64): New functions.
744 (fpu_disabled_exception, fpu_unimp_exception): Declared.
745 * interp.c (fpu_disabled_exception): Defined; no actual
747 (fpu_unimp_exception): Likewise.
748 * op_utils.c (cmp2fcc): New function.
750 * interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
751 and definitions to ISO C.
753 * gencode.c, simops.c: Delete.
754 * Makefile.in: Remove non-COMMON dependencies and commands.
756 * configure.in: Use common simulator always. Don't subst sim_gen
758 * configure: Rebuilt.
759 * Makefile.in (WITHOUT_COMMON_OBJS, WITHOUT_COMMON_INTERP_DEP,
760 WITHOUT_COMMON_RUN_OBJS): Remove.
761 (WITH_COMMON_OBJS): Rename to MN10300_OBJS.
762 (WITH_COMMON_INTERP_DEP): Rename to MN10300_INTERP_DEP.
763 (WITH_COMMON_RUN_OBJS): Rename to SIM_RUN_OBJS.
764 (SIM_EXTRA_CFLAGS): Don't use @sim_gen@.
765 * interp.c: Remove non-common bits.
766 * mn10300_sim.h: Likewise.
768 2003-08-28 Andrew Cagney <cagney@redhat.com>
770 * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to
772 (read_status_reg): Cast "serial_reg" to "long".
773 * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to
775 (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
777 2003-02-27 Andrew Cagney <cagney@redhat.com>
779 * interp.c (sim_open, sim_create_inferior, sim_open)
780 (sim_create_inferior): Rename _bfd to bfd.
782 2003-02-26 Andrew Cagney <cagney@redhat.com>
784 * am33.igen: Call sim_engine_abort instead of abort.
786 2003-02-26 David Carlton <carlton@math.stanford.edu>
788 * dv-mn103tim.c (read_special_timer6_reg): Add break after
789 empty default: label.
790 (write_special_timer6_reg): Ditto.
793 2002-11-28 Andrew Cagney <cagney@redhat.com>
795 * sim-main.h: Only include "idecode.h" once.
796 * Makefile.in (SIM_EXTRA_DEPS): Define.
798 2002-06-16 Andrew Cagney <ac131313@redhat.com>
800 * configure: Regenerated to track ../common/aclocal.m4 changes.
802 2002-06-09 Andrew Cagney <cagney@redhat.com>
804 * Makefile.in (INCLUDE): Update path to callback.h.
805 * mn10300_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
808 2001-05-06 Jim Blandy <jimb@redhat.com>
810 * mn10300.igen: Doc fixes.
812 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
814 * Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
815 Depend on targ-vals.h.
817 2001-04-15 J.T. Conklin <jtc@redback.com>
819 * Makefile.in (simops.o): Add simops.h to dependency list.
821 Wed Aug 9 02:24:53 2000 Graham Stott <grahams@cygnus.co.uk>
823 * am33.igen: Warning clean-up.
824 (movm): Initialize PC and mask.
825 (mov, movbu, movhu): Set srcreg2 from RI0.
826 (bsch): Initialize c.
827 (sat16_cmp): Actually do the comparison.
828 (mov_llt): Do not overwrite dstreg with uninitialized variable.
830 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
832 * configure: Regenerated to track ../common/aclocal.m4 changes.
834 2000-05-22 Alexandre Oliva <aoliva@cygnus.com>
836 * am33.igen: Fix leading comments of SP-relative offset insns that
837 referred to other registers. Make their offsets unsigned.
839 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
841 * mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
842 genericXor, genericBtst): Use `unsigned32'.
843 * op_utils.c: Likewise.
844 * mn10300.igen, am33.igen: Use `unsigned32', `signed32',
845 `unsigned64' or `signed64' where type width is relevant.
847 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
849 * am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
851 2000-04-09 Alexandre Oliva <aoliva@cygnus.com>
853 * am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
854 some instructions that were missing it.
856 2000-03-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
858 * Makefile.in (IGEN_INSN): Added am33.igen.
860 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
862 * configure: Regenerated to track ../common/aclocal.m4 changes.
864 Tue Jul 13 13:26:20 1999 Andrew Cagney <cagney@b1.cygnus.com>
866 * interp.c: Clarify error message reporting an unknown board.
868 1999-05-08 Felix Lee <flee@cygnus.com>
870 * configure: Regenerated to track ../common/aclocal.m4 changes.
872 1999-04-16 Frank Ch. Eigler <fche@cygnus.com>
874 * interp.c (program_interrupt): Detect undesired recursion using
875 static flag. Set NMIRC register's SYSEF flag during
876 --board=stdeval1 mode.
877 * dv-mn103-int.c (write_icr): Add backdoor address to allow CPU to
880 1999-04-02 Keith Seitz <keiths@cygnus.com>
882 * Makefile.in (SIM_EXTRA_CFLAGS): Define a POLL_QUIT_INTERVAL
883 for use in the simulator so that the poll_quit callback is
884 not called too often.
886 Tue Mar 9 21:26:41 1999 Andrew Cagney <cagney@b1.cygnus.com>
888 * dv-mn103int.c (mn103int_ioctl): Return something.
889 * dv-mn103tim.c (write_tm6md): GCC suggested parentheses around &&
892 Tue Feb 16 23:57:17 1999 Jeffrey A Law (law@cygnus.com)
894 * mn10300.igen (retf): Fix return address computation and store
895 the new pc value into nia.
897 1998-12-29 Frank Ch. Eigler <fche@cygnus.com>
899 * Makefile.in (WITH_COMMON_OBJS): Build also dv-sockser.o.
900 * interp.c (sim_open): Add stub mn103002 cache control memory regions.
901 Set OPERATING_ENVIRONMENT on "stdeval1" board.
902 (mn10300_core_signal): New function to intercept memory errors.
903 (program_interrupt): New function to dispatch to exception vector
904 (mn10300_exception_*): New functions to snapshot pre/post exception
906 * sim-main.h (SIM_CORE_SIGNAL): Define hook - call mn10300_core_signal.
907 (SIM_ENGINE_HALT_HOOK): Do nothing.
908 (SIM_CPU_EXCEPTION*): Define hooks to call mn10300_cpu_exception*().
909 (_sim_cpu): Add exc_* fields to store register value snapshots.
910 * dv-mn103ser.c (*): Support dv-sockser backend for UART I/O.
911 Various endianness and warning fixes.
912 * mn10300.igen (illegal): Call program_interrupt on error.
913 (break): Call program_interrupt on breakpoint
915 Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com>
917 * dv-mn103int.c (mn103int_ioctl): New function for NMI
918 generation. (mn103int_finish): Install it as ioctl handler.
919 * dv-mn103tim.c: Support timer 6 specially. Endianness fixes.
921 Wed Oct 14 12:11:05 1998 Jeffrey A Law (law@cygnus.com)
923 * am33.igen: Allow autoincrement stores using the same register
924 for source and destination operands.
926 Mon Aug 31 10:19:55 1998 Jeffrey A Law (law@cygnus.com)
928 * am33.igen: Reverse HI/LO outputs of 4 operand "mul" and "mulu".
930 Fri Aug 28 14:40:49 1998 Joyce Janczyn <janczyn@cygnus.com>
932 * interp.c (sim_open): Check for invalid --board option, fix
933 indentation, allocate memory for mem control and DMA regs.
935 Wed Aug 26 09:29:38 1998 Joyce Janczyn <janczyn@cygnus.com>
937 * mn10300.igen (div,divu): Fix divide instructions so divide by 0
938 behaves like the hardware.
940 Mon Aug 24 11:50:09 1998 Joyce Janczyn <janczyn@cygnus.com>
942 * sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.
944 Wed Aug 12 12:36:07 1998 Jeffrey A Law (law@cygnus.com)
946 * am33.igen: Handle case where first DSP operation modifies a
947 register used in the second DSP operation correctly.
949 Tue Jul 28 10:10:25 1998 Jeffrey A Law (law@cygnus.com)
951 * am33.igen: Detect cases where two operands must not match for
952 DSP instructions too.
954 Mon Jul 27 12:04:17 1998 Jeffrey A Law (law@cygnus.com)
956 * am33.igen: Detect cases where two operands must not match in
957 non-DSP instructions.
959 Fri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com>
961 * op_utils.c (do_syscall): Rewrite to use common/syscall.c.
962 (syscall_read_mem, syscall_write_mem): New functions for syscall
964 * mn10300_sim.h: Add prototypes for syscall_read_mem and
966 * mn10300.igen: Change C++ style comments to C style comments.
967 Check for divide by zero in div and divu ops.
969 Fri Jul 24 12:49:28 1998 Jeffrey A Law (law@cygnus.com)
971 * am33.igen (translate_xreg): New function. Use it as needed.
973 Thu Jul 23 10:05:28 1998 Jeffrey A Law (law@cygnus.com)
975 * am33.igen: Add some missing instructions.
977 * am33.igen: Autoincrement loads/store fixes.
979 Tue Jul 21 09:48:14 1998 Jeffrey A Law (law@cygnus.com)
981 * am33.igen: Add mov_lCC DSP instructions.
983 * am33.igen: Add most am33 DSP instructions.
985 Thu Jul 9 10:06:55 1998 Jeffrey A Law (law@cygnus.com)
987 * mn10300.igen: Fix Z bit for addc and subc instructions.
988 Minor fixes in multiply/divide patterns.
990 * am33.igen: Add missing mul[u] imm32,Rn. Fix condition code
991 handling for many instructions. Fix sign extension for some
994 * am33.igen: Fix Z bit for remaining addc/subc instructions.
995 Do not sign extend immediate for mov imm,XRn.
996 More random mul, mac & div fixes.
997 Remove some unused variables.
998 Sign extend 24bit displacement in memory addresses.
1000 * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn. Various
1001 fixes to 2 register multiply, divide and mac instructions. Set
1002 Z,N correctly for sat16. Sign extend 24 bit immediate for add,
1003 and sub instructions.
1005 * am33.igen: Add remaining non-DSP instructions.
1007 Wed Jul 8 16:29:12 1998 Jeffrey A Law (law@cygnus.com)
1009 * am33.igen (translate_rreg): New function. Use it as appropriate.
1011 * am33.igen: More am33 instructions. Fix "div".
1013 Mon Jul 6 15:39:22 1998 Jeffrey A Law (law@cygnus.com)
1015 * mn10300.igen: Add am33 support.
1017 * Makefile.in: Use multi-sim to support both a mn10300 and am33
1020 * am33.igen: Add many more am33 instructions.
1022 Wed Jul 1 17:07:09 1998 Jeffrey A Law (law@cygnus.com)
1024 * mn10300_sim.h (FETCH24): Define.
1026 * mn10300_sim.h: Add defines for some registers found on the AM33.
1027 * am33.igen: New file with some am33 support.
1029 Tue Jun 30 11:23:20 1998 Jeffrey A Law (law@cygnus.com)
1031 * mn10300_sim.h: Include bfd.h
1032 (struct state): Add more room for processor specific registers.
1035 Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>
1037 * dv-mn103tim.c: Include sim-assert.h
1038 * dv-mn103ser.c (do_polling_event): Check for incoming data on
1039 serial line and schedule next polling event.
1040 (read_status_reg): schedule events to check for incoming data on
1041 serial line and issue interrupt if necessary.
1043 Fri Jun 19 16:47:27 1998 Joyce Janczyn <janczyn@cygnus.com>
1045 * interp.c (sim_open): hook up serial 1 and 2 ports properly (typo).
1047 Fri Jun 19 11:59:26 1998 Joyce Janczyn <janczyn@cygnus.com>
1049 * interp.c (board): Rename am32 to stdeval1 as this is the name
1050 consistently used to refer to the mn1030002 board.
1052 Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>
1053 * interp.c (sim_open): Fix typo in address of EXTMD register
1054 (0x34000280, not 0x3400280).
1056 Wed Jun 17 18:00:18 1998 Jeffrey A Law (law@cygnus.com)
1058 * simops.c (syscall): Handle change in opcode # for syscall.
1059 * mn10300.igen (syscall): Likewise.
1061 Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>
1062 * dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
1063 reset) are not enabled on reset.
1065 Sun June 14 17:04:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1066 * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o
1068 * dv-mn103ser.c: Fill in methods for reading and writing to serial
1070 * interp.c (sim_open): Make the serial device a polling device.
1072 Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1073 * dv-mn103iop.c: New file for handling am32 io ports.
1074 * configure.in: Add mn103iop to hw_device list.
1075 * configure: Re-generate.
1076 * interp.c (sim_open): Create io port device.
1078 Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1079 * dv-mn103int.c (external_group): Use enumerated types to access
1080 correct group addresses.
1081 * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
1082 triggers an interrupt on the higher-numbered timer's port.
1084 Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1085 * interp.c: (mn10300_option_handler): New function parses arguments
1087 * (board): Add --board option for specifying am32.
1088 * (sim_open): Create new timer and serial devices and control
1089 configuration of other am32 devices via board option.
1090 * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices.
1091 * dv-mn103cpu.c: Fix typos in opening comments.
1092 * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30.
1093 * configure.in: Add mn103tim and mn103ser to hw_device list.
1094 * configure: Re-generate.
1096 Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
1098 * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
1100 * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and
1101 sim-main.h. Declare a struct hw_descriptor instead of struct
1102 hw_device_descriptor.
1104 Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com>
1106 * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
1109 Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1111 * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
1113 Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
1115 * interp.c (sim_open): Create a polling PAL device.
1117 Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
1119 * dv-mn103int.c (mn103int_port_event):
1120 (mn103int_port_event):
1121 (mn103int_io_read_buffer):
1122 (mn103int_io_write_buffer):
1124 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args.
1125 (mn103cpu_port_event): Ditto.
1126 (mn103cpu_io_read_buffer): Ditto.
1127 (mn103cpu_io_write_buffer): Ditto.
1129 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1131 * configure: Regenerated to track ../common/aclocal.m4 changes.
1133 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1135 * configure: Regenerated to track ../common/aclocal.m4 changes.
1138 Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com>
1140 * acconfig.h: New file.
1141 * configure.in: Reverted change of Apr 24; use sinclude again.
1143 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1145 * configure: Regenerated to track ../common/aclocal.m4 changes.
1148 Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com>
1150 * configure.in: Don't call sinclude.
1152 Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
1154 * mn10300_sim.h: Declare all functions in op_utils.c using
1156 * op_utils.c: Ditto.
1157 * sim-main.c: New file. Include op_utils.c.
1159 * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
1160 differentiate between MOV/CMP immediate/register instructions.
1162 * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
1163 * configure: Regenerate.
1165 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1167 * configure: Regenerated to track ../common/aclocal.m4 changes.
1169 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1171 * interp.c (hw): Delete variable, moved to SIM_DESC.
1172 (sim_open): Delete calls to hw_tree_create, hw_tree_finish.
1173 Handled by sim-module.
1174 (sim_open): Do not anotate tree with trace properties, handled by
1176 (sim_open): Call sim_hw_parse instead of hw_tree_parse.
1178 * configure: Regenerated to track ../common/aclocal.m4 changes.
1180 Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
1182 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC
1183 on the stack when delivering interrupts (not just the lower
1185 * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were
1186 specified in the wrong order.
1188 Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
1190 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
1191 succeeding interrupts, clear pending_handler when the handler
1194 Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
1196 * Makefile.in (tmp-igen): Prefix all usage of move-if-change
1197 script with $(SHELL) to make NT native builds happy.
1198 * configure: Regenerate because of change to ../common/aclocal.m4.
1200 Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com>
1202 * configure.in: Make --enable-sim-common the default.
1203 * configure: Re-generate.
1205 * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
1206 address into Sate.regs[REG_PC] instead of common struct.
1208 Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1210 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
1212 Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1214 * simops.c (OP_F0FD): Initialise variable 'sp'.
1216 Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
1218 * dv-mn103int.c (decode_group): A group register every 4 bytes not
1220 (write_icr): Rewrite equation updating request field.
1221 (read_iagr): Fix check that interrupt is still pending.
1223 Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
1225 * interp.c (sim_open): Tidy up device creation.
1227 * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
1229 (mn103int_io_read_buffer): Convert absolute address to register
1231 (read_icr, write_icr): Convert block offset into group offset.
1233 Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
1235 * interp.c (sim_open): Create second 1mb memory region at
1237 (sim_open): Create a device tree.
1238 (sim-hw.h): Include.
1239 (do_interrupt): Delete, needs to use dv-mn103cpu.c
1241 * dv-mn103int.c, dv-mn103cpu.c: New files.
1243 Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
1245 * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
1249 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1251 * configure: Regenerated to track ../common/aclocal.m4 changes.
1253 Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
1255 * interp.c (sim-options.h): Include.
1256 (sim_kind, myname): Declare when not using common framework.
1258 * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
1259 functions found in op_utils.c
1261 * mn10300.igen (add): Discard unused variables.
1263 * configure, config.in: Re-generate with autoconf 2.12.1.
1265 Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1267 Add support for --enable-sim-common option.
1268 * Makefile.in (WITHOUT_COMMON_OBJS): Files included if
1269 ! --enable-sim-common
1270 (WITH_COMMON_OBJS): Files included if --enable-sim-common.
1271 (MN10300_OBJS,MN10300_INTERP_DEP): New variables.
1272 (SIM_OBJS): Rewrite.
1273 ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables.
1274 (SIM_EXTRA_CFLAGS): New variable.
1275 (clean-extra): Clean up igen files.
1276 (../igen/igen,clean-igen,tmp-igen): New rules.
1277 * configure.in: Add support for common framework via
1278 --enable-sim-common.
1279 * configure: Regenerate.
1280 * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h.
1281 (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON.
1282 (init_system,sim_write,compare_simops): Likewise.
1283 (sim_set_profile,sim_set_profile_size): Likewise.
1284 (sim_stop,sim_resume,sim_trace,sim_info): Likewise.
1285 (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise.
1286 (enum interrupt_type): New enum.
1287 (interrupt_names): New global.
1288 (do_interrupt): New function.
1289 (sim_open): Define differently if WITH_COMMON.
1290 (sim_close,sim_create_inferior,sim_do_command): Likewise.
1291 * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions
1293 * mn10300.igen: New file.
1294 * mn10300.dc: New file.
1295 * op_utils.c: New file.
1296 * sim-main.h: New file.
1298 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1300 * configure: Regenerated to track ../common/aclocal.m4 changes.
1302 Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com)
1304 * simops.c (inc): Fix typo.
1306 Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com)
1308 * simops.c (signed multiply instructions): Cast input operands to
1309 signed32 before casting them to signed64 so that the sign bit
1310 is propagated properly.
1312 Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com>
1314 * Makefile.in: Last change was bad. Define NL_TARGET
1315 so that targ-vals.h will be used instead of syscall.h.
1316 * simops.c: Use targ-vals.h instead of syscall.h.
1317 (OP_F020): Disable unsupported system calls.
1319 Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com>
1321 * Makefile.in: Get header files from libgloss/mn10300/sys.
1323 Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com)
1325 * simops.c: Include sim-types.h.
1327 Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com)
1329 * simops.c (multiply instructions): Cast input operands to a
1330 signed64/unsigned64 type as appropriate.
1332 Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
1334 * interp.c (sim_store_register, sim_fetch_register): Pass in
1335 length parameter. Return -1.
1337 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1339 * configure: Regenerated to track ../common/aclocal.m4 changes.
1341 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1343 * configure: Regenerated to track ../common/aclocal.m4 changes.
1345 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1347 * configure: Regenerated to track ../common/aclocal.m4 changes.
1349 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1351 * configure: Regenerated to track ../common/aclocal.m4 changes.
1354 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1356 * configure: Regenerated to track ../common/aclocal.m4 changes.
1358 Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com)
1360 * simops.c (call:16 call:32): Stack adjustment is determined solely
1363 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1365 * interp.c (sim_load): Pass lma_p and sim_write args to
1368 Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com)
1370 * simops.c: Correctly handle register restores for "ret" and "retf"
1373 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1375 * configure: Regenerated to track ../common/aclocal.m4 changes.
1377 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1379 * configure: Regenerated to track ../common/aclocal.m4 changes.
1381 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1383 * configure: Regenerated to track ../common/aclocal.m4 changes.
1385 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1387 * configure: Regenerated to track ../common/aclocal.m4 changes.
1389 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1391 * configure: Regenerated to track ../common/aclocal.m4 changes.
1393 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1395 * configure: Regenerated to track ../common/aclocal.m4 changes.
1397 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1399 * configure: Regenerated to track ../common/aclocal.m4 changes.
1401 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1403 * configure: Regenerated to track ../common/aclocal.m4 changes.
1406 Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
1408 * interp.c (sim_kill): Delete.
1409 (sim_create_inferior): Add ABFD argument.
1410 (sim_load): Move setting of PC from here.
1411 (sim_create_inferior): To here.
1413 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1415 * configure: Regenerated to track ../common/aclocal.m4 changes.
1418 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
1420 * interp.c (sim_open): Add ABFD argument.
1422 Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com)
1424 * interp.c (sim_resume): Clear State.exited.
1425 (sim_stop_reason): If State.exited is nonzero, then indicate that
1426 the simulator exited instead of stopped.
1427 * mn10300_sim.h (struct _state): Add exited field.
1428 * simops.c (syscall): Set State.exited for SYS_exit.
1430 Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com)
1432 * simops.c: Fix thinko in last change.
1434 Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com)
1436 * simops.c: "call" stores the callee saved registers into the
1437 stack! Update the stack pointer properly when done with
1440 * simops.c: Fix return address computation for "call" instructions.
1442 Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com)
1444 * interp.c (sim_open): Fix typo.
1446 Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com)
1448 * interp.c (sim_resume): Add missing case in big switch
1449 statement (for extb instruction).
1451 Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com)
1453 * interp.c: Replace all references to load_mem and store_mem
1454 with references to load_byte, load_half, load_3_byte, load_word
1455 and store_byte, store_half, store_3_byte, store_word.
1456 (INLINE): Delete definition.
1457 (load_mem_big): Likewise.
1458 (max_mem): Make it global.
1459 (dispatch): Make this function inline.
1460 (load_mem, store_mem): Delete functions.
1461 * mn10300_sim.h (INLINE): Define.
1462 (RLW): Delete unused definition.
1463 (load_mem, store_mem): Delete declarations.
1464 (load_mem_big): New definition.
1465 (load_byte, load_half, load_3_byte, load_word): New functions.
1466 (store_byte, store_half, store_3_byte, store_word): New functions.
1467 * simops.c: Replace all references to load_mem and store_mem
1468 with references to load_byte, load_half, load_3_byte, load_word
1469 and store_byte, store_half, store_3_byte, store_word.
1471 Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
1473 * interp.c (sim_open): Add callback to arguments.
1474 (sim_set_callbacks): Delete SIM_DESC argument.
1476 Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com)
1478 * interp.c (dispatch): Make this an inline function.
1480 * simops.c (syscall): Use callback->write regardless of
1481 what file descriptor we're writing too.
1483 Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com)
1485 * interp.c (load_mem_big): Remove function. It's now a macro
1487 (compare_simops): New function.
1488 (sim_open): Sort the Simops table before inserting entries
1489 into the hash table.
1490 * mn10300_sim.h: Remove unused #defines.
1491 (load_mem_big): Define.
1493 Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com)
1495 * interp.c (load_mem): If we get a load from an out of range
1497 (store_mem): Likewise for stores.
1498 (max_mem): New variable.
1500 Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com)
1502 * mn10300_sim.h: Fix ordering of bits in the PSW.
1504 * interp.c: Improve hashing routine to avoid long list
1505 traversals for common instructions. Add HASH_STAT support.
1506 Rewrite opcode dispatch code using a big switch instead of
1507 cascaded if/else statements. Avoid useless calls to load_mem.
1509 Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com)
1511 * mn10300_sim.h (struct _state): Add space for mdrq register.
1513 * simops.c: Don't abort for trap. Add support for the extended
1514 instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
1517 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1519 * configure: Regenerated to track ../common/aclocal.m4 changes.
1521 Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
1523 * interp.c (sim_stop): Add stub function.
1525 Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com>
1527 * Makefile.in (SIM_OBJS): Add sim-load.o.
1528 * interp.c (sim_kind, myname): New static locals.
1529 (sim_open): Set sim_kind, myname. Ignore -E arg.
1530 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
1531 load file into simulator. Set start address from bfd.
1532 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1534 Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
1536 * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime
1537 only include if implemented by host.
1538 (OP_F020): Typecast arg passed to time function;
1540 Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com)
1542 * simops.c (syscall): Handle new mn10300 calling conventions.
1544 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1546 * configure: Regenerated to track ../common/aclocal.m4 changes.
1549 Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com>
1551 * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
1552 corresponding change in opcodes directory.
1554 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1556 * interp.c (sim_open): New arg `kind'.
1558 * configure: Regenerated to track ../common/aclocal.m4 changes.
1560 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1562 * configure: Regenerated to track ../common/aclocal.m4 changes.
1564 Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com)
1566 * simops.c: Fix register extraction for a two "movbu" variants.
1567 Somewhat simplify "sub" instructions.
1568 Correctly sign extend operands for "mul". Put the correct
1569 half of the result in MDR for "mul" and "mulu".
1570 Implement remaining instructions.
1571 Tweak opcode for "syscall".
1573 Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com)
1575 * simops.c: Do syscall emulation in "syscall" instruction. Add
1576 dummy "trap" instruction.
1578 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1580 * configure: Regenerated to track ../common/aclocal.m4 changes.
1582 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1584 * configure: Re-generate.
1586 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1588 * configure: Regenerate to track ../common/aclocal.m4 changes.
1590 Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com>
1592 * interp.c (sim_open): New SIM_DESC result. Argument is now
1594 (other sim_*): New SIM_DESC argument.
1596 Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com)
1598 * simops.c: Fix carry bit computation for "add" instructions.
1600 * simops.c: Fix typos in bset insns. Fix arguments to store_mem
1601 for bset imm8,(d8,an) and bclr imm8,(d8,an).
1603 Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com)
1605 * simops.c: Fix register references when computing Z and N bits
1608 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
1610 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
1611 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1612 * configure.in: sinclude ../common/aclocal.m4.
1613 * configure: Regenerated.
1615 Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com)
1617 * interp.c (init_system): Allocate 2^19 bytes of space for the
1620 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1622 * configure configure.in Makefile.in: Update to new configure
1623 scheme which is more compatible with WinGDB builds.
1624 * configure.in: Improve comment on how to run autoconf.
1625 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1626 * Makefile.in: Use autoconf substitution to install common
1629 Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com)
1631 * simops.c: Undo last change to "rol" and "ror", original code
1634 Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com)
1636 * simops.c: Fix "rol" and "ror".
1638 Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com)
1640 * simops.c: Fix typo in last change.
1642 Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com)
1644 * simops.c: Use REG macros in few places not using them yet.
1646 Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com)
1648 * mn10300_sim.h (struct _state): Fix number of registers!
1650 Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com)
1652 * mn10300_sim.h (struct _state): Put all registers into a single
1653 array to make gdb implementation easier.
1654 (REG_*): Add definitions for all registers in the state array.
1655 (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
1656 * simops.c: Related changes.
1658 Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com)
1660 * interp.c (sim_resume): Handle 0xff as a single byte insn.
1662 * simops.c: Fix overflow computation for "add" and "inc"
1665 Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com)
1667 * simops.c: Handle "break" instruction.
1669 * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
1671 Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com)
1673 * gencode.c (write_opcodes): Also write out the format of the
1675 * mn10300_sim.h (simops): Add "format" field.
1676 * interp.c (sim_resume): Deal with endianness issues here.
1678 Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com)
1680 * simops.c (REG0_4): Define.
1681 Use REG0_4 for indexed loads/stores.
1683 Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com)
1685 * simops.c (REG0_16): Fix typo.
1687 Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com)
1689 * simops.c: Call abort for any instruction that's not currently
1692 * simops.c: Define accessor macros to extract register
1693 values from instructions. Use them consistently.
1695 * interp.c: Delete unused global variable "OP".
1696 (sim_resume): Remove unused variable "opcode".
1697 * simops.c: Fix some uninitialized variable problems, add
1698 parens to fix various -Wall warnings.
1700 * gencode.c (write_header): Add "insn" and "extension" arguments
1701 to the OP_* declarations.
1702 (write_template): Similarly for function templates.
1703 * interp.c (insn, extension): Remove global variables. Instead
1704 pass them as arguments to the OP_* functions.
1705 * mn10300_sim.h: Remove decls for "insn" and "extension".
1706 * simops.c (OP_*): Accept "insn" and "extension" as arguments
1707 instead of using globals.
1709 Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com)
1711 * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
1713 * simops.c: Fix thinkos in last change to "inc dn".
1715 Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com)
1717 * simops.c: "add imm,sp" does not effect the condition codes.
1718 "inc dn" does effect the condition codes.
1720 Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com)
1722 * simops.c: Treat both operands as signed values for
1725 * simops.c: Fix simulation of division instructions.
1726 Fix typos/thinkos in several "cmp" and "sub" instructions.
1728 Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com)
1730 * simops.c: Fix carry bit handling in "sub" and "cmp"
1733 * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
1735 Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
1737 * simops.c: Fix overflow computation for many instructions.
1739 * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
1741 * simops.c: Fix "mov am, dn".
1743 * simops.c: Fix more bugs in "add imm,an" and
1746 Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com)
1748 * simops.c: Fix bugs in "movm" and "add imm,an".
1750 * simops.c: Don't lose the upper 24 bits of the return
1751 pointer in "call" and "calls" instructions. Rough cut
1752 at emulated system calls.
1754 * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
1756 * simops.c: Implement remaining 4 byte instructions.
1758 * simops.c: Implement remaining 3 byte instructions.
1760 * simops.c: Implement remaining 2 byte instructions. Call
1761 abort for instructions we're not implementing now.
1763 Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com)
1765 * simops.c: Implement lots of random instructions.
1767 * simops.c: Implement "movm" and "bCC" insns.
1769 * mn10300_sim.h (_state): Add another register (MDR).
1771 * simops.c: Implement "cmp", "calls", "rets", "jmp" and
1772 a few additional random insns.
1774 * mn10300_sim.h (PSW_*): Define for CC status tracking.
1775 (REG_D0, REG_A0, REG_SP): Define.
1776 * simops.c: Implement "add", "addc" and a few other random
1779 * gencode.c, interp.c: Snapshot current simulator code.
1781 Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com)
1783 * Makefile.in, config.in, configure, configure.in: New files.
1784 * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.