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