2 Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
3 * dv-mn103iop.c: New file for handling am32 io ports.
4 * configure.in: Add mn103iop to hw_device list.
5 * configure: Re-generate.
6 * interp.c (sim_open): Create io port device.
8 Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>
9 * dv-mn103int.c (external_group): Use enumerated types to access
10 correct group addresses.
11 * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
12 triggers an interrupt on the higher-numbered timer's port.
15 Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com>
16 * interp.c: (mn10300_option_handler): New function parses arguments
19 * (board): Add --board option for specifying am32.
20 * (sim_open): Create new timer and serial devices and control
21 configuration of other am32 devices via board option.
22 * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices.
23 * dv-mn103cpu.c: Fix typos in opening comments.
24 * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30.
25 * configure.in: Add mn103tim and mn103ser to hw_device list.
26 * configure: Re-generate.
30 Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
32 * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
34 * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and
35 sim-main.h. Declare a struct hw_descriptor instead of struct
38 Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com>
40 * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
43 Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
45 * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
47 Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
49 * interp.c (sim_open): Create a polling PAL device.
52 Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
54 * dv-mn103int.c (mn103int_port_event):
55 (mn103int_port_event):
56 (mn103int_io_read_buffer):
57 (mn103int_io_write_buffer):
59 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args.
60 (mn103cpu_port_event): Ditto.
61 (mn103cpu_io_read_buffer): Ditto.
62 (mn103cpu_io_write_buffer): Ditto.
64 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
66 * configure: Regenerated to track ../common/aclocal.m4 changes.
68 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
70 * configure: Regenerated to track ../common/aclocal.m4 changes.
73 Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com>
75 * acconfig.h: New file.
76 * configure.in: Reverted change of Apr 24; use sinclude again.
78 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
80 * configure: Regenerated to track ../common/aclocal.m4 changes.
83 Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com>
85 * configure.in: Don't call sinclude.
87 Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
89 * mn10300_sim.h: Declare all functions in op_utils.c using
92 * sim-main.c: New file. Include op_utils.c.
94 * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
95 differentiate between MOV/CMP immediate/register instructions.
97 * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
98 * configure: Regenerate.
100 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
102 * configure: Regenerated to track ../common/aclocal.m4 changes.
105 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
107 * interp.c (hw): Delete variable, moved to SIM_DESC.
108 (sim_open): Delete calls to hw_tree_create, hw_tree_finish.
109 Handled by sim-module.
110 (sim_open): Do not anotate tree with trace properties, handled by
112 (sim_open): Call sim_hw_parse instead of hw_tree_parse.
114 * configure: Regenerated to track ../common/aclocal.m4 changes.
118 Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
120 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC
121 on the stack when delivering interrupts (not just the lower
123 * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were
124 specified in the wrong order.
128 Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
130 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
131 succeeding interrupts, clear pending_handler when the handler
135 Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
137 * Makefile.in (tmp-igen): Prefix all usage of move-if-change
138 script with $(SHELL) to make NT native builds happy.
139 * configure: Regenerate because of change to ../common/aclocal.m4.
141 Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com>
143 * configure.in: Make --enable-sim-common the default.
144 * configure: Re-generate.
146 * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
147 address into Sate.regs[REG_PC] instead of common struct.
149 Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com>
151 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
153 Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
155 * simops.c (OP_F0FD): Initialise variable 'sp'.
158 Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
160 * dv-mn103int.c (decode_group): A group register every 4 bytes not
162 (write_icr): Rewrite equation updating request field.
163 (read_iagr): Fix check that interrupt is still pending.
167 Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
169 * interp.c (sim_open): Tidy up device creation.
171 * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
173 (mn103int_io_read_buffer): Convert absolute address to register
175 (read_icr, write_icr): Convert block offset into group offset.
178 Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
180 * interp.c (sim_open): Create second 1mb memory region at
182 (sim_open): Create a device tree.
185 (do_interrupt): Delete, needs to use dv-mn103cpu.c
187 * dv-mn103int.c, dv-mn103cpu.c: New files.
190 Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
192 * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
196 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
198 * configure: Regenerated to track ../common/aclocal.m4 changes.
200 Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
202 * interp.c (sim-options.h): Include.
203 (sim_kind, myname): Declare when not using common framework.
205 * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
206 functions found in op_utils.c
208 * mn10300.igen (add): Discard unused variables.
210 * configure, config.in: Re-generate with autoconf 2.12.1.
212 Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com>
214 Add support for --enable-sim-common option.
215 * Makefile.in (WITHOUT_COMMON_OBJS): Files included if
216 ! --enable-sim-common
217 (WITH_COMMON_OBJS): Files included if --enable-sim-common.
218 (MN10300_OBJS,MN10300_INTERP_DEP): New variables.
220 ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables.
221 (SIM_EXTRA_CFLAGS): New variable.
222 (clean-extra): Clean up igen files.
223 (../igen/igen,clean-igen,tmp-igen): New rules.
224 * configure.in: Add support for common framework via
226 * configure: Regenerate.
227 * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h.
228 (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON.
229 (init_system,sim_write,compare_simops): Likewise.
230 (sim_set_profile,sim_set_profile_size): Likewise.
231 (sim_stop,sim_resume,sim_trace,sim_info): Likewise.
232 (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise.
233 (enum interrupt_type): New enum.
234 (interrupt_names): New global.
235 (do_interrupt): New function.
236 (sim_open): Define differently if WITH_COMMON.
237 (sim_close,sim_create_inferior,sim_do_command): Likewise.
238 * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions
240 * mn10300.igen: New file.
241 * mn10300.dc: New file.
242 * op_utils.c: New file.
243 * sim-main.h: New file.
245 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
247 * configure: Regenerated to track ../common/aclocal.m4 changes.
249 Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com)
251 * simops.c (inc): Fix typo.
253 Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com)
255 * simops.c (signed multiply instructions): Cast input operands to
256 signed32 before casting them to signed64 so that the sign bit
257 is propagated properly.
259 Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com>
261 * Makefile.in: Last change was bad. Define NL_TARGET
262 so that targ-vals.h will be used instead of syscall.h.
263 * simops.c: Use targ-vals.h instead of syscall.h.
264 (OP_F020): Disable unsupported system calls.
266 Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com>
268 * Makefile.in: Get header files from libgloss/mn10300/sys.
270 Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com)
272 * simops.c: Include sim-types.h.
274 Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com)
276 * simops.c (multiply instructions): Cast input operands to a
277 signed64/unsigned64 type as appropriate.
279 Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
281 * interp.c (sim_store_register, sim_fetch_register): Pass in
282 length parameter. Return -1.
284 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
286 * configure: Regenerated to track ../common/aclocal.m4 changes.
288 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
290 * configure: Regenerated to track ../common/aclocal.m4 changes.
292 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
294 * configure: Regenerated to track ../common/aclocal.m4 changes.
296 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
298 * configure: Regenerated to track ../common/aclocal.m4 changes.
301 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
303 * configure: Regenerated to track ../common/aclocal.m4 changes.
305 Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com)
307 * simops.c (call:16 call:32): Stack adjustment is determined solely
310 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
312 * interp.c (sim_load): Pass lma_p and sim_write args to
315 Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com)
317 * simops.c: Correctly handle register restores for "ret" and "retf"
320 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
322 * configure: Regenerated to track ../common/aclocal.m4 changes.
324 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
326 * configure: Regenerated to track ../common/aclocal.m4 changes.
328 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
330 * configure: Regenerated to track ../common/aclocal.m4 changes.
332 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
334 * configure: Regenerated to track ../common/aclocal.m4 changes.
336 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
338 * configure: Regenerated to track ../common/aclocal.m4 changes.
340 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
342 * configure: Regenerated to track ../common/aclocal.m4 changes.
344 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
346 * configure: Regenerated to track ../common/aclocal.m4 changes.
348 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
350 * configure: Regenerated to track ../common/aclocal.m4 changes.
353 Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
355 * interp.c (sim_kill): Delete.
356 (sim_create_inferior): Add ABFD argument.
357 (sim_load): Move setting of PC from here.
358 (sim_create_inferior): To here.
360 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
362 * configure: Regenerated to track ../common/aclocal.m4 changes.
365 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
367 * interp.c (sim_open): Add ABFD argument.
369 Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com)
371 * interp.c (sim_resume): Clear State.exited.
372 (sim_stop_reason): If State.exited is nonzero, then indicate that
373 the simulator exited instead of stopped.
374 * mn10300_sim.h (struct _state): Add exited field.
375 * simops.c (syscall): Set State.exited for SYS_exit.
377 Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com)
379 * simops.c: Fix thinko in last change.
381 Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com)
383 * simops.c: "call" stores the callee saved registers into the
384 stack! Update the stack pointer properly when done with
387 * simops.c: Fix return address computation for "call" instructions.
389 Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com)
391 * interp.c (sim_open): Fix typo.
393 Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com)
395 * interp.c (sim_resume): Add missing case in big switch
396 statement (for extb instruction).
398 Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com)
400 * interp.c: Replace all references to load_mem and store_mem
401 with references to load_byte, load_half, load_3_byte, load_word
402 and store_byte, store_half, store_3_byte, store_word.
403 (INLINE): Delete definition.
404 (load_mem_big): Likewise.
405 (max_mem): Make it global.
406 (dispatch): Make this function inline.
407 (load_mem, store_mem): Delete functions.
408 * mn10300_sim.h (INLINE): Define.
409 (RLW): Delete unused definition.
410 (load_mem, store_mem): Delete declarations.
411 (load_mem_big): New definition.
412 (load_byte, load_half, load_3_byte, load_word): New functions.
413 (store_byte, store_half, store_3_byte, store_word): New functions.
414 * simops.c: Replace all references to load_mem and store_mem
415 with references to load_byte, load_half, load_3_byte, load_word
416 and store_byte, store_half, store_3_byte, store_word.
418 Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
420 * interp.c (sim_open): Add callback to arguments.
421 (sim_set_callbacks): Delete SIM_DESC argument.
423 Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com)
425 * interp.c (dispatch): Make this an inline function.
427 * simops.c (syscall): Use callback->write regardless of
428 what file descriptor we're writing too.
430 Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com)
432 * interp.c (load_mem_big): Remove function. It's now a macro
434 (compare_simops): New function.
435 (sim_open): Sort the Simops table before inserting entries
437 * mn10300_sim.h: Remove unused #defines.
438 (load_mem_big): Define.
440 Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com)
442 * interp.c (load_mem): If we get a load from an out of range
444 (store_mem): Likewise for stores.
445 (max_mem): New variable.
447 Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com)
449 * mn10300_sim.h: Fix ordering of bits in the PSW.
451 * interp.c: Improve hashing routine to avoid long list
452 traversals for common instructions. Add HASH_STAT support.
453 Rewrite opcode dispatch code using a big switch instead of
454 cascaded if/else statements. Avoid useless calls to load_mem.
456 Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com)
458 * mn10300_sim.h (struct _state): Add space for mdrq register.
460 * simops.c: Don't abort for trap. Add support for the extended
461 instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
464 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
466 * configure: Regenerated to track ../common/aclocal.m4 changes.
468 Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
470 * interp.c (sim_stop): Add stub function.
472 Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com>
474 * Makefile.in (SIM_OBJS): Add sim-load.o.
475 * interp.c (sim_kind, myname): New static locals.
476 (sim_open): Set sim_kind, myname. Ignore -E arg.
477 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
478 load file into simulator. Set start address from bfd.
479 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
481 Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
483 * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime
484 only include if implemented by host.
485 (OP_F020): Typecast arg passed to time function;
487 Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com)
489 * simops.c (syscall): Handle new mn10300 calling conventions.
491 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
493 * configure: Regenerated to track ../common/aclocal.m4 changes.
496 Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com>
498 * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
499 corresponding change in opcodes directory.
501 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
503 * interp.c (sim_open): New arg `kind'.
505 * configure: Regenerated to track ../common/aclocal.m4 changes.
507 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
509 * configure: Regenerated to track ../common/aclocal.m4 changes.
511 Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com)
513 * simops.c: Fix register extraction for a two "movbu" variants.
514 Somewhat simplify "sub" instructions.
515 Correctly sign extend operands for "mul". Put the correct
516 half of the result in MDR for "mul" and "mulu".
517 Implement remaining instructions.
518 Tweak opcode for "syscall".
520 Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com)
522 * simops.c: Do syscall emulation in "syscall" instruction. Add
523 dummy "trap" instruction.
525 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
527 * configure: Regenerated to track ../common/aclocal.m4 changes.
529 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
531 * configure: Re-generate.
533 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
535 * configure: Regenerate to track ../common/aclocal.m4 changes.
537 Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com>
539 * interp.c (sim_open): New SIM_DESC result. Argument is now
541 (other sim_*): New SIM_DESC argument.
543 Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com)
545 * simops.c: Fix carry bit computation for "add" instructions.
547 * simops.c: Fix typos in bset insns. Fix arguments to store_mem
548 for bset imm8,(d8,an) and bclr imm8,(d8,an).
550 Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com)
552 * simops.c: Fix register references when computing Z and N bits
555 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
557 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
558 COMMON_{PRE,POST}_CONFIG_FRAG instead.
559 * configure.in: sinclude ../common/aclocal.m4.
560 * configure: Regenerated.
562 Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com)
564 * interp.c (init_system): Allocate 2^19 bytes of space for the
567 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
569 * configure configure.in Makefile.in: Update to new configure
570 scheme which is more compatible with WinGDB builds.
571 * configure.in: Improve comment on how to run autoconf.
572 * configure: Re-run autoconf to get new ../common/aclocal.m4.
573 * Makefile.in: Use autoconf substitution to install common
576 Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com)
578 * simops.c: Undo last change to "rol" and "ror", original code
581 Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com)
583 * simops.c: Fix "rol" and "ror".
585 Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com)
587 * simops.c: Fix typo in last change.
589 Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com)
591 * simops.c: Use REG macros in few places not using them yet.
593 Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com)
595 * mn10300_sim.h (struct _state): Fix number of registers!
597 Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com)
599 * mn10300_sim.h (struct _state): Put all registers into a single
600 array to make gdb implementation easier.
601 (REG_*): Add definitions for all registers in the state array.
602 (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
603 * simops.c: Related changes.
605 Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com)
607 * interp.c (sim_resume): Handle 0xff as a single byte insn.
609 * simops.c: Fix overflow computation for "add" and "inc"
612 Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com)
614 * simops.c: Handle "break" instruction.
616 * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
618 Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com)
620 * gencode.c (write_opcodes): Also write out the format of the
622 * mn10300_sim.h (simops): Add "format" field.
623 * interp.c (sim_resume): Deal with endianness issues here.
625 Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com)
627 * simops.c (REG0_4): Define.
628 Use REG0_4 for indexed loads/stores.
630 Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com)
632 * simops.c (REG0_16): Fix typo.
634 Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com)
636 * simops.c: Call abort for any instruction that's not currently
639 * simops.c: Define accessor macros to extract register
640 values from instructions. Use them consistently.
642 * interp.c: Delete unused global variable "OP".
643 (sim_resume): Remove unused variable "opcode".
644 * simops.c: Fix some uninitialized variable problems, add
645 parens to fix various -Wall warnings.
647 * gencode.c (write_header): Add "insn" and "extension" arguments
648 to the OP_* declarations.
649 (write_template): Similarly for function templates.
650 * interp.c (insn, extension): Remove global variables. Instead
651 pass them as arguments to the OP_* functions.
652 * mn10300_sim.h: Remove decls for "insn" and "extension".
653 * simops.c (OP_*): Accept "insn" and "extension" as arguments
654 instead of using globals.
656 Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com)
658 * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
660 * simops.c: Fix thinkos in last change to "inc dn".
662 Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com)
664 * simops.c: "add imm,sp" does not effect the condition codes.
665 "inc dn" does effect the condition codes.
667 Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com)
669 * simops.c: Treat both operands as signed values for
672 * simops.c: Fix simulation of division instructions.
673 Fix typos/thinkos in several "cmp" and "sub" instructions.
675 Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com)
677 * simops.c: Fix carry bit handling in "sub" and "cmp"
680 * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
682 Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
684 * simops.c: Fix overflow computation for many instructions.
686 * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
688 * simops.c: Fix "mov am, dn".
690 * simops.c: Fix more bugs in "add imm,an" and
693 Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com)
695 * simops.c: Fix bugs in "movm" and "add imm,an".
697 * simops.c: Don't lose the upper 24 bits of the return
698 pointer in "call" and "calls" instructions. Rough cut
699 at emulated system calls.
701 * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
703 * simops.c: Implement remaining 4 byte instructions.
705 * simops.c: Implement remaining 3 byte instructions.
707 * simops.c: Implement remaining 2 byte instructions. Call
708 abort for instructions we're not implementing now.
710 Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com)
712 * simops.c: Implement lots of random instructions.
714 * simops.c: Implement "movm" and "bCC" insns.
716 * mn10300_sim.h (_state): Add another register (MDR).
718 * simops.c: Implement "cmp", "calls", "rets", "jmp" and
719 a few additional random insns.
721 * mn10300_sim.h (PSW_*): Define for CC status tracking.
722 (REG_D0, REG_A0, REG_SP): Define.
723 * simops.c: Implement "add", "addc" and a few other random
726 * gencode.c, interp.c: Snapshot current simulator code.
728 Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com)
730 * Makefile.in, config.in, configure, configure.in: New files.
731 * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.