]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/mn10300/ChangeLog
sim: delete SIM_AC_COMMON macro
[thirdparty/binutils-gdb.git] / sim / mn10300 / ChangeLog
1 2021-06-20 Mike Frysinger <vapier@gentoo.org>
2
3 * configure.ac (SIM_AC_COMMON): Delete.
4 * aclocal.m4, configure: Regenerate.
5
6 2021-06-20 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 * aclocal.m4: Regenerate.
14 * configure: Regenerate.
15
16 2021-06-19 Mike Frysinger <vapier@gentoo.org>
17
18 * configure: Regenerate.
19
20 2021-06-18 Mike Frysinger <vapier@gentoo.org>
21
22 * aclocal.m4, configure: Regenerate.
23
24 2021-06-18 Mike Frysinger <vapier@gentoo.org>
25
26 * configure: Regenerate.
27
28 2021-06-18 Mike Frysinger <vapier@gentoo.org>
29
30 * interp.c: Include sim-signal.h.
31 * op_utils.c, sim-main.h: Likewise.
32 * mn10300_sim.h: Delete sim-signal.h include.
33
34 2021-06-17 Mike Frysinger <vapier@gentoo.org>
35
36 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
37 * interp.c (sim_open): Set current_target_byte_order.
38 * aclocal.m4, configure: Regenerate.
39
40 2021-06-17 Mike Frysinger <vapier@gentoo.org>
41
42 * mn10300_sim.h (u642dw, dw2u64): Change INLINE to INLINE2.
43
44 2021-06-16 Mike Frysinger <vapier@gentoo.org>
45
46 * configure: Regenerate.
47
48 2021-06-16 Mike Frysinger <vapier@gentoo.org>
49
50 * configure: Regenerate.
51 * config.in: Removed.
52
53 2021-06-15 Mike Frysinger <vapier@gentoo.org>
54
55 * config.in, configure: Regenerate.
56
57 2021-06-14 Mike Frysinger <vapier@gentoo.org>
58
59 * configure.ac: Delete all to SIM_AC_OPTION_WARNINGS.
60 * configure: Regenerate.
61
62 2021-06-14 Mike Frysinger <vapier@gentoo.org>
63
64 * mn10300.igen: Change abort to sim_engine_abort.
65
66 2021-06-12 Mike Frysinger <vapier@gentoo.org>
67
68 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
69
70 2021-06-12 Mike Frysinger <vapier@gentoo.org>
71
72 * aclocal.m4, config.in, configure: Regenerate.
73
74 2021-06-12 Mike Frysinger <vapier@gentoo.org>
75
76 * config.in, configure: Regenerate.
77
78 2021-06-09 Mike Frysinger <vapier@gentoo.org>
79
80 * sim-main.h (SIM_ENGINE_HALT_HOOK): Delete 0.
81
82 2021-06-08 Mike Frysinger <vapier@gentoo.org>
83
84 * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen
85 with $(IGEN).
86
87 2021-05-29 Mike Frysinger <vapier@gentoo.org>
88
89 * interp.c [!SIGTRAP] (SIGTRAP): Define to 5.
90
91 2021-05-17 Mike Frysinger <vapier@gentoo.org>
92
93 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
94
95 2021-05-17 Mike Frysinger <vapier@gentoo.org>
96
97 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
98 (struct sim_state): Delete.
99
100 2021-05-16 Mike Frysinger <vapier@gentoo.org>
101
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.
105
106 2021-05-16 Mike Frysinger <vapier@gentoo.org>
107
108 * config.in, configure: Regenerate.
109
110 2021-05-14 Mike Frysinger <vapier@gentoo.org>
111
112 * mn10300_sim.h: Update include path.
113
114 2021-05-04 Mike Frysinger <vapier@gentoo.org>
115
116 * op_utils.c: Delete sys/times.h include.
117
118 2021-05-04 Mike Frysinger <vapier@gentoo.org>
119
120 * configure: Regenerate.
121
122 2021-05-01 Mike Frysinger <vapier@gentoo.org>
123
124 * config.in, configure: Regenerate.
125
126 2021-04-26 Mike Frysinger <vapier@gentoo.org>
127
128 * Makefile.in (NL_TARGET): Delete.
129
130 2021-04-23 Mike Frysinger <vapier@gentoo.org>
131
132 * configure.ac (SIM_AC_OPTION_HARDWARE): Delete first two args.
133 * configure: Regenerate.
134
135 2021-04-22 Tom Tromey <tom@tromey.com>
136
137 * configure, config.in: Rebuild.
138
139 2021-04-22 Tom Tromey <tom@tromey.com>
140
141 * Makefile.in (INCLUDE): Remove.
142
143 2021-04-22 Tom Tromey <tom@tromey.com>
144
145 * Makefile.in (interp.o): Remove.
146 (idecode.o op_utils.o semantics.o): Remove.
147
148 2021-04-22 Tom Tromey <tom@tromey.com>
149
150 * configure: Rebuild.
151
152 2021-04-21 Mike Frysinger <vapier@gentoo.org>
153
154 * aclocal.m4: Regenerate.
155
156 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
157
158 * configure: Regenerate.
159
160 2021-04-18 Mike Frysinger <vapier@gentoo.org>
161
162 * configure: Regenerate.
163
164 2021-04-18 Mike Frysinger <vapier@gentoo.org>
165
166 * configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls.
167 * op_utils.c: Delete utime.h include.
168 * config.in, configure: Regenerate.
169
170 2021-04-15 John Baldwin <jhb@FreeBSD.org>
171
172 * Makefile.in: (tmp-igen) Only pass mn10300.igen to igen.
173 * mn10300.igen: Include am33-2.igen.
174
175 2021-04-12 Mike Frysinger <vapier@gentoo.org>
176
177 * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
178
179 2021-04-08 Simon Marchi <simon.marchi@polymtl.ca>
180
181 * Makefile.in: Set ASAN_OPTIONS when running igen.
182
183 2021-04-02 Mike Frysinger <vapier@gentoo.org>
184
185 * Makefile.in (../igen/igen): Delete rule.
186 (tmp-igen): Delete ../igen make.
187
188 2021-04-02 Mike Frysinger <vapier@gentoo.org>
189
190 * aclocal.m4, configure: Regenerate.
191
192 2021-02-28 Mike Frysinger <vapier@gentoo.org>
193
194 * configure: Regenerate.
195
196 2021-02-21 Mike Frysinger <vapier@gentoo.org>
197
198 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
199 * aclocal.m4, configure: Regenerate.
200
201 2021-02-13 Mike Frysinger <vapier@gentoo.org>
202
203 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
204 * aclocal.m4, configure: Regenerate.
205
206 2021-02-06 Mike Frysinger <vapier@gentoo.org>
207
208 * interp.c (sim_open): Delete call to STATE_WATCHPOINTS.
209
210 2021-02-06 Mike Frysinger <vapier@gentoo.org>
211
212 * configure: Regenerate.
213
214 2021-01-30 Mike Frysinger <vapier@gentoo.org>
215
216 * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc.
217
218 2021-01-11 Mike Frysinger <vapier@gentoo.org>
219
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.
223
224 2021-01-09 Mike Frysinger <vapier@gentoo.org>
225
226 * configure: Regenerate.
227
228 2021-01-09 Mike Frysinger <vapier@gentoo.org>
229
230 * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no".
231 * configure: Regenerate.
232
233 2021-01-08 Mike Frysinger <vapier@gentoo.org>
234
235 * configure: Regenerate.
236
237 2021-01-04 Mike Frysinger <vapier@gentoo.org>
238
239 * configure: Regenerate.
240
241 2017-09-06 John Baldwin <jhb@FreeBSD.org>
242
243 * configure: Regenerate.
244
245 2016-01-10 Mike Frysinger <vapier@gentoo.org>
246
247 * config.in, configure: Regenerate.
248
249 2016-01-10 Mike Frysinger <vapier@gentoo.org>
250
251 * configure: Regenerate.
252
253 2016-01-10 Mike Frysinger <vapier@gentoo.org>
254
255 * configure: Regenerate.
256
257 2016-01-10 Mike Frysinger <vapier@gentoo.org>
258
259 * configure: Regenerate.
260
261 2016-01-10 Mike Frysinger <vapier@gentoo.org>
262
263 * configure: Regenerate.
264
265 2016-01-10 Mike Frysinger <vapier@gentoo.org>
266
267 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
268 * configure: Regenerate.
269
270 2016-01-10 Mike Frysinger <vapier@gentoo.org>
271
272 * configure: Regenerate.
273
274 2016-01-10 Mike Frysinger <vapier@gentoo.org>
275
276 * configure: Regenerate.
277
278 2016-01-09 Mike Frysinger <vapier@gentoo.org>
279
280 * config.in, configure: Regenerate.
281
282 2016-01-06 Mike Frysinger <vapier@gentoo.org>
283
284 * interp.c (sim_open): Mark argv const.
285 (sim_create_inferior): Mark argv and env const.
286
287 2016-01-04 Mike Frysinger <vapier@gentoo.org>
288
289 * configure: Regenerate.
290
291 2016-01-03 Mike Frysinger <vapier@gentoo.org>
292
293 * interp.c (sim_open): Update sim_parse_args comment.
294
295 2016-01-03 Mike Frysinger <vapier@gentoo.org>
296
297 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
298 * configure: Regenerate.
299
300 2016-01-02 Mike Frysinger <vapier@gentoo.org>
301
302 * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to
303 LITTLE.
304 * configure: Regenerate.
305
306 2015-12-30 Mike Frysinger <vapier@gentoo.org>
307
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.
314
315 2015-12-27 Mike Frysinger <vapier@gentoo.org>
316
317 * Makefile.in (MN10300_OBJS): Delete sim-hload.o.
318
319 2015-12-26 Mike Frysinger <vapier@gentoo.org>
320
321 * config.in, configure: Regenerate.
322
323 2015-12-24 Mike Frysinger <vapier@gentoo.org>
324
325 * sim-main.h (SIM_HANDLES_LMA): Delete.
326
327 2015-12-24 Mike Frysinger <vapier@gentoo.org>
328
329 * sim-main.h (WITH_WATCHPOINTS): Delete.
330
331 2015-11-21 Mike Frysinger <vapier@gentoo.org>
332
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.
337
338 2015-11-17 Mike Frysinger <vapier@gentoo.org>
339
340 * sim-main.h (WITH_CORE): Delete.
341
342 2015-11-15 Mike Frysinger <vapier@gentoo.org>
343
344 * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
345
346 2015-11-14 Mike Frysinger <vapier@gentoo.org>
347
348 * interp.c (sim_close): Delete.
349
350 2015-06-23 Mike Frysinger <vapier@gentoo.org>
351
352 * configure: Regenerate.
353
354 2015-06-17 Mike Frysinger <vapier@gentoo.org>
355
356 * op_utils.c (do_syscall): Replace call to cb_syscall with
357 sim_syscall_multi.
358
359 2015-06-17 Mike Frysinger <vapier@gentoo.org>
360
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.
366
367 2015-06-12 Mike Frysinger <vapier@gentoo.org>
368
369 * configure: Regenerate.
370
371 2015-06-12 Mike Frysinger <vapier@gentoo.org>
372
373 * configure: Regenerate.
374
375 2015-06-11 Mike Frysinger <vapier@gentoo.org>
376
377 * interp.c (get_byte, get_half, get_word, put_byte, put_half,
378 put_word): Delete.
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.
385
386 2015-06-11 Mike Frysinger <vapier@gentoo.org>
387
388 * interp.c (round_64, fpu_status_ok): Add static.
389
390 2015-06-11 Mike Frysinger <vapier@gentoo.org>
391
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
397 State.exception.
398
399 2015-06-11 Mike Frysinger <vapier@gentoo.org>
400
401 * mn10300_sim.h (uint8, int8, uint16, int16, uint32, int32): Typedef
402 in terms of unsigned8, signed8, unsigned16, signed16, unsigned32,
403 and signed32 respectively.
404
405 2015-06-11 Mike Frysinger <vapier@gentoo.org>
406
407 * interp.c (INLINE): Delete define.
408 * mn10300_sim.h (INLINE): Likewise.
409
410 2015-04-18 Mike Frysinger <vapier@gentoo.org>
411
412 * sim-main.h (SIM_CPU): Delete.
413
414 2015-04-18 Mike Frysinger <vapier@gentoo.org>
415
416 * sim-main.h (sim_cia): Delete.
417 (SIM_ADDR): Delete comment.
418
419 2015-04-17 Mike Frysinger <vapier@gentoo.org>
420
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
425 CPU_PC_SET.
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.
430
431 2015-04-15 Mike Frysinger <vapier@gentoo.org>
432
433 * Makefile.in (MN10300_OBJS): Delete sim-cpu.o.
434 * sim-main.h (STATE_CPU): Delete.
435
436 2015-04-13 Mike Frysinger <vapier@gentoo.org>
437
438 * configure: Regenerate.
439
440 2015-04-13 Mike Frysinger <vapier@gentoo.org>
441
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.
448 (SIM_CPU): Define.
449 (struct sim_state): Change cpu to an array of pointers.
450 (STATE_CPU): Drop & and handle WITH_SMP.
451
452 2015-04-06 Mike Frysinger <vapier@gentoo.org>
453
454 * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
455
456 2015-03-31 Mike Frysinger <vapier@gentoo.org>
457
458 * config.in, configure: Regenerate.
459
460 2015-03-24 Mike Frysinger <vapier@gentoo.org>
461
462 * interp.c (sim_pc_get): New function.
463
464 2015-03-24 Mike Frysinger <vapier@gentoo.org>
465
466 * configure: Regenerate.
467
468 2015-03-23 Mike Frysinger <vapier@gentoo.org>
469
470 * Makefile.in (MN10300_OBJS): Delete dv-sockser.o.
471
472 2015-03-23 Mike Frysinger <vapier@gentoo.org>
473
474 * configure: Regenerate.
475
476 2015-03-23 Mike Frysinger <vapier@gentoo.org>
477
478 * configure: Regenerate.
479
480 2015-03-23 Mike Frysinger <vapier@gentoo.org>
481
482 * configure: Regenerate.
483
484 2015-03-23 Mike Frysinger <vapier@gentoo.org>
485
486 * configure: Regenerate.
487 * configure.ac: Delete SIM_DV_SOCKSER_O check.
488
489 2015-03-16 Mike Frysinger <vapier@gentoo.org>
490
491 * config.in, configure: Regenerate.
492
493 2015-03-15 Mike Frysinger <vapier@gentoo.org>
494
495 * tconfig.in: Delete file.
496
497 2015-03-14 Mike Frysinger <vapier@gentoo.org>
498
499 * Makefile.in (SIM_RUN_OBJS): Delete.
500
501 2015-03-14 Mike Frysinger <vapier@gentoo.org>
502
503 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h &
504 string.h & strings.h & time.h.
505 * aclocal.m4, configure: Regenerate.
506
507 2014-08-19 Alan Modra <amodra@gmail.com>
508
509 * configure: Regenerate.
510
511 2014-08-15 Roland McGrath <mcgrathr@google.com>
512
513 * configure: Regenerate.
514 * config.in: Regenerate.
515
516 2014-03-04 Mike Frysinger <vapier@gentoo.org>
517
518 * configure: Regenerate.
519
520 2013-09-23 Alan Modra <amodra@gmail.com>
521
522 * configure: Regenerate.
523
524 2013-06-03 Mike Frysinger <vapier@gentoo.org>
525
526 * aclocal.m4, configure: Regenerate.
527
528 2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
529
530 * configure: Rebuild.
531
532 2013-03-26 Mike Frysinger <vapier@gentoo.org>
533
534 * configure: Regenerate.
535
536 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com>
537
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.
543
544 2012-06-17 Hans-Peter Nilsson <hp@axis.com>
545
546 * interp.c: Include config.h first. Do not include sysdep.h.
547
548 2012-06-15 Joel Brobecker <brobecker@adacore.com>
549
550 * config.in, configure: Regenerate.
551
552 2012-03-24 Mike Frysinger <vapier@gentoo.org>
553
554 * aclocal.m4, config.in, configure: Regenerate.
555
556 2012-02-16 Kevin Buettner <kevinb@redhat.com>
557
558 * interp.c (sim_fetch_register): Return length, not -1.
559
560 2012-01-02 Joel Brobecker <brobecker@adacore.com>
561
562 * sim-main.h: Reformat copyright header.
563
564 2011-12-03 Mike Frysinger <vapier@gentoo.org>
565
566 * aclocal.m4: New file.
567 * configure: Regenerate.
568
569 2011-11-07 Mike Frysinger <vapier@gentoo.org>
570
571 PR sim/9302
572 * dv-mn103iop.c (write_dedicated_control_reg): Convert && to &.
573
574 2011-10-19 Mike Frysinger <vapier@gentoo.org>
575
576 * configure: Regenerate after common/acinclude.m4 update.
577
578 2011-10-17 Mike Frysinger <vapier@gentoo.org>
579
580 * configure.ac: Change include to common/acinclude.m4.
581
582 2011-10-17 Mike Frysinger <vapier@gentoo.org>
583
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.
587
588 2011-07-05 Mike Frysinger <vapier@gentoo.org>
589
590 * interp.c (sim_do_command): Delete.
591
592 2011-06-20 Nick Clifton <nickc@redhat.com>
593
594 * am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag.
595
596 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
597
598 * interp.c (sim_store_register): Update return value to
599 match new API.
600
601 2010-04-19 Mike Frysinger <vapier@gentoo.org>
602
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.
607
608 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
609
610 * configure: Regenerate.
611
612 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
613
614 * config.in: Regenerate.
615 * configure: Likewise.
616
617 * configure: Regenerate.
618
619 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
620
621 * configure: Regenerate to track ../common/common.m4 changes.
622 * config.in: Ditto.
623
624 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
625 Daniel Jacobowitz <dan@codesourcery.com>
626 Joseph Myers <joseph@codesourcery.com>
627
628 * configure: Regenerate.
629
630 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
631
632 * acconfig.h: Remove.
633 * config.in: Regenerate.
634
635 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
636
637 * configure: Regenerated.
638
639 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
640
641 * configure: Regenerated.
642
643 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
644
645 * configure: Regenerated.
646
647 2006-03-29 Hans-Peter Nilsson <hp@axis.com>
648
649 * configure: Regenerate.
650
651 2005-03-23 Mark Kettenis <kettenis@gnu.org>
652
653 * configure: Regenerate.
654
655 2005-01-14 Andrew Cagney <cagney@gnu.org>
656
657 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
658 explicit call to AC_CONFIG_HEADER.
659 * configure: Regenerate.
660
661 2005-01-12 Andrew Cagney <cagney@gnu.org>
662
663 * configure.ac: Update to use ../common/common.m4.
664 * configure: Re-generate.
665
666 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
667
668 * configure: Regenerated to track ../common/aclocal.m4 changes.
669
670 2005-01-07 Andrew Cagney <cagney@gnu.org>
671
672 * configure.ac: Rename configure.in, require autoconf 2.59.
673 * configure: Re-generate.
674
675 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
676
677 * configure: Regenerate for ../common/aclocal.m4 update.
678
679 2004-06-26 Alexandre Oliva <aoliva@redhat.com>
680
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
689 arguments.
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
729 missing it.
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
746 implementation.
747 (fpu_unimp_exception): Likewise.
748 * op_utils.c (cmp2fcc): New function.
749
750 * interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes
751 and definitions to ISO C.
752
753 * gencode.c, simops.c: Delete.
754 * Makefile.in: Remove non-COMMON dependencies and commands.
755
756 * configure.in: Use common simulator always. Don't subst sim_gen
757 nor mn10300_common.
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.
767
768 2003-08-28 Andrew Cagney <cagney@redhat.com>
769
770 * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to
771 "long".
772 (read_status_reg): Cast "serial_reg" to "long".
773 * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to
774 "long".
775 (do_counter6_event, write_mode_reg, write_tm6md): Ditto.
776
777 2003-02-27 Andrew Cagney <cagney@redhat.com>
778
779 * interp.c (sim_open, sim_create_inferior, sim_open)
780 (sim_create_inferior): Rename _bfd to bfd.
781
782 2003-02-26 Andrew Cagney <cagney@redhat.com>
783
784 * am33.igen: Call sim_engine_abort instead of abort.
785
786 2003-02-26 David Carlton <carlton@math.stanford.edu>
787
788 * dv-mn103tim.c (read_special_timer6_reg): Add break after
789 empty default: label.
790 (write_special_timer6_reg): Ditto.
791 Update copyright.
792
793 2002-11-28 Andrew Cagney <cagney@redhat.com>
794
795 * sim-main.h: Only include "idecode.h" once.
796 * Makefile.in (SIM_EXTRA_DEPS): Define.
797
798 2002-06-16 Andrew Cagney <ac131313@redhat.com>
799
800 * configure: Regenerated to track ../common/aclocal.m4 changes.
801
802 2002-06-09 Andrew Cagney <cagney@redhat.com>
803
804 * Makefile.in (INCLUDE): Update path to callback.h.
805 * mn10300_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
806 * tconfig.in: Ditto.
807
808 2001-05-06 Jim Blandy <jimb@redhat.com>
809
810 * mn10300.igen: Doc fixes.
811
812 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
813
814 * Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o):
815 Depend on targ-vals.h.
816
817 2001-04-15 J.T. Conklin <jtc@redback.com>
818
819 * Makefile.in (simops.o): Add simops.h to dependency list.
820
821 Wed Aug 9 02:24:53 2000 Graham Stott <grahams@cygnus.co.uk>
822
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.
829
830 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
831
832 * configure: Regenerated to track ../common/aclocal.m4 changes.
833
834 2000-05-22 Alexandre Oliva <aoliva@cygnus.com>
835
836 * am33.igen: Fix leading comments of SP-relative offset insns that
837 referred to other registers. Make their offsets unsigned.
838
839 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
840
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.
846
847 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
848
849 * am33.igen (inc4 Rn): Use genericAdd so as to modify flags.
850
851 2000-04-09 Alexandre Oliva <aoliva@cygnus.com>
852
853 * am33.igen: Make SP-relative offsets unsigned. Add `*am33' for
854 some instructions that were missing it.
855
856 2000-03-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
857
858 * Makefile.in (IGEN_INSN): Added am33.igen.
859
860 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
861
862 * configure: Regenerated to track ../common/aclocal.m4 changes.
863
864 Tue Jul 13 13:26:20 1999 Andrew Cagney <cagney@b1.cygnus.com>
865
866 * interp.c: Clarify error message reporting an unknown board.
867
868 1999-05-08 Felix Lee <flee@cygnus.com>
869
870 * configure: Regenerated to track ../common/aclocal.m4 changes.
871
872 1999-04-16 Frank Ch. Eigler <fche@cygnus.com>
873
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
878 set SYSEF flag.
879
880 1999-04-02 Keith Seitz <keiths@cygnus.com>
881
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.
885
886 Tue Mar 9 21:26:41 1999 Andrew Cagney <cagney@b1.cygnus.com>
887
888 * dv-mn103int.c (mn103int_ioctl): Return something.
889 * dv-mn103tim.c (write_tm6md): GCC suggested parentheses around &&
890 within ||.
891
892 Tue Feb 16 23:57:17 1999 Jeffrey A Law (law@cygnus.com)
893
894 * mn10300.igen (retf): Fix return address computation and store
895 the new pc value into nia.
896
897 1998-12-29 Frank Ch. Eigler <fche@cygnus.com>
898
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
905 state.
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
914
915 Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com>
916 merged in:
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.
920
921 Wed Oct 14 12:11:05 1998 Jeffrey A Law (law@cygnus.com)
922
923 * am33.igen: Allow autoincrement stores using the same register
924 for source and destination operands.
925
926 Mon Aug 31 10:19:55 1998 Jeffrey A Law (law@cygnus.com)
927
928 * am33.igen: Reverse HI/LO outputs of 4 operand "mul" and "mulu".
929
930 Fri Aug 28 14:40:49 1998 Joyce Janczyn <janczyn@cygnus.com>
931
932 * interp.c (sim_open): Check for invalid --board option, fix
933 indentation, allocate memory for mem control and DMA regs.
934
935 Wed Aug 26 09:29:38 1998 Joyce Janczyn <janczyn@cygnus.com>
936
937 * mn10300.igen (div,divu): Fix divide instructions so divide by 0
938 behaves like the hardware.
939
940 Mon Aug 24 11:50:09 1998 Joyce Janczyn <janczyn@cygnus.com>
941
942 * sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.
943
944 Wed Aug 12 12:36:07 1998 Jeffrey A Law (law@cygnus.com)
945
946 * am33.igen: Handle case where first DSP operation modifies a
947 register used in the second DSP operation correctly.
948
949 Tue Jul 28 10:10:25 1998 Jeffrey A Law (law@cygnus.com)
950
951 * am33.igen: Detect cases where two operands must not match for
952 DSP instructions too.
953
954 Mon Jul 27 12:04:17 1998 Jeffrey A Law (law@cygnus.com)
955
956 * am33.igen: Detect cases where two operands must not match in
957 non-DSP instructions.
958
959 Fri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com>
960
961 * op_utils.c (do_syscall): Rewrite to use common/syscall.c.
962 (syscall_read_mem, syscall_write_mem): New functions for syscall
963 callbacks.
964 * mn10300_sim.h: Add prototypes for syscall_read_mem and
965 syscall_write_mem.
966 * mn10300.igen: Change C++ style comments to C style comments.
967 Check for divide by zero in div and divu ops.
968
969 Fri Jul 24 12:49:28 1998 Jeffrey A Law (law@cygnus.com)
970
971 * am33.igen (translate_xreg): New function. Use it as needed.
972
973 Thu Jul 23 10:05:28 1998 Jeffrey A Law (law@cygnus.com)
974
975 * am33.igen: Add some missing instructions.
976
977 * am33.igen: Autoincrement loads/store fixes.
978
979 Tue Jul 21 09:48:14 1998 Jeffrey A Law (law@cygnus.com)
980
981 * am33.igen: Add mov_lCC DSP instructions.
982
983 * am33.igen: Add most am33 DSP instructions.
984
985 Thu Jul 9 10:06:55 1998 Jeffrey A Law (law@cygnus.com)
986
987 * mn10300.igen: Fix Z bit for addc and subc instructions.
988 Minor fixes in multiply/divide patterns.
989
990 * am33.igen: Add missing mul[u] imm32,Rn. Fix condition code
991 handling for many instructions. Fix sign extension for some
992 24bit immediates.
993
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.
999
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.
1004
1005 * am33.igen: Add remaining non-DSP instructions.
1006
1007 Wed Jul 8 16:29:12 1998 Jeffrey A Law (law@cygnus.com)
1008
1009 * am33.igen (translate_rreg): New function. Use it as appropriate.
1010
1011 * am33.igen: More am33 instructions. Fix "div".
1012
1013 Mon Jul 6 15:39:22 1998 Jeffrey A Law (law@cygnus.com)
1014
1015 * mn10300.igen: Add am33 support.
1016
1017 * Makefile.in: Use multi-sim to support both a mn10300 and am33
1018 simulator.
1019
1020 * am33.igen: Add many more am33 instructions.
1021
1022 Wed Jul 1 17:07:09 1998 Jeffrey A Law (law@cygnus.com)
1023
1024 * mn10300_sim.h (FETCH24): Define.
1025
1026 * mn10300_sim.h: Add defines for some registers found on the AM33.
1027 * am33.igen: New file with some am33 support.
1028
1029 Tue Jun 30 11:23:20 1998 Jeffrey A Law (law@cygnus.com)
1030
1031 * mn10300_sim.h: Include bfd.h
1032 (struct state): Add more room for processor specific registers.
1033 (REG_E0): Define.
1034
1035 Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>
1036
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.
1042
1043 Fri Jun 19 16:47:27 1998 Joyce Janczyn <janczyn@cygnus.com>
1044
1045 * interp.c (sim_open): hook up serial 1 and 2 ports properly (typo).
1046
1047 Fri Jun 19 11:59:26 1998 Joyce Janczyn <janczyn@cygnus.com>
1048
1049 * interp.c (board): Rename am32 to stdeval1 as this is the name
1050 consistently used to refer to the mn1030002 board.
1051
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).
1055
1056 Wed Jun 17 18:00:18 1998 Jeffrey A Law (law@cygnus.com)
1057
1058 * simops.c (syscall): Handle change in opcode # for syscall.
1059 * mn10300.igen (syscall): Likewise.
1060
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.
1064
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
1067 register bits.
1068 * dv-mn103ser.c: Fill in methods for reading and writing to serial
1069 device registers.
1070 * interp.c (sim_open): Make the serial device a polling device.
1071
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.
1077
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.
1083
1084 Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1085 * interp.c: (mn10300_option_handler): New function parses arguments
1086 using sim-options.
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.
1095
1096 Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
1097
1098 * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
1099
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.
1103
1104 Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com>
1105
1106 * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
1107 to struct hw_event.
1108
1109 Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1110
1111 * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
1112
1113 Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
1114
1115 * interp.c (sim_open): Create a polling PAL device.
1116
1117 Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
1118
1119 * dv-mn103int.c (mn103int_port_event):
1120 (mn103int_port_event):
1121 (mn103int_io_read_buffer):
1122 (mn103int_io_write_buffer):
1123
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.
1128
1129 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1130
1131 * configure: Regenerated to track ../common/aclocal.m4 changes.
1132
1133 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1134
1135 * configure: Regenerated to track ../common/aclocal.m4 changes.
1136 * config.in: Ditto.
1137
1138 Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com>
1139
1140 * acconfig.h: New file.
1141 * configure.in: Reverted change of Apr 24; use sinclude again.
1142
1143 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1144
1145 * configure: Regenerated to track ../common/aclocal.m4 changes.
1146 * config.in: Ditto.
1147
1148 Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com>
1149
1150 * configure.in: Don't call sinclude.
1151
1152 Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
1153
1154 * mn10300_sim.h: Declare all functions in op_utils.c using
1155 INLINE_SIM_MAIN.
1156 * op_utils.c: Ditto.
1157 * sim-main.c: New file. Include op_utils.c.
1158
1159 * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
1160 differentiate between MOV/CMP immediate/register instructions.
1161
1162 * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
1163 * configure: Regenerate.
1164
1165 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1166
1167 * configure: Regenerated to track ../common/aclocal.m4 changes.
1168
1169 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1170
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
1175 sim-hw.c
1176 (sim_open): Call sim_hw_parse instead of hw_tree_parse.
1177
1178 * configure: Regenerated to track ../common/aclocal.m4 changes.
1179
1180 Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
1181
1182 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC
1183 on the stack when delivering interrupts (not just the lower
1184 half)...
1185 * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were
1186 specified in the wrong order.
1187
1188 Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
1189
1190 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
1191 succeeding interrupts, clear pending_handler when the handler
1192 isn't re-scheduled.
1193
1194 Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
1195
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.
1199
1200 Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com>
1201
1202 * configure.in: Make --enable-sim-common the default.
1203 * configure: Re-generate.
1204
1205 * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
1206 address into Sate.regs[REG_PC] instead of common struct.
1207
1208 Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1209
1210 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
1211
1212 Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1213
1214 * simops.c (OP_F0FD): Initialise variable 'sp'.
1215
1216 Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
1217
1218 * dv-mn103int.c (decode_group): A group register every 4 bytes not
1219 8.
1220 (write_icr): Rewrite equation updating request field.
1221 (read_iagr): Fix check that interrupt is still pending.
1222
1223 Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
1224
1225 * interp.c (sim_open): Tidy up device creation.
1226
1227 * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
1228 value.
1229 (mn103int_io_read_buffer): Convert absolute address to register
1230 block offsets.
1231 (read_icr, write_icr): Convert block offset into group offset.
1232
1233 Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
1234
1235 * interp.c (sim_open): Create second 1mb memory region at
1236 0x40000000.
1237 (sim_open): Create a device tree.
1238 (sim-hw.h): Include.
1239 (do_interrupt): Delete, needs to use dv-mn103cpu.c
1240
1241 * dv-mn103int.c, dv-mn103cpu.c: New files.
1242
1243 Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
1244
1245 * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
1246 Define.
1247 (SP): Define.
1248
1249 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1250
1251 * configure: Regenerated to track ../common/aclocal.m4 changes.
1252
1253 Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
1254
1255 * interp.c (sim-options.h): Include.
1256 (sim_kind, myname): Declare when not using common framework.
1257
1258 * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
1259 functions found in op_utils.c
1260
1261 * mn10300.igen (add): Discard unused variables.
1262
1263 * configure, config.in: Re-generate with autoconf 2.12.1.
1264
1265 Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com>
1266
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
1292 for WITH_COMMON.
1293 * mn10300.igen: New file.
1294 * mn10300.dc: New file.
1295 * op_utils.c: New file.
1296 * sim-main.h: New file.
1297
1298 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1299
1300 * configure: Regenerated to track ../common/aclocal.m4 changes.
1301
1302 Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com)
1303
1304 * simops.c (inc): Fix typo.
1305
1306 Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com)
1307
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.
1311
1312 Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com>
1313
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.
1318
1319 Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com>
1320
1321 * Makefile.in: Get header files from libgloss/mn10300/sys.
1322
1323 Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com)
1324
1325 * simops.c: Include sim-types.h.
1326
1327 Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com)
1328
1329 * simops.c (multiply instructions): Cast input operands to a
1330 signed64/unsigned64 type as appropriate.
1331
1332 Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
1333
1334 * interp.c (sim_store_register, sim_fetch_register): Pass in
1335 length parameter. Return -1.
1336
1337 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1338
1339 * configure: Regenerated to track ../common/aclocal.m4 changes.
1340
1341 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1342
1343 * configure: Regenerated to track ../common/aclocal.m4 changes.
1344
1345 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1346
1347 * configure: Regenerated to track ../common/aclocal.m4 changes.
1348
1349 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1350
1351 * configure: Regenerated to track ../common/aclocal.m4 changes.
1352 * config.in: Ditto.
1353
1354 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1355
1356 * configure: Regenerated to track ../common/aclocal.m4 changes.
1357
1358 Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com)
1359
1360 * simops.c (call:16 call:32): Stack adjustment is determined solely
1361 by the imm8 field.
1362
1363 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1364
1365 * interp.c (sim_load): Pass lma_p and sim_write args to
1366 sim_load_file.
1367
1368 Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com)
1369
1370 * simops.c: Correctly handle register restores for "ret" and "retf"
1371 instructions.
1372
1373 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1374
1375 * configure: Regenerated to track ../common/aclocal.m4 changes.
1376
1377 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1378
1379 * configure: Regenerated to track ../common/aclocal.m4 changes.
1380
1381 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1382
1383 * configure: Regenerated to track ../common/aclocal.m4 changes.
1384
1385 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1386
1387 * configure: Regenerated to track ../common/aclocal.m4 changes.
1388
1389 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1390
1391 * configure: Regenerated to track ../common/aclocal.m4 changes.
1392
1393 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1394
1395 * configure: Regenerated to track ../common/aclocal.m4 changes.
1396
1397 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1398
1399 * configure: Regenerated to track ../common/aclocal.m4 changes.
1400
1401 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1402
1403 * configure: Regenerated to track ../common/aclocal.m4 changes.
1404 * config.in: Ditto.
1405
1406 Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
1407
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.
1412
1413 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1414
1415 * configure: Regenerated to track ../common/aclocal.m4 changes.
1416 * config.in: Ditto.
1417
1418 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
1419
1420 * interp.c (sim_open): Add ABFD argument.
1421
1422 Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com)
1423
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.
1429
1430 Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com)
1431
1432 * simops.c: Fix thinko in last change.
1433
1434 Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com)
1435
1436 * simops.c: "call" stores the callee saved registers into the
1437 stack! Update the stack pointer properly when done with
1438 register saves.
1439
1440 * simops.c: Fix return address computation for "call" instructions.
1441
1442 Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com)
1443
1444 * interp.c (sim_open): Fix typo.
1445
1446 Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com)
1447
1448 * interp.c (sim_resume): Add missing case in big switch
1449 statement (for extb instruction).
1450
1451 Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com)
1452
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.
1470
1471 Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
1472
1473 * interp.c (sim_open): Add callback to arguments.
1474 (sim_set_callbacks): Delete SIM_DESC argument.
1475
1476 Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com)
1477
1478 * interp.c (dispatch): Make this an inline function.
1479
1480 * simops.c (syscall): Use callback->write regardless of
1481 what file descriptor we're writing too.
1482
1483 Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com)
1484
1485 * interp.c (load_mem_big): Remove function. It's now a macro
1486 defined elsewhere.
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.
1492
1493 Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com)
1494
1495 * interp.c (load_mem): If we get a load from an out of range
1496 address, abort.
1497 (store_mem): Likewise for stores.
1498 (max_mem): New variable.
1499
1500 Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com)
1501
1502 * mn10300_sim.h: Fix ordering of bits in the PSW.
1503
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.
1508
1509 Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com)
1510
1511 * mn10300_sim.h (struct _state): Add space for mdrq register.
1512 (REG_MDRQ): Define.
1513 * simops.c: Don't abort for trap. Add support for the extended
1514 instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
1515 and "bsch".
1516
1517 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1518
1519 * configure: Regenerated to track ../common/aclocal.m4 changes.
1520
1521 Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
1522
1523 * interp.c (sim_stop): Add stub function.
1524
1525 Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com>
1526
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.
1533
1534 Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
1535
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;
1539
1540 Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com)
1541
1542 * simops.c (syscall): Handle new mn10300 calling conventions.
1543
1544 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1545
1546 * configure: Regenerated to track ../common/aclocal.m4 changes.
1547 * config.in: Ditto.
1548
1549 Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com>
1550
1551 * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
1552 corresponding change in opcodes directory.
1553
1554 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1555
1556 * interp.c (sim_open): New arg `kind'.
1557
1558 * configure: Regenerated to track ../common/aclocal.m4 changes.
1559
1560 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1561
1562 * configure: Regenerated to track ../common/aclocal.m4 changes.
1563
1564 Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com)
1565
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".
1572
1573 Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com)
1574
1575 * simops.c: Do syscall emulation in "syscall" instruction. Add
1576 dummy "trap" instruction.
1577
1578 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1579
1580 * configure: Regenerated to track ../common/aclocal.m4 changes.
1581
1582 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1583
1584 * configure: Re-generate.
1585
1586 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1587
1588 * configure: Regenerate to track ../common/aclocal.m4 changes.
1589
1590 Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com>
1591
1592 * interp.c (sim_open): New SIM_DESC result. Argument is now
1593 in argv form.
1594 (other sim_*): New SIM_DESC argument.
1595
1596 Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com)
1597
1598 * simops.c: Fix carry bit computation for "add" instructions.
1599
1600 * simops.c: Fix typos in bset insns. Fix arguments to store_mem
1601 for bset imm8,(d8,an) and bclr imm8,(d8,an).
1602
1603 Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com)
1604
1605 * simops.c: Fix register references when computing Z and N bits
1606 for lsr imm8,dn.
1607
1608 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
1609
1610 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
1611 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1612 * configure.in: sinclude ../common/aclocal.m4.
1613 * configure: Regenerated.
1614
1615 Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com)
1616
1617 * interp.c (init_system): Allocate 2^19 bytes of space for the
1618 simulator.
1619
1620 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1621
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
1627 makefile fragment.
1628
1629 Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com)
1630
1631 * simops.c: Undo last change to "rol" and "ror", original code
1632 was correct!
1633
1634 Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com)
1635
1636 * simops.c: Fix "rol" and "ror".
1637
1638 Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com)
1639
1640 * simops.c: Fix typo in last change.
1641
1642 Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com)
1643
1644 * simops.c: Use REG macros in few places not using them yet.
1645
1646 Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com)
1647
1648 * mn10300_sim.h (struct _state): Fix number of registers!
1649
1650 Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com)
1651
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.
1657
1658 Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com)
1659
1660 * interp.c (sim_resume): Handle 0xff as a single byte insn.
1661
1662 * simops.c: Fix overflow computation for "add" and "inc"
1663 instructions.
1664
1665 Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com)
1666
1667 * simops.c: Handle "break" instruction.
1668
1669 * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
1670
1671 Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com)
1672
1673 * gencode.c (write_opcodes): Also write out the format of the
1674 opcode.
1675 * mn10300_sim.h (simops): Add "format" field.
1676 * interp.c (sim_resume): Deal with endianness issues here.
1677
1678 Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com)
1679
1680 * simops.c (REG0_4): Define.
1681 Use REG0_4 for indexed loads/stores.
1682
1683 Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com)
1684
1685 * simops.c (REG0_16): Fix typo.
1686
1687 Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com)
1688
1689 * simops.c: Call abort for any instruction that's not currently
1690 simulated.
1691
1692 * simops.c: Define accessor macros to extract register
1693 values from instructions. Use them consistently.
1694
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.
1699
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.
1708
1709 Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com)
1710
1711 * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
1712
1713 * simops.c: Fix thinkos in last change to "inc dn".
1714
1715 Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com)
1716
1717 * simops.c: "add imm,sp" does not effect the condition codes.
1718 "inc dn" does effect the condition codes.
1719
1720 Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com)
1721
1722 * simops.c: Treat both operands as signed values for
1723 "div" instruction.
1724
1725 * simops.c: Fix simulation of division instructions.
1726 Fix typos/thinkos in several "cmp" and "sub" instructions.
1727
1728 Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com)
1729
1730 * simops.c: Fix carry bit handling in "sub" and "cmp"
1731 instructions.
1732
1733 * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
1734
1735 Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
1736
1737 * simops.c: Fix overflow computation for many instructions.
1738
1739 * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
1740
1741 * simops.c: Fix "mov am, dn".
1742
1743 * simops.c: Fix more bugs in "add imm,an" and
1744 "add imm,dn".
1745
1746 Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com)
1747
1748 * simops.c: Fix bugs in "movm" and "add imm,an".
1749
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.
1753
1754 * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
1755
1756 * simops.c: Implement remaining 4 byte instructions.
1757
1758 * simops.c: Implement remaining 3 byte instructions.
1759
1760 * simops.c: Implement remaining 2 byte instructions. Call
1761 abort for instructions we're not implementing now.
1762
1763 Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com)
1764
1765 * simops.c: Implement lots of random instructions.
1766
1767 * simops.c: Implement "movm" and "bCC" insns.
1768
1769 * mn10300_sim.h (_state): Add another register (MDR).
1770 (REG_MDR): Define.
1771 * simops.c: Implement "cmp", "calls", "rets", "jmp" and
1772 a few additional random insns.
1773
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
1777 instructions.
1778
1779 * gencode.c, interp.c: Snapshot current simulator code.
1780
1781 Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com)
1782
1783 * Makefile.in, config.in, configure, configure.in: New files.
1784 * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.