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