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