]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/mn10300/ChangeLog
Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>
[thirdparty/binutils-gdb.git] / sim / mn10300 / ChangeLog
1 start-sanitize-am30
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.
7
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.
13
14 end-sanitize-am30
15 Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com>
16 * interp.c: (mn10300_option_handler): New function parses arguments
17 using sim-options.
18 start-sanitize-am30
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.
27 end-sanitize-am30
28
29 start-sanitize-am30
30 Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
31
32 * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method.
33
34 * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and
35 sim-main.h. Declare a struct hw_descriptor instead of struct
36 hw_device_descriptor.
37
38 Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com>
39
40 * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler
41 to struct hw_event.
42
43 Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
44
45 * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes".
46
47 Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
48
49 * interp.c (sim_open): Create a polling PAL device.
50
51 end-sanitize-am30
52 Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
53
54 * dv-mn103int.c (mn103int_port_event):
55 (mn103int_port_event):
56 (mn103int_io_read_buffer):
57 (mn103int_io_write_buffer):
58
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.
63
64 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
65
66 * configure: Regenerated to track ../common/aclocal.m4 changes.
67
68 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
69
70 * configure: Regenerated to track ../common/aclocal.m4 changes.
71 * config.in: Ditto.
72
73 Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com>
74
75 * acconfig.h: New file.
76 * configure.in: Reverted change of Apr 24; use sinclude again.
77
78 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
79
80 * configure: Regenerated to track ../common/aclocal.m4 changes.
81 * config.in: Ditto.
82
83 Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com>
84
85 * configure.in: Don't call sinclude.
86
87 Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
88
89 * mn10300_sim.h: Declare all functions in op_utils.c using
90 INLINE_SIM_MAIN.
91 * op_utils.c: Ditto.
92 * sim-main.c: New file. Include op_utils.c.
93
94 * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to
95 differentiate between MOV/CMP immediate/register instructions.
96
97 * configure.in (SIM_AC_OPTION_INLINE): Add and enable.
98 * configure: Regenerate.
99
100 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
101
102 * configure: Regenerated to track ../common/aclocal.m4 changes.
103
104 start-sanitize-am30
105 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
106
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
111 sim-hw.c
112 (sim_open): Call sim_hw_parse instead of hw_tree_parse.
113
114 * configure: Regenerated to track ../common/aclocal.m4 changes.
115
116 end-sanitize-am30
117 start-sanitize-am30
118 Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
119
120 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC
121 on the stack when delivering interrupts (not just the lower
122 half)...
123 * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were
124 specified in the wrong order.
125
126 end-sanitize-am30
127 start-sanitize-am30
128 Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
129
130 * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of
131 succeeding interrupts, clear pending_handler when the handler
132 isn't re-scheduled.
133
134 end-sanitize-am30
135 Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
136
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.
140
141 Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com>
142
143 * configure.in: Make --enable-sim-common the default.
144 * configure: Re-generate.
145
146 * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction
147 address into Sate.regs[REG_PC] instead of common struct.
148
149 Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com>
150
151 * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value.
152
153 Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com>
154
155 * simops.c (OP_F0FD): Initialise variable 'sp'.
156
157 start-sanitize-am30
158 Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com>
159
160 * dv-mn103int.c (decode_group): A group register every 4 bytes not
161 8.
162 (write_icr): Rewrite equation updating request field.
163 (read_iagr): Fix check that interrupt is still pending.
164
165 end-sanitize-am30
166 start-sanitize-am30
167 Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
168
169 * interp.c (sim_open): Tidy up device creation.
170
171 * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero
172 value.
173 (mn103int_io_read_buffer): Convert absolute address to register
174 block offsets.
175 (read_icr, write_icr): Convert block offset into group offset.
176
177 end-sanitize-am30
178 Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
179
180 * interp.c (sim_open): Create second 1mb memory region at
181 0x40000000.
182 (sim_open): Create a device tree.
183 (sim-hw.h): Include.
184 start-sanitize-am30
185 (do_interrupt): Delete, needs to use dv-mn103cpu.c
186
187 * dv-mn103int.c, dv-mn103cpu.c: New files.
188 end-sanitize-am30
189
190 Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
191
192 * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM):
193 Define.
194 (SP): Define.
195
196 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
197
198 * configure: Regenerated to track ../common/aclocal.m4 changes.
199
200 Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
201
202 * interp.c (sim-options.h): Include.
203 (sim_kind, myname): Declare when not using common framework.
204
205 * mn10300_sim.h (do_syscall, generic*): Provide prototypes for
206 functions found in op_utils.c
207
208 * mn10300.igen (add): Discard unused variables.
209
210 * configure, config.in: Re-generate with autoconf 2.12.1.
211
212 Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com>
213
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.
219 (SIM_OBJS): Rewrite.
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
225 --enable-sim-common.
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
239 for WITH_COMMON.
240 * mn10300.igen: New file.
241 * mn10300.dc: New file.
242 * op_utils.c: New file.
243 * sim-main.h: New file.
244
245 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
246
247 * configure: Regenerated to track ../common/aclocal.m4 changes.
248
249 Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com)
250
251 * simops.c (inc): Fix typo.
252
253 Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com)
254
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.
258
259 Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com>
260
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.
265
266 Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com>
267
268 * Makefile.in: Get header files from libgloss/mn10300/sys.
269
270 Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com)
271
272 * simops.c: Include sim-types.h.
273
274 Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com)
275
276 * simops.c (multiply instructions): Cast input operands to a
277 signed64/unsigned64 type as appropriate.
278
279 Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
280
281 * interp.c (sim_store_register, sim_fetch_register): Pass in
282 length parameter. Return -1.
283
284 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
285
286 * configure: Regenerated to track ../common/aclocal.m4 changes.
287
288 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
289
290 * configure: Regenerated to track ../common/aclocal.m4 changes.
291
292 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
293
294 * configure: Regenerated to track ../common/aclocal.m4 changes.
295
296 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
297
298 * configure: Regenerated to track ../common/aclocal.m4 changes.
299 * config.in: Ditto.
300
301 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
302
303 * configure: Regenerated to track ../common/aclocal.m4 changes.
304
305 Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com)
306
307 * simops.c (call:16 call:32): Stack adjustment is determined solely
308 by the imm8 field.
309
310 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
311
312 * interp.c (sim_load): Pass lma_p and sim_write args to
313 sim_load_file.
314
315 Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com)
316
317 * simops.c: Correctly handle register restores for "ret" and "retf"
318 instructions.
319
320 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
321
322 * configure: Regenerated to track ../common/aclocal.m4 changes.
323
324 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
325
326 * configure: Regenerated to track ../common/aclocal.m4 changes.
327
328 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
329
330 * configure: Regenerated to track ../common/aclocal.m4 changes.
331
332 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
333
334 * configure: Regenerated to track ../common/aclocal.m4 changes.
335
336 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
337
338 * configure: Regenerated to track ../common/aclocal.m4 changes.
339
340 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
341
342 * configure: Regenerated to track ../common/aclocal.m4 changes.
343
344 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
345
346 * configure: Regenerated to track ../common/aclocal.m4 changes.
347
348 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
349
350 * configure: Regenerated to track ../common/aclocal.m4 changes.
351 * config.in: Ditto.
352
353 Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
354
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.
359
360 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
361
362 * configure: Regenerated to track ../common/aclocal.m4 changes.
363 * config.in: Ditto.
364
365 Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
366
367 * interp.c (sim_open): Add ABFD argument.
368
369 Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com)
370
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.
376
377 Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com)
378
379 * simops.c: Fix thinko in last change.
380
381 Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com)
382
383 * simops.c: "call" stores the callee saved registers into the
384 stack! Update the stack pointer properly when done with
385 register saves.
386
387 * simops.c: Fix return address computation for "call" instructions.
388
389 Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com)
390
391 * interp.c (sim_open): Fix typo.
392
393 Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com)
394
395 * interp.c (sim_resume): Add missing case in big switch
396 statement (for extb instruction).
397
398 Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com)
399
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.
417
418 Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
419
420 * interp.c (sim_open): Add callback to arguments.
421 (sim_set_callbacks): Delete SIM_DESC argument.
422
423 Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com)
424
425 * interp.c (dispatch): Make this an inline function.
426
427 * simops.c (syscall): Use callback->write regardless of
428 what file descriptor we're writing too.
429
430 Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com)
431
432 * interp.c (load_mem_big): Remove function. It's now a macro
433 defined elsewhere.
434 (compare_simops): New function.
435 (sim_open): Sort the Simops table before inserting entries
436 into the hash table.
437 * mn10300_sim.h: Remove unused #defines.
438 (load_mem_big): Define.
439
440 Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com)
441
442 * interp.c (load_mem): If we get a load from an out of range
443 address, abort.
444 (store_mem): Likewise for stores.
445 (max_mem): New variable.
446
447 Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com)
448
449 * mn10300_sim.h: Fix ordering of bits in the PSW.
450
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.
455
456 Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com)
457
458 * mn10300_sim.h (struct _state): Add space for mdrq register.
459 (REG_MDRQ): Define.
460 * simops.c: Don't abort for trap. Add support for the extended
461 instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24",
462 and "bsch".
463
464 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
465
466 * configure: Regenerated to track ../common/aclocal.m4 changes.
467
468 Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
469
470 * interp.c (sim_stop): Add stub function.
471
472 Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com>
473
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.
480
481 Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
482
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;
486
487 Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com)
488
489 * simops.c (syscall): Handle new mn10300 calling conventions.
490
491 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
492
493 * configure: Regenerated to track ../common/aclocal.m4 changes.
494 * config.in: Ditto.
495
496 Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com>
497
498 * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match
499 corresponding change in opcodes directory.
500
501 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
502
503 * interp.c (sim_open): New arg `kind'.
504
505 * configure: Regenerated to track ../common/aclocal.m4 changes.
506
507 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
508
509 * configure: Regenerated to track ../common/aclocal.m4 changes.
510
511 Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com)
512
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".
519
520 Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com)
521
522 * simops.c: Do syscall emulation in "syscall" instruction. Add
523 dummy "trap" instruction.
524
525 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
526
527 * configure: Regenerated to track ../common/aclocal.m4 changes.
528
529 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
530
531 * configure: Re-generate.
532
533 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
534
535 * configure: Regenerate to track ../common/aclocal.m4 changes.
536
537 Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com>
538
539 * interp.c (sim_open): New SIM_DESC result. Argument is now
540 in argv form.
541 (other sim_*): New SIM_DESC argument.
542
543 Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com)
544
545 * simops.c: Fix carry bit computation for "add" instructions.
546
547 * simops.c: Fix typos in bset insns. Fix arguments to store_mem
548 for bset imm8,(d8,an) and bclr imm8,(d8,an).
549
550 Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com)
551
552 * simops.c: Fix register references when computing Z and N bits
553 for lsr imm8,dn.
554
555 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
556
557 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
558 COMMON_{PRE,POST}_CONFIG_FRAG instead.
559 * configure.in: sinclude ../common/aclocal.m4.
560 * configure: Regenerated.
561
562 Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com)
563
564 * interp.c (init_system): Allocate 2^19 bytes of space for the
565 simulator.
566
567 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
568
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
574 makefile fragment.
575
576 Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com)
577
578 * simops.c: Undo last change to "rol" and "ror", original code
579 was correct!
580
581 Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com)
582
583 * simops.c: Fix "rol" and "ror".
584
585 Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com)
586
587 * simops.c: Fix typo in last change.
588
589 Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com)
590
591 * simops.c: Use REG macros in few places not using them yet.
592
593 Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com)
594
595 * mn10300_sim.h (struct _state): Fix number of registers!
596
597 Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com)
598
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.
604
605 Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com)
606
607 * interp.c (sim_resume): Handle 0xff as a single byte insn.
608
609 * simops.c: Fix overflow computation for "add" and "inc"
610 instructions.
611
612 Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com)
613
614 * simops.c: Handle "break" instruction.
615
616 * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
617
618 Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com)
619
620 * gencode.c (write_opcodes): Also write out the format of the
621 opcode.
622 * mn10300_sim.h (simops): Add "format" field.
623 * interp.c (sim_resume): Deal with endianness issues here.
624
625 Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com)
626
627 * simops.c (REG0_4): Define.
628 Use REG0_4 for indexed loads/stores.
629
630 Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com)
631
632 * simops.c (REG0_16): Fix typo.
633
634 Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com)
635
636 * simops.c: Call abort for any instruction that's not currently
637 simulated.
638
639 * simops.c: Define accessor macros to extract register
640 values from instructions. Use them consistently.
641
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.
646
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.
655
656 Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com)
657
658 * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)"
659
660 * simops.c: Fix thinkos in last change to "inc dn".
661
662 Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com)
663
664 * simops.c: "add imm,sp" does not effect the condition codes.
665 "inc dn" does effect the condition codes.
666
667 Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com)
668
669 * simops.c: Treat both operands as signed values for
670 "div" instruction.
671
672 * simops.c: Fix simulation of division instructions.
673 Fix typos/thinkos in several "cmp" and "sub" instructions.
674
675 Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com)
676
677 * simops.c: Fix carry bit handling in "sub" and "cmp"
678 instructions.
679
680 * simops.c: Fix "mov imm8,an" and "mov imm16,dn".
681
682 Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com)
683
684 * simops.c: Fix overflow computation for many instructions.
685
686 * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)".
687
688 * simops.c: Fix "mov am, dn".
689
690 * simops.c: Fix more bugs in "add imm,an" and
691 "add imm,dn".
692
693 Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com)
694
695 * simops.c: Fix bugs in "movm" and "add imm,an".
696
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.
700
701 * simops.c: Implement the remaining 5, 6 and 7 byte instructions.
702
703 * simops.c: Implement remaining 4 byte instructions.
704
705 * simops.c: Implement remaining 3 byte instructions.
706
707 * simops.c: Implement remaining 2 byte instructions. Call
708 abort for instructions we're not implementing now.
709
710 Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com)
711
712 * simops.c: Implement lots of random instructions.
713
714 * simops.c: Implement "movm" and "bCC" insns.
715
716 * mn10300_sim.h (_state): Add another register (MDR).
717 (REG_MDR): Define.
718 * simops.c: Implement "cmp", "calls", "rets", "jmp" and
719 a few additional random insns.
720
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
724 instructions.
725
726 * gencode.c, interp.c: Snapshot current simulator code.
727
728 Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com)
729
730 * Makefile.in, config.in, configure, configure.in: New files.
731 * gencode.c, interp.c, mn10300_sim.h, simops.c: New files.
732