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