Remove need to update <targ>/Makefile.in when adding optional options
[deliverable/binutils-gdb.git] / sim / tic80 / ChangeLog
CommitLineData
92f91d1f
AC
1Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * configure: Regenerated to track ../common/aclocal.m4 changes.
4
5Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
6
7 * Makefile.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
8 SIM_HOSTENDIAN, SIM_INLINE, SIM_RESERVED_BITS): Delete, moved to
9 common.
10 (SIM_EXTRA_CFLAGS): Update.
11
794e9ac9
AC
12Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
13
14 * configure: Regenerated to track ../common/aclocal.m4 changes.
15
b45caf05
AC
16Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
17
18 * configure: Regenerated to track ../common/aclocal.m4 changes.
19
2001e533
FL
20Tue Sep 16 23:10:03 1997 Felix Lee <flee@cygnus.com>
21
22 * sim-main.h (kill): macro was missing args.
23 (SIGTRAP): define for MSVC.
24
a2ab5e65
AC
25Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
26
27 * configure: Regenerated to track ../common/aclocal.m4 changes.
28
70c8abdb
AC
29Mon Sep 8 20:10:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
30
31 * cpu.h (CPU_CIA): Define.
32
33 * sim-main.h (struct sim_state): Delete halt_ok, path_to_halt,
34 restart_ok, path_to_restart members.
35 (struct sim_state): Delete reason, siggnal members.
36
6fea4763
DE
37Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
38
39 * configure: Regenerated to track ../common/aclocal.m4 changes.
40
6dbaff8f
AC
41Thu Sep 4 17:45:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
42
43 * sim-calls.c (sim_open): Add memory before parsing arguments.
44 (sim_read): Delete, replace with sim-hrw.
45 (sim_write): Delete, replace with sim-hrw.
46
a34abff8
AC
47Thu Sep 4 10:48:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
48
49 * sim-calls.c (sim_open): Use sim_do_command to add memory, only
50 add memory if none already present.
51 (sim_open): Move init of registers from here.
52 (sim_create_inferior): To here. Init modules.
53
54 * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
55
56 * sim-calls.c (sim_open): Add zero modulo arg to sim_core_attach.
57
4b2a6aed
AC
58Mon Sep 1 11:06:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
59
60 * sim-calls.c (sim_open): Use sim_state_alloc
61 (simulation): Delete.
62
4113ba4c
AC
63Sat Aug 30 09:40:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
64
65 * insns (do_trap): Unsigned `i' for unsigned iterator.
66 (do_trap): Ditto for comparison with getpid.
67
88117054
AC
68Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
69
70 * configure: Regenerated to track ../common/aclocal.m4 changes.
71 * config.in: Ditto.
72
fafce69a
AC
73Wed Aug 27 13:41:24 1997 Andrew Cagney <cagney@b1.cygnus.com>
74
d6fea803
AC
75 * insns (do_st): Use U8_4 instead of V4_L8.
76
fafce69a
AC
77 * sim-calls.c (sim_open): Add call to sim_analyze_program, update
78 call to sim_config.
7230ff0f
AC
79
80 * sim-calls.c (sim_kill): Delete.
fafce69a
AC
81 (sim_create_inferior): Add ABFD argument. Initialize PC from ABFD
82 and not SD.
83 (sim_load): Delete, use sim-hload.c.
84
85 * Makefile.in (SIM_OBJS): Add sim-hload.o module.
7230ff0f 86
247fccde
AC
87Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
88
89 * configure: Regenerated to track ../common/aclocal.m4 changes.
90 * config.in: Ditto.
91
92Mon Aug 25 16:33:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
93
94 * sim-calls.c (sim_open): Add ABFD argument.
95 (sim_open): Move sim_config call to just after argument
96 parsing. Check return status.
97
9e61ae7d
MA
98Fri Aug 8 21:52:27 1997 Mark Alexander <marka@cygnus.com>
99
100 * sim-calls.c (sim_store_register): Allow accumulators
101 other than A0 to be modified. Correct error message.
102
128b5154
AC
103Thu May 29 14:02:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
104
105 * misc.c (tic80_trace_fpu3, tic80_trace_fpu2, tic80_trace_fpu1,
106 tic80_trace_fpu2i): Pass in function prefix.
107 (tic80_trace_ldst): Rewrite so it calls print_one_insn directly.
108
109 * Makefile.in (SIM_OBJS): Include sim-watch.o module.
110
111 * sim-main.h (WITH_WATCHPOINTS): Enable watchpoints.
112
113 * ic (bitnum): Compute bitnum from BITNUM.
114 * insn (bbo, bbz): Use.
115
116 * insn: Convert long immediate instructions to igen long immediate
117 form.
118 * insn: Add disasembler information.
119
4e95b94e
AC
120Thu May 29 12:09:13 1997 Andrew Cagney <cagney@b2.cygnus.com>
121
122 * alu.h (IMEM_IMMED): New macro, fetch 32bit immediate operand N.
123
124 * insns (subu i): Immediate is signed not unsigned.
125
2f2e6c5d
AC
126Tue May 27 13:22:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
127
128 * sim-calls.c (sim_read): Pass NULL cpu to sim_core_read_buffer.
129 (sim_write): Ditto for write.
130
24aa2b57
AC
131Tue May 20 09:33:31 1997 Andrew Cagney <cagney@b1.cygnus.com>
132
50a2a691
AC
133 * sim-calls.c (sim_load): Set STATE_LOADED_P.
134
ff82f214
AC
135 * sim-main.h: Include <unistd.h>.
136
24aa2b57
AC
137 * sim-calls.c (sim_set_callback): Delete.
138 (sim_open): Add/install callback argument.
ff82f214
AC
139 (sim_size): Delete.
140
8c5b6ead
MM
141Mon May 19 18:59:33 1997 Mike Meissner <meissner@cygnus.com>
142
143 * configure.in: Check for getpid, kill functions.
144 * config{.in,ure}: Regenerate.
145
146 * insns (do_trap): Add support for kill, getpid system calls.
147
148 * sim-main.h (errno.h): Include.
149 (getpid,kill): Define as NOPs if the host doesn't have them.
150
fd76456b
AC
151Mon May 19 14:58:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
152
153 * sim-calls.c (sim_open): Set the simulator base magic number.
2e61a3ad
AC
154 (sim_load): Delete prototype of sim_load_file.
155 (sim_open): Define sd to be &simulation.
fd76456b 156
f03b093c
AC
157Fri May 16 14:35:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
158
159 * insns (illegal, fp_unavailable): Halt instead of abort the
160 simulator.
161
162 * insns: Replace calls to engine_error with sim_engine_abort.
163 Ditto for engine_halt V sim_engine_halt.
164
165Tue May 13 15:24:12 1997 Andrew Cagney <cagney@b2.cygnus.com>
166
167 * interp.c (engine_run_until_stop): Delete. Moved to common.
168 (engine_step): Ditto.
169 (engine_step): Ditto.
170 (engine_halt): Ditto.
171 (engine_restart): Ditto.
172 (engine_halt): Ditto.
173 (engine_error): Ditto.
174
175 * sim-calls.c (sim_stop): Delete. Moved to common.
176 (sim_stop_reason): Ditto.
177 (sim_resume): Ditto.
178
179 * Makefile.in (SIM_OBJS): Link in generic sim-engine, sim-run,
180 sim-resume, sim-reason, sim-stop modules.
181
37a684b8
AC
182Fri May 16 11:57:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
183
184 * ic (compute): Drop check for REG == 0, now always forced to
185 zero.
186
187 * cpu.h (GPR_SET): New macro update the gpr.
188 * insns (do_add): Use GPR_SET to update the GPR register.
189
190 * sim-calls.c (sim_fetch_register): Pretend that r0 is zero.
191
192 * Makefile.in (tmp-igen): Specify zero-r0 so that every
193 instruction clears r0.
194
195 * interp.c (engine_run_until_stop): Igen now generates code to
196 clear r0.
197 (engine_step): Ditto.
198
aa3a0447
AC
199Thu May 15 11:45:37 1997 Andrew Cagney <cagney@b1.cygnus.com>
200
07b4c0a6
AC
201 * insns (do_shift): When rot==0 and zero/sign merge treat it as
202 32.
203 (set_fp_reg): For interger conversion, use sim-fpu fpu2i
204 functions.
205 (do_fmpy): Perform iii and uuu using integer arithmetic.
206
207 * Makefile.in (ENGINE_H): Assume everything depends on the fpu.
208
aa3a0447
AC
209 * insns (get_fp_reg): Use sim_fpu_u32to to perform unsigned
210 conversion.
211 (do_fcmp): Update to use new fp compare functions. Make reg nr arg
212 instead of reg. Stops fp overflow.
213 (get_fp_reg): Assume val is valid when reg == 0.
214 (set_fp_reg): Fix double conversion.
215
216 * misc.c (tic80_trace_fpu1): New function, trace simple fp op.
217
218 * insns (do_frnd): Add tracing.
219
220 * cpu.h (TRACE_FPU1): Ditto.
2310e3c2
AC
221
222 * insns (do_trap): Printf formatting.
223
93555c3b
MM
224Wed May 14 18:05:50 1997 Mike Meissner <meissner@cygnus.com>
225
226 * misc.c (tic80_trace_fpu{3,2,2i}): Align columns with other
227 insns. Use %g to print floating point instead of %f in case the
228 numbers are real large.
229
1b6f4dde
MM
230Tue May 13 18:00:10 1997 Mike Meissner <meissner@cygnus.com>
231
232 * insns (do_trap): For system calls that are defined, but not
233 provided return EINVAL. Temporarily add traps 74-79 to just print
234 the register state.
235
236 * interp.c (engine_{run_until_stop,step}): Before executing
237 instructions, make sure r0 == 0.
238
84902350
AC
239Tue May 13 16:39:37 1997 Andrew Cagney <cagney@b1.cygnus.com>
240
241 * alu.h (IMEM): Take full cia not just IP as argument.
242
243 * interp.c (engine_run_until_stop): Delete handling of annuled
244 instructions.
245 (engine_step): Ditto.
246
247 * insn (do_branch): New function.
248 (do_bbo, do_bbz, do_bcnd, do_bsr, do_jsr): Use do_branch to handle
249 annuled branches.
250
d01082ad
MM
251Mon May 12 17:15:52 1997 Mike Meissner <meissner@cygnus.com>
252
253 * insns (do_{ld,st}): Fix tracing for ld/st.
254
c445af5a
AC
255Mon May 12 11:12:24 1997 Andrew Cagney <cagney@b1.cygnus.com>
256
9af5dcea
AC
257 * sim-calls.c (sim_stop_reason): Restore keep_running after a
258 CNTRL-C, don't re-clear it.
259
260 * interp.c (engine_error): stop rather than signal with SIGABRT
261 when an error.
262
c445af5a
AC
263 * insns (do_ld): For 64bit loads, always store LSW in rDest, MSW in
264 rDest + 1. Also done by Michael Meissner <meissner@cygnus.com>
265 (do_st): Converse for store.
266
267 * misc.c (tic80_trace_fpu2i): Correct printf format for int type.
268
269Sun May 11 11:02:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
270
271 * sim-calls.c (sim_stop_reason): Return a SIGINT if keep_running
272 was cleared.
273
274 * interp.c (engine_step): New function. Single step the simulator
275 taking care of cntrl-c during a step.
276
277 * sim-calls.c (sim_resume): Differentiate between stepping and
278 running so that a cntrl-c during a step is reported.
279
280Sun May 11 10:54:31 1997 Mark Alexander <marka@cygnus.com>
281
282 * sim-calls.c (sim_fetch_register): Use correct reg base.
283 (sim_store_register): Ditto.
284
450be234
MM
285Sun May 11 10:25:14 1997 Michael Meissner <meissner@cygnus.com>
286
287 * cpu.h (tic80_trace_shift): Add declaration.
288 (TRACE_SHIFT): New macro to trace shift instructions.
289
290 * misc.c (tic80_trace_alu2): Align spacing.
291 (tic80_trace_shift): New function to trace shifts.
292
293 * insns (lmo): Add missing 0b prefix to bits.
294 (do_shift): Use ~ (unsigned32)0, instead of -1. Use TRACE_SHIFT
295 instead of TRACE_ALU2.
296 (sl r): Use EndMask as is, instead of using Source+1 register.
297 (subu): Operands are unsigned, not signed.
8ad60788 298 (do_{ld,st}): Fix endian problems with ld.d/st.d.
450be234 299
20b2f9bc
MM
300Sat May 10 12:35:47 1997 Michael Meissner <meissner@cygnus.com>
301
302 * insns (and{.tt,.tf,.ft,.ff}): Immediate values are unsigned, not
303 signed.
304
aaa7b252
MM
305Fri May 9 15:47:36 1997 Mike Meissner <meissner@cygnus.com>
306
307 * insns (cmp_vals,do_cmp): Produce the correct bits as specified
308 by the architecture.
89d1a478 309 (xor): Fix xor immediate patterns to use the correct bits.
aaa7b252 310
9efd3f74
AC
311Fri May 9 09:55:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
312
313 * alu.h (long_immediate): Adjust the CIA delay-pointer as well as
314 the NIA when a 64bit insn.
315
e42224cc
MM
316Thu May 8 11:57:47 1997 Michael Meissner <meissner@cygnus.com>
317
53dcd669
MM
318 * insns (jsr,bsr): For non-allulled calls, set r31 so that the
319 return address does not reexecute the instruction in the delay
320 slot.
c3cad878
MM
321 (bbo,bbz): Complement bit number to reverse the one's complement
322 that the assembler is required to do.
53dcd669 323
8c3b5af1
MM
324 * misc.c (tic80_trace_*): Change format slightly to accomidate
325 real large decimal values.
e42224cc 326
43c53e07
AC
327Thu May 8 14:07:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
328
329 * sim-calls.c (sim_do_command): Implement.
330 (sim_store_register): Fix typo T2H v H2T.
331
381f42ef
AC
332Wed May 7 11:48:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
333
334 * cpu.h (TRACE_FPU2, TRACE_FPU3, TRACE_FPU2I): Add.
335 * insn: Clean up fpu tracing.
336
337 * sim-calls.c (sim_create_inferior): Start out with interrupts
338 enabled.
339
340 * cpu.h (TRACE_SINK3), misc.c (tic80_trace_sink3): Three argument
341 sink
342
343 * insns (rdcr, swcr, wrcr, brcr, rmo, lmo): Implement.
344
345 * insns (do_*): Remove MY_INDEX/indx argument from support functions,
346 igen now handles this.
347
348 * cpu.h (CR): New macro - access TIc80 control registers.
349
350 * misc.c: New file.
351 (tic80_cr2index): New function, map control register opcode index
352 into the internal CR enum.
353
354 * interp.c
355 (tic80_trace_{alu{2,3},nop,sink{1,2},{,u}cond_br,ldst}): Move from
356 here
357 * misc.c: to here.
358
359 * Makefile.in (SIM_OBJS): Add misc.o.
360
7b167b09
MM
361Tue May 6 15:22:58 1997 Mike Meissner <meissner@cygnus.com>
362
363 * cpu.h ({,v}{S,D}P_FPR): Delete unused macros that won't work on
364 big endian hosts.
365 (tic80_trace_{alu{2,3},nop,sink{1,2},{,u}cond_br,ldst}): Declare
366 new functions.
367 (TRACE_{ALU{2,3},NOP,SINK{1,2},{,U}COND_BR,LD,ST}): New macros to
368 trace various instruction types.
369
370 * insns: Modify all instructions to support semantic tracing.
371
372 * interp.c (toplevel): Include itable.h.
373 (tic80_trace_{alu{2,3},nop,sink{1,2},{,u}cond_br,ldst}): New
374 functions to provide semantic level tracing information.
375
7a418800
AC
376Mon May 5 11:50:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
377
378 * alu.h: Update usage of core object to reflect recent changes in
379 ../common/sim-*core.
380 * sim-calls.c (sim_open): Ditto.
381
3971886a
AC
382Mon May 5 14:10:17 1997 Andrew Cagney <cagney@b1.cygnus.com>
383
384 * insn (cmnd): No-op cache flushes.
385
386 * insns (do_trap): Allow writes to STDERR.
387
388 * Makefile.in (SIM_OBJS): Link in sim-fpu.o.
389 (SIM_EXTRA_LIBS): Link in the math library.
390
391 * alu.h: Add support for floating point unit using sim-alu.
392
393 * insns (fadd, fsub, fmpy, fdiv, fcmp, frnd*): Implement.
394
d9b75947
AC
395Fri May 2 14:57:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
396
397 * sim-calls.c: Include sim-utils.h and sim-options.h.
398
399 * sim-main.h (sim_state): Drop sim_events and sim_core members,
400 moved to simulator base type.
401
402 * alu.h (IMEM, MEM, STORE): Update track changes in common
403 directory.
404
405 * insns: Drop cia argument from functions, igen now handles this.
406
407 * interp.c (engine_init): Include string.h/strings.h to define
408 memset et.al.
409
410 * sim-main.h (sim_cia): Delcare, tracking common dir changes.
411
412 * cpu.h (sim_cpu): Update instruction_address with sim_cia.
413
c1c77d40
AC
414Wed Apr 30 11:26:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
415
416 * sim-main.h (signal.h): Include so that SIG* available to all
417 callers of sig_halt.
418
419 * insns (do_shift): New function, implement shift operations.
420 (do_trap): Add handler for trap 73 - SIGTRAP.
421
d5e2c74e
AC
422Tue Apr 29 10:58:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
423
424 * alu.h (MEM, STORE): Force addresses to be correctly aligned.
425
426 * insns (do_jsr): Fix.
427 (do_st, do_ld): Handle 64bit transfers.
428 (do_trap): Match libgloss.
429 (rdcr): Implement nop - Dest == r0 - variant.
430
431 * sim-calls.c (sim_create_inferior): Initialize SP.
432
433 * Makefile.in (ENGINE_H): Everything now depends on sim-options.h.
434 (support.o): Depends on ENGINE_H.
435
436 * cpu.h: Four accumulators.
437
438 * Makefile.in (tmp-igen): Include line number information in
439 generated files.
440
441 * insns (dld, dst): Fill in.
442
443Mon Apr 28 13:02:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
444
445 * insns (vld): Fix instruction format wrong.
446
abe293a0
AC
447Thu Apr 24 16:43:09 1997 Andrew Cagney <cagney@b1.cygnus.com>
448
449 * dc: Add additional rules so that minor opcode files are
450 detected.
451 * insns: Enable more instructions.
452
453 * sim-calls.c (sim_fetch_register,sim_store_register, sim_write):
454 Implement.
455
dd442a44
DE
456Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
457
458 * configure: Regenerated to track ../common/aclocal.m4 changes.
459 * Makefile.in (SIM_OBJS): Add sim-module.o, sim-profile.o.
460 * sim-calls.c (sim_open): Call sim_module_uninstall if argument
461 parsing fails. Call sim_post_argv_init.
462 (sim_close): Call sim_module_uninstall.
463
480e740c
AC
464Wed Apr 23 20:05:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
465
466 * insns (and, bbo, bcnd, bsr, dcache, jsr, or, xor, nor): Enable.
467 * ic: Add fields for enabled instructions.
468
This page took 0.053057 seconds and 4 git commands to generate.