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