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