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