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