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