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