2 Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>
3 * dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
4 reset) are not enabled on reset.
6 Sun June 14 17:04:00 1998 Joyce Janczyn <janczyn@cygnus.com>
7 * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o register bits.
8 * dv-mn103ser.c: Fill in methods for reading and writing to serial device registers.
9 * interp.c (sim_open): Make the serial device a polling device.
11 Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
12 * dv-mn103iop.c: New file for handling am32 io ports.
13 * configure.in: Add mn103iop to hw_device list.
14 * configure: Re-generate.
15 * interp.c (sim_open): Create io port device.
17 Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>
18 * dv-mn103int.c (external_group): Use enumerated types to access
19 correct group addresses.
20 * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer
21 triggers an interrupt on the higher-numbered timer's port.
24 Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com>
25 * interp.c: (mn10300_option_handler): New function parses arguments
28 * (board): Add --board option for specifying am32.
29 * (sim_open): Create new timer and serial devices and control
30 configuration of other am32 devices via board option.
31 * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices.
32 * dv-mn103cpu.c: Fix typos in opening comments.
33 * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30.
34 * configure.in: Add mn103tim and mn103ser to hw_device list.
35 * configure: Re-generate.
39 Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
41 * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
43 * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and
44 sim-main.h. Declare a struct hw_descriptor instead of struct
47 Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com>
49 * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
52 Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
54 * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
56 Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
58 * interp.c (sim_open): Create a polling PAL device.
61 Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
63 * dv-mn103int.c (mn103int_port_event):
64 (mn103int_port_event):
65 (mn103int_io_read_buffer):
66 (mn103int_io_write_buffer):
68 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args.
69 (mn103cpu_port_event): Ditto.
70 (mn103cpu_io_read_buffer): Ditto.
71 (mn103cpu_io_write_buffer): Ditto.
73 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
75 * configure: Regenerated to track ../common/aclocal.m4 changes.
77 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
79 * configure: Regenerated to track ../common/aclocal.m4 changes.
82 Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com>
84 * acconfig.h: New file.
85 * configure.in: Reverted change of Apr 24; use sinclude again.
87 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
89 * configure: Regenerated to track ../common/aclocal.m4 changes.
92 Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com>
94 * configure.in: Don't call sinclude.
96 Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
98 * mn10300_sim.h: Declare all functions in op_utils.c using
101 * sim-main.c: New file. Include op_utils.c.
103 * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
104 differentiate between MOV/CMP immediate/register instructions.
106 * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
107 * configure: Regenerate.
109 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
111 * configure: Regenerated to track ../common/aclocal.m4 changes.
114 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
116 * interp.c (hw): Delete variable, moved to SIM_DESC.
117 (sim_open): Delete calls to hw_tree_create, hw_tree_finish.
118 Handled by sim-module.
119 (sim_open): Do not anotate tree with trace properties, handled by
121 (sim_open): Call sim_hw_parse instead of hw_tree_parse.
123 * configure: Regenerated to track ../common/aclocal.m4 changes.
127 Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
129 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC
130 on the stack when delivering interrupts (not just the lower
132 * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were
133 specified in the wrong order.
137 Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
139 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
140 succeeding interrupts, clear pending_handler when the handler
144 Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
146 * Makefile.in (tmp-igen): Prefix all usage of move-if-change
147 script with $(SHELL) to make NT native builds happy.
148 * configure: Regenerate because of change to ../common/aclocal.m4.
150 Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com>
152 * configure.in: Make --enable-sim-common the default.
153 * configure: Re-generate.
155 * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
156 address into Sate.regs[REG_PC] instead of common struct.
158 Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com>
160 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
162 Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
164 * simops.c (OP_F0FD): Initialise variable 'sp'.
167 Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
169 * dv-mn103int.c (decode_group): A group register every 4 bytes not
171 (write_icr): Rewrite equation updating request field.
172 (read_iagr): Fix check that interrupt is still pending.
176 Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
178 * interp.c (sim_open): Tidy up device creation.
180 * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
182 (mn103int_io_read_buffer): Convert absolute address to register
184 (read_icr, write_icr): Convert block offset into group offset.
187 Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
189 * interp.c (sim_open): Create second 1mb memory region at
191 (sim_open): Create a device tree.
194 (do_interrupt): Delete, needs to use dv-mn103cpu.c
196 * dv-mn103int.c, dv-mn103cpu.c: New files.
199 Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
201 * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
205 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
207 * configure: Regenerated to track ../common/aclocal.m4 changes.
209 Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
211 * interp.c (sim-options.h): Include.
212 (sim_kind, myname): Declare when not using common framework.
214 * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
215 functions found in op_utils.c
217 * mn10300.igen (add): Discard unused variables.
219 * configure, config.in: Re-generate with autoconf 2.12.1.
221 Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com>
223 Add support for --enable-sim-common option.
224 * Makefile.in (WITHOUT_COMMON_OBJS): Files included if
225 ! --enable-sim-common
226 (WITH_COMMON_OBJS): Files included if --enable-sim-common.
227 (MN10300_OBJS,MN10300_INTERP_DEP): New variables.
229 ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables.
230 (SIM_EXTRA_CFLAGS): New variable.
231 (clean-extra): Clean up igen files.
232 (../igen/igen,clean-igen,tmp-igen): New rules.
233 * configure.in: Add support for common framework via
235 * configure: Regenerate.
236 * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h.
237 (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON.
238 (init_system,sim_write,compare_simops): Likewise.
239 (sim_set_profile,sim_set_profile_size): Likewise.
240 (sim_stop,sim_resume,sim_trace,sim_info): Likewise.
241 (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise.
242 (enum interrupt_type): New enum.
243 (interrupt_names): New global.
244 (do_interrupt): New function.
245 (sim_open): Define differently if WITH_COMMON.
246 (sim_close,sim_create_inferior,sim_do_command): Likewise.
247 * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions
249 * mn10300.igen: New file.
250 * mn10300.dc: New file.
251 * op_utils.c: New file.
252 * sim-main.h: New file.
254 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
256 * configure: Regenerated to track ../common/aclocal.m4 changes.
258 Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com)
260 * simops.c (inc): Fix typo.
262 Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com)
264 * simops.c (signed multiply instructions): Cast input operands to
265 signed32 before casting them to signed64 so that the sign bit
266 is propagated properly.
268 Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com>
270 * Makefile.in: Last change was bad. Define NL_TARGET
271 so that targ-vals.h will be used instead of syscall.h.
272 * simops.c: Use targ-vals.h instead of syscall.h.
273 (OP_F020): Disable unsupported system calls.
275 Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com>
277 * Makefile.in: Get header files from libgloss/mn10300/sys.
279 Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com)
281 * simops.c: Include sim-types.h.
283 Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com)
285 * simops.c (multiply instructions): Cast input operands to a
286 signed64/unsigned64 type as appropriate.
288 Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
290 * interp.c (sim_store_register, sim_fetch_register): Pass in
291 length parameter. Return -1.
293 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
295 * configure: Regenerated to track ../common/aclocal.m4 changes.
297 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
299 * configure: Regenerated to track ../common/aclocal.m4 changes.
301 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
303 * configure: Regenerated to track ../common/aclocal.m4 changes.
305 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
307 * configure: Regenerated to track ../common/aclocal.m4 changes.
310 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
312 * configure: Regenerated to track ../common/aclocal.m4 changes.
314 Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com)
316 * simops.c (call:16 call:32): Stack adjustment is determined solely
319 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
321 * interp.c (sim_load): Pass lma_p and sim_write args to
324 Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com)
326 * simops.c: Correctly handle register restores for "ret" and "retf"
329 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
331 * configure: Regenerated to track ../common/aclocal.m4 changes.
333 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
335 * configure: Regenerated to track ../common/aclocal.m4 changes.
337 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
339 * configure: Regenerated to track ../common/aclocal.m4 changes.
341 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
343 * configure: Regenerated to track ../common/aclocal.m4 changes.
345 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
347 * configure: Regenerated to track ../common/aclocal.m4 changes.
349 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
351 * configure: Regenerated to track ../common/aclocal.m4 changes.
353 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
355 * configure: Regenerated to track ../common/aclocal.m4 changes.
357 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
359 * configure: Regenerated to track ../common/aclocal.m4 changes.
362 Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
364 * interp.c (sim_kill): Delete.
365 (sim_create_inferior): Add ABFD argument.
366 (sim_load): Move setting of PC from here.
367 (sim_create_inferior): To here.
369 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
371 * configure: Regenerated to track ../common/aclocal.m4 changes.
374 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
376 * interp.c (sim_open): Add ABFD argument.
378 Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com)
380 * interp.c (sim_resume): Clear State.exited.
381 (sim_stop_reason): If State.exited is nonzero, then indicate that
382 the simulator exited instead of stopped.
383 * mn10300_sim.h (struct _state): Add exited field.
384 * simops.c (syscall): Set State.exited for SYS_exit.
386 Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com)
388 * simops.c: Fix thinko in last change.
390 Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com)
392 * simops.c: "call" stores the callee saved registers into the
393 stack! Update the stack pointer properly when done with
396 * simops.c: Fix return address computation for "call" instructions.
398 Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com)
400 * interp.c (sim_open): Fix typo.
402 Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com)
404 * interp.c (sim_resume): Add missing case in big switch
405 statement (for extb instruction).
407 Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com)
409 * interp.c: Replace all references to load_mem and store_mem
410 with references to load_byte, load_half, load_3_byte, load_word
411 and store_byte, store_half, store_3_byte, store_word.
412 (INLINE): Delete definition.
413 (load_mem_big): Likewise.
414 (max_mem): Make it global.
415 (dispatch): Make this function inline.
416 (load_mem, store_mem): Delete functions.
417 * mn10300_sim.h (INLINE): Define.
418 (RLW): Delete unused definition.
419 (load_mem, store_mem): Delete declarations.
420 (load_mem_big): New definition.
421 (load_byte, load_half, load_3_byte, load_word): New functions.
422 (store_byte, store_half, store_3_byte, store_word): New functions.
423 * simops.c: Replace all references to load_mem and store_mem
424 with references to load_byte, load_half, load_3_byte, load_word
425 and store_byte, store_half, store_3_byte, store_word.
427 Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
429 * interp.c (sim_open): Add callback to arguments.
430 (sim_set_callbacks): Delete SIM_DESC argument.
432 Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com)
434 * interp.c (dispatch): Make this an inline function.
436 * simops.c (syscall): Use callback->write regardless of
437 what file descriptor we're writing too.
439 Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com)
441 * interp.c (load_mem_big): Remove function. It's now a macro
443 (compare_simops): New function.
444 (sim_open): Sort the Simops table before inserting entries
446 * mn10300_sim.h: Remove unused #defines.
447 (load_mem_big): Define.
449 Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com)
451 * interp.c (load_mem): If we get a load from an out of range
453 (store_mem): Likewise for stores.
454 (max_mem): New variable.
456 Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com)
458 * mn10300_sim.h: Fix ordering of bits in the PSW.
460 * interp.c: Improve hashing routine to avoid long list
461 traversals for common instructions. Add HASH_STAT support.
462 Rewrite opcode dispatch code using a big switch instead of
463 cascaded if/else statements. Avoid useless calls to load_mem.
465 Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com)
467 * mn10300_sim.h (struct _state): Add space for mdrq register.
469 * simops.c: Don't abort for trap. Add support for the extended
470 instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
473 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
475 * configure: Regenerated to track ../common/aclocal.m4 changes.
477 Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
479 * interp.c (sim_stop): Add stub function.
481 Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com>
483 * Makefile.in (SIM_OBJS): Add sim-load.o.
484 * interp.c (sim_kind, myname): New static locals.
485 (sim_open): Set sim_kind, myname. Ignore -E arg.
486 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
487 load file into simulator. Set start address from bfd.
488 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
490 Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
492 * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime
493 only include if implemented by host.
494 (OP_F020): Typecast arg passed to time function;
496 Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com)
498 * simops.c (syscall): Handle new mn10300 calling conventions.
500 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
502 * configure: Regenerated to track ../common/aclocal.m4 changes.
505 Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com>
507 * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
508 corresponding change in opcodes directory.
510 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
512 * interp.c (sim_open): New arg `kind'.
514 * configure: Regenerated to track ../common/aclocal.m4 changes.
516 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
518 * configure: Regenerated to track ../common/aclocal.m4 changes.
520 Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com)
522 * simops.c: Fix register extraction for a two "movbu" variants.
523 Somewhat simplify "sub" instructions.
524 Correctly sign extend operands for "mul". Put the correct
525 half of the result in MDR for "mul" and "mulu".
526 Implement remaining instructions.
527 Tweak opcode for "syscall".
529 Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com)
531 * simops.c: Do syscall emulation in "syscall" instruction. Add
532 dummy "trap" instruction.
534 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
536 * configure: Regenerated to track ../common/aclocal.m4 changes.
538 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
540 * configure: Re-generate.
542 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
544 * configure: Regenerate to track ../common/aclocal.m4 changes.
546 Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com>
548 * interp.c (sim_open): New SIM_DESC result. Argument is now
550 (other sim_*): New SIM_DESC argument.
552 Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com)
554 * simops.c: Fix carry bit computation for "add" instructions.
556 * simops.c: Fix typos in bset insns. Fix arguments to store_mem
557 for bset imm8,(d8,an) and bclr imm8,(d8,an).
559 Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com)
561 * simops.c: Fix register references when computing Z and N bits
564 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
566 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
567 COMMON_{PRE,POST}_CONFIG_FRAG instead.
568 * configure.in: sinclude ../common/aclocal.m4.
569 * configure: Regenerated.
571 Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com)
573 * interp.c (init_system): Allocate 2^19 bytes of space for the
576 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
578 * configure configure.in Makefile.in: Update to new configure
579 scheme which is more compatible with WinGDB builds.
580 * configure.in: Improve comment on how to run autoconf.
581 * configure: Re-run autoconf to get new ../common/aclocal.m4.
582 * Makefile.in: Use autoconf substitution to install common
585 Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com)
587 * simops.c: Undo last change to "rol" and "ror", original code
590 Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com)
592 * simops.c: Fix "rol" and "ror".
594 Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com)
596 * simops.c: Fix typo in last change.
598 Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com)
600 * simops.c: Use REG macros in few places not using them yet.
602 Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com)
604 * mn10300_sim.h (struct _state): Fix number of registers!
606 Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com)
608 * mn10300_sim.h (struct _state): Put all registers into a single
609 array to make gdb implementation easier.
610 (REG_*): Add definitions for all registers in the state array.
611 (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
612 * simops.c: Related changes.
614 Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com)
616 * interp.c (sim_resume): Handle 0xff as a single byte insn.
618 * simops.c: Fix overflow computation for "add" and "inc"
621 Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com)
623 * simops.c: Handle "break" instruction.
625 * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
627 Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com)
629 * gencode.c (write_opcodes): Also write out the format of the
631 * mn10300_sim.h (simops): Add "format" field.
632 * interp.c (sim_resume): Deal with endianness issues here.
634 Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com)
636 * simops.c (REG0_4): Define.
637 Use REG0_4 for indexed loads/stores.
639 Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com)
641 * simops.c (REG0_16): Fix typo.
643 Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com)
645 * simops.c: Call abort for any instruction that's not currently
648 * simops.c: Define accessor macros to extract register
649 values from instructions. Use them consistently.
651 * interp.c: Delete unused global variable "OP".
652 (sim_resume): Remove unused variable "opcode".
653 * simops.c: Fix some uninitialized variable problems, add
654 parens to fix various -Wall warnings.
656 * gencode.c (write_header): Add "insn" and "extension" arguments
657 to the OP_* declarations.
658 (write_template): Similarly for function templates.
659 * interp.c (insn, extension): Remove global variables. Instead
660 pass them as arguments to the OP_* functions.
661 * mn10300_sim.h: Remove decls for "insn" and "extension".
662 * simops.c (OP_*): Accept "insn" and "extension" as arguments
663 instead of using globals.
665 Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com)
667 * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
669 * simops.c: Fix thinkos in last change to "inc dn".
671 Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com)
673 * simops.c: "add imm,sp" does not effect the condition codes.
674 "inc dn" does effect the condition codes.
676 Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com)
678 * simops.c: Treat both operands as signed values for
681 * simops.c: Fix simulation of division instructions.
682 Fix typos/thinkos in several "cmp" and "sub" instructions.
684 Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com)
686 * simops.c: Fix carry bit handling in "sub" and "cmp"
689 * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
691 Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
693 * simops.c: Fix overflow computation for many instructions.
695 * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
697 * simops.c: Fix "mov am, dn".
699 * simops.c: Fix more bugs in "add imm,an" and
702 Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com)
704 * simops.c: Fix bugs in "movm" and "add imm,an".
706 * simops.c: Don't lose the upper 24 bits of the return
707 pointer in "call" and "calls" instructions. Rough cut
708 at emulated system calls.
710 * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
712 * simops.c: Implement remaining 4 byte instructions.
714 * simops.c: Implement remaining 3 byte instructions.
716 * simops.c: Implement remaining 2 byte instructions. Call
717 abort for instructions we're not implementing now.
719 Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com)
721 * simops.c: Implement lots of random instructions.
723 * simops.c: Implement "movm" and "bCC" insns.
725 * mn10300_sim.h (_state): Add another register (MDR).
727 * simops.c: Implement "cmp", "calls", "rets", "jmp" and
728 a few additional random insns.
730 * mn10300_sim.h (PSW_*): Define for CC status tracking.
731 (REG_D0, REG_A0, REG_SP): Define.
732 * simops.c: Implement "add", "addc" and a few other random
735 * gencode.c, interp.c: Snapshot current simulator code.
737 Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com)
739 * Makefile.in, config.in, configure, configure.in: New files.
740 * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.