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