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