Tue Apr 28 18:28:58 1998 Geoffrey Noer <noer@cygnus.com>
[deliverable/binutils-gdb.git] / sim / tic80 / ChangeLog
1 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
2
3 * configure: Regenerated to track ../common/aclocal.m4 changes.
4
5 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
6
7 * configure: Regenerated to track ../common/aclocal.m4 changes.
8 * config.in: Ditto.
9
10 Sun Apr 26 15:19:45 1998 Tom Tromey <tromey@cygnus.com>
11
12 * acconfig.h: New file.
13 * configure.in: Reverted change of Apr 24; use sinclude again.
14
15 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
16
17 * configure: Regenerated to track ../common/aclocal.m4 changes.
18 * config.in: Ditto.
19
20 Fri Apr 24 11:18:28 1998 Tom Tromey <tromey@cygnus.com>
21
22 * configure.in: Don't call sinclude.
23
24 Fri Apr 24 19:43:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25
26 * ic (rBase, rLink): Make the type a pointer.
27
28 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
29
30 * configure: Regenerated to track ../common/aclocal.m4 changes.
31
32 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
33
34 * configure: Regenerated to track ../common/aclocal.m4 changes.
35
36 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
37
38 * configure: Regenerated to track ../common/aclocal.m4 changes.
39
40 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
41
42 * configure: Regenerated to track ../common/aclocal.m4 changes.
43
44 Wed Mar 11 14:12:56 1998 Andrew Cagney <cagney@b1.cygnus.com>
45
46 * alu.h (IMEM32_IMMED, IMEM32, STORE, MEM): Replace sim_core_*_map
47 with read_map, write_map, exec_map resp.
48
49 Thu Feb 26 19:08:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
50
51 * sim-calls.c (sim_info): Delete.
52
53 Tue Feb 17 14:35:05 1998 Michael Meissner <meissner@cygnus.com>
54
55 * misc.c (tic80_trace_cond_br): Take size/code arguments, and
56 decode bcond conditions and bbo/bbz comparison bits.
57
58 * cpu.h (tic80_trace_cond_br): Update prototype.
59 (TRACE_COND_PR): Take size/code additional arguments.
60
61 * insns: (bbo/bbz/bcnd): Update call to TRACE_COND_PR.
62
63 Tue Feb 17 12:50:27 1998 Andrew Cagney <cagney@b1.cygnus.com>
64
65 * sim-calls.c (sim_store_register, sim_fetch_register): Pass in
66 length parameter. Return -1.
67
68 Fri Feb 13 17:11:22 1998 Michael Meissner <meissner@cygnus.com>
69
70 * insns ({get,set}_fp_reg): Tic80 floating point is little endian,
71 not big endian.
72
73 * misc.c (tic80_trace_fpu*): Pass address of sim_fpu structure,
74 not the structure itself. Use %g consistantly to print floating
75 point.
76
77 * cpu.h: (tic80_trace_fpu*): Update prototypes.
78
79 Tue Feb 3 16:25:47 1998 Andrew Cagney <cagney@b1.cygnus.com>
80
81 * alu.h (IMEM32, IMEM32_IMMED): Rename IMEM and IMEM_IMMED so that
82 in sync with recent igen change.
83
84 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
85
86 * configure: Regenerated to track ../common/aclocal.m4 changes.
87
88 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
89
90 * configure: Regenerated to track ../common/aclocal.m4 changes.
91
92 Fri Jan 30 11:47:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
93
94 * cpu.h (CPU_CIA): Delete macro, replace with...
95 (CIA_SET, CIA_GET): Define.
96
97 Wed Jan 28 18:44:33 1998 Michael Meissner <meissner@cygnus.com>
98
99 * misc.c (tic80_trace_cmp_internal): New function to return
100 compare bits as a string.
101 (tic80_trace_{,fpu2}cmp): New functions for tracing cmp and fcmp.
102
103 * cpu.h (tic80_trace_{,fpu2}cmp): Add declaration.
104 (TRACE_{,FPU2}CMP): New macros for tracing compares.
105
106 * insns (do_{,f}cmp): Use compare specific tracing functions to
107 print out the flag bits.
108
109 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
110
111 * configure: Regenerated to track ../common/aclocal.m4 changes.
112
113 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
114
115 * configure: Regenerated to track ../common/aclocal.m4 changes.
116 * config.in: Ditto.
117
118 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
119
120 * configure: Regenerated to track ../common/aclocal.m4 changes.
121
122 Mon Nov 24 14:57:58 1997 Doug Evans <devans@seba.cygnus.com>
123
124 * cpu.h (TRACE_COND_BR): Use TRACE_BRANCH_P, not TRACE_ALU_P.
125
126 Sat Nov 22 21:42:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
127
128 * interp.c (engine_step): Replace SIGTRAP with SIM_SIGTRAP.
129 (engine_run_until_stop): Replace SIGINT with SIM_SIGINT.
130
131 * sim-main.h: Include sim-signal.h.
132 (SIGTRAP): Delete definition.
133
134 * interp.c, sim-calls.c: Do not include signal.h.
135
136 * insns (illegal): SIGILL -> SIM_SIGILL.
137 (fp_unavailable): SIGFPE -> SIM_SIGFPE.
138 (do_trap): SIGTRAP -> SIM_SIGTRAP.
139
140 Tue Nov 18 15:33:48 1997 Doug Evans <devans@canuck.cygnus.com>
141
142 * sim-main.h (CIA_ADDR): Define.
143
144 * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
145
146 Fri Oct 17 17:26:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
147
148 * alu.h (ALU32_END): Use ALU32_RESULT.
149
150 Mon Sep 29 12:49:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
151
152 * insns (get_fp_reg, set_fp_reg): Update to use changed sim_fpu
153 interface.
154 (do_fadd, do_fcmp, do_fdiv, do_fmpy, do_frnd, do_fsub): Ditto.
155
156 * misc.c (tic80_trace_fpu3, tic80_trace_fpu2, tic80_trace_fpu1,
157 tic80_trace_fpu2i) Update to use changed sim_fpu interface.
158
159 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
160
161 * configure.in (SIM_AC_OPTIONS_BITSIZE): Define.
162 * configure: Regenerated to track ../common/aclocal.m4 changes.
163
164 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
165
166 * configure: Regenerated to track ../common/aclocal.m4 changes.
167
168 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
169
170 * configure: Regenerated to track ../common/aclocal.m4 changes.
171
172 Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
173
174 * Makefile.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
175 SIM_HOSTENDIAN, SIM_INLINE, SIM_RESERVED_BITS): Delete, moved to
176 common.
177 (SIM_EXTRA_CFLAGS): Update.
178
179 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
180
181 * configure: Regenerated to track ../common/aclocal.m4 changes.
182
183 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
184
185 * configure: Regenerated to track ../common/aclocal.m4 changes.
186
187 Tue Sep 16 23:10:03 1997 Felix Lee <flee@cygnus.com>
188
189 * sim-main.h (kill): macro was missing args.
190 (SIGTRAP): define for MSVC.
191
192 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
193
194 * configure: Regenerated to track ../common/aclocal.m4 changes.
195
196 Mon Sep 8 20:10:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
197
198 * cpu.h (CPU_CIA): Define.
199
200 * sim-main.h (struct sim_state): Delete halt_ok, path_to_halt,
201 restart_ok, path_to_restart members.
202 (struct sim_state): Delete reason, siggnal members.
203
204 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
205
206 * configure: Regenerated to track ../common/aclocal.m4 changes.
207
208 Thu Sep 4 17:45:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
209
210 * sim-calls.c (sim_open): Add memory before parsing arguments.
211 (sim_read): Delete, replace with sim-hrw.
212 (sim_write): Delete, replace with sim-hrw.
213
214 Thu Sep 4 10:48:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
215
216 * sim-calls.c (sim_open): Use sim_do_command to add memory, only
217 add memory if none already present.
218 (sim_open): Move init of registers from here.
219 (sim_create_inferior): To here. Init modules.
220
221 * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
222
223 * sim-calls.c (sim_open): Add zero modulo arg to sim_core_attach.
224
225 Mon Sep 1 11:06:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
226
227 * sim-calls.c (sim_open): Use sim_state_alloc
228 (simulation): Delete.
229
230 Sat Aug 30 09:40:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
231
232 * insns (do_trap): Unsigned `i' for unsigned iterator.
233 (do_trap): Ditto for comparison with getpid.
234
235 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
236
237 * configure: Regenerated to track ../common/aclocal.m4 changes.
238 * config.in: Ditto.
239
240 Wed Aug 27 13:41:24 1997 Andrew Cagney <cagney@b1.cygnus.com>
241
242 * insns (do_st): Use U8_4 instead of V4_L8.
243
244 * sim-calls.c (sim_open): Add call to sim_analyze_program, update
245 call to sim_config.
246
247 * sim-calls.c (sim_kill): Delete.
248 (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD
249 and not SD.
250 (sim_load): Delete, use sim-hload.c.
251
252 * Makefile.in (SIM_OBJS): Add sim-hload.o module.
253
254 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
255
256 * configure: Regenerated to track ../common/aclocal.m4 changes.
257 * config.in: Ditto.
258
259 Mon Aug 25 16:33:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
260
261 * sim-calls.c (sim_open): Add ABFD argument.
262 (sim_open): Move sim_config call to just after argument
263 parsing. Check return status.
264
265 Fri Aug 8 21:52:27 1997 Mark Alexander <marka@cygnus.com>
266
267 * sim-calls.c (sim_store_register): Allow accumulators
268 other than A0 to be modified. Correct error message.
269
270 Thu May 29 14:02:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
271
272 * misc.c (tic80_trace_fpu3, tic80_trace_fpu2, tic80_trace_fpu1,
273 tic80_trace_fpu2i): Pass in function prefix.
274 (tic80_trace_ldst): Rewrite so it calls print_one_insn directly.
275
276 * Makefile.in (SIM_OBJS): Include sim-watch.o module.
277
278 * sim-main.h (WITH_WATCHPOINTS): Enable watchpoints.
279
280 * ic (bitnum): Compute bitnum from BITNUM.
281 * insn (bbo, bbz): Use.
282
283 * insn: Convert long immediate instructions to igen long immediate
284 form.
285 * insn: Add disasembler information.
286
287 Thu May 29 12:09:13 1997 Andrew Cagney <cagney@b2.cygnus.com>
288
289 * alu.h (IMEM_IMMED): New macro, fetch 32bit immediate operand N.
290
291 * insns (subu i): Immediate is signed not unsigned.
292
293 Tue May 27 13:22:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
294
295 * sim-calls.c (sim_read): Pass NULL cpu to sim_core_read_buffer.
296 (sim_write): Ditto for write.
297
298 Tue May 20 09:33:31 1997 Andrew Cagney <cagney@b1.cygnus.com>
299
300 * sim-calls.c (sim_load): Set STATE_LOADED_P.
301
302 * sim-main.h: Include <unistd.h>.
303
304 * sim-calls.c (sim_set_callback): Delete.
305 (sim_open): Add/install callback argument.
306 (sim_size): Delete.
307
308 Mon May 19 18:59:33 1997 Mike Meissner <meissner@cygnus.com>
309
310 * configure.in: Check for getpid, kill functions.
311 * config{.in,ure}: Regenerate.
312
313 * insns (do_trap): Add support for kill, getpid system calls.
314
315 * sim-main.h (errno.h): Include.
316 (getpid,kill): Define as NOPs if the host doesn't have them.
317
318 Mon May 19 14:58:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
319
320 * sim-calls.c (sim_open): Set the simulator base magic number.
321 (sim_load): Delete prototype of sim_load_file.
322 (sim_open): Define sd to be &simulation.
323
324 Fri May 16 14:35:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
325
326 * insns (illegal, fp_unavailable): Halt instead of abort the
327 simulator.
328
329 * insns: Replace calls to engine_error with sim_engine_abort.
330 Ditto for engine_halt V sim_engine_halt.
331
332 Tue May 13 15:24:12 1997 Andrew Cagney <cagney@b2.cygnus.com>
333
334 * interp.c (engine_run_until_stop): Delete. Moved to common.
335 (engine_step): Ditto.
336 (engine_step): Ditto.
337 (engine_halt): Ditto.
338 (engine_restart): Ditto.
339 (engine_halt): Ditto.
340 (engine_error): Ditto.
341
342 * sim-calls.c (sim_stop): Delete. Moved to common.
343 (sim_stop_reason): Ditto.
344 (sim_resume): Ditto.
345
346 * Makefile.in (SIM_OBJS): Link in generic sim-engine, sim-run,
347 sim-resume, sim-reason, sim-stop modules.
348
349 Fri May 16 11:57:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
350
351 * ic (compute): Drop check for REG == 0, now always forced to
352 zero.
353
354 * cpu.h (GPR_SET): New macro update the gpr.
355 * insns (do_add): Use GPR_SET to update the GPR register.
356
357 * sim-calls.c (sim_fetch_register): Pretend that r0 is zero.
358
359 * Makefile.in (tmp-igen): Specify zero-r0 so that every
360 instruction clears r0.
361
362 * interp.c (engine_run_until_stop): Igen now generates code to
363 clear r0.
364 (engine_step): Ditto.
365
366 Thu May 15 11:45:37 1997 Andrew Cagney <cagney@b1.cygnus.com>
367
368 * insns (do_shift): When rot==0 and zero/sign merge treat it as
369 32.
370 (set_fp_reg): For interger conversion, use sim-fpu fpu2i
371 functions.
372 (do_fmpy): Perform iii and uuu using integer arithmetic.
373
374 * Makefile.in (ENGINE_H): Assume everything depends on the fpu.
375
376 * insns (get_fp_reg): Use sim_fpu_u32to to perform unsigned
377 conversion.
378 (do_fcmp): Update to use new fp compare functions. Make reg nr arg
379 instead of reg. Stops fp overflow.
380 (get_fp_reg): Assume val is valid when reg == 0.
381 (set_fp_reg): Fix double conversion.
382
383 * misc.c (tic80_trace_fpu1): New function, trace simple fp op.
384
385 * insns (do_frnd): Add tracing.
386
387 * cpu.h (TRACE_FPU1): Ditto.
388
389 * insns (do_trap): Printf formatting.
390
391 Wed May 14 18:05:50 1997 Mike Meissner <meissner@cygnus.com>
392
393 * misc.c (tic80_trace_fpu{3,2,2i}): Align columns with other
394 insns. Use %g to print floating point instead of %f in case the
395 numbers are real large.
396
397 Tue May 13 18:00:10 1997 Mike Meissner <meissner@cygnus.com>
398
399 * insns (do_trap): For system calls that are defined, but not
400 provided return EINVAL. Temporarily add traps 74-79 to just print
401 the register state.
402
403 * interp.c (engine_{run_until_stop,step}): Before executing
404 instructions, make sure r0 == 0.
405
406 Tue May 13 16:39:37 1997 Andrew Cagney <cagney@b1.cygnus.com>
407
408 * alu.h (IMEM): Take full cia not just IP as argument.
409
410 * interp.c (engine_run_until_stop): Delete handling of annuled
411 instructions.
412 (engine_step): Ditto.
413
414 * insn (do_branch): New function.
415 (do_bbo, do_bbz, do_bcnd, do_bsr, do_jsr): Use do_branch to handle
416 annuled branches.
417
418 Mon May 12 17:15:52 1997 Mike Meissner <meissner@cygnus.com>
419
420 * insns (do_{ld,st}): Fix tracing for ld/st.
421
422 Mon May 12 11:12:24 1997 Andrew Cagney <cagney@b1.cygnus.com>
423
424 * sim-calls.c (sim_stop_reason): Restore keep_running after a
425 CNTRL-C, don't re-clear it.
426
427 * interp.c (engine_error): stop rather than signal with SIGABRT
428 when an error.
429
430 * insns (do_ld): For 64bit loads, always store LSW in rDest, MSW in
431 rDest + 1. Also done by Michael Meissner <meissner@cygnus.com>
432 (do_st): Converse for store.
433
434 * misc.c (tic80_trace_fpu2i): Correct printf format for int type.
435
436 Sun May 11 11:02:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
437
438 * sim-calls.c (sim_stop_reason): Return a SIGINT if keep_running
439 was cleared.
440
441 * interp.c (engine_step): New function. Single step the simulator
442 taking care of cntrl-c during a step.
443
444 * sim-calls.c (sim_resume): Differentiate between stepping and
445 running so that a cntrl-c during a step is reported.
446
447 Sun May 11 10:54:31 1997 Mark Alexander <marka@cygnus.com>
448
449 * sim-calls.c (sim_fetch_register): Use correct reg base.
450 (sim_store_register): Ditto.
451
452 Sun May 11 10:25:14 1997 Michael Meissner <meissner@cygnus.com>
453
454 * cpu.h (tic80_trace_shift): Add declaration.
455 (TRACE_SHIFT): New macro to trace shift instructions.
456
457 * misc.c (tic80_trace_alu2): Align spacing.
458 (tic80_trace_shift): New function to trace shifts.
459
460 * insns (lmo): Add missing 0b prefix to bits.
461 (do_shift): Use ~ (unsigned32)0, instead of -1. Use TRACE_SHIFT
462 instead of TRACE_ALU2.
463 (sl r): Use EndMask as is, instead of using Source+1 register.
464 (subu): Operands are unsigned, not signed.
465 (do_{ld,st}): Fix endian problems with ld.d/st.d.
466
467 Sat May 10 12:35:47 1997 Michael Meissner <meissner@cygnus.com>
468
469 * insns (and{.tt,.tf,.ft,.ff}): Immediate values are unsigned, not
470 signed.
471
472 Fri May 9 15:47:36 1997 Mike Meissner <meissner@cygnus.com>
473
474 * insns (cmp_vals,do_cmp): Produce the correct bits as specified
475 by the architecture.
476 (xor): Fix xor immediate patterns to use the correct bits.
477
478 Fri May 9 09:55:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
479
480 * alu.h (long_immediate): Adjust the CIA delay-pointer as well as
481 the NIA when a 64bit insn.
482
483 Thu May 8 11:57:47 1997 Michael Meissner <meissner@cygnus.com>
484
485 * insns (jsr,bsr): For non-allulled calls, set r31 so that the
486 return address does not reexecute the instruction in the delay
487 slot.
488 (bbo,bbz): Complement bit number to reverse the one's complement
489 that the assembler is required to do.
490
491 * misc.c (tic80_trace_*): Change format slightly to accomidate
492 real large decimal values.
493
494 Thu May 8 14:07:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
495
496 * sim-calls.c (sim_do_command): Implement.
497 (sim_store_register): Fix typo T2H v H2T.
498
499 Wed May 7 11:48:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
500
501 * cpu.h (TRACE_FPU2, TRACE_FPU3, TRACE_FPU2I): Add.
502 * insn: Clean up fpu tracing.
503
504 * sim-calls.c (sim_create_inferior): Start out with interrupts
505 enabled.
506
507 * cpu.h (TRACE_SINK3), misc.c (tic80_trace_sink3): Three argument
508 sink
509
510 * insns (rdcr, swcr, wrcr, brcr, rmo, lmo): Implement.
511
512 * insns (do_*): Remove MY_INDEX/indx argument from support functions,
513 igen now handles this.
514
515 * cpu.h (CR): New macro - access TIc80 control registers.
516
517 * misc.c: New file.
518 (tic80_cr2index): New function, map control register opcode index
519 into the internal CR enum.
520
521 * interp.c
522 (tic80_trace_{alu{2,3},nop,sink{1,2},{,u}cond_br,ldst}): Move from
523 here
524 * misc.c: to here.
525
526 * Makefile.in (SIM_OBJS): Add misc.o.
527
528 Tue May 6 15:22:58 1997 Mike Meissner <meissner@cygnus.com>
529
530 * cpu.h ({,v}{S,D}P_FPR): Delete unused macros that won't work on
531 big endian hosts.
532 (tic80_trace_{alu{2,3},nop,sink{1,2},{,u}cond_br,ldst}): Declare
533 new functions.
534 (TRACE_{ALU{2,3},NOP,SINK{1,2},{,U}COND_BR,LD,ST}): New macros to
535 trace various instruction types.
536
537 * insns: Modify all instructions to support semantic tracing.
538
539 * interp.c (toplevel): Include itable.h.
540 (tic80_trace_{alu{2,3},nop,sink{1,2},{,u}cond_br,ldst}): New
541 functions to provide semantic level tracing information.
542
543 Mon May 5 11:50:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
544
545 * alu.h: Update usage of core object to reflect recent changes in
546 ../common/sim-*core.
547 * sim-calls.c (sim_open): Ditto.
548
549 Mon May 5 14:10:17 1997 Andrew Cagney <cagney@b1.cygnus.com>
550
551 * insn (cmnd): No-op cache flushes.
552
553 * insns (do_trap): Allow writes to STDERR.
554
555 * Makefile.in (SIM_OBJS): Link in sim-fpu.o.
556 (SIM_EXTRA_LIBS): Link in the math library.
557
558 * alu.h: Add support for floating point unit using sim-alu.
559
560 * insns (fadd, fsub, fmpy, fdiv, fcmp, frnd*): Implement.
561
562 Fri May 2 14:57:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
563
564 * sim-calls.c: Include sim-utils.h and sim-options.h.
565
566 * sim-main.h (sim_state): Drop sim_events and sim_core members,
567 moved to simulator base type.
568
569 * alu.h (IMEM, MEM, STORE): Update track changes in common
570 directory.
571
572 * insns: Drop cia argument from functions, igen now handles this.
573
574 * interp.c (engine_init): Include string.h/strings.h to define
575 memset et.al.
576
577 * sim-main.h (sim_cia): Delcare, tracking common dir changes.
578
579 * cpu.h (sim_cpu): Update instruction_address with sim_cia.
580
581 Wed Apr 30 11:26:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
582
583 * sim-main.h (signal.h): Include so that SIG* available to all
584 callers of sig_halt.
585
586 * insns (do_shift): New function, implement shift operations.
587 (do_trap): Add handler for trap 73 - SIGTRAP.
588
589 Tue Apr 29 10:58:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
590
591 * alu.h (MEM, STORE): Force addresses to be correctly aligned.
592
593 * insns (do_jsr): Fix.
594 (do_st, do_ld): Handle 64bit transfers.
595 (do_trap): Match libgloss.
596 (rdcr): Implement nop - Dest == r0 - variant.
597
598 * sim-calls.c (sim_create_inferior): Initialize SP.
599
600 * Makefile.in (ENGINE_H): Everything now depends on sim-options.h.
601 (support.o): Depends on ENGINE_H.
602
603 * cpu.h: Four accumulators.
604
605 * Makefile.in (tmp-igen): Include line number information in
606 generated files.
607
608 * insns (dld, dst): Fill in.
609
610 Mon Apr 28 13:02:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
611
612 * insns (vld): Fix instruction format wrong.
613
614 Thu Apr 24 16:43:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
615
616 * dc: Add additional rules so that minor opcode files are
617 detected.
618 * insns: Enable more instructions.
619
620 * sim-calls.c (sim_fetch_register,sim_store_register, sim_write):
621 Implement.
622
623 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
624
625 * configure: Regenerated to track ../common/aclocal.m4 changes.
626 * Makefile.in (SIM_OBJS): Add sim-module.o, sim-profile.o.
627 * sim-calls.c (sim_open): Call sim_module_uninstall if argument
628 parsing fails. Call sim_post_argv_init.
629 (sim_close): Call sim_module_uninstall.
630
631 Wed Apr 23 20:05:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
632
633 * insns (and, bbo, bcnd, bsr, dcache, jsr, or, xor, nor): Enable.
634 * ic: Add fields for enabled instructions.
635
This page took 0.04286 seconds and 5 git commands to generate.