]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/mn10300/ChangeLog
sim: move sim-inline to the common code
[thirdparty/binutils-gdb.git] / sim / mn10300 / ChangeLog
1 2021-06-20 Mike Frysinger <vapier@gentoo.org>
2
3 * aclocal.m4: Regenerate.
4 * configure: Regenerate.
5
6 2021-06-19 Mike Frysinger <vapier@gentoo.org>
7
8 * aclocal.m4: Regenerate.
9 * configure: Regenerate.
10
11 2021-06-19 Mike Frysinger <vapier@gentoo.org>
12
13 * configure: Regenerate.
14
15 2021-06-18 Mike Frysinger <vapier@gentoo.org>
16
17 * aclocal.m4, configure: Regenerate.
18
19 2021-06-18 Mike Frysinger <vapier@gentoo.org>
20
21 * configure: Regenerate.
22
23 2021-06-18 Mike Frysinger <vapier@gentoo.org>
24
25 * interp.c: Include sim-signal.h.
26 * op_utils.c, sim-main.h: Likewise.
27 * mn10300_sim.h: Delete sim-signal.h include.
28
29 2021-06-17 Mike Frysinger <vapier@gentoo.org>
30
31 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
32 * interp.c (sim_open): Set current_target_byte_order.
33 * aclocal.m4, configure: Regenerate.
34
35 2021-06-17 Mike Frysinger <vapier@gentoo.org>
36
37 * mn10300_sim.h (u642dw, dw2u64): Change INLINE to INLINE2.
38
39 2021-06-16 Mike Frysinger <vapier@gentoo.org>
40
41 * configure: Regenerate.
42
43 2021-06-16 Mike Frysinger <vapier@gentoo.org>
44
45 * configure: Regenerate.
46 * config.in: Removed.
47
48 2021-06-15 Mike Frysinger <vapier@gentoo.org>
49
50 * config.in, configure: Regenerate.
51
52 2021-06-14 Mike Frysinger <vapier@gentoo.org>
53
54 * configure.ac: Delete all to SIM_AC_OPTION_WARNINGS.
55 * configure: Regenerate.
56
57 2021-06-14 Mike Frysinger <vapier@gentoo.org>
58
59 * mn10300.igen: Change abort to sim_engine_abort.
60
61 2021-06-12 Mike Frysinger <vapier@gentoo.org>
62
63 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
64
65 2021-06-12 Mike Frysinger <vapier@gentoo.org>
66
67 * aclocal.m4, config.in, configure: Regenerate.
68
69 2021-06-12 Mike Frysinger <vapier@gentoo.org>
70
71 * config.in, configure: Regenerate.
72
73 2021-06-09 Mike Frysinger <vapier@gentoo.org>
74
75 * sim-main.h (SIM_ENGINE_HALT_HOOK): Delete 0.
76
77 2021-06-08 Mike Frysinger <vapier@gentoo.org>
78
79 * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
80 with $(IGEN).
81
82 2021-05-29 Mike Frysinger <vapier@gentoo.org>
83
84 * interp.c [!SIGTRAP] (SIGTRAP): Define to 5.
85
86 2021-05-17 Mike Frysinger <vapier@gentoo.org>
87
88 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
89
90 2021-05-17 Mike Frysinger <vapier@gentoo.org>
91
92 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
93 (struct sim_state): Delete.
94
95 2021-05-16 Mike Frysinger <vapier@gentoo.org>
96
97 * dv-mn103cpu.c, dv-mn103int.c, dv-mn103iop.c, dv-mn103ser.c,
98 dv-mn103tim.c, op_utils.c: Include defs.h.
99 * interp.c: Replace config.h include with defs.h.
100
101 2021-05-16 Mike Frysinger <vapier@gentoo.org>
102
103 * config.in, configure: Regenerate.
104
105 2021-05-14 Mike Frysinger <vapier@gentoo.org>
106
107 * mn10300_sim.h: Update include path.
108
109 2021-05-04 Mike Frysinger <vapier@gentoo.org>
110
111 * op_utils.c: Delete sys/times.h include.
112
113 2021-05-04 Mike Frysinger <vapier@gentoo.org>
114
115 * configure: Regenerate.
116
117 2021-05-01 Mike Frysinger <vapier@gentoo.org>
118
119 * config.in, configure: Regenerate.
120
121 2021-04-26 Mike Frysinger <vapier@gentoo.org>
122
123 * Makefile.in (NL_TARGET): Delete.
124
125 2021-04-23 Mike Frysinger <vapier@gentoo.org>
126
127 * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
128 * configure: Regenerate.
129
130 2021-04-22 Tom Tromey <tom@tromey.com>
131
132 * configure, config.in: Rebuild.
133
134 2021-04-22 Tom Tromey <tom@tromey.com>
135
136 * Makefile.in (INCLUDE): Remove.
137
138 2021-04-22 Tom Tromey <tom@tromey.com>
139
140 * Makefile.in (interp.o): Remove.
141 (idecode.o op_utils.o semantics.o): Remove.
142
143 2021-04-22 Tom Tromey <tom@tromey.com>
144
145 * configure: Rebuild.
146
147 2021-04-21 Mike Frysinger <vapier@gentoo.org>
148
149 * aclocal.m4: Regenerate.
150
151 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
152
153 * configure: Regenerate.
154
155 2021-04-18 Mike Frysinger <vapier@gentoo.org>
156
157 * configure: Regenerate.
158
159 2021-04-18 Mike Frysinger <vapier@gentoo.org>
160
161 * configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls.
162 * op_utils.c: Delete utime.h include.
163 * config.in, configure: Regenerate.
164
165 2021-04-15 John Baldwin <jhb@FreeBSD.org>
166
167 * Makefile.in: (tmp-igen) Only pass mn10300.igen to igen.
168 * mn10300.igen: Include am33-2.igen.
169
170 2021-04-12 Mike Frysinger <vapier@gentoo.org>
171
172 * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
173
174 2021-04-08 Simon Marchi <simon.marchi@polymtl.ca>
175
176 * Makefile.in: Set ASAN_OPTIONS when running igen.
177
178 2021-04-02 Mike Frysinger <vapier@gentoo.org>
179
180 * Makefile.in (../igen/igen): Delete rule.
181 (tmp-igen): Delete ../igen make.
182
183 2021-04-02 Mike Frysinger <vapier@gentoo.org>
184
185 * aclocal.m4, configure: Regenerate.
186
187 2021-02-28 Mike Frysinger <vapier@gentoo.org>
188
189 * configure: Regenerate.
190
191 2021-02-21 Mike Frysinger <vapier@gentoo.org>
192
193 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
194 * aclocal.m4, configure: Regenerate.
195
196 2021-02-13 Mike Frysinger <vapier@gentoo.org>
197
198 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
199 * aclocal.m4, configure: Regenerate.
200
201 2021-02-06 Mike Frysinger <vapier@gentoo.org>
202
203 * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
204
205 2021-02-06 Mike Frysinger <vapier@gentoo.org>
206
207 * configure: Regenerate.
208
209 2021-01-30 Mike Frysinger <vapier@gentoo.org>
210
211 * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
212
213 2021-01-11 Mike Frysinger <vapier@gentoo.org>
214
215 * config.in, configure: Regenerate.
216 * interp.c, op_utils.c: Delete HAVE_STRING_H, HAVE_STRINGS_H,
217 HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include.
218
219 2021-01-09 Mike Frysinger <vapier@gentoo.org>
220
221 * configure: Regenerate.
222
223 2021-01-09 Mike Frysinger <vapier@gentoo.org>
224
225 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
226 * configure: Regenerate.
227
228 2021-01-08 Mike Frysinger <vapier@gentoo.org>
229
230 * configure: Regenerate.
231
232 2021-01-04 Mike Frysinger <vapier@gentoo.org>
233
234 * configure: Regenerate.
235
236 2017-09-06 John Baldwin <jhb@FreeBSD.org>
237
238 * configure: Regenerate.
239
240 2016-01-10 Mike Frysinger <vapier@gentoo.org>
241
242 * config.in, configure: Regenerate.
243
244 2016-01-10 Mike Frysinger <vapier@gentoo.org>
245
246 * configure: Regenerate.
247
248 2016-01-10 Mike Frysinger <vapier@gentoo.org>
249
250 * configure: Regenerate.
251
252 2016-01-10 Mike Frysinger <vapier@gentoo.org>
253
254 * configure: Regenerate.
255
256 2016-01-10 Mike Frysinger <vapier@gentoo.org>
257
258 * configure: Regenerate.
259
260 2016-01-10 Mike Frysinger <vapier@gentoo.org>
261
262 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
263 * configure: Regenerate.
264
265 2016-01-10 Mike Frysinger <vapier@gentoo.org>
266
267 * configure: Regenerate.
268
269 2016-01-10 Mike Frysinger <vapier@gentoo.org>
270
271 * configure: Regenerate.
272
273 2016-01-09 Mike Frysinger <vapier@gentoo.org>
274
275 * config.in, configure: Regenerate.
276
277 2016-01-06 Mike Frysinger <vapier@gentoo.org>
278
279 * interp.c (sim_open): Mark argv const.
280 (sim_create_inferior): Mark argv and env const.
281
282 2016-01-04 Mike Frysinger <vapier@gentoo.org>
283
284 * configure: Regenerate.
285
286 2016-01-03 Mike Frysinger <vapier@gentoo.org>
287
288 * interp.c (sim_open): Update sim_parse_args comment.
289
290 2016-01-03 Mike Frysinger <vapier@gentoo.org>
291
292 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
293 * configure: Regenerate.
294
295 2016-01-02 Mike Frysinger <vapier@gentoo.org>
296
297 * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
298 LITTLE.
299 * configure: Regenerate.
300
301 2015-12-30 Mike Frysinger <vapier@gentoo.org>
302
303 * wrapper.c (mn10300_reg_store, mn10300_reg_fetch): Define.
304 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
305 (sim_store_register): Rename to ...
306 (mn10300_reg_store): ... this.
307 (sim_fetch_register): Rename to ...
308 (mn10300_reg_fetch): ... this.
309
310 2015-12-27 Mike Frysinger <vapier@gentoo.org>
311
312 * Makefile.in (MN10300_OBJS): Delete sim-hload.o.
313
314 2015-12-26 Mike Frysinger <vapier@gentoo.org>
315
316 * config.in, configure: Regenerate.
317
318 2015-12-24 Mike Frysinger <vapier@gentoo.org>
319
320 * sim-main.h (SIM_HANDLES_LMA): Delete.
321
322 2015-12-24 Mike Frysinger <vapier@gentoo.org>
323
324 * sim-main.h (WITH_WATCHPOINTS): Delete.
325
326 2015-11-21 Mike Frysinger <vapier@gentoo.org>
327
328 * interp.c (mn10300_callback): Delete.
329 (sim_open): Delete mn10300_callback assignment.
330 (program_interrupt): Call sim_io_printf.
331 * mn10300_sim.h (mn10300_callback): Delete.
332
333 2015-11-17 Mike Frysinger <vapier@gentoo.org>
334
335 * sim-main.h (WITH_CORE): Delete.
336
337 2015-11-15 Mike Frysinger <vapier@gentoo.org>
338
339 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
340
341 2015-11-14 Mike Frysinger <vapier@gentoo.org>
342
343 * interp.c (sim_close): Delete.
344
345 2015-06-23 Mike Frysinger <vapier@gentoo.org>
346
347 * configure: Regenerate.
348
349 2015-06-17 Mike Frysinger <vapier@gentoo.org>
350
351 * op_utils.c (do_syscall): Replace call to cb_syscall with
352 sim_syscall_multi.
353
354 2015-06-17 Mike Frysinger <vapier@gentoo.org>
355
356 * mn10300_sim.h (syscall_read_mem, syscall_write_mem): Delete.
357 * op_utils.c: Include sim-syscall.h.
358 (syscall_read_mem, syscall_write_mem): Delete.
359 (do_syscall): Change syscall_read_mem/syscall_write_mem
360 to sim_syscall_read_mem/sim_syscall_write_mem. Set syscall.p2.
361
362 2015-06-12 Mike Frysinger <vapier@gentoo.org>
363
364 * configure: Regenerate.
365
366 2015-06-12 Mike Frysinger <vapier@gentoo.org>
367
368 * configure: Regenerate.
369
370 2015-06-11 Mike Frysinger <vapier@gentoo.org>
371
372 * interp.c (get_byte, get_half, get_word, put_byte, put_half,
373 put_word): Delete.
374 (sim_fetch_register): Inline put_word call.
375 (sim_store_register): Inline get_word call.
376 * mn10300_sim.h (struct _state): Delete mem member.
377 (OP, Simops, get_byte, get_half, get_word, put_byte, put_half,
378 put_word, map): Delete.
379 * op_utils.c (MEMPTR): Delete.
380
381 2015-06-11 Mike Frysinger <vapier@gentoo.org>
382
383 * interp.c (round_64, fpu_status_ok): Add static.
384
385 2015-06-11 Mike Frysinger <vapier@gentoo.org>
386
387 * interp.c (mn10300_debug): Delete.
388 * mn10300_sim.h (DEBUG_TRACE, DEBUG_VALUES, mn10300_debug): Delete.
389 (struct _state): Delete exception and exited members.
390 [_WIN32] (SIGTRAP, SIGQUIT): Delete.
391 * op_utils.c (do_syscall): Call sim_engine_halt instead of setting
392 State.exception.
393
394 2015-06-11 Mike Frysinger <vapier@gentoo.org>
395
396 * mn10300_sim.h (uint8, int8, uint16, int16, uint32, int32): Typedef
397 in terms of unsigned8, signed8, unsigned16, signed16, unsigned32,
398 and signed32 respectively.
399
400 2015-06-11 Mike Frysinger <vapier@gentoo.org>
401
402 * interp.c (INLINE): Delete define.
403 * mn10300_sim.h (INLINE): Likewise.
404
405 2015-04-18 Mike Frysinger <vapier@gentoo.org>
406
407 * sim-main.h (SIM_CPU): Delete.
408
409 2015-04-18 Mike Frysinger <vapier@gentoo.org>
410
411 * sim-main.h (sim_cia): Delete.
412 (SIM_ADDR): Delete comment.
413
414 2015-04-17 Mike Frysinger <vapier@gentoo.org>
415
416 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Change CIA_GET to
417 CPU_PC_GET and CIA_SET to CPU_PC_SET.
418 * interp.c (sim_create_inferior): Change CIA_SET to CPU_PC_SET.
419 (program_interrupt): Change CIA_GET to CPU_PC_GET and CIA_SET to
420 CPU_PC_SET.
421 (mn10300_cpu_exception_trigger): Change CIA_SET to CPU_PC_SET.
422 (mn10300_cpu_exception_suspend): Likewise.
423 (mn10300_cpu_exception_resume): Likewise.
424 * sim-main.h (CIA_GET, CIA_SET): Delete.
425
426 2015-04-15 Mike Frysinger <vapier@gentoo.org>
427
428 * Makefile.in (MN10300_OBJS): Delete sim-cpu.o.
429 * sim-main.h (STATE_CPU): Delete.
430
431 2015-04-13 Mike Frysinger <vapier@gentoo.org>
432
433 * configure: Regenerate.
434
435 2015-04-13 Mike Frysinger <vapier@gentoo.org>
436
437 * Makefile.in (MN10300_OBJS): Add sim-cpu.o.
438 * interp.c (mn10300_pc_get, mn10300_pc_set): New functions.
439 (sim_open): Declare new local var i. Call sim_cpu_alloc_all.
440 Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
441 (sim_pc_get): Delete.
442 * sim-main.h (null_cia, NULL_CIA): Delete.
443 (SIM_CPU): Define.
444 (struct sim_state): Change cpu to an array of pointers.
445 (STATE_CPU): Drop & and handle WITH_SMP.
446
447 2015-04-06 Mike Frysinger <vapier@gentoo.org>
448
449 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
450
451 2015-03-31 Mike Frysinger <vapier@gentoo.org>
452
453 * config.in, configure: Regenerate.
454
455 2015-03-24 Mike Frysinger <vapier@gentoo.org>
456
457 * interp.c (sim_pc_get): New function.
458
459 2015-03-24 Mike Frysinger <vapier@gentoo.org>
460
461 * configure: Regenerate.
462
463 2015-03-23 Mike Frysinger <vapier@gentoo.org>
464
465 * Makefile.in (MN10300_OBJS): Delete dv-sockser.o.
466
467 2015-03-23 Mike Frysinger <vapier@gentoo.org>
468
469 * configure: Regenerate.
470
471 2015-03-23 Mike Frysinger <vapier@gentoo.org>
472
473 * configure: Regenerate.
474
475 2015-03-23 Mike Frysinger <vapier@gentoo.org>
476
477 * configure: Regenerate.
478
479 2015-03-23 Mike Frysinger <vapier@gentoo.org>
480
481 * configure: Regenerate.
482 * configure.ac: Delete SIM_DV_SOCKSER_O check.
483
484 2015-03-16 Mike Frysinger <vapier@gentoo.org>
485
486 * config.in, configure: Regenerate.
487
488 2015-03-15 Mike Frysinger <vapier@gentoo.org>
489
490 * tconfig.in: Delete file.
491
492 2015-03-14 Mike Frysinger <vapier@gentoo.org>
493
494 * Makefile.in (SIM_RUN_OBJS): Delete.
495
496 2015-03-14 Mike Frysinger <vapier@gentoo.org>
497
498 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h &
499 string.h & strings.h & time.h.
500 * aclocal.m4, configure: Regenerate.
501
502 2014-08-19 Alan Modra <amodra@gmail.com>
503
504 * configure: Regenerate.
505
506 2014-08-15 Roland McGrath <mcgrathr@google.com>
507
508 * configure: Regenerate.
509 * config.in: Regenerate.
510
511 2014-03-04 Mike Frysinger <vapier@gentoo.org>
512
513 * configure: Regenerate.
514
515 2013-09-23 Alan Modra <amodra@gmail.com>
516
517 * configure: Regenerate.
518
519 2013-06-03 Mike Frysinger <vapier@gentoo.org>
520
521 * aclocal.m4, configure: Regenerate.
522
523 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
524
525 * configure: Rebuild.
526
527 2013-03-26 Mike Frysinger <vapier@gentoo.org>
528
529 * configure: Regenerate.
530
531 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
532
533 * configure.ac: Fail if dv-sockser.o not available.
534 Error when --disable-sim-hardware is specified.
535 * tconfig.in: Conditionalize use of dv_sockser_install.
536 * configure: Regenerated.
537 * config.in: Regenerated.
538
539 2012-06-17 Hans-Peter Nilsson <hp@axis.com>
540
541 * interp.c: Include config.h first. Do not include sysdep.h.
542
543 2012-06-15 Joel Brobecker <brobecker@adacore.com>
544
545 * config.in, configure: Regenerate.
546
547 2012-03-24 Mike Frysinger <vapier@gentoo.org>
548
549 * aclocal.m4, config.in, configure: Regenerate.
550
551 2012-02-16 Kevin Buettner <kevinb@redhat.com>
552
553 * interp.c (sim_fetch_register): Return length, not -1.
554
555 2012-01-02 Joel Brobecker <brobecker@adacore.com>
556
557 * sim-main.h: Reformat copyright header.
558
559 2011-12-03 Mike Frysinger <vapier@gentoo.org>
560
561 * aclocal.m4: New file.
562 * configure: Regenerate.
563
564 2011-11-07 Mike Frysinger <vapier@gentoo.org>
565
566 PR sim/9302
567 * dv-mn103iop.c (write_dedicated_control_reg): Convert && to &.
568
569 2011-10-19 Mike Frysinger <vapier@gentoo.org>
570
571 * configure: Regenerate after common/acinclude.m4 update.
572
573 2011-10-17 Mike Frysinger <vapier@gentoo.org>
574
575 * configure.ac: Change include to common/acinclude.m4.
576
577 2011-10-17 Mike Frysinger <vapier@gentoo.org>
578
579 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
580 call. Replace common.m4 include with SIM_AC_COMMON.
581 * configure: Regenerate.
582
583 2011-07-05 Mike Frysinger <vapier@gentoo.org>
584
585 * interp.c (sim_do_command): Delete.
586
587 2011-06-20 Nick Clifton <nickc@redhat.com>
588
589 * am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag.
590
591 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
592
593 * interp.c (sim_store_register): Update return value to
594 match new API.
595
596 2010-04-19 Mike Frysinger <vapier@gentoo.org>
597
598 * dv-mn103ser.c (sockser_addr, USE_SOCKSER_P): Delete
599 (do_polling_event): Change USE_SOCKSER_P to dv_sockser_status.
600 (read_status_reg): Likewise.
601 (write_txb): Likewise.
602
603 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
604
605 * configure: Regenerate.
606
607 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
608
609 * config.in: Regenerate.
610 * configure: Likewise.
611
612 * configure: Regenerate.
613
614 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
615
616 * configure: Regenerate to track ../common/common.m4 changes.
617 * config.in: Ditto.
618
619 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
620 Daniel Jacobowitz <dan@codesourcery.com>
621 Joseph Myers <joseph@codesourcery.com>
622
623 * configure: Regenerate.
624
625 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
626
627 * acconfig.h: Remove.
628 * config.in: Regenerate.
629
630 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
631
632 * configure: Regenerated.
633
634 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
635
636 * configure: Regenerated.
637
638 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
639
640 * configure: Regenerated.
641
642 2006-03-29 Hans-Peter Nilsson <hp@axis.com>
643
644 * configure: Regenerate.
645
646 2005-03-23 Mark Kettenis <kettenis@gnu.org>
647
648 * configure: Regenerate.
649
650 2005-01-14 Andrew Cagney <cagney@gnu.org>
651
652 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
653 explicit call to AC_CONFIG_HEADER.
654 * configure: Regenerate.
655
656 2005-01-12 Andrew Cagney <cagney@gnu.org>
657
658 * configure.ac: Update to use ../common/common.m4.
659 * configure: Re-generate.
660
661 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
662
663 * configure: Regenerated to track ../common/aclocal.m4 changes.
664
665 2005-01-07 Andrew Cagney <cagney@gnu.org>
666
667 * configure.ac: Rename configure.in, require autoconf 2.59.
668 * configure: Re-generate.
669
670 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
671
672 * configure: Regenerate for ../common/aclocal.m4 update.
673
674 2004-06-26 Alexandre Oliva <aoliva@redhat.com>
675
676 2000-08-07 Graham Stott <grahams@cygnus.co.uk>
677 * am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo.
678 2000-05-29 Alexandre Oliva <aoliva@cygnus.com>
679 * interp.c (fpu_disabled_exception, fpu_unimp_exception,
680 fpu_check_signal_exception): Take additional state arguments.
681 Print exception type and call program_interrupt. Adjust callers.
682 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
683 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional
684 arguments.
685 * mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception,
686 fpu_check_signal_exception): Adjust prototypes.
687 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
688 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise.
689 * am33-2.igen: Adjust calls.
690 2000-05-19 Alexandre Oliva <aoliva@cygnus.com>
691 * op_utils.c (cmp2fcc): Moved...
692 * interp.c: ... here.
693 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
694 * am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or
695 `signed64' where type width is relevant.
696 2000-05-15 Alexandre Oliva <aoliva@cygnus.com>
697 * mn10300_sim.h: Include sim-fpu.h.
698 (FD2FPU, FPU2FD): Enclose the FD argument in parentheses.
699 (fpu_check_signal_exception): Declare.
700 (struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise.
701 (FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec.
702 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
703 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare.
704 * interp.c (fpu_disabled_exception): Document.
705 (fpu_unimp_exception): Likewise.
706 (fpu_check_signal_exception): Define.
707 (reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise.
708 (reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise.
709 (REG2VAL, ROUND, VAL2REG): Define shorthands.
710 (fpu_status_ok): Define.
711 (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div,
712 fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define.
713 * am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv,
714 fmadd, fmsub, fnmadd, fnmsub): Use new functions.
715 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
716 * interp.c (sim_create_inferior): Set PSW bit to enable FP insns
717 if architecture is AM33/2.0.
718 * am33.igen: Include am33-2.igen.
719 2000-04-23 Alexandre Oliva <aoliva@cygnus.com>
720 * mn10300.igen (movm, call, ret, retf): Check for am33_2 too.
721 * am33.igen (movm): Likewise.
722 2000-04-19 Alexandre Oliva <aoliva@cygnus.com>
723 * am33.igen: Added `*am33_2' to some instructions that were
724 missing it.
725 2000-04-07 Alexandre Oliva <aoliva@cygnus.com>
726 * am33-2.igen: New file. All insns implemented, but FP flags are
727 only set for fcmp, exceptional conditions are not handled yet.
728 * Makefile.in (IGEN_INSN): Added am33-2.igen.
729 (tmp-igen): Added -M am33_2.
730 * mn10300.igen, am33.igen: Added `*am33_2' to all insns.
731 * gencode.c: Support FMT_D3.
732 * mn10300_sim.h (dword): New type.
733 (struct _state): Added fpregs.
734 (REG_FPCR, FPCR): New define. All assorted bitmaps.
735 (XS2FS, AS2FS, Xf2FD): New macros.
736 (FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise.
737 (load_dword, store_dword): New functions or macros.
738 (u642dw, dw2u64): New functions.
739 (fpu_disabled_exception, fpu_unimp_exception): Declared.
740 * interp.c (fpu_disabled_exception): Defined; no actual
741 implementation.
742 (fpu_unimp_exception): Likewise.
743 * op_utils.c (cmp2fcc): New function.
744
745 * interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
746 and definitions to ISO C.
747
748 * gencode.c, simops.c: Delete.
749 * Makefile.in: Remove non-COMMON dependencies and commands.
750
751 * configure.in: Use common simulator always. Don't subst sim_gen
752 nor mn10300_common.
753 * configure: Rebuilt.
754 * Makefile.in (WITHOUT_COMMON_OBJS, WITHOUT_COMMON_INTERP_DEP,
755 WITHOUT_COMMON_RUN_OBJS): Remove.
756 (WITH_COMMON_OBJS): Rename to MN10300_OBJS.
757 (WITH_COMMON_INTERP_DEP): Rename to MN10300_INTERP_DEP.
758 (WITH_COMMON_RUN_OBJS): Rename to SIM_RUN_OBJS.
759 (SIM_EXTRA_CFLAGS): Don't use @sim_gen@.
760 * interp.c: Remove non-common bits.
761 * mn10300_sim.h: Likewise.
762
763 2003-08-28 Andrew Cagney <cagney@redhat.com>
764
765 * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to
766 "long".
767 (read_status_reg): Cast "serial_reg" to "long".
768 * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to
769 "long".
770 (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
771
772 2003-02-27 Andrew Cagney <cagney@redhat.com>
773
774 * interp.c (sim_open, sim_create_inferior, sim_open)
775 (sim_create_inferior): Rename _bfd to bfd.
776
777 2003-02-26 Andrew Cagney <cagney@redhat.com>
778
779 * am33.igen: Call sim_engine_abort instead of abort.
780
781 2003-02-26 David Carlton <carlton@math.stanford.edu>
782
783 * dv-mn103tim.c (read_special_timer6_reg): Add break after
784 empty default: label.
785 (write_special_timer6_reg): Ditto.
786 Update copyright.
787
788 2002-11-28 Andrew Cagney <cagney@redhat.com>
789
790 * sim-main.h: Only include "idecode.h" once.
791 * Makefile.in (SIM_EXTRA_DEPS): Define.
792
793 2002-06-16 Andrew Cagney <ac131313@redhat.com>
794
795 * configure: Regenerated to track ../common/aclocal.m4 changes.
796
797 2002-06-09 Andrew Cagney <cagney@redhat.com>
798
799 * Makefile.in (INCLUDE): Update path to callback.h.
800 * mn10300_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
801 * tconfig.in: Ditto.
802
803 2001-05-06 Jim Blandy <jimb@redhat.com>
804
805 * mn10300.igen: Doc fixes.
806
807 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
808
809 * Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
810 Depend on targ-vals.h.
811
812 2001-04-15 J.T. Conklin <jtc@redback.com>
813
814 * Makefile.in (simops.o): Add simops.h to dependency list.
815
816 Wed Aug 9 02:24:53 2000 Graham Stott <grahams@cygnus.co.uk>
817
818 * am33.igen: Warning clean-up.
819 (movm): Initialize PC and mask.
820 (mov, movbu, movhu): Set srcreg2 from RI0.
821 (bsch): Initialize c.
822 (sat16_cmp): Actually do the comparison.
823 (mov_llt): Do not overwrite dstreg with uninitialized variable.
824
825 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
826
827 * configure: Regenerated to track ../common/aclocal.m4 changes.
828
829 2000-05-22 Alexandre Oliva <aoliva@cygnus.com>
830
831 * am33.igen: Fix leading comments of SP-relative offset insns that
832 referred to other registers. Make their offsets unsigned.
833
834 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
835
836 * mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr,
837 genericXor, genericBtst): Use `unsigned32'.
838 * op_utils.c: Likewise.
839 * mn10300.igen, am33.igen: Use `unsigned32', `signed32',
840 `unsigned64' or `signed64' where type width is relevant.
841
842 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
843
844 * am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
845
846 2000-04-09 Alexandre Oliva <aoliva@cygnus.com>
847
848 * am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
849 some instructions that were missing it.
850
851 2000-03-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
852
853 * Makefile.in (IGEN_INSN): Added am33.igen.
854
855 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
856
857 * configure: Regenerated to track ../common/aclocal.m4 changes.
858
859 Tue Jul 13 13:26:20 1999 Andrew Cagney <cagney@b1.cygnus.com>
860
861 * interp.c: Clarify error message reporting an unknown board.
862
863 1999-05-08 Felix Lee <flee@cygnus.com>
864
865 * configure: Regenerated to track ../common/aclocal.m4 changes.
866
867 1999-04-16 Frank Ch. Eigler <fche@cygnus.com>
868
869 * interp.c (program_interrupt): Detect undesired recursion using
870 static flag. Set NMIRC register's SYSEF flag during
871 --board=stdeval1 mode.
872 * dv-mn103-int.c (write_icr): Add backdoor address to allow CPU to
873 set SYSEF flag.
874
875 1999-04-02 Keith Seitz <keiths@cygnus.com>
876
877 * Makefile.in (SIM_EXTRA_CFLAGS): Define a POLL_QUIT_INTERVAL
878 for use in the simulator so that the poll_quit callback is
879 not called too often.
880
881 Tue Mar 9 21:26:41 1999 Andrew Cagney <cagney@b1.cygnus.com>
882
883 * dv-mn103int.c (mn103int_ioctl): Return something.
884 * dv-mn103tim.c (write_tm6md): GCC suggested parentheses around &&
885 within ||.
886
887 Tue Feb 16 23:57:17 1999 Jeffrey A Law (law@cygnus.com)
888
889 * mn10300.igen (retf): Fix return address computation and store
890 the new pc value into nia.
891
892 1998-12-29 Frank Ch. Eigler <fche@cygnus.com>
893
894 * Makefile.in (WITH_COMMON_OBJS): Build also dv-sockser.o.
895 * interp.c (sim_open): Add stub mn103002 cache control memory regions.
896 Set OPERATING_ENVIRONMENT on "stdeval1" board.
897 (mn10300_core_signal): New function to intercept memory errors.
898 (program_interrupt): New function to dispatch to exception vector
899 (mn10300_exception_*): New functions to snapshot pre/post exception
900 state.
901 * sim-main.h (SIM_CORE_SIGNAL): Define hook - call mn10300_core_signal.
902 (SIM_ENGINE_HALT_HOOK): Do nothing.
903 (SIM_CPU_EXCEPTION*): Define hooks to call mn10300_cpu_exception*().
904 (_sim_cpu): Add exc_* fields to store register value snapshots.
905 * dv-mn103ser.c (*): Support dv-sockser backend for UART I/O.
906 Various endianness and warning fixes.
907 * mn10300.igen (illegal): Call program_interrupt on error.
908 (break): Call program_interrupt on breakpoint
909
910 Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com>
911 merged in:
912 * dv-mn103int.c (mn103int_ioctl): New function for NMI
913 generation. (mn103int_finish): Install it as ioctl handler.
914 * dv-mn103tim.c: Support timer 6 specially. Endianness fixes.
915
916 Wed Oct 14 12:11:05 1998 Jeffrey A Law (law@cygnus.com)
917
918 * am33.igen: Allow autoincrement stores using the same register
919 for source and destination operands.
920
921 Mon Aug 31 10:19:55 1998 Jeffrey A Law (law@cygnus.com)
922
923 * am33.igen: Reverse HI/LO outputs of 4 operand "mul" and "mulu".
924
925 Fri Aug 28 14:40:49 1998 Joyce Janczyn <janczyn@cygnus.com>
926
927 * interp.c (sim_open): Check for invalid --board option, fix
928 indentation, allocate memory for mem control and DMA regs.
929
930 Wed Aug 26 09:29:38 1998 Joyce Janczyn <janczyn@cygnus.com>
931
932 * mn10300.igen (div,divu): Fix divide instructions so divide by 0
933 behaves like the hardware.
934
935 Mon Aug 24 11:50:09 1998 Joyce Janczyn <janczyn@cygnus.com>
936
937 * sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.
938
939 Wed Aug 12 12:36:07 1998 Jeffrey A Law (law@cygnus.com)
940
941 * am33.igen: Handle case where first DSP operation modifies a
942 register used in the second DSP operation correctly.
943
944 Tue Jul 28 10:10:25 1998 Jeffrey A Law (law@cygnus.com)
945
946 * am33.igen: Detect cases where two operands must not match for
947 DSP instructions too.
948
949 Mon Jul 27 12:04:17 1998 Jeffrey A Law (law@cygnus.com)
950
951 * am33.igen: Detect cases where two operands must not match in
952 non-DSP instructions.
953
954 Fri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com>
955
956 * op_utils.c (do_syscall): Rewrite to use common/syscall.c.
957 (syscall_read_mem, syscall_write_mem): New functions for syscall
958 callbacks.
959 * mn10300_sim.h: Add prototypes for syscall_read_mem and
960 syscall_write_mem.
961 * mn10300.igen: Change C++ style comments to C style comments.
962 Check for divide by zero in div and divu ops.
963
964 Fri Jul 24 12:49:28 1998 Jeffrey A Law (law@cygnus.com)
965
966 * am33.igen (translate_xreg): New function. Use it as needed.
967
968 Thu Jul 23 10:05:28 1998 Jeffrey A Law (law@cygnus.com)
969
970 * am33.igen: Add some missing instructions.
971
972 * am33.igen: Autoincrement loads/store fixes.
973
974 Tue Jul 21 09:48:14 1998 Jeffrey A Law (law@cygnus.com)
975
976 * am33.igen: Add mov_lCC DSP instructions.
977
978 * am33.igen: Add most am33 DSP instructions.
979
980 Thu Jul 9 10:06:55 1998 Jeffrey A Law (law@cygnus.com)
981
982 * mn10300.igen: Fix Z bit for addc and subc instructions.
983 Minor fixes in multiply/divide patterns.
984
985 * am33.igen: Add missing mul[u] imm32,Rn. Fix condition code
986 handling for many instructions. Fix sign extension for some
987 24bit immediates.
988
989 * am33.igen: Fix Z bit for remaining addc/subc instructions.
990 Do not sign extend immediate for mov imm,XRn.
991 More random mul, mac & div fixes.
992 Remove some unused variables.
993 Sign extend 24bit displacement in memory addresses.
994
995 * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn. Various
996 fixes to 2 register multiply, divide and mac instructions. Set
997 Z,N correctly for sat16. Sign extend 24 bit immediate for add,
998 and sub instructions.
999
1000 * am33.igen: Add remaining non-DSP instructions.
1001
1002 Wed Jul 8 16:29:12 1998 Jeffrey A Law (law@cygnus.com)
1003
1004 * am33.igen (translate_rreg): New function. Use it as appropriate.
1005
1006 * am33.igen: More am33 instructions. Fix "div".
1007
1008 Mon Jul 6 15:39:22 1998 Jeffrey A Law (law@cygnus.com)
1009
1010 * mn10300.igen: Add am33 support.
1011
1012 * Makefile.in: Use multi-sim to support both a mn10300 and am33
1013 simulator.
1014
1015 * am33.igen: Add many more am33 instructions.
1016
1017 Wed Jul 1 17:07:09 1998 Jeffrey A Law (law@cygnus.com)
1018
1019 * mn10300_sim.h (FETCH24): Define.
1020
1021 * mn10300_sim.h: Add defines for some registers found on the AM33.
1022 * am33.igen: New file with some am33 support.
1023
1024 Tue Jun 30 11:23:20 1998 Jeffrey A Law (law@cygnus.com)
1025
1026 * mn10300_sim.h: Include bfd.h
1027 (struct state): Add more room for processor specific registers.
1028 (REG_E0): Define.
1029
1030 Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>
1031
1032 * dv-mn103tim.c: Include sim-assert.h
1033 * dv-mn103ser.c (do_polling_event): Check for incoming data on
1034 serial line and schedule next polling event.
1035 (read_status_reg): schedule events to check for incoming data on
1036 serial line and issue interrupt if necessary.
1037
1038 Fri Jun 19 16:47:27 1998 Joyce Janczyn <janczyn@cygnus.com>
1039
1040 * interp.c (sim_open): hook up serial 1 and 2 ports properly (typo).
1041
1042 Fri Jun 19 11:59:26 1998 Joyce Janczyn <janczyn@cygnus.com>
1043
1044 * interp.c (board): Rename am32 to stdeval1 as this is the name
1045 consistently used to refer to the mn1030002 board.
1046
1047 Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>
1048 * interp.c (sim_open): Fix typo in address of EXTMD register
1049 (0x34000280, not 0x3400280).
1050
1051 Wed Jun 17 18:00:18 1998 Jeffrey A Law (law@cygnus.com)
1052
1053 * simops.c (syscall): Handle change in opcode # for syscall.
1054 * mn10300.igen (syscall): Likewise.
1055
1056 Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>
1057 * dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
1058 reset) are not enabled on reset.
1059
1060 Sun June 14 17:04:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1061 * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o
1062 register bits.
1063 * dv-mn103ser.c: Fill in methods for reading and writing to serial
1064 device registers.
1065 * interp.c (sim_open): Make the serial device a polling device.
1066
1067 Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1068 * dv-mn103iop.c: New file for handling am32 io ports.
1069 * configure.in: Add mn103iop to hw_device list.
1070 * configure: Re-generate.
1071 * interp.c (sim_open): Create io port device.
1072
1073 Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1074 * dv-mn103int.c (external_group): Use enumerated types to access
1075 correct group addresses.
1076 * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
1077 triggers an interrupt on the higher-numbered timer's port.
1078
1079 Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1080 * interp.c: (mn10300_option_handler): New function parses arguments
1081 using sim-options.
1082 * (board): Add --board option for specifying am32.
1083 * (sim_open): Create new timer and serial devices and control
1084 configuration of other am32 devices via board option.
1085 * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices.
1086 * dv-mn103cpu.c: Fix typos in opening comments.
1087 * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30.
1088 * configure.in: Add mn103tim and mn103ser to hw_device list.
1089 * configure: Re-generate.
1090
1091 Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
1092
1093 * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
1094
1095 * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and
1096 sim-main.h. Declare a struct hw_descriptor instead of struct
1097 hw_device_descriptor.
1098
1099 Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com>
1100
1101 * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
1102 to struct hw_event.
1103
1104 Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1105
1106 * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
1107
1108 Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
1109
1110 * interp.c (sim_open): Create a polling PAL device.
1111
1112 Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
1113
1114 * dv-mn103int.c (mn103int_port_event):
1115 (mn103int_port_event):
1116 (mn103int_io_read_buffer):
1117 (mn103int_io_write_buffer):
1118
1119 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args.
1120 (mn103cpu_port_event): Ditto.
1121 (mn103cpu_io_read_buffer): Ditto.
1122 (mn103cpu_io_write_buffer): Ditto.
1123
1124 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1125
1126 * configure: Regenerated to track ../common/aclocal.m4 changes.
1127
1128 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1129
1130 * configure: Regenerated to track ../common/aclocal.m4 changes.
1131 * config.in: Ditto.
1132
1133 Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com>
1134
1135 * acconfig.h: New file.
1136 * configure.in: Reverted change of Apr 24; use sinclude again.
1137
1138 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1139
1140 * configure: Regenerated to track ../common/aclocal.m4 changes.
1141 * config.in: Ditto.
1142
1143 Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com>
1144
1145 * configure.in: Don't call sinclude.
1146
1147 Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
1148
1149 * mn10300_sim.h: Declare all functions in op_utils.c using
1150 INLINE_SIM_MAIN.
1151 * op_utils.c: Ditto.
1152 * sim-main.c: New file. Include op_utils.c.
1153
1154 * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
1155 differentiate between MOV/CMP immediate/register instructions.
1156
1157 * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
1158 * configure: Regenerate.
1159
1160 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1161
1162 * configure: Regenerated to track ../common/aclocal.m4 changes.
1163
1164 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1165
1166 * interp.c (hw): Delete variable, moved to SIM_DESC.
1167 (sim_open): Delete calls to hw_tree_create, hw_tree_finish.
1168 Handled by sim-module.
1169 (sim_open): Do not anotate tree with trace properties, handled by
1170 sim-hw.c
1171 (sim_open): Call sim_hw_parse instead of hw_tree_parse.
1172
1173 * configure: Regenerated to track ../common/aclocal.m4 changes.
1174
1175 Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
1176
1177 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC
1178 on the stack when delivering interrupts (not just the lower
1179 half)...
1180 * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were
1181 specified in the wrong order.
1182
1183 Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
1184
1185 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
1186 succeeding interrupts, clear pending_handler when the handler
1187 isn't re-scheduled.
1188
1189 Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
1190
1191 * Makefile.in (tmp-igen): Prefix all usage of move-if-change
1192 script with $(SHELL) to make NT native builds happy.
1193 * configure: Regenerate because of change to ../common/aclocal.m4.
1194
1195 Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com>
1196
1197 * configure.in: Make --enable-sim-common the default.
1198 * configure: Re-generate.
1199
1200 * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
1201 address into Sate.regs[REG_PC] instead of common struct.
1202
1203 Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1204
1205 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
1206
1207 Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1208
1209 * simops.c (OP_F0FD): Initialise variable 'sp'.
1210
1211 Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
1212
1213 * dv-mn103int.c (decode_group): A group register every 4 bytes not
1214 8.
1215 (write_icr): Rewrite equation updating request field.
1216 (read_iagr): Fix check that interrupt is still pending.
1217
1218 Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
1219
1220 * interp.c (sim_open): Tidy up device creation.
1221
1222 * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
1223 value.
1224 (mn103int_io_read_buffer): Convert absolute address to register
1225 block offsets.
1226 (read_icr, write_icr): Convert block offset into group offset.
1227
1228 Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
1229
1230 * interp.c (sim_open): Create second 1mb memory region at
1231 0x40000000.
1232 (sim_open): Create a device tree.
1233 (sim-hw.h): Include.
1234 (do_interrupt): Delete, needs to use dv-mn103cpu.c
1235
1236 * dv-mn103int.c, dv-mn103cpu.c: New files.
1237
1238 Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
1239
1240 * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
1241 Define.
1242 (SP): Define.
1243
1244 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1245
1246 * configure: Regenerated to track ../common/aclocal.m4 changes.
1247
1248 Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
1249
1250 * interp.c (sim-options.h): Include.
1251 (sim_kind, myname): Declare when not using common framework.
1252
1253 * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
1254 functions found in op_utils.c
1255
1256 * mn10300.igen (add): Discard unused variables.
1257
1258 * configure, config.in: Re-generate with autoconf 2.12.1.
1259
1260 Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1261
1262 Add support for --enable-sim-common option.
1263 * Makefile.in (WITHOUT_COMMON_OBJS): Files included if
1264 ! --enable-sim-common
1265 (WITH_COMMON_OBJS): Files included if --enable-sim-common.
1266 (MN10300_OBJS,MN10300_INTERP_DEP): New variables.
1267 (SIM_OBJS): Rewrite.
1268 ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables.
1269 (SIM_EXTRA_CFLAGS): New variable.
1270 (clean-extra): Clean up igen files.
1271 (../igen/igen,clean-igen,tmp-igen): New rules.
1272 * configure.in: Add support for common framework via
1273 --enable-sim-common.
1274 * configure: Regenerate.
1275 * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h.
1276 (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON.
1277 (init_system,sim_write,compare_simops): Likewise.
1278 (sim_set_profile,sim_set_profile_size): Likewise.
1279 (sim_stop,sim_resume,sim_trace,sim_info): Likewise.
1280 (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise.
1281 (enum interrupt_type): New enum.
1282 (interrupt_names): New global.
1283 (do_interrupt): New function.
1284 (sim_open): Define differently if WITH_COMMON.
1285 (sim_close,sim_create_inferior,sim_do_command): Likewise.
1286 * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions
1287 for WITH_COMMON.
1288 * mn10300.igen: New file.
1289 * mn10300.dc: New file.
1290 * op_utils.c: New file.
1291 * sim-main.h: New file.
1292
1293 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1294
1295 * configure: Regenerated to track ../common/aclocal.m4 changes.
1296
1297 Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com)
1298
1299 * simops.c (inc): Fix typo.
1300
1301 Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com)
1302
1303 * simops.c (signed multiply instructions): Cast input operands to
1304 signed32 before casting them to signed64 so that the sign bit
1305 is propagated properly.
1306
1307 Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com>
1308
1309 * Makefile.in: Last change was bad. Define NL_TARGET
1310 so that targ-vals.h will be used instead of syscall.h.
1311 * simops.c: Use targ-vals.h instead of syscall.h.
1312 (OP_F020): Disable unsupported system calls.
1313
1314 Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com>
1315
1316 * Makefile.in: Get header files from libgloss/mn10300/sys.
1317
1318 Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com)
1319
1320 * simops.c: Include sim-types.h.
1321
1322 Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com)
1323
1324 * simops.c (multiply instructions): Cast input operands to a
1325 signed64/unsigned64 type as appropriate.
1326
1327 Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
1328
1329 * interp.c (sim_store_register, sim_fetch_register): Pass in
1330 length parameter. Return -1.
1331
1332 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1333
1334 * configure: Regenerated to track ../common/aclocal.m4 changes.
1335
1336 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1337
1338 * configure: Regenerated to track ../common/aclocal.m4 changes.
1339
1340 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1341
1342 * configure: Regenerated to track ../common/aclocal.m4 changes.
1343
1344 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1345
1346 * configure: Regenerated to track ../common/aclocal.m4 changes.
1347 * config.in: Ditto.
1348
1349 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1350
1351 * configure: Regenerated to track ../common/aclocal.m4 changes.
1352
1353 Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com)
1354
1355 * simops.c (call:16 call:32): Stack adjustment is determined solely
1356 by the imm8 field.
1357
1358 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1359
1360 * interp.c (sim_load): Pass lma_p and sim_write args to
1361 sim_load_file.
1362
1363 Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com)
1364
1365 * simops.c: Correctly handle register restores for "ret" and "retf"
1366 instructions.
1367
1368 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1369
1370 * configure: Regenerated to track ../common/aclocal.m4 changes.
1371
1372 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1373
1374 * configure: Regenerated to track ../common/aclocal.m4 changes.
1375
1376 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1377
1378 * configure: Regenerated to track ../common/aclocal.m4 changes.
1379
1380 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1381
1382 * configure: Regenerated to track ../common/aclocal.m4 changes.
1383
1384 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1385
1386 * configure: Regenerated to track ../common/aclocal.m4 changes.
1387
1388 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1389
1390 * configure: Regenerated to track ../common/aclocal.m4 changes.
1391
1392 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1393
1394 * configure: Regenerated to track ../common/aclocal.m4 changes.
1395
1396 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1397
1398 * configure: Regenerated to track ../common/aclocal.m4 changes.
1399 * config.in: Ditto.
1400
1401 Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
1402
1403 * interp.c (sim_kill): Delete.
1404 (sim_create_inferior): Add ABFD argument.
1405 (sim_load): Move setting of PC from here.
1406 (sim_create_inferior): To here.
1407
1408 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1409
1410 * configure: Regenerated to track ../common/aclocal.m4 changes.
1411 * config.in: Ditto.
1412
1413 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
1414
1415 * interp.c (sim_open): Add ABFD argument.
1416
1417 Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com)
1418
1419 * interp.c (sim_resume): Clear State.exited.
1420 (sim_stop_reason): If State.exited is nonzero, then indicate that
1421 the simulator exited instead of stopped.
1422 * mn10300_sim.h (struct _state): Add exited field.
1423 * simops.c (syscall): Set State.exited for SYS_exit.
1424
1425 Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com)
1426
1427 * simops.c: Fix thinko in last change.
1428
1429 Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com)
1430
1431 * simops.c: "call" stores the callee saved registers into the
1432 stack! Update the stack pointer properly when done with
1433 register saves.
1434
1435 * simops.c: Fix return address computation for "call" instructions.
1436
1437 Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com)
1438
1439 * interp.c (sim_open): Fix typo.
1440
1441 Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com)
1442
1443 * interp.c (sim_resume): Add missing case in big switch
1444 statement (for extb instruction).
1445
1446 Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com)
1447
1448 * interp.c: Replace all references to load_mem and store_mem
1449 with references to load_byte, load_half, load_3_byte, load_word
1450 and store_byte, store_half, store_3_byte, store_word.
1451 (INLINE): Delete definition.
1452 (load_mem_big): Likewise.
1453 (max_mem): Make it global.
1454 (dispatch): Make this function inline.
1455 (load_mem, store_mem): Delete functions.
1456 * mn10300_sim.h (INLINE): Define.
1457 (RLW): Delete unused definition.
1458 (load_mem, store_mem): Delete declarations.
1459 (load_mem_big): New definition.
1460 (load_byte, load_half, load_3_byte, load_word): New functions.
1461 (store_byte, store_half, store_3_byte, store_word): New functions.
1462 * simops.c: Replace all references to load_mem and store_mem
1463 with references to load_byte, load_half, load_3_byte, load_word
1464 and store_byte, store_half, store_3_byte, store_word.
1465
1466 Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
1467
1468 * interp.c (sim_open): Add callback to arguments.
1469 (sim_set_callbacks): Delete SIM_DESC argument.
1470
1471 Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com)
1472
1473 * interp.c (dispatch): Make this an inline function.
1474
1475 * simops.c (syscall): Use callback->write regardless of
1476 what file descriptor we're writing too.
1477
1478 Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com)
1479
1480 * interp.c (load_mem_big): Remove function. It's now a macro
1481 defined elsewhere.
1482 (compare_simops): New function.
1483 (sim_open): Sort the Simops table before inserting entries
1484 into the hash table.
1485 * mn10300_sim.h: Remove unused #defines.
1486 (load_mem_big): Define.
1487
1488 Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com)
1489
1490 * interp.c (load_mem): If we get a load from an out of range
1491 address, abort.
1492 (store_mem): Likewise for stores.
1493 (max_mem): New variable.
1494
1495 Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com)
1496
1497 * mn10300_sim.h: Fix ordering of bits in the PSW.
1498
1499 * interp.c: Improve hashing routine to avoid long list
1500 traversals for common instructions. Add HASH_STAT support.
1501 Rewrite opcode dispatch code using a big switch instead of
1502 cascaded if/else statements. Avoid useless calls to load_mem.
1503
1504 Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com)
1505
1506 * mn10300_sim.h (struct _state): Add space for mdrq register.
1507 (REG_MDRQ): Define.
1508 * simops.c: Don't abort for trap. Add support for the extended
1509 instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
1510 and "bsch".
1511
1512 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1513
1514 * configure: Regenerated to track ../common/aclocal.m4 changes.
1515
1516 Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
1517
1518 * interp.c (sim_stop): Add stub function.
1519
1520 Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com>
1521
1522 * Makefile.in (SIM_OBJS): Add sim-load.o.
1523 * interp.c (sim_kind, myname): New static locals.
1524 (sim_open): Set sim_kind, myname. Ignore -E arg.
1525 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
1526 load file into simulator. Set start address from bfd.
1527 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
1528
1529 Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
1530
1531 * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime
1532 only include if implemented by host.
1533 (OP_F020): Typecast arg passed to time function;
1534
1535 Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com)
1536
1537 * simops.c (syscall): Handle new mn10300 calling conventions.
1538
1539 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1540
1541 * configure: Regenerated to track ../common/aclocal.m4 changes.
1542 * config.in: Ditto.
1543
1544 Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com>
1545
1546 * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
1547 corresponding change in opcodes directory.
1548
1549 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1550
1551 * interp.c (sim_open): New arg `kind'.
1552
1553 * configure: Regenerated to track ../common/aclocal.m4 changes.
1554
1555 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1556
1557 * configure: Regenerated to track ../common/aclocal.m4 changes.
1558
1559 Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com)
1560
1561 * simops.c: Fix register extraction for a two "movbu" variants.
1562 Somewhat simplify "sub" instructions.
1563 Correctly sign extend operands for "mul". Put the correct
1564 half of the result in MDR for "mul" and "mulu".
1565 Implement remaining instructions.
1566 Tweak opcode for "syscall".
1567
1568 Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com)
1569
1570 * simops.c: Do syscall emulation in "syscall" instruction. Add
1571 dummy "trap" instruction.
1572
1573 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1574
1575 * configure: Regenerated to track ../common/aclocal.m4 changes.
1576
1577 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1578
1579 * configure: Re-generate.
1580
1581 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1582
1583 * configure: Regenerate to track ../common/aclocal.m4 changes.
1584
1585 Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com>
1586
1587 * interp.c (sim_open): New SIM_DESC result. Argument is now
1588 in argv form.
1589 (other sim_*): New SIM_DESC argument.
1590
1591 Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com)
1592
1593 * simops.c: Fix carry bit computation for "add" instructions.
1594
1595 * simops.c: Fix typos in bset insns. Fix arguments to store_mem
1596 for bset imm8,(d8,an) and bclr imm8,(d8,an).
1597
1598 Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com)
1599
1600 * simops.c: Fix register references when computing Z and N bits
1601 for lsr imm8,dn.
1602
1603 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
1604
1605 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
1606 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1607 * configure.in: sinclude ../common/aclocal.m4.
1608 * configure: Regenerated.
1609
1610 Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com)
1611
1612 * interp.c (init_system): Allocate 2^19 bytes of space for the
1613 simulator.
1614
1615 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1616
1617 * configure configure.in Makefile.in: Update to new configure
1618 scheme which is more compatible with WinGDB builds.
1619 * configure.in: Improve comment on how to run autoconf.
1620 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1621 * Makefile.in: Use autoconf substitution to install common
1622 makefile fragment.
1623
1624 Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com)
1625
1626 * simops.c: Undo last change to "rol" and "ror", original code
1627 was correct!
1628
1629 Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com)
1630
1631 * simops.c: Fix "rol" and "ror".
1632
1633 Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com)
1634
1635 * simops.c: Fix typo in last change.
1636
1637 Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com)
1638
1639 * simops.c: Use REG macros in few places not using them yet.
1640
1641 Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com)
1642
1643 * mn10300_sim.h (struct _state): Fix number of registers!
1644
1645 Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com)
1646
1647 * mn10300_sim.h (struct _state): Put all registers into a single
1648 array to make gdb implementation easier.
1649 (REG_*): Add definitions for all registers in the state array.
1650 (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
1651 * simops.c: Related changes.
1652
1653 Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com)
1654
1655 * interp.c (sim_resume): Handle 0xff as a single byte insn.
1656
1657 * simops.c: Fix overflow computation for "add" and "inc"
1658 instructions.
1659
1660 Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com)
1661
1662 * simops.c: Handle "break" instruction.
1663
1664 * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
1665
1666 Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com)
1667
1668 * gencode.c (write_opcodes): Also write out the format of the
1669 opcode.
1670 * mn10300_sim.h (simops): Add "format" field.
1671 * interp.c (sim_resume): Deal with endianness issues here.
1672
1673 Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com)
1674
1675 * simops.c (REG0_4): Define.
1676 Use REG0_4 for indexed loads/stores.
1677
1678 Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com)
1679
1680 * simops.c (REG0_16): Fix typo.
1681
1682 Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com)
1683
1684 * simops.c: Call abort for any instruction that's not currently
1685 simulated.
1686
1687 * simops.c: Define accessor macros to extract register
1688 values from instructions. Use them consistently.
1689
1690 * interp.c: Delete unused global variable "OP".
1691 (sim_resume): Remove unused variable "opcode".
1692 * simops.c: Fix some uninitialized variable problems, add
1693 parens to fix various -Wall warnings.
1694
1695 * gencode.c (write_header): Add "insn" and "extension" arguments
1696 to the OP_* declarations.
1697 (write_template): Similarly for function templates.
1698 * interp.c (insn, extension): Remove global variables. Instead
1699 pass them as arguments to the OP_* functions.
1700 * mn10300_sim.h: Remove decls for "insn" and "extension".
1701 * simops.c (OP_*): Accept "insn" and "extension" as arguments
1702 instead of using globals.
1703
1704 Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com)
1705
1706 * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
1707
1708 * simops.c: Fix thinkos in last change to "inc dn".
1709
1710 Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com)
1711
1712 * simops.c: "add imm,sp" does not effect the condition codes.
1713 "inc dn" does effect the condition codes.
1714
1715 Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com)
1716
1717 * simops.c: Treat both operands as signed values for
1718 "div" instruction.
1719
1720 * simops.c: Fix simulation of division instructions.
1721 Fix typos/thinkos in several "cmp" and "sub" instructions.
1722
1723 Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com)
1724
1725 * simops.c: Fix carry bit handling in "sub" and "cmp"
1726 instructions.
1727
1728 * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
1729
1730 Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
1731
1732 * simops.c: Fix overflow computation for many instructions.
1733
1734 * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
1735
1736 * simops.c: Fix "mov am, dn".
1737
1738 * simops.c: Fix more bugs in "add imm,an" and
1739 "add imm,dn".
1740
1741 Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com)
1742
1743 * simops.c: Fix bugs in "movm" and "add imm,an".
1744
1745 * simops.c: Don't lose the upper 24 bits of the return
1746 pointer in "call" and "calls" instructions. Rough cut
1747 at emulated system calls.
1748
1749 * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
1750
1751 * simops.c: Implement remaining 4 byte instructions.
1752
1753 * simops.c: Implement remaining 3 byte instructions.
1754
1755 * simops.c: Implement remaining 2 byte instructions. Call
1756 abort for instructions we're not implementing now.
1757
1758 Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com)
1759
1760 * simops.c: Implement lots of random instructions.
1761
1762 * simops.c: Implement "movm" and "bCC" insns.
1763
1764 * mn10300_sim.h (_state): Add another register (MDR).
1765 (REG_MDR): Define.
1766 * simops.c: Implement "cmp", "calls", "rets", "jmp" and
1767 a few additional random insns.
1768
1769 * mn10300_sim.h (PSW_*): Define for CC status tracking.
1770 (REG_D0, REG_A0, REG_SP): Define.
1771 * simops.c: Implement "add", "addc" and a few other random
1772 instructions.
1773
1774 * gencode.c, interp.c: Snapshot current simulator code.
1775
1776 Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com)
1777
1778 * Makefile.in, config.in, configure, configure.in: New files.
1779 * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.