]>
Commit | Line | Data |
---|---|---|
84e8e361 MF |
1 | 2015-12-24 Mike Frysinger <[email protected]> |
2 | ||
3 | * tconfig.h (WITH_WATCHPOINTS): Delete. | |
4 | ||
b1af9473 MF |
5 | 2015-12-24 Mike Frysinger <[email protected]> |
6 | ||
7 | * tconfig.h (SIM_HAVE_MEM_SIZE): Delete. | |
8 | ||
797eee42 MF |
9 | 2015-11-15 Mike Frysinger <[email protected]> |
10 | ||
11 | * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and | |
12 | sim-stop.o. | |
13 | ||
6e4f085c MF |
14 | 2015-11-14 Mike Frysinger <[email protected]> |
15 | ||
16 | * sim-if.c (sim_close): Delete. | |
17 | ||
8d0978fb MF |
18 | 2015-06-23 Mike Frysinger <[email protected]> |
19 | ||
20 | * configure: Regenerate. | |
21 | ||
7d5c6c43 MF |
22 | 2015-06-17 Mike Frysinger <[email protected]> |
23 | ||
24 | * traps.c (m32r_trap): Replace call to cb_syscall with | |
25 | sim_syscall_multi. | |
26 | * traps-linux.c (m32r_trap): Likewise. | |
27 | ||
61a0c964 MF |
28 | 2015-06-17 Mike Frysinger <[email protected]> |
29 | ||
30 | * traps-linux.c: Include sim-syscall.h. | |
31 | (syscall_read_mem, syscall_write_mem): Delete. | |
32 | (m32r_trap): Change syscall_read_mem/syscall_write_mem | |
33 | to sim_syscall_read_mem/sim_syscall_write_mem. | |
34 | * traps.c: Include sim-syscall.h. | |
35 | (syscall_read_mem, syscall_write_mem): Delete. | |
36 | (m32r_trap): Change syscall_read_mem/syscall_write_mem | |
37 | to sim_syscall_read_mem/sim_syscall_write_mem. | |
38 | ||
a3487082 MF |
39 | 2015-06-12 Mike Frysinger <[email protected]> |
40 | ||
41 | * configure: Regenerate. | |
42 | ||
306f4178 MF |
43 | 2015-06-12 Mike Frysinger <[email protected]> |
44 | ||
45 | * configure: Regenerate. | |
46 | ||
db7858e2 MF |
47 | 2015-06-12 Mike Frysinger <[email protected]> |
48 | ||
49 | * decode.c (m32rbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT. | |
50 | * decode2.c (m32r2f_decode): Likewise. | |
51 | * decodex.c (m32rxf_decode): Likewise. | |
52 | * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, | |
53 | TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI. | |
54 | * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT. | |
55 | * sem-switch.c: Likewise. | |
56 | * sem-switch2.c: Likewise. | |
57 | * sem-switchx.c: Likewise. | |
58 | ||
3ebe2863 MF |
59 | 2015-04-18 Mike Frysinger <[email protected]> |
60 | ||
61 | * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete. | |
62 | ||
e8d3a34f MF |
63 | 2015-04-18 Mike Frysinger <[email protected]> |
64 | ||
65 | * sim-main.h (USING_SIM_BASE_H): Delete. | |
66 | ||
20bca71d MF |
67 | 2015-04-18 Mike Frysinger <[email protected]> |
68 | ||
69 | * sim-main.h (_sim_cpu, SIM_CPU): Delete. | |
70 | ||
7e83aa92 MF |
71 | 2015-04-18 Mike Frysinger <[email protected]> |
72 | ||
73 | * sim-main.h (sim_cia): Delete. | |
74 | ||
034685f9 MF |
75 | 2015-04-17 Mike Frysinger <[email protected]> |
76 | ||
77 | * sim-main.h (CIA_GET, CIA_SET): Delete. | |
78 | ||
78e9aa70 MF |
79 | 2015-04-15 Mike Frysinger <[email protected]> |
80 | ||
81 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. | |
82 | * sim-main.h (STATE_CPU): Delete. | |
83 | ||
f95f4ed2 MF |
84 | 2015-04-15 Mike Frysinger <[email protected]> |
85 | ||
86 | * sim-main.h (struct sim_state): Change cpu to an array of pointers. | |
87 | (STATE_CPU): Handle WITH_SMP. | |
88 | ||
bf12d44e MF |
89 | 2015-04-13 Mike Frysinger <[email protected]> |
90 | ||
91 | * configure: Regenerate. | |
92 | ||
122bbfb5 MF |
93 | 2015-04-06 Mike Frysinger <[email protected]> |
94 | ||
95 | * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. | |
96 | ||
aadc9410 MF |
97 | 2015-03-31 Mike Frysinger <[email protected]> |
98 | ||
99 | * config.in, configure: Regenerate. | |
100 | ||
fe83b8a8 MF |
101 | 2015-03-24 Mike Frysinger <[email protected]> |
102 | ||
103 | * sim-if.c (sim_open): Delete dv_sockser_install call. | |
104 | ||
30452bbe MF |
105 | 2015-03-24 Mike Frysinger <[email protected]> |
106 | ||
107 | * configure: Regenerate. | |
108 | ||
97f478c5 MF |
109 | 2015-03-24 Mike Frysinger <[email protected]> |
110 | ||
111 | * configure: Regenerate. | |
112 | ||
49cd1634 MF |
113 | 2015-03-23 Mike Frysinger <[email protected]> |
114 | ||
115 | * configure: Regenerate. | |
116 | ||
64dd13df MF |
117 | 2015-03-23 Mike Frysinger <[email protected]> |
118 | ||
119 | * configure: Regenerate. | |
120 | ||
ae7d0cac MF |
121 | 2015-03-16 Mike Frysinger <[email protected]> |
122 | ||
123 | * aclocal.m4, config.in, configure: Regenerate. | |
124 | * tconfig.in: Rename file ... | |
125 | * tconfig.h: ... here. | |
126 | ||
8406bb59 MF |
127 | 2015-03-15 Mike Frysinger <[email protected]> |
128 | ||
129 | * tconfig.in [HAVE_DV_SOCKSER]: Delete. | |
130 | ||
465fb143 MF |
131 | 2015-03-14 Mike Frysinger <[email protected]> |
132 | ||
133 | * Makefile.in (SIM_RUN_OBJS): Delete. | |
134 | ||
9e3042ec HPN |
135 | 2014-08-23 Hans-Peter Nilsson <[email protected]> |
136 | ||
137 | * configure.ac: Default simulator hardware to off again. Remove | |
138 | dead m32r_extra_objs substitution. | |
139 | * configure: Regenerate. | |
140 | * Makefile.in: Remove unused m32r_extra_objs. | |
141 | ||
2974be62 AM |
142 | 2014-08-19 Alan Modra <[email protected]> |
143 | ||
144 | * configure: Regenerate. | |
145 | ||
faa743bb RM |
146 | 2014-08-15 Roland McGrath <[email protected]> |
147 | ||
148 | * configure: Regenerate. | |
149 | * config.in: Regenerate. | |
150 | ||
bf3d9781 AM |
151 | 2013-09-23 Alan Modra <[email protected]> |
152 | ||
153 | * configure: Regenerate. | |
154 | ||
31e6ad7d MF |
155 | 2013-06-03 Mike Frysinger <[email protected]> |
156 | ||
157 | * aclocal.m4, configure: Regenerate. | |
158 | ||
73e76d20 MF |
159 | 2013-03-30 Joel Sherrill <[email protected]> |
160 | Mike Frysinger <[email protected]> | |
161 | ||
162 | * configure.ac: Add m32r_extra_objs. Change simulator hardware | |
163 | from always on to defaulting to yes it is enabled. | |
164 | * Makefile.in: Conditionalize reference to dv-sockser.o. | |
165 | * tconfig.in: Delete HAVE_DV_SOCKSER logic that was under "#if 0". | |
166 | * configure: Regenerated. | |
167 | ||
1517bd27 MF |
168 | 2013-03-26 Mike Frysinger <[email protected]> |
169 | ||
170 | * configure: Regenerate. | |
171 | ||
94c63d78 JS |
172 | 2013-03-23 Joel Sherrill <[email protected]> |
173 | ||
174 | * configure.ac: Fail if dv-sockser.o not available. | |
175 | Error when --disable-sim-hardware is specified. | |
176 | * configure: Regenerated. | |
177 | ||
5f3ef9d0 JB |
178 | 2012-06-15 Joel Brobecker <[email protected]> |
179 | ||
180 | * config.in, configure: Regenerate. | |
181 | ||
a35a3322 MF |
182 | 2012-03-25 Mike Frysinger <[email protected]> |
183 | ||
184 | * traps-linux.c (sim_core_trans_addr): Delete prototype. | |
185 | ||
2232061b MF |
186 | 2012-03-24 Mike Frysinger <[email protected]> |
187 | ||
188 | * aclocal.m4, config.in, configure: Regenerate. | |
189 | ||
db2e4d67 MF |
190 | 2011-12-03 Mike Frysinger <[email protected]> |
191 | ||
192 | * aclocal.m4: New file. | |
193 | * configure: Regenerate. | |
194 | ||
9c082ca8 MF |
195 | 2011-10-17 Mike Frysinger <[email protected]> |
196 | ||
197 | * configure.ac: Change include to common/acinclude.m4. | |
198 | ||
6ffe910a MF |
199 | 2011-10-17 Mike Frysinger <[email protected]> |
200 | ||
201 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
202 | call. Replace common.m4 include with SIM_AC_COMMON. | |
203 | * configure: Regenerate. | |
204 | ||
2419798b MF |
205 | 2011-07-05 Mike Frysinger <[email protected]> |
206 | ||
207 | * sim-if.c (sim_do_command): Delete. | |
208 | ||
fb0cc53e MF |
209 | 2010-03-30 Mike Frysinger <[email protected]> |
210 | ||
211 | * devices.c (device_error): Add const to message. | |
212 | ||
2310652a DE |
213 | 2010-02-11 Doug Evans <[email protected]> |
214 | ||
215 | * cpu.h, * cpu2.h, * cpux.h, * decode.c, * decode2.c, * decodex.c, | |
216 | * model.c, * model2.c, * modelx.c, | |
217 | * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate. | |
218 | ||
3725885a RW |
219 | 2010-01-09 Ralf Wildenhues <[email protected]> |
220 | ||
221 | * configure: Regenerate. | |
222 | ||
0f51e9bf DE |
223 | 2010-01-02 Doug Evans <[email protected]> |
224 | ||
225 | * arch.c, * arch.h, * cpu.c, * cpu.h, * cpu2.c, * cpu2.h, * cpuall.h, | |
226 | * cpux.c, * cpux.h, * decode.c, * decode.h, * decode2.c, * decode2.h, | |
227 | * decodex.c, * decodex.h, * model.c, * model2.c, * modelx.c, | |
228 | * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate, | |
229 | update copyright year. | |
230 | ||
197fa1aa DE |
231 | 2009-11-22 Doug Evans <[email protected]> |
232 | ||
233 | * cpu.h: Regenerate. | |
234 | * cpu2.h: Regenerate. | |
235 | * cpux.h: Regenerate. | |
236 | * cpuall.h: Regenerate. | |
237 | * decode.c: Regenerate. | |
238 | * decode.h: Regenerate. | |
239 | * decode2.c: Regenerate. | |
240 | * decode2.h: Regenerate. | |
241 | * decodex.c: Regenerate. | |
242 | * decodex.h: Regenerate. | |
243 | ||
894a1d7b DE |
244 | 2009-11-03 Doug Evans <[email protected]> |
245 | ||
e9c60591 DE |
246 | * arch.c: Regenerate. |
247 | * arch.h: Regenerate. | |
248 | * cpu.c: Regenerate. | |
249 | * cpu.h: Regenerate. | |
250 | * cpu2.c: Regenerate. | |
251 | * cpu2.h: Regenerate. | |
252 | * cpuall.h: Regenerate. | |
253 | * cpux.c: Regenerate. | |
254 | * cpux.h: Regenerate. | |
255 | * decode.c: Regenerate. | |
256 | * decode.h: Regenerate. | |
257 | * decode2.c: Regenerate. | |
258 | * decode2.h: Regenerate. | |
259 | * decodex.c: Regenerate. | |
260 | * decodex.h: Regenerate. | |
261 | * model.c: Regenerate. | |
262 | * model2.c: Regenerate. | |
263 | * modelx.c: Regenerate. | |
264 | * sem-switch.c: Regenerate. | |
265 | * sem.c: Regenerate. | |
266 | * sem2-switch.c: Regenerate. | |
267 | * semx-switch.c: Regenerate. | |
268 | ||
894a1d7b DE |
269 | * Makefile.in (mloop.c): Add @true to rule. |
270 | (mloopx.c, mloop2.c): Ditto. | |
271 | (stamp-*): Add Makefile dependency. | |
272 | (arch.c, arch.h, cpuall.h): Specify full path. | |
273 | (cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto. | |
274 | (cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto. | |
275 | (cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto. | |
276 | ||
d6416cdc RW |
277 | 2009-08-22 Ralf Wildenhues <[email protected]> |
278 | ||
81ecdfbb RW |
279 | * config.in: Regenerate. |
280 | * configure: Likewise. | |
281 | ||
d6416cdc RW |
282 | * configure: Regenerate. |
283 | ||
6a8b8615 DE |
284 | 2009-07-12 Doug Evans <[email protected]> |
285 | ||
286 | * Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR). | |
287 | (stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto. | |
288 | ||
a86de8e0 DE |
289 | 2009-06-20 Doug Evans <[email protected]> |
290 | ||
291 | * mloop.in: Add missing # comment marker. | |
292 | * mloop2.in: Ditto. | |
293 | * mloopx.in: Ditto. | |
294 | ||
b5bd9624 HPN |
295 | 2008-07-11 Hans-Peter Nilsson <[email protected]> |
296 | ||
297 | * configure: Regenerate to track ../common/common.m4 changes. | |
298 | * config.in: Ditto. | |
299 | ||
6efef468 | 300 | 2008-06-06 Vladimir Prus <[email protected]> |
72f4393d L |
301 | Daniel Jacobowitz <[email protected]> |
302 | Joseph Myers <[email protected]> | |
6efef468 JM |
303 | |
304 | * configure: Regenerate. | |
305 | ||
edc5d9ec HPN |
306 | 2006-12-21 Hans-Peter Nilsson <[email protected]> |
307 | ||
308 | * acconfig.h: Remove. | |
309 | * config.in: Regenerate. | |
310 | ||
e85e3205 RE |
311 | 2006-06-13 Richard Earnshaw <[email protected]> |
312 | ||
313 | * configure: Regenerated. | |
314 | ||
2f0122dc DJ |
315 | 2006-06-05 Daniel Jacobowitz <[email protected]> |
316 | ||
317 | * configure: Regenerated. | |
318 | ||
20e95c23 DJ |
319 | 2006-05-31 Daniel Jacobowitz <[email protected]> |
320 | ||
321 | * configure: Regenerated. | |
322 | ||
2b193c4a MK |
323 | 2005-03-23 Mark Kettenis <[email protected]> |
324 | ||
325 | * configure: Regenerate. | |
326 | ||
35695fd6 AC |
327 | 2005-01-14 Andrew Cagney <[email protected]> |
328 | ||
329 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
330 | explicit call to AC_CONFIG_HEADER. | |
331 | * configure: Regenerate. | |
332 | ||
f0569246 AC |
333 | 2005-01-12 Andrew Cagney <[email protected]> |
334 | ||
335 | * configure.ac: Update to use ../common/common.m4. | |
336 | * configure: Re-generate. | |
337 | ||
38f48d72 AC |
338 | 2005-01-11 Andrew Cagney <[email protected]> |
339 | ||
340 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
341 | ||
b7026657 AC |
342 | 2005-01-07 Andrew Cagney <[email protected]> |
343 | ||
344 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
345 | * configure: Re-generate. | |
346 | ||
19e64aa9 KI |
347 | 2004-12-09 Kazuhiro Inaoka <[email protected]> |
348 | ||
349 | Committed by Kei Sakamoto. | |
350 | * traps-linux.c (m32r_trap): Add entries of the following dummy system | |
351 | calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32, | |
352 | __NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32, | |
353 | __NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32, | |
354 | __NR_getresgid32 and __NR_chown32. | |
355 | * syscall.h: Add new definitions of system call number. | |
356 | ||
379832de HPN |
357 | 2004-12-08 Hans-Peter Nilsson <[email protected]> |
358 | ||
359 | * configure: Regenerate for ../common/aclocal.m4 update. | |
360 | ||
1ca6491a AC |
361 | 2004-10-07 Kazuhiro Inaoka <[email protected]> |
362 | ||
363 | Committed by Andrew Cagney. | |
364 | * traps-linux.c: Don't include linux/module.h. | |
365 | (m32r_trap): Remove dummy systemcall's entry of __NR_ustat and | |
366 | __NR_get_kernel_syms. | |
367 | ||
4d06b60c DJ |
368 | 2004-05-18 Daniel Jacobowitz <[email protected]> |
369 | ||
370 | * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix. | |
371 | ||
df2a9ff4 AC |
372 | 2004-02-04 Andrew Cagney <[email protected]> |
373 | ||
374 | Committed by Andrew Cagney. | |
375 | * mloopx.in: Update copyright. | |
376 | (xextract-pbb): Fixed trap for system calls operation in parallel. | |
377 | * mloop2.in (xextract-pbb): Ditto. | |
378 | ||
6edf0760 NC |
379 | 2003-12-19 Kazuhiro Inaoka <[email protected]> |
380 | ||
72f4393d | 381 | * configure.in: Changed for dummy simulator of m32r-linux. |
6edf0760 | 382 | * configure: Regenerate. |
72f4393d L |
383 | * Makefile.in: Added traps-linux.o for dummy simulator of m32r-linux. |
384 | * traps-linux.c: Added for dummy simulator of m32r-linux. | |
385 | * syscall.h: Ditto. | |
386 | * sim-if.c (sim_create_inferior): Changed to setup SP for dummy | |
387 | simulator for m32r-linux. | |
388 | * sim-main.h (M32R_DEFAULT_MEM_SIZE): Changed for dummy simulator of | |
389 | m32r-linux. | |
6edf0760 | 390 | |
16b47b25 NC |
391 | 2003-12-11 Kazuhiro Inaoka <[email protected]> |
392 | ||
393 | * Makefile.in: Add support for new machine m32r2. | |
394 | * cpu2.c: New file for m32r2 support. | |
395 | * cpu2.h: Likewise. | |
396 | * decode2.c: Likewise. | |
397 | * decode2.h: Likewise. | |
398 | * m32r2.c: Likewise. | |
399 | * mloop2.in: Likewise. | |
400 | * model2.c: Likewise. | |
401 | * sem2-switch.c: Likewise. | |
402 | * arch.c: Regenerate. | |
403 | * arch.h: Regenerate. | |
404 | * cpu.c: Regenerate. | |
405 | * arch.c: Regenerate. | |
406 | * cpuall.c: Regenerate. | |
407 | * cpux.c: Regenerate. | |
408 | * cpux.h: Regenerate. | |
409 | * decode.c: Regenerate. | |
410 | * decode.h: Regenerate. | |
411 | * decodex.c: Regenerate. | |
412 | * decodex.h: Regenerate. | |
413 | * model.c: Regenerate. | |
414 | * modelx.c: Regenerate. | |
415 | * sem-switch.c: Regenerate. | |
416 | * sem.c: Regenerate. | |
417 | * semx-switch.c: Regenerate. | |
418 | * m32r-sim.h: Add EVB register support. | |
419 | * sim-if.c: Likewise. | |
420 | * sim-main.h: Likewise. | |
421 | * traps.c: Likewise. | |
422 | ||
a6fc1778 DB |
423 | 2003-09-08 Dave Brolley <[email protected]> |
424 | ||
425 | On behalf of Doug Evans <[email protected]> | |
426 | * Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen. | |
427 | ||
6b4a8935 AC |
428 | 2003-02-27 Andrew Cagney <[email protected]> |
429 | ||
430 | * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd. | |
431 | ||
57465455 DE |
432 | 2002-12-19 Doug Evans <[email protected]> |
433 | ||
434 | * arch.c,arch.h,cpuall.h: Regenerate. | |
435 | * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. | |
436 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate. | |
437 | ||
c8cca39f AC |
438 | 2002-06-16 Andrew Cagney <[email protected]> |
439 | ||
440 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
441 | ||
378af1d6 DB |
442 | 2001-11-14 Dave Brolley <[email protected]> |
443 | ||
444 | * arch.c: Regenerate. | |
445 | * arch.h: Regenerate. | |
446 | * cpu.c: Regenerate. | |
447 | * cpu.h: Regenerate. | |
448 | * cpuall.h: Regenerate. | |
449 | * cpux.c: Regenerate. | |
450 | * cpux.h: Regenerate. | |
451 | * decode.c: Regenerate. | |
452 | * decode.h: Regenerate. | |
453 | * decodex.c: Regenerate. | |
454 | * decodex.h: Regenerate. | |
455 | * model.c: Regenerate. | |
456 | * modelx.c: Regenerate. | |
457 | * sem-switch.c: Regenerate. | |
458 | * sem.c: Regenerate. | |
459 | * semx-switch.c: Regenerate. | |
460 | ||
e3e473da BE |
461 | 2001-07-05 Ben Elliston <[email protected]> |
462 | ||
463 | * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR). | |
464 | (stamp-cpu): Likewise. | |
465 | (stamp-xcpu): Likewise. | |
466 | ||
55552082 DB |
467 | 2001-03-05 Dave Brolley <[email protected]> |
468 | ||
378af1d6 DB |
469 | * arch.c: Regenerate. |
470 | * arch.h: Regenerate. | |
471 | * cpu.c: Regenerate. | |
472 | * cpu.h: Regenerate. | |
473 | * cpuall.h: Regenerate. | |
474 | * cpux.c: Regenerate. | |
475 | * cpux.h: Regenerate. | |
476 | * decode.c: Regenerate. | |
477 | * decode.h: Regenerate. | |
478 | * decodex.c: Regenerate. | |
479 | * decodex.h: Regenerate. | |
480 | * model.c: Regenerate. | |
481 | * modelx.c: Regenerate. | |
482 | * sem-switch.c: Regenerate. | |
483 | * sem.c: Regenerate. | |
484 | * semx-switch.c: Regenerate. | |
55552082 | 485 | |
9397fcbf FCE |
486 | 2001-01-12 Frank Ch. Eigler <[email protected]> |
487 | ||
488 | * configure: Regenerated with sim_scache fix. | |
489 | ||
fec7d8b0 GM |
490 | 2000-11-18 Greg McGary <[email protected]> |
491 | ||
492 | * Makefile.in: remove `@true' commands for rules that have | |
493 | $(CGEN_MAINT) as a prerequisite. | |
494 | ||
fb27a91c DB |
495 | 2000-10-06 Dave Brolley <[email protected]> |
496 | ||
497 | * sem.c: Regenerated. | |
498 | * sem-switch.c: Regenerated. | |
499 | * semx-switch.c: Regenerated. | |
500 | ||
de8f5985 DB |
501 | 2000-08-28 Dave Brolley <[email protected]> |
502 | ||
503 | * Makefile.in: Use of @true confuses VPATH. Remove it. | |
504 | * cpu.h: Regenerated. | |
505 | * cpux.h: Regenerated. | |
506 | * decode.c: Regenerated. | |
507 | * decodex.c: Regenerated. | |
508 | * model.c: Regenerated. | |
509 | * modelx.c: Regenerated. | |
510 | * sem-switch.c: Regenerated. | |
511 | * sem.c: Regenerated. | |
512 | * semx-switch.c: Regenerated. | |
513 | ||
604259a0 FCE |
514 | 2000-08-21 Frank Ch. Eigler <[email protected]> |
515 | ||
516 | * Makefile.in (m32r-clean): Add stamp-arch, stamp-cpu. | |
517 | (stamp-arch, stamp-cpu): New targets. | |
518 | ||
eb2d80b4 AC |
519 | Tue May 23 21:39:23 2000 Andrew Cagney <[email protected]> |
520 | ||
521 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
522 | ||
afb2cbbd DB |
523 | 2000-03-30 Dave Brolley <[email protected]> |
524 | ||
525 | * configure: Regenerated. | |
526 | ||
2df3850c JM |
527 | 1999-10-04 Doug Evans <[email protected]> |
528 | ||
529 | * arch.c,arch.h,cpuall.h: Rebuild. | |
530 | * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild. | |
531 | ||
2acceee2 JM |
532 | 1999-09-29 Doug Evans <[email protected]> |
533 | ||
534 | * mloop.in: Update call to sim_engine_invalid_insn. | |
535 | * sem.c,sem-switch.c: Rebuild. | |
536 | * traps.c (sim_engine_invalid_insn): New arg `vpc'. Change type of | |
537 | result to SEM_PC. Return vpc. | |
2df3850c JM |
538 | * mloopx.in: Ditto. |
539 | * semx-switch.c: Rebuild. | |
2acceee2 JM |
540 | |
541 | Wed Sep 29 14:47:20 1999 Dave Brolley <[email protected]> | |
542 | ||
543 | * traps.c (sim_engine_invalid_insn): Return PC. | |
544 | ||
d4f3574e SS |
545 | Thu Sep 2 18:15:53 1999 Andrew Cagney <[email protected]> |
546 | ||
547 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
548 | ||
2df3850c JM |
549 | 1999-09-01 Doug Evans <[email protected]> |
550 | ||
551 | * decodex.c: Rebuild. | |
552 | ||
104c1213 JM |
553 | 1999-08-28 Doug Evans <[email protected]> |
554 | ||
555 | * sem.c: Rebuild | |
556 | ||
2df3850c JM |
557 | * cpux.h: Rebuild. |
558 | ||
96baa820 JM |
559 | 1999-08-09 Doug Evans <[email protected]> |
560 | ||
561 | * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild. | |
2df3850c | 562 | * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild. |
96baa820 JM |
563 | |
564 | 1999-08-04 Doug Evans <[email protected]> | |
565 | ||
566 | * m32r-sim.h (SEM_SKIP_INSN): Delete. | |
567 | * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild. | |
2df3850c JM |
568 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild. |
569 | * mloopx.in (emit_parallel): Call SEM_SKIP_COMPILE. | |
570 | (emit_full_parallel): Ditto. | |
96baa820 | 571 | |
cd0fc7c3 SS |
572 | 1999-05-08 Felix Lee <[email protected]> |
573 | ||
574 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
72f4393d | 575 | |
7a292a7a SS |
576 | Fri Apr 16 16:47:43 1999 Doug Evans <[email protected]> |
577 | ||
578 | * devices.c (device_io_read_buffer): New arg `sd'. | |
579 | (device_io_write_buffer): New arg `sd'. | |
580 | (device_error): Give proper arg spec. | |
581 | ||
582 | 1999-04-10 Doug Evans <[email protected]> | |
583 | ||
584 | * sem-switch.c,sem.c: Rebuild. | |
2df3850c | 585 | * cpux.h,semx-switch.c: Rebuild. |
7a292a7a SS |
586 | |
587 | 1999-03-27 Doug Evans <[email protected]> | |
588 | ||
589 | * decode.c: Rebuild. | |
2df3850c | 590 | * decodex.c: Rebuild. |
7a292a7a SS |
591 | |
592 | 1999-03-26 Doug Evans <[email protected]> | |
593 | ||
594 | * m32r-sim.h (M32R_DEVICE_LEN): Fix off by one error. | |
595 | ||
596 | 1999-03-22 Doug Evans <[email protected]> | |
597 | ||
598 | * arch.c,arch.h,model.c: Rebuild. | |
2df3850c | 599 | * modelx.c: Rebuild. |
7a292a7a SS |
600 | * m32r-sim.h (a_m32r_h_gr_get,a_m32r_h_gr_set): Declare. |
601 | (a_m32r_h_cr_get,a_m32r_h_cr_set): Declare. | |
602 | * m32r.c (m32rbf_fetch_register): Replace calls to a_m32r_h_pc_get, | |
603 | a_m32r_h_accum_get with appropriate calls to m32rbf_*. | |
604 | (m32rbf_store_register): Ditto. | |
605 | (a_m32r_h_gr_get,a_m32r_h_gr_set): New functions. | |
606 | (a_m32r_h_cr_get,a_m32r_h_cr_set): Ditto. | |
607 | * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open. | |
608 | * traps.c (m32r_core_signal): Replace calls to a_m32r_h_*, | |
609 | with appropriate calls to m32rbf_*. | |
610 | ||
611 | 1999-03-11 Doug Evans <[email protected]> | |
612 | ||
613 | * arch.c,arch.h,cpu.c,cpu.h,sem.c,sem-switch.c: Rebuild. | |
2df3850c | 614 | * cpux.c,cpux.h,semx-switch.c: Rebuild. |
7a292a7a SS |
615 | * m32r-sim.h (GET_H_*,SET_H_*, except GET_H_SM): Delete. |
616 | * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open. | |
617 | ||
618 | 1999-02-25 Doug Evans <[email protected]> | |
619 | ||
620 | * cpu.c,cpu.h: Rebuild. | |
621 | ||
c906108c SS |
622 | 1999-02-09 Doug Evans <[email protected]> |
623 | ||
624 | * Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h. | |
625 | (stamp-xmloop): s/-parallel/-parallel-write/. | |
626 | * configure.in (sim_link_files,sim_link_links): Delete. | |
627 | * configure: Rebuild. | |
628 | * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild. | |
2df3850c | 629 | * decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild. |
c906108c SS |
630 | * mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE. |
631 | * sim-if.c (sim_open): m32r_cgen_cpu_open renamed from | |
632 | m32r_cgen_opcode_open. Set disassembler. | |
633 | (sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open. | |
634 | * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include | |
635 | m32r-desc.h,m32r-opc.h,m32r-sim.h. | |
636 | ||
2df3850c JM |
637 | Thu Feb 4 16:04:26 1999 Doug Evans <[email protected]> |
638 | ||
639 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate. | |
640 | ||
c906108c SS |
641 | 1999-01-27 Doug Evans <[email protected]> |
642 | ||
643 | * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild. | |
2df3850c | 644 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild. |
c906108c SS |
645 | |
646 | 1999-01-15 Doug Evans <[email protected]> | |
647 | ||
648 | * decode.h,model.c: Regenerate. | |
2df3850c | 649 | * decodex.h,modelx.c: Regenerate. |
c906108c SS |
650 | |
651 | 1999-01-14 Doug Evans <[email protected]> | |
652 | ||
653 | * arch.c,arch.h,cpuall.h: Regenerate. | |
654 | * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. | |
655 | * traps.c (sim_engine_invalid_insn): PCADDR->IADDR. | |
2df3850c | 656 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate. |
c906108c SS |
657 | |
658 | 1999-01-11 Doug Evans <[email protected]> | |
659 | ||
660 | * Makefile.in (m32r-clean): rm eng.h. | |
661 | * sim-main.h: Delete inclusion of ansidecl.h. | |
662 | * cpu.h: Regenerate. | |
2df3850c | 663 | * cpux.h: Regenerate. |
c906108c SS |
664 | |
665 | 1999-01-06 Doug Evans <[email protected]> | |
666 | ||
667 | * cpu.h: Regenerate. | |
2df3850c | 668 | * cpux.h: Regenerate. |
c906108c SS |
669 | |
670 | 1999-01-05 Doug Evans <[email protected]> | |
671 | ||
672 | * Makefile.in (MAIN_INCLUDE_DEPS): Delete. | |
673 | (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete. | |
674 | (sim-if.o): Use SIM_MAIN_DEPS. | |
675 | (arch.o,traps.o,devices.o): Ditto. | |
676 | (M32RBF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS. | |
677 | (m32r.o,mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies. | |
2df3850c | 678 | (m32rx.o,mloopx.o,cpux.o,decodex.o,semx.o,modelx.o): Ditto. |
c906108c SS |
679 | * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate. |
680 | * m32r-sim.h (m32rbf_h_cr_[gs]et_handler): Declare. | |
681 | ([GS]ET_H_CR): Define. | |
682 | (m32rbf_h_psw_[gs]et_handler): Declare. | |
683 | ([GS]ET_H_PSW): Define. | |
684 | (m32rbf_h_accum_[gs]et_handler): Declare. | |
685 | ([GS]ET_H_ACCUM): Define. | |
2df3850c JM |
686 | (m32rxf_h_{cr,psw,accum}_[gs]et_handler): Declare. |
687 | (m32rxf_h_accums_[gs]et_handler): Declare. | |
688 | ([GS]ET_H_ACCUMS): Define. | |
c906108c SS |
689 | * sim-if.c (sim_open): Model probing code moved to sim-model.c. |
690 | * m32r.c (WANT_CPU): Define as m32rbf. | |
691 | (all register access fns): Rename to ..._handler. | |
2df3850c JM |
692 | * cpux.c,cpux.h,decodex.c,modelx.c,semx.c: Regenerate. |
693 | * m32rx.c (WANT_CPU): Define as m32rxf. | |
694 | (all register access fns): Rename to ..._handler. | |
c906108c SS |
695 | |
696 | 1998-12-14 Doug Evans <[email protected]> | |
697 | ||
698 | * configure.in: --enable-cgen-maint support moved to common/aclocal.m4. | |
699 | (SIM_AC_OPTION_ALIGNMENT): Make strict. | |
700 | * configure: Regenerate. | |
701 | ||
702 | * sem-switch.c,sem.c,semx-switch.c: Regenerate. | |
703 | * sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define. | |
704 | * traps.c (m32r_core_signal): Handle --environment=operating. | |
705 | ||
706 | 1998-12-09 Doug Evans <[email protected]> | |
707 | ||
708 | * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate. | |
2df3850c | 709 | * cpux.h,decodex.c,semx-switch.c: Regenerate. |
c906108c SS |
710 | |
711 | * sim-if.c: Include string.h or strings.h if present. | |
712 | ||
713 | 1998-12-04 Doug Evans <[email protected]> | |
714 | ||
715 | * configure.in: Call SIM_AC_OPTION_INLINE. | |
716 | * configure: Regenerate. | |
717 | * sim-main.h: Protect against multiple inclusion. | |
718 | Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h. | |
719 | Done by cgen-sim.h now. | |
720 | * tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h. | |
721 | * cpuall.h: Regenerate. | |
722 | * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate. | |
723 | * mloop.in (extract16): Make static inline again. | |
724 | Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp. | |
725 | (extract32): Ditto. | |
726 | Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp. | |
727 | (execute): Test ARGBUF_PROFILE_P before profiling. | |
728 | Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI. | |
2df3850c JM |
729 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate. |
730 | * mloopx.in: Rewrite. | |
c906108c SS |
731 | |
732 | 1998-11-22 Doug Evans <[email protected]> | |
733 | ||
734 | * devices.c (device_io_write_buffer): Fix typo. | |
735 | * sim-if.c (sim_open): Hack in call to dv_sockser_install. | |
736 | * tconfig.in (HAVE_DV_SOCKSER): Add but comment out. | |
737 | ||
738 | 1998-11-18 Doug Evans <[email protected]> | |
739 | ||
740 | * Makefile.in (M32R_OBJS): Delete extract.o. | |
741 | (extract.o): Delete. | |
742 | * cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild. | |
743 | * mloop.in (extract16): Update type of `insn' arg. | |
744 | Delete call to d->extract. | |
745 | (extract32): Ditto. | |
2df3850c JM |
746 | * cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild. |
747 | * mloopx.in (extractx16): Update type of `insn' arg. | |
748 | Delete call to d->extract. Delete arg pbb_p. All callers updated. | |
749 | (extract-simple,full-exec-simple,fast-exec-simple): Delete. | |
750 | (extractx32): Ditto. | |
c906108c SS |
751 | |
752 | Wed Nov 4 23:55:37 1998 Doug Evans <[email protected]> | |
753 | ||
754 | * sim-main.h: Delete inclusion of config.h, include sim-basics.h | |
755 | before cgen-types.h. | |
756 | * tconfig.in: Guard against multiple inclusion. | |
757 | * cpu.h: Delete decls moved to genmloop.sh. | |
2df3850c | 758 | * cpux.h: Ditto. |
c906108c SS |
759 | |
760 | Mon Oct 19 14:13:05 1998 Doug Evans <[email protected]> | |
761 | ||
762 | * sim-main.h: #include cpu-opc.h. | |
763 | * arch.c,arch.h,decode.c,extract.c,model.c,sem.c: Regenerate | |
764 | to get #include cleanup. | |
2df3850c | 765 | * decodex.c,extractx.c,modelx.c: Ditto. |
c906108c SS |
766 | |
767 | * Makefile.in (SIM_EXTRA_DEPS): Replace cgen headers with | |
768 | CGEN_INCLUDE_DEPS. | |
769 | (M32RBF_INCLUDE_DEPS): Define. | |
770 | (m32r .o's): Depend on it. | |
771 | (mloop.c): Update call to genmloop.sh. | |
772 | * cpu.h,cpuall.h: Regenerate. | |
773 | * sim-main.h: Delete inclusion of cpu.h,decode.h, moved to cpuall.h. | |
774 | #include cgen-scache.h,cgen-cpu.h. | |
775 | * tconfig.in (WITH_FOO semantic macros): Delete. | |
2df3850c JM |
776 | * Makefile.in (M32RXF_INCLUDE_DEPS): Define. |
777 | (m32rx .o's): Depend on it. | |
778 | (mloopx.c): Update call to genmloop.sh. | |
779 | * cpux.h: Regenerate. | |
c906108c SS |
780 | |
781 | Fri Oct 16 09:15:29 1998 Doug Evans <[email protected]> | |
782 | ||
783 | * sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}". | |
784 | ||
785 | Fri Oct 9 16:11:58 1998 Doug Evans <[email protected]> | |
786 | ||
787 | Add pseudo-basic-block execution support. | |
788 | * Makefile.in (SIM_OBJS): Add sim-reg.o, cgen-run.o, sim-stop.o. | |
789 | (SIM_EXTRA_DEPS): Add include/opcode/cgen.h. | |
790 | (INCLUDE_DEPS): Delete cpu-sim.h, include/opcode/cgen.h. | |
791 | (mloop.c): Build pseudo-basic-block version. Depend on stamp-cpu. | |
792 | * arch.c,arch.h,cpuall.h: Regenerate. | |
793 | * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. | |
794 | * sem-switch.c,sem.c: Regenerate. | |
795 | * m32r-sim.h (M32R_MISC_PROFILE): New members load_regs, | |
796 | load_regs_pending. | |
797 | * m32r.c (m32rbf_fetch_register): Renamed from m32rb_fetch_register. | |
798 | (m32rbf_store_register,m32rbf_h_cr_get,m32rbf_h_cr_set, | |
799 | m32rbf_h_psw_get,m32rbf_h_psw_set,m32rbf_h_accum_get, | |
800 | m32rbf_h_accum_set): Likewise. | |
801 | (m32r_model_{init,update}_insn_cycles): Delete. | |
802 | (m32rbf_model_insn_{before,after}): New fns. | |
803 | (m32r_model_record_cti,m32r_model_record_cycles): Delete. | |
804 | (m32rb_model_mark_get_h_gr,m32rb_model_mark_set_h_gr): Delete. | |
805 | (m32rb_model_mark_busy_reg,m32rb_model_mark_unbusy_reg): Delete. | |
806 | (check_load_stall): New fn. | |
807 | (m32rbf_model_m32r_d_u_{exec,cmp,mac,cti,load,store}): New fns. | |
808 | (m32rbf_model_test_u_exec): New fn. | |
809 | * mloop.in: Rewrite, use pbb support. | |
810 | * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Delete. | |
811 | (sim_fetch_register,sim_store_register): Delete. | |
812 | * sim-main.h (CIA_GET,CIA_SET): Fix. | |
813 | (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Delete. | |
814 | * tconfig.in (WITH_SCACHE_PBB): Define. | |
815 | (WITH_SCACHE_PBB_M32RBF): Define. | |
816 | * traps.c (sim_engine_invalid_insn): Renamed from ..._illegal_.... | |
817 | (m32r_trap): Pass pc to sim_engine_halt. | |
818 | * configure.in (SIM_AC_OPTION_SCACHE): Change 1024 to 16384. | |
819 | * configure: Regenerate. | |
2df3850c JM |
820 | * Makefile.in (M32RX_OBJS): Delete semx.o, add extract.o. |
821 | (mloopx.c): Build pseudo-basic-block version. | |
2df3850c JM |
822 | (semx.o): Delete. |
823 | (extractx.o): Add. | |
2df3850c JM |
824 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c: Regenerate. |
825 | * readx.c: Delete. | |
826 | * semx.c: Delete. | |
827 | * extractx.c: New file. | |
828 | * semx-switch.c: New file. | |
829 | * m32r-sim.h (BRANCH_NEW_PC): Delete. | |
830 | (SEM_SKIP_INSN): New macro. | |
831 | * m32rx.c (m32rxf_fetch_register): Renamed from m32rx_fetch_register. | |
832 | (m32rxf_store_register,m32rxf_h_cr_get,m32rxf_h_cr_set, | |
833 | m32rxf_h_psw_get,m32rxf_h_psw_set,m32rxf_h_accum_get, | |
834 | m32rxf_h_accum_set,m32rxf_h_accums_get,m32rxf_h_accums_set): Likewise. | |
835 | (m32rxf_model_insn_{before,after}): New fns. | |
836 | (m32rx_model_mark_get_h_gr,m32rx_model_mark_set_h_gr): Delete. | |
837 | (m32rx_model_mark_busy_reg,m32rx_model_mark_unbusy_reg): Delete. | |
838 | (check_load_stall): New fn. | |
839 | (m32rxf_model_m32rx_u_{exec,cmp,mac,cti,load,store}): New fns. | |
840 | * mloopx.in: Rewrite, use pbb support. | |
841 | * tconfig.in (WITH_SCACHE_PBB_M32RXF): Define. | |
842 | (WITH_SEM_SWITCH_FULL): Change from 0 to 1. | |
c906108c SS |
843 | |
844 | Wed Sep 16 18:22:27 1998 Doug Evans <[email protected]> | |
845 | ||
846 | * m32r-sim.h ({PSW,CBR,SPI,SPU,BPC,BBPSW,BBPC}_REGNUM): New macros. | |
847 | ({ACC1L,ACC1H}_REGNUM): New macros. | |
848 | (m32r_decode_gdb_ctrl_regnum): Add prototype. | |
849 | * m32r.c (m32r_decode_gdb_ctrl_regnum): New function. | |
850 | (m32r_fetch_register,m32r_store_register): Rewrite. | |
2df3850c | 851 | * m32rx.c (m32rx_fetch_register,m32rx_store_register): Rewrite. |
c906108c SS |
852 | |
853 | Tue Sep 15 15:01:14 1998 Doug Evans <[email protected]> | |
854 | ||
855 | * m32r-sim.h (GET_H_SM): New macro. | |
856 | (UART params): Update to msa2000. | |
857 | * devices.c (device_io_read_buffer): Update to msa2000. | |
858 | * m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw. | |
859 | (m32rb_h_psw_get,m32rb_h_psw_set): New functions. | |
860 | * arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate. | |
2df3850c JM |
861 | * m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw. |
862 | (m32rx_h_psw_get,m32rx_h_psw_set): New functions. | |
863 | * cpux.c,cpux.h,readx.c,semx.c: Regenerate. | |
c906108c SS |
864 | |
865 | Wed Sep 9 15:29:36 1998 Doug Evans <[email protected]> | |
866 | ||
867 | * m32r-sim.h (m32r_trap): Update prototype. | |
868 | * traps.c (m32r_trap): New arg `pc'. | |
869 | * sem.c,sem-switch.c: Regenerated. | |
2df3850c | 870 | * cpux.h,readx.c,semx.c: Regenerated. |
c906108c SS |
871 | |
872 | Mon Aug 3 12:59:17 1998 Doug Evans <[email protected]> | |
873 | ||
874 | Rename cpu m32r to m32rb to distinguish from architecture name. | |
875 | * Makefile.in (mloop.c): cpu m32r renamed to m32rb. | |
876 | * sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R. | |
877 | * tconfig.in (WANT_CPU_M32RB): Ditto. | |
878 | * m32r.c (WANT_CPU_M32RB): Ditto. | |
879 | (*): m32r_ cpu fns renamed to m32rb_. | |
880 | * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update. | |
881 | * arch.h,arch.c: Regenerate. | |
882 | * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. | |
883 | * sem-switch.c,sem.c: Regenerate. | |
884 | ||
885 | * sim-if.c (sim_open): Don't allocate memory on top of any user | |
886 | specified memory. | |
887 | (h_gr_get,h_gr_set): Delete. | |
888 | * sim-main.h (h_gr_get,h_gr_set): Delete. | |
889 | * traps.c (m32r_trap): Replace calls to h_gr_[gs]et with | |
890 | a_m32r_h_gr_[gs]et. | |
891 | ||
892 | * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h. | |
893 | ||
894 | * sim-if.c (sim_open): Open opcode table. | |
895 | (sim_close): Close it. | |
896 | ||
2df3850c JM |
897 | Tue Jul 28 13:06:19 1998 Doug Evans <[email protected]> |
898 | ||
899 | Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that | |
900 | accept an accumulator choice. | |
901 | * cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate. | |
902 | ||
c906108c SS |
903 | Fri Jul 24 13:00:29 1998 Doug Evans <[email protected]> |
904 | ||
905 | * m32r.c: Include cgen-mem.h. | |
906 | * traps.c (m32r_trap): Tweak for -Wall. | |
2df3850c JM |
907 | * m32rx.c: Include cgen-mem.h. |
908 | * semx.c: Regenerate, get -Wall cleanups. | |
c906108c SS |
909 | |
910 | Tue Jul 21 16:53:10 1998 Doug Evans <[email protected]> | |
911 | ||
912 | * cpu.h,extract.c: Regenerate. pc-rel calcs done on f_dispNN now. | |
2df3850c | 913 | * cpux.h,readx.c,semx.c: Ditto. |
c906108c SS |
914 | |
915 | Wed Jul 1 16:51:15 1998 Doug Evans <[email protected]> | |
916 | ||
917 | * Makefile.in: cgen_maint -> CGEN_MAINT. | |
918 | * configure.in: AC_SUBST cgen,cgendir. No longer look for guile. | |
919 | * configure: Regenerate. | |
920 | * arch.c,arch.h,cpuall.h: Regenerate. | |
921 | * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. | |
922 | * sem-switch.c,sem.c: Regenerate. | |
2df3850c JM |
923 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate. |
924 | * semx.c: Regenerate. | |
925 | * mloopx.in (icount): Moved here from genmloop.sh. | |
c906108c SS |
926 | |
927 | Sat Jun 13 07:49:23 1998 Doug Evans <[email protected]> | |
928 | ||
929 | * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall, | |
930 | load_stall,biggest_cycles. | |
931 | * m32r.c (m32r_model_mark_get_h_gr): Update. | |
932 | (m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns. | |
933 | (m32r_model_record_cti,m32r_model_record_cycles): New functions. | |
934 | * mloop.in: Call cycle init/update fns. | |
935 | * model.c: Regenerate. | |
2df3850c JM |
936 | * m32rx.c (m32rx_model_mark_get_h_gr): Update. |
937 | * mloopx.in: Call cycle init/update fns. | |
938 | * modelx.c: Regenerate. | |
939 | ||
c906108c SS |
940 | Wed Jun 10 17:39:29 1998 Doug Evans <[email protected]> |
941 | ||
942 | * traps.c: New file. Trap support moved here from sim-if.c. | |
943 | * Makefile.in (SIM_OBJS): Add traps.o | |
944 | * sim-if.c: Don't include targ-vals.h. | |
945 | (sim_engine_illegal_insn): Moved to traps.c | |
946 | * sim-main.h (SIM_CORE_SIGNAL): Define. | |
947 | (m32r_core_signal): Declare. | |
948 | * m32r-sim.h (m32r_trap): Declare. | |
949 | ||
950 | * devices.c (device_io_read_buffer): Handle cache purging via MCCR | |
951 | register. | |
952 | ||
953 | * m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h. | |
954 | (PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros. | |
955 | (TRAP_SYSCALL,TRAP_BREAKPOINT): New macros. | |
956 | ||
957 | * extract.c,sem-switch.c,sem.c: Regenerate. | |
2df3850c | 958 | * cpux.h,readx.c,semx.c: Regenerate. |
c906108c SS |
959 | |
960 | Wed May 20 00:10:40 1998 Doug Evans <[email protected]> | |
961 | ||
962 | * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro. | |
963 | * mloopx.in (extract): Set abuf.addr for proper fill nop counting. | |
964 | (execute): Count parallel insns. | |
965 | * sim-if.c (print_m32r_misc_cpu): Print count. | |
966 | * sim-main.h (M32R_MISC_PROFILE): New member parallel_count. | |
967 | ||
968 | Zero bottom two bits of pc in jmp,jl insns. | |
969 | * sem.c,sem-switch.c: Regenerate. | |
2df3850c | 970 | * semx.c: Regenerate. |
c906108c SS |
971 | |
972 | Tue May 19 16:45:33 1998 Doug Evans <[email protected]> | |
973 | ||
974 | * sim-if.c (do_trap): Treat traps 2-15 as hardware does. | |
975 | ||
976 | Sat May 16 13:04:30 1998 Doug Evans <[email protected]> | |
977 | ||
978 | * sim-if.c (sim_stop): Update call to @cpu@_engine_stop. | |
979 | (sim_sync_stop): New function. | |
980 | ||
981 | Fri May 15 16:43:27 1998 Doug Evans <[email protected]> | |
982 | ||
983 | * Makefile.in (devices.o): Add dependencies. | |
984 | ||
985 | * arch.h,cpu.c,cpu.h,cpuall.h: Regenerate. | |
986 | * sem-switch.c,sem.c: Regenerate. | |
987 | * mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}. | |
2df3850c JM |
988 | * cpux.c,cpux.h,modelx.c,semx.c: Regenerate. |
989 | * m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions. | |
990 | * mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}. | |
991 | Fix pc value passed to TRACE_INSN for second parallel insn. | |
c906108c SS |
992 | |
993 | Thu May 7 02:51:35 1998 Doug Evans <[email protected]> | |
994 | ||
995 | * Makefile.in (SIM_OBJS): Add sim-cpu.o. | |
996 | ||
997 | Wed May 6 14:51:39 1998 Doug Evans <[email protected]> | |
998 | ||
999 | * arch.h,arch.c,cpu.h,cpuall.h: Regenerate, tweaks mostly. | |
1000 | * model.c: Ditto. Reorganize model/mach data. | |
2df3850c JM |
1001 | * cpux.h: Ditto. |
1002 | * modelx.c: Ditto. | |
c906108c SS |
1003 | |
1004 | * Makefile.in (m32r.o,mloop.o,cpu.o,model.o): Add decode.h dependency. | |
2df3850c | 1005 | (m32rx.o,mloopx.o,cpux.o,modelx.o): Add decodex.h dependency. |
c906108c SS |
1006 | * decode.c,decode.h: Regenerate, introduces IDESC table. |
1007 | * mloop.in (extract16,extract32): Add IDESC support. | |
1008 | Update names of semantic handler member names. | |
1009 | (execute): Ditto. Delete call to PROFILE_COUNT_INSN. | |
2df3850c JM |
1010 | * decodex.c,decodex.h: Regenerate, introduces IDESC table. |
1011 | * mloopx.in: Add IDESC support. | |
1012 | Update names of semantic handler member names. | |
1013 | Delete call to PROFILE_COUNT_INSN. | |
c906108c SS |
1014 | |
1015 | * sem-switch.c: Regenerate. Redo computed goto label handling. | |
1016 | * sem.c: Regenerate. Call PROFILE_COUNT_INSN. | |
2df3850c JM |
1017 | * readx.c: Regenerate. Redo computed goto label handling. |
1018 | * semx.c: Regenerate. Call PROFILE_COUNT_INSN. Finish profiling | |
1019 | support. | |
c906108c SS |
1020 | |
1021 | * m32r.c (m32r_fetch_register): Change result type and args to | |
1022 | conform to sim_fetch_register interface. | |
1023 | (m32r_store_register): Ditto for sim_store_register interface. | |
2df3850c JM |
1024 | * m32rx.c (m32rx_fetch_register): Change result type and args to |
1025 | conform to sim_fetch_register interface. | |
1026 | (m32rx_store_register): Ditto for sim_store_register interface. | |
c906108c SS |
1027 | |
1028 | * sim-if.c (alloc_cpu): Delete. | |
1029 | (free_state): Uninstall modules here ... | |
1030 | (sim_open): ... and not here. Call sim_cpu_alloc_all. | |
1031 | Set default architecture/model if not specified. | |
1032 | (sim_fetch_register,sim_store_register): Rewrite. | |
1033 | ||
1034 | * sim-if.c (h_pc_get,h_pc_set): Delete. Renamed to sim_pc_[gs]et | |
1035 | and moved to common/sim-cpu.c. | |
1036 | (sim_create_inferior): Update. | |
1037 | (do_trap): Update. | |
1038 | * sim-main.h (h_pc_get,h_pc_set): Delete. | |
1039 | ||
1040 | * sim-main.h (sim_cia): Change to USI. | |
1041 | (sim_cpu): Move m32r_misc_profile before machine generated part. | |
1042 | ||
1043 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <[email protected]> | |
1044 | ||
72f4393d | 1045 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
c906108c SS |
1046 | |
1047 | Tue Apr 28 18:05:53 1998 Nick Clifton <[email protected]> | |
1048 | ||
1049 | * model.c: Rebuilt. | |
2df3850c | 1050 | * modelx.c: Rebuilt. |
c906108c SS |
1051 | |
1052 | Mon Apr 27 15:36:30 1998 Doug Evans <[email protected]> | |
1053 | ||
1054 | * cpu.h,model.c,sem-switch.c,sem.c: Regenerated. Mostly comment | |
1055 | and variable renaming due to macro insn additions. | |
1056 | * mloop.in: Update to use CGEN_INSN_NUM. | |
2df3850c JM |
1057 | * cpux.h,modelx.c,readx.c,semx.c: Regenerated. |
1058 | * mloopx.in: Update to use CGEN_INSN_NUM. | |
c906108c SS |
1059 | |
1060 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> | |
1061 | ||
1062 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1063 | * config.in: Ditto. | |
1064 | ||
1065 | Sun Apr 26 15:20:05 1998 Tom Tromey <[email protected]> | |
1066 | ||
1067 | * acconfig.h: New file. | |
1068 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
1069 | ||
1070 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
1071 | ||
1072 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1073 | * config.in: Ditto. | |
1074 | ||
1075 | Fri Apr 24 11:19:26 1998 Tom Tromey <[email protected]> | |
1076 | ||
1077 | * configure.in: Don't call sinclude. | |
1078 | ||
1079 | Mon Apr 20 16:12:35 1998 Doug Evans <[email protected]> | |
1080 | ||
1081 | * cpu.c,sem.c,sem-switch.c: Regenerate. From | |
1082 | - cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS. | |
1083 | * m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions. | |
1084 | #include cgen-ops.h. | |
2df3850c JM |
1085 | * cpux.c,readx.c,semx.c: Regenerate. |
1086 | * m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions. | |
1087 | #include cgen-ops.h. Delete inclusion of several unnecessary headers. | |
1088 | (m32r_h_accums_get): Sign extend top 8 bits. | |
1089 | ||
1090 | Tue Apr 14 14:04:07 1998 Doug Evans <[email protected]> | |
1091 | ||
1092 | * semx.c: Regenerate. | |
c906108c SS |
1093 | |
1094 | Fri Apr 10 18:22:41 1998 Doug Evans <[email protected]> | |
1095 | ||
1096 | * cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate. | |
2df3850c | 1097 | * cpux.h,decodex.c,decodex.h,readx.c,semx.c: Regenerate. |
c906108c SS |
1098 | |
1099 | Sat Apr 4 20:36:25 1998 Andrew Cagney <[email protected]> | |
1100 | ||
1101 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1102 | ||
1103 | Fri Mar 27 16:15:52 1998 Andrew Cagney <[email protected]> | |
1104 | ||
1105 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1106 | ||
1107 | Wed Mar 25 12:35:29 1998 Andrew Cagney <[email protected]> | |
1108 | ||
1109 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1110 | ||
1111 | Wed Mar 18 12:38:12 1998 Andrew Cagney <[email protected]> | |
1112 | ||
1113 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1114 | ||
1115 | Sat Mar 14 20:53:36 1998 Doug Evans <[email protected]> | |
1116 | ||
1117 | * config.in (HAVE_FCNTL_H): Add. | |
1118 | * configure: Regenerate. | |
1119 | * Makefile.in (SIM_OBJS): Add devices.o. | |
1120 | * m32r-sim.h (m32r_devices): Renamed from m32r_mspr_device. | |
1121 | (UART_*): Define m32r serial port parameters. | |
1122 | (M32R_DEVICE_ADDR,M32R_DEVICE_LEN): Define. | |
1123 | * m32r.c (device_io_{read,write}_buffer,device_error): Move from here, | |
1124 | * devices.c: To here. | |
1125 | * sim-if.c: Don't include signal.h,sim-core.h. | |
1126 | (sim_open): Use M32R_DEVICE_{ADDR,LEN} in sim_core_attach call. | |
1127 | (sim_resume): Call sim_module_{resume,suspend}. | |
1128 | * m32r.c (m32r_h_cr_{get,set}): Use register number enums. | |
1129 | ||
1130 | * tconfig.in (SIM_HANDLES_LMA): Define. | |
1131 | ||
1132 | * sim-if.c (do_trap): Result is new pc. | |
1133 | Handle --environment=operating. | |
1134 | * sem-switch.c,sem.c: Regenerate. | |
2df3850c | 1135 | * semx.c: Regenerate. |
c906108c SS |
1136 | |
1137 | Wed Mar 11 14:07:39 1998 Andrew Cagney <[email protected]> | |
1138 | ||
1139 | * sim-if.c (syscall_read_mem, syscall_write_mem): Replace | |
1140 | sim_core_*_map with read_map, write_map, exec_map resp. | |
1141 | ||
1142 | Wed Mar 4 11:36:51 1998 Doug Evans <[email protected]> | |
1143 | ||
1144 | * Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h. | |
1145 | (arch.o): Delete cpu-opc.h dependency. | |
1146 | (decode.o,model.o): Likewise. | |
2df3850c | 1147 | (decodex.o,modelx.o): Likewise. |
c906108c SS |
1148 | |
1149 | * cpu.h,model.c,sem-switch.c,sem.c: Regenerate. | |
2df3850c | 1150 | * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate. |
c906108c SS |
1151 | |
1152 | Thu Feb 26 18:38:35 1998 Andrew Cagney <[email protected]> | |
1153 | ||
1154 | * sim-if.c (sim_open): Initialize PROFILE_INFO_CPU_CALLBACK. | |
1155 | ||
1156 | * sim-if.c (sim_info): Delete. | |
1157 | ||
2df3850c JM |
1158 | Fri Feb 27 10:14:29 1998 Doug Evans <[email protected]> |
1159 | ||
1160 | * mloopx.in: Fix handling of branch in parallel with another insn. | |
1161 | * semx.c: Regenerate. | |
1162 | ||
c906108c SS |
1163 | Mon Feb 23 13:30:46 1998 Doug Evans <[email protected]> |
1164 | ||
1165 | * sim-main.h: #include symcat.h. | |
1166 | * m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg. | |
1167 | (NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros. | |
1168 | * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate. | |
1169 | * sem.c,sem-switch.c: Regenerate. | |
2df3850c JM |
1170 | * m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec. |
1171 | * mloopx.in: Rewrite. | |
1172 | * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate. | |
c906108c SS |
1173 | |
1174 | Mon Feb 23 12:27:52 1998 Nick Clifton <[email protected]> | |
1175 | ||
1176 | * m32r.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6 | |
1177 | in the backup PC register. | |
2df3850c JM |
1178 | * m32rx.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6 |
1179 | in the backup PC register. | |
c906108c SS |
1180 | |
1181 | Thu Feb 19 16:39:35 1998 Doug Evans <[email protected]> | |
1182 | ||
1183 | * m32r.c (do_lock,do_unlock): Delete. | |
1184 | * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate. | |
1185 | * sem.c,sem-switch.c: Regenerate. | |
2df3850c | 1186 | * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate. |
c906108c SS |
1187 | |
1188 | Tue Feb 17 18:18:10 1998 Doug Evans <[email protected]> | |
1189 | ||
1190 | * Makefile.in (M32R_OBJS): Add cpu.o. | |
1191 | (cpu.o): Add rule for. | |
1192 | (NL_TARGET): Define. | |
1193 | * configure.in: Add AC_CHECK_PROG(SCHEME). | |
1194 | * cpu.c: New file. | |
1195 | * cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. | |
1196 | * sem-switch.c,sem.c: Regenerate. | |
1197 | * mloop.in (execute): Update call to semantic fn. | |
2df3850c JM |
1198 | (M32RX_OBJS): Add cpux.o. |
1199 | (cpux.o): Add rule for. | |
1200 | cpux.c: New file. | |
1201 | * cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate. | |
1202 | * m32rx.c (m32rx_h_accums_{get,set}): Rewrite. | |
1203 | (m32rx_h_cr_{get,set}): New functions. | |
1204 | (m32rx_h_accums_{get,set}): New functions. | |
1205 | * mloopx.in: Rewrite main loop. | |
c906108c SS |
1206 | |
1207 | * m32r.c (do_trap): Move from here. | |
1208 | * sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support. | |
1209 | (sim_create_inferior): Use h_pc_set. | |
1210 | (h_pc_{get,set}): New functions. | |
1211 | (h_gr_{get,set}): New functions. | |
1212 | (syscall_{read,write}_mem): New functions. | |
1213 | * sim-main.h (h_{gr,pc}_{get,set}): Declare. | |
1214 | ||
1215 | Tue Feb 17 12:44:38 1998 Andrew Cagney <[email protected]> | |
1216 | ||
1217 | * sim-if.c (sim_store_register, sim_fetch_register): Pass in | |
1218 | length parameter. Return -1. | |
1219 | (sim_create_inferior): Pass 4 sim_store_register. | |
1220 | ||
1221 | Wed Feb 11 19:53:48 1998 Doug Evans <[email protected]> | |
1222 | ||
1223 | * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now. | |
1224 | ||
1225 | * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate. | |
2df3850c | 1226 | * cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate. |
c906108c SS |
1227 | |
1228 | Mon Feb 9 19:41:54 1998 Doug Evans <[email protected]> | |
1229 | ||
1230 | * decode.c, sem.c: Regenerate. | |
2df3850c JM |
1231 | * cpux.h, decodex.c, readx.c, semx.c: Regenerate. |
1232 | * m32rx.c (m32rx_h_accums_set): New function. | |
1233 | (m32rx_model_mark_[gs]et_h_gr): New function. | |
1234 | * mloopx.in: Rewrite. | |
1235 | * Makefile.in (mloopx.o): Build with -parallel. | |
1236 | * sim-main.h (_sim_cpu): Delete member `par_exec'. | |
1237 | * tconfig.in (WITH_SEM_SWITCH_FULL): Define as 0 for m32rx. | |
c906108c SS |
1238 | |
1239 | Thu Feb 5 12:44:31 1998 Doug Evans <[email protected]> | |
1240 | ||
1241 | * Makefile.in (m32r.o): Depend on cpu.h | |
1242 | (extract.o): Pass -DSCACHE_P. | |
1243 | * mloop.in (extract{16,32}): Update call to m32r_decode. | |
1244 | * arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate. | |
1245 | * extract.c,model.c,sem-switch.c,sem.c: Regenerate. | |
1246 | * sim-main.h: #include "ansidecl.h". | |
1247 | Don't include cpu-opc.h, done by arch.h. | |
2df3850c JM |
1248 | * Makefile.in (M32RX_OBJS): Build m32rx support now. |
1249 | (m32rx.o): New rule. | |
1250 | * m32r-sim.h (m32rx_h_cr_[gs]et): Define. | |
1251 | * m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC. | |
1252 | (m32rx_h_accums_get): New function. | |
1253 | * mloopx.in: Update call to m32rx_decode. Rewrite exec loop. | |
1254 | * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate. | |
c906108c SS |
1255 | |
1256 | Sun Feb 1 16:47:51 1998 Andrew Cagney <[email protected]> | |
1257 | ||
1258 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1259 | ||
1260 | Sat Jan 31 18:15:41 1998 Andrew Cagney <[email protected]> | |
1261 | ||
1262 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1263 | ||
2df3850c JM |
1264 | Thu Jan 29 11:22:00 1998 Doug Evans <[email protected]> |
1265 | ||
1266 | * Makefile.in (M32RX_OBJS): Comment out until m32rx port working. | |
1267 | * arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h. | |
1268 | * arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry. | |
1269 | ||
c906108c SS |
1270 | Tue Jan 20 14:16:02 1998 Nick Clifton <[email protected]> |
1271 | ||
1272 | * cpux.h: Fix duplicate definition of h_accums field for | |
1273 | fmt_53_sadd structure. | |
1274 | ||
2df3850c JM |
1275 | Tue Jan 20 01:42:17 1998 Doug Evans <[email protected]> |
1276 | ||
1277 | * Makefile.in: Add m32rx objs, and rules to build them. | |
1278 | * cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files. | |
1279 | * m32rx.c, mloopx.in: New files. | |
1280 | ||
c906108c SS |
1281 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> |
1282 | ||
1283 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1284 | ||
1285 | Mon Jan 19 14:13:40 1998 Doug Evans <[email protected]> | |
1286 | ||
1287 | * arch.c, arch.h, cpuall.h: New files. | |
1288 | * arch-defs.h: Deleted. | |
1289 | * mloop.in: Renamed from mainloop.in. | |
1290 | * Makefile.in: Update. | |
1291 | * sem-ops.h: Deleted. | |
1292 | * mem-ops.h: Deleted. | |
1293 | (arch): Renamed from CPU. | |
1294 | * cpu.h: New file. | |
1295 | * decode.c: Redone. | |
1296 | * decode.h: Redone. | |
1297 | * extract.c: Redone. | |
1298 | * model.c: Redone. | |
1299 | * sem-switch.c: Redone. | |
1300 | * sem.c: Renamed from semantics.c, and redone. | |
1301 | * m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update. | |
1302 | (GETTWI,SETTWI,BRANCH_NEW_PC): Define. | |
1303 | * m32r.c (WANT_CPU,WANT_CPU_M32R): Define. | |
1304 | (m32r_{fetch,store}_register): New functions. | |
1305 | (model_mark_{get,set}_h_gr): Prefix with m32r_. | |
1306 | (m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_. | |
1307 | (h_cr_{get,set}): Prefix with m32r_. | |
1308 | (do_trap): Fetch state from current_cpu, not current_state. | |
1309 | Call sim_engine_halt instead of engine_halt. | |
1310 | * sim-if.c (alloc_cpu): New function. | |
1311 | (free_state): New function. | |
1312 | (sim_open): Call sim_state_alloc, and malloc space for selected cpu | |
1313 | type. Call sim_analyze_program. | |
1314 | (sim_create_inferior): Handle selected cpu type when setting PC. | |
2df3850c | 1315 | (sim_resume): Handle m32rx. |
c906108c SS |
1316 | (sim_stop_reason): Deleted. |
1317 | (print_m32r_misc_cpu): Update. | |
2df3850c | 1318 | (sim_{fetch,store}_register): Handle m32rx. |
c906108c SS |
1319 | (sim_{read,write}): Deleted. |
1320 | (sim_engine_illegal_insn): New function. | |
1321 | * sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h. | |
1322 | Include arch.h,cpuall.h. Include cpu.h,decode.h if m32r. | |
2df3850c | 1323 | Include cpux.h,decodex.h if m32rx. |
c906108c SS |
1324 | (_sim_cpu): Include member appropriate cpu_data member for the cpu. |
1325 | (M32R_MISC_PROFILE): Renamed from M32R_PROFILE. | |
1326 | (sim_state): Delete members core,events,halt_jmp_buf. | |
1327 | Change `cpu' member to be a pointer to the cpu's struct, rather than | |
1328 | record inside the state struct. | |
1329 | * tconfig.in (WITH_DEVICES): Define here. | |
1330 | (WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu. | |
1331 | ||
1332 | Fri Jan 16 12:16:56 1998 Nick Clifton <[email protected]> | |
1333 | ||
1334 | * arch-defs.h (INSN_NAME): Fix typo. | |
1335 | ||
1336 | Mon Dec 15 23:17:11 1997 Andrew Cagney <[email protected]> | |
1337 | ||
1338 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1339 | * config.in: Ditto. | |
1340 | ||
1341 | Thu Dec 4 09:21:05 1997 Doug Evans <[email protected]> | |
1342 | ||
1343 | * m32r-sim.h (MSPR_ADDR): New macro. | |
1344 | (m32r_mspr_device): Declare. | |
1345 | (struct _device): Define. | |
1346 | * m32r.c (m32r_mspr_device): New global. | |
1347 | (device_{io_{read,write}_buffer,error}): New functions. | |
1348 | * mem-ops.h (SETMEM*): Use sim_core_write_map, not read map. | |
1349 | * sim-if.c: Delete redundant inclusion of cpu-sim.h. | |
1350 | (sim_open): Attach device to handle MSPR register. | |
1351 | * sim-main.h (WITH_DEVICES): Define as 1. | |
1352 | Include cpu-sim.h. | |
1353 | ||
1354 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1355 | ||
1356 | Wed Dec 3 18:08:44 1997 Doug Evans <[email protected]> | |
1357 | ||
1358 | * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call. | |
1359 | * configure: Regenerated. | |
1360 | ||
1361 | Wed Nov 19 12:17:08 1997 Doug Evans <[email protected]> | |
1362 | ||
1363 | * mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}. | |
1364 | * sim-if.c (sim_open): Call sim_config. | |
1365 | (sim_stop_reason): Update call to sim_signal_to_host. | |
1366 | ||
1367 | Tue Nov 18 15:33:48 1997 Doug Evans <[email protected]> | |
1368 | ||
1369 | * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS). | |
1370 | ||
1371 | Fri Oct 31 18:46:46 1997 Andrew Cagney <[email protected]> | |
1372 | ||
1373 | * sim-if.c (sim_open): Delete dead call to sim_core_attach. | |
1374 | ||
1375 | Mon Oct 27 12:43:54 1997 Doug Evans <[email protected]> | |
1376 | ||
1377 | * sem-ops.h (U{DIV,MOD}[BHSD]I): Use unsigned division. | |
1378 | ||
1379 | Fri Oct 3 09:28:00 1997 Andrew Cagney <[email protected]> | |
1380 | ||
1381 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1382 | ||
1383 | Wed Sep 24 17:38:57 1997 Andrew Cagney <[email protected]> | |
1384 | ||
1385 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1386 | ||
1387 | Tue Sep 23 11:04:38 1997 Andrew Cagney <[email protected]> | |
1388 | ||
1389 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1390 | ||
1391 | Tue Sep 23 10:19:51 1997 Andrew Cagney <[email protected]> | |
1392 | ||
1393 | * Makefile.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_SCACHE, | |
1394 | SIM_DEFAULT_MODEL): Delete, moved to common. | |
1395 | (SIM_EXTRA_CFLAGS): Update. | |
72f4393d | 1396 | |
c906108c SS |
1397 | Mon Sep 22 11:46:20 1997 Andrew Cagney <[email protected]> |
1398 | ||
1399 | * configure.in (sim_link_links): Configure non-strict memory | |
1400 | alignment. | |
1401 | ||
1402 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1403 | ||
1404 | Fri Sep 19 17:45:25 1997 Andrew Cagney <[email protected]> | |
1405 | ||
1406 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1407 | ||
1408 | Wed Sep 17 17:44:40 1997 Andrew Cagney <[email protected]> | |
1409 | ||
1410 | * sim-if.c (sim_open): Allocate memory under sim-memopt module | |
1411 | using sim_do_commandf. | |
1412 | (sim_open): Set magic-number at the start. | |
1413 | (sim_do_command): Implement. | |
1414 | ||
1415 | * sim-main.h (sim_engine_halt): Map onto engine_halt. | |
1416 | ||
1417 | Mon Sep 15 17:36:15 1997 Andrew Cagney <[email protected]> | |
1418 | ||
1419 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1420 | ||
1421 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> | |
1422 | ||
1423 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1424 | ||
1425 | Fri Sep 5 10:21:48 1997 Andrew Cagney <[email protected]> | |
1426 | ||
1427 | * Makefile.in (SIM_OBJS): Add sim-memopt.o module. | |
1428 | ||
1429 | Thu Sep 4 10:30:02 1997 Andrew Cagney <[email protected]> | |
1430 | ||
1431 | * sim-if.c (sim_open): Pass zero modulo arg to sim_core_attach. | |
1432 | ||
1433 | Wed Aug 27 18:13:22 1997 Andrew Cagney <[email protected]> | |
1434 | ||
1435 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1436 | * config.in: Ditto. | |
1437 | ||
1438 | Tue Aug 26 10:39:42 1997 Andrew Cagney <[email protected]> | |
1439 | ||
1440 | * sim-if.c (sim_kill): Delete. | |
1441 | (sim_create_inferior): Add ABFD argument. | |
1442 | (sim_load): Move setting of PC from here. | |
1443 | (sim_create_inferior): To here. | |
1444 | (sim_load): Delete, use sim-hload.c instead. | |
1445 | ||
1446 | * Makefile.in (SIM_OBJS): Add sim-hload.o module. | |
1447 | ||
1448 | Mon Aug 25 17:50:22 1997 Andrew Cagney <[email protected]> | |
1449 | ||
1450 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1451 | * config.in: Ditto. | |
1452 | ||
1453 | Mon Aug 25 15:54:08 1997 Andrew Cagney <[email protected]> | |
1454 | ||
1455 | * sim-if.c (sim_open): Add ABFD argument. | |
1456 | ||
1457 | Tue Jul 22 10:16:16 1997 Doug Evans <[email protected]> | |
1458 | ||
1459 | * sim-main.h (M32R_DEFAULT_MEM_SIZE): New macro. | |
1460 | * sim-if.c (sim_open): Use it. | |
1461 | ||
1462 | Wed Jun 4 12:48:12 1997 Andrew Cagney <[email protected]> | |
1463 | ||
1464 | * sim-main.h (WITH_ENGINE): Disable the common engine for now. | |
1465 | ||
1466 | Tue May 27 14:15:44 1997 Andrew Cagney <[email protected]> | |
1467 | ||
1468 | * sim-if.c (sim_read): Pass NULL cpu to sim_core_read_buffer. | |
1469 | (sim_write): Ditto for write. | |
1470 | ||
1471 | * m32r.c (do_trap): Ditto for read/write. | |
1472 | ||
1473 | Tue May 20 10:18:25 1997 Andrew Cagney <[email protected]> | |
1474 | ||
1475 | * sim-if.c (sim_open): Add callback argument. | |
1476 | (sim_set_callbacks, sim_callback): Delete. | |
1477 | (sim_load): Set STATE_LOADED_P. | |
1478 | ||
1479 | Mon May 19 12:55:42 1997 Andrew Cagney <[email protected]> | |
1480 | ||
1481 | * Makefile.in (SIM_OBJS): Link in sim-abort.o as a stub for | |
1482 | sim_engine_abort. | |
1483 | ||
1484 | Mon May 5 12:45:28 1997 Andrew Cagney <[email protected]> | |
1485 | ||
1486 | * sim-if.c (sim_open): Update to reflect changes to core in | |
1487 | ../common/. | |
1488 | * mem-ops.h (GETMEMQI, GETMEMHI, GETMEMSI, GETMEMDI, GETMEMUQI, | |
1489 | GETMEMUHI, GETMEMUSI, GETMEMUDI, SETMEMQI, SETMEMHI, SETMEMSI, | |
1490 | SETMEMDI, SETMEMUQI, SETMEMUHI, SETMEMUSI, SETMEMUDI): Ditto. | |
1491 | ||
1492 | Sat May 3 08:38:55 1997 Doug Evans <[email protected]> | |
1493 | ||
1494 | * decode.c (decode): Add computed goto support. | |
1495 | ||
1496 | Fri May 2 16:30:26 1997 Andrew Cagney <[email protected]> | |
1497 | ||
1498 | * mem-ops.h: Stub additional core read/write arguments. | |
1499 | ||
1500 | * sim-main.h: Declare sim_cia - type SI. | |
1501 | (struct _sim_cpu): Move base type to end per common. | |
1502 | (struct _sim_state): Ditto. | |
1503 | ||
1504 | Thu May 1 11:15:34 1997 Doug Evans <[email protected]> | |
1505 | ||
1506 | Merge from branch into devo. CGEN generic files moved to common | |
1507 | directory. K&R C support is no longer provided. | |
1508 | ||
1509 | Thu Apr 24 00:39:51 1997 Doug Evans <[email protected]> | |
1510 | ||
1511 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1512 | ||
1513 | Sat Apr 12 12:57:33 1997 Felix Lee <[email protected]> | |
1514 | ||
1515 | * Makefile.in, seman-cache.c: new file, for wingdb build. | |
1516 | * sim-alloca.h: fixed for wingdb. | |
72f4393d | 1517 | |
c906108c SS |
1518 | Mon Apr 7 13:33:29 1997 Doug Evans <[email protected]> |
1519 | ||
1520 | * decode.c (*): m32r_cgen_insn_table renamed to ..._entries. | |
1521 | * mainloop.in: Use CGEN_INSN_INDEX instead of CGEN_INSN_TYPE. | |
1522 | * simdefs.h (INSN_NAME): m32r_cgen_insn_table renamed to ..._entries. | |
1523 | ||
1524 | Fri Apr 4 19:23:12 1997 Doug Evans <[email protected]> | |
1525 | ||
1526 | * cgen-utils.in (ex_illegal): Fill in abuf->length, abuf->addr. | |
1527 | (exc_illegal): Likewise. | |
1528 | * decode.c (decode_vars): Add decode_illegal. | |
1529 | * genmloop.sh: #include "cpu-opc.h". | |
1530 | * sem-switch.c (case_INSN_ILLEGAL): Declare. | |
1531 | (labels): Add case_INSN_ILLEGAL. | |
1532 | (SWITCH): Add INSN_ILLEGAL case. | |
1533 | ||
1534 | Wed Mar 26 12:34:00 1997 Doug Evans <[email protected]> | |
1535 | ||
1536 | * model.c (model_module): Use 0 not NULL. | |
1537 | ||
1538 | * genmloop.sh (sim_main_loop): Handle k&r c. | |
1539 | ||
1540 | * sem-switch.c: Regenerate to get k&r c support. | |
1541 | * semantics.c: Likewise. | |
1542 | ||
1543 | * m32r.c (ADD_{OV,CA}_SI,SUB_{OV,CA}_SI): Renamed to {ADD,SUB}[OC]FSI. | |
1544 | (ADDCSI,SUBCSI): New functions. | |
1545 | * sem-switch.c (addv,addv3,addx,subv,subx): Fix carry bit handling. | |
1546 | * semantics.c (addv,addv3,addx,subv,subx): Fix carry bit handling. | |
1547 | ||
1548 | * simcache.c (simcache_{install,init,uninstall}): Use | |
1549 | DECLARE_MODULE_INSTALL_HANDLER. | |
1550 | (simcache_option_handler): Use DECLARE_OPTION_HANDLER. | |
1551 | ||
1552 | * utils.c: #include "semops.h". | |
1553 | ||
1554 | Tue Mar 11 14:30:26 1997 Doug Evans <[email protected]> | |
1555 | ||
1556 | * profile.c (profile_print_simcache): Fix thinko in printf text. | |
1557 | ||
1558 | * simdefs.h (struct argbuf): Add member to fmt_20 so it's not empty. | |
1559 | ||
1560 | Mon Mar 10 11:06:29 1997 Doug Evans <[email protected]> | |
1561 | ||
1562 | * m32r.c (h_cr_get): Rewrite. | |
1563 | (h_cr_set): Rewrite. | |
1564 | * sem-switch.c (rte): bcarry renamed to bcond. | |
1565 | * semantics.c (rte): Likewise. | |
1566 | * simdefs.h (CPU_STATE): Likewise. | |
1567 | ||
1568 | * config.in (HAVE_SYS_TIME_H): Add. | |
1569 | * configure.in: Check for sys/time.h. | |
1570 | * configure: Regenerated. | |
1571 | * utils.c: Include sys/time.h if present. | |
1572 | ||
1573 | * common.c (sim_parse_args): Account for NULL terminating entry | |
1574 | in long_options table. | |
1575 | ||
1576 | * genmloop.sh (RUN_FAST_P): Don't run fast if tracing. | |
1577 | Always use cache if configured in. | |
1578 | * mainloop.in (do_extract_insn{16,32}): New functions. | |
1579 | (normal,fast): Call them. Handle starting in left slot. | |
1580 | * simcache.c (simcache_option_handler): Disallow -c0. | |
1581 | * sem-switch.c (TRACE_RESULT): Redefine so no tracing. | |
1582 | ||
1583 | * profile.c (profile_print_simcache): Fix percentage calc. | |
1584 | ||
1585 | * Makefile.in (INCLUDE_DEPS): Delete simcommon.h. | |
1586 | ||
1587 | Sun Mar 9 20:42:17 1997 Doug Evans <[email protected]> | |
1588 | ||
1589 | * Makefile.in (COMMON_{PRE,POST}_CONFIG_FRAG): Add delimiters for. | |
1590 | (M32R_INCLUDE_DEPS): Use cpu-sim.h instead of m32r-sim.h. | |
1591 | Add mod-list.h. | |
1592 | (mrun.o): Don't depend on M32R_INCLUDE_DEPS. | |
1593 | (sim-if.o,m32r.o,utils.o): Likewise. | |
1594 | (common.o): Don't explicitly depend on mod-list.h. | |
1595 | (mainloop.c): Pass CPU to genmloop.sh. | |
1596 | (stamp-modules): Depend on configure. | |
1597 | (decode.o): Depend on decode,h, memops.h, semops.h, cpu-opc.h. | |
1598 | (extract.o): Depend on decode.h, memops.h, semops.h. | |
1599 | (semantics.o,seman-cache.o): Likewise. | |
1600 | (model.o,ops.o): Depend on memops.h. | |
1601 | (extr-cache.o): Disable building for the moment. | |
1602 | ||
1603 | * simcommon.h: Delete, move contents into cgen-sim.h. | |
1604 | * cgen-sim.h: Don't include ansidecl.h,bfd.h,simfns.h. | |
1605 | (UINT,CGEN_CAT3): Define. | |
1606 | ({extract,semantic}_fn_t): Renamed to {EXTRACT,SEMANTIC}_FN. | |
1607 | (decode_t): Renamed to DECODE. | |
1608 | ||
1609 | * simfns.h: Delete, contents moved to memops.h,semops.h. | |
1610 | * memops.h: New file. | |
1611 | * semops.h: New file. | |
1612 | * decode.h: Renamed from semantics.h. | |
1613 | ||
1614 | * sim-argv.h: New file. | |
1615 | * Makefile.in (memory.o,trace.o,profile.o,simcache.o,common): Add | |
1616 | dependency of sim-argv.h. | |
1617 | ||
1618 | * sim-alloca.h: New file. | |
1619 | * common.c: Include it. | |
1620 | * Makefile.in (common.o): Add dependency. | |
1621 | ||
1622 | * config.in (HAVE_TIME_H,HAVE_SYS_RESOURCE_H): Add. | |
1623 | (HAVE_GETRUSAGE,HAVE_TIME): Add. | |
1624 | * configure.in: sinclude ../common/aclocal.m4. | |
1625 | Check for headers time.h, sys/resource.h. | |
1626 | Check for functions time, getrusage. | |
1627 | (sim_link_{files,links}): Add link cpu-opc.h. | |
1628 | (sim_profile): Add simcache. | |
1629 | (SIM_AC_PROFILE): Add simcache, profile.o. | |
1630 | (simcache module): Delete extr-cache.o for now. | |
1631 | (--enable-sim-cache): Allow specification of default cache size. | |
1632 | * configure: Regenerated. | |
1633 | ||
1634 | * decode.c: #include cgen-sim.h,memops.h,semops.h,decode.h, | |
1635 | cpu-sim.h,cpu-opc.h. Don't include m32r-sim.h. | |
1636 | Regenerate. | |
1637 | ||
1638 | * extract.c: #include cgen-sim.h,decode.h,cpu-sim.h. | |
1639 | Don't include m32r-sim.h. | |
1640 | (*): Define/Undef FLD macro. Use it to reference ARGBUF. | |
1641 | Simplify profiling test with PROFILE_MODEL_P. | |
1642 | (mvfc,mvtc): Fix access of control registers. | |
1643 | * semantic.c: #include cgen-sim.h,memops.h,semops.h,decode.h,cpu-sim.h. | |
1644 | Don't include m32r-sim.h. | |
1645 | (*): Define/Undef FLD macro. Use it to reference ARGBUF. | |
1646 | Simplify profiling test with PROFILE_MODEL_P. | |
1647 | (mvfc,mvtc): Fix access of control registers. | |
1648 | ||
1649 | * sem-switch.c: New file, for GCC computed goto support. | |
1650 | ||
1651 | * genmloop.sh: Add #include's of bfd.h,callback.h,cgen-sim.h, | |
1652 | memops.h,semops.h,trace.h,cpu-sim.h. | |
1653 | (RUN_FAST_P): Change default to run fast if cache size > 0 | |
1654 | and not profiling. | |
1655 | (sim_main_loop): Record execution time. | |
1656 | Record instruction count even in fast mode. | |
1657 | (init): Allow cpu to provide init code in mainloop.in. | |
1658 | (FAST): Define as 0 or 1 depending on fast mode. | |
1659 | * mainloop.in (normal): Combine with fast case. | |
1660 | Add support for GCC computed gotos. Count simcache hits/misses. | |
1661 | (init): Initialize "switch" labels if GNUC. | |
1662 | ||
1663 | * cgen-utils.in: Don't include opcode/cgen.h. | |
1664 | Include cgen-sim.h, cpu-opc.h. | |
1665 | * common.c: Don't include simcommon.h,mod-list.h. Include cgen-sim.h. | |
1666 | * m32r-sim.h: Don't include mod-list.h | |
1667 | (RUN_FAST_P): Delete. | |
1668 | * m32r.c: Don't include profile.h. #include ansidecl.h,cgen-sim.h, | |
1669 | semops.h,memory.h,trace.h | |
1670 | (h_cr_get,h_cr_set): New functions. | |
1671 | * memory.c: #include cgen-sim.h,callback.h. | |
1672 | * ops.c: Don't include profile.h,m32r-sim.h. | |
1673 | Include cgen-sim.h,memops.h,cpu-sim.h. | |
1674 | (MEMOPS_DEFINE_INLINE): Renamed from SIMFNS_DEFINE_INLINE. | |
1675 | * trace.c: Include cgen-sim.h,cpu-opc.h. | |
1676 | * trace.h (trace_insn_{init,fini}): Declare. | |
1677 | ||
1678 | * model.c: Don't include signal.h,stdlib.h,m32r-sim.h. | |
1679 | Include cgen-sim.h,cpu-sim.h,cpu-opc.h. | |
1680 | Regenerate to get new insn aliases. | |
1681 | ||
1682 | * mrun.c: #include "ansidecl.h". | |
1683 | (STATE): Use struct sim_state instead. | |
1684 | ||
1685 | * profile.c: Surround #include <stdlib.h> with HAVE_STDLIB_H. | |
1686 | Don't include simcommon.h. Include cgen-sim.h,cpu-opc.h. | |
1687 | (PROFILE_{READ,WRITE}_MASK): Replace with PROFILE_MEMORY_MASK. | |
1688 | (profile_print_simcache): New function. | |
1689 | (profile_print): Call it. Print simulator speed stats. | |
1690 | * profile.h (PROFILE_{READ,WRITE}_MASK): Replace with | |
1691 | PROFILE_MEMORY_MASK. | |
1692 | (MODULE_PROFILE_SIMCACHE_P): Define. | |
1693 | (PROFILE_SIMCACHE_MASK): Define. | |
1694 | (PROFILE_COUNT): New members total_insn_count,exec_time. | |
1695 | New members simcache_hits,simcache_misses. | |
1696 | (PROFILE_SIMCACHE_{HITS,MISSES}): Define. | |
1697 | (PROFILE_MODEL_P): New macro. | |
1698 | (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): New macros. | |
1699 | ||
1700 | * sim-if.c: Surround #include <stdlib.h> with HAVE_STDLIB_H. | |
1701 | Don't include simcommon.h,m32r-sim.h. Include cgen-sim.h,cpu-sim.h. | |
1702 | (sim_resume): Use USING_SIMCACHE_P instead of RUN_FAST_P. | |
1703 | (sim_info): Pass verbose to profile_print. | |
1704 | ||
1705 | * simcache.c: Include cgen-sim.h,callback.h. | |
1706 | (USING_SIMCACHE_P): Replace with SIMCACHE_P. | |
1707 | (simcache_option_handler): Ensure cache size at least 2. | |
1708 | Allow config time specification of default cache size. | |
1709 | * simcache.h (struct simcache): Support GCC computed gotos. | |
1710 | (SIMCACHE_DEFAULT_CACHE_SIZE): USe CONFIG_SIM_CACHE_SIZE if defined. | |
1711 | (USING_SIMCACHE_P): New macro. | |
1712 | ||
1713 | * simdefs.h: Don't include m32r-opc.h. | |
1714 | (CGEN_MAX_SIM_INSNS): Define. | |
1715 | (CPU_STATE): Regenerate. | |
1716 | (ARGBUF): Regenerate. | |
1717 | (extract,semantic handler decls): Delete, moved to decode.h. | |
1718 | ||
1719 | * tconfig.in: Don't include cgen-sim.h,m32r-sim.h. | |
1720 | (USE_SEM_SWITCH): Define. | |
1721 | ||
1722 | * utils.c: Include bfd.h,time.h,sys/resource.h. | |
1723 | (sim_time_get,sim_time_elapsed): New functions. | |
1724 | * cgen-sim.h (SIM_TIME,sim_time_get,sim_time_elapsed): Declare. | |
1725 | ||
1726 | Fri Jan 31 20:25:06 1997 Doug Evans <[email protected]> | |
1727 | ||
1728 | * configure.in (AC_CHECK_HEADERS): Handle i386-windows. | |
1729 | * configure: Regenerated. | |
1730 | * model.c: #include <stdlib.h>. | |
1731 | * simcache.c: #include "libiberty.h". | |
1732 | * simcommon.h (alloca): Handle i386-windows. | |
1733 | ||
1734 | * common.c: #include libiberty.h. | |
1735 | (sim_signal_to_host): Return 5 if wingdb. | |
1736 | ||
1737 | Mon Jan 27 15:22:49 1997 Doug Evans <[email protected]> | |
1738 | ||
1739 | * configure.in (sim_cache): Enabled by default now, pass default | |
1740 | cache size to --enable-sim-cache. | |
1741 | * simcache.c (simcache_option_handler): Allow -c 0. | |
1742 | ||
1743 | * simdefs.h,simfns.h: Regenerate | |
1744 | * decode.c,extract.c,model.c,ops.c,semantics.c: Regenerate. | |
1745 | ||
1746 | Tue Jan 21 16:21:01 1997 Doug Evans <[email protected]> | |
1747 | ||
1748 | Add model profiling support. | |
1749 | * configure.in: Handle --enable-sim-model. | |
1750 | (sim_profile): Add model. | |
1751 | * Makefile.in (model.o): Add rule. | |
1752 | * cgen-sim.h (UNIT,INSN_TIMING,MACH,MODEL): New types. | |
1753 | * extract.c (*): Add model profiling support. | |
1754 | * m32r.c (model_mark_{get,set}_h_gr): New functions. | |
1755 | (model_mark_{busy,unbusy}_reg): New functions. | |
1756 | * profile.c (profile_option_handler): Recognize --profile model. | |
1757 | (profile_print_model): New function. | |
1758 | (profile_print): Call it. | |
1759 | * profile.h (MODULE_profile_model,MODULE_PROFILE_MODEL_P): Define. | |
1760 | (PROFILE_MODEL_MASK,PROFILE_LABEL_WIDTH): Define. | |
1761 | (PROFILE_COUNT): New members cycle_count,cti_stall_count, | |
1762 | load_stall_count,taken_count,untaken_count. | |
1763 | * semantics.c (*): Add model profiling support. | |
1764 | * simcommon.h (struct sim_state): New members mach,model. | |
1765 | * simdefs.h (CPU_PROFILE,MODEL_TYPE,UNIT_TYPE): New type. | |
1766 | (MAX_MODELS,MAX_UNITS): Define. | |
1767 | * tconfig.in (STATE_EXTRA_MEMBERS): Add cpu_profile. | |
1768 | ||
1769 | * Makefile.in (INCLUDE_DEPS): Add $(SIM_MODULES_HDRS). | |
1770 | (stamp-modules): Depend on genmodlist.sh. | |
1771 | * common.c (standard_options): Add --max-insns. | |
1772 | (copy_argv): New function. | |
1773 | * tconfig.in (SIM_HAVE_MAX_INSNS): Define. | |
1774 | * genmloop.sh: Allow mainloop.in to contain support code. | |
1775 | * mainloop.in: Move do_insn16,do_insn32 here. | |
1776 | * m32r.c (do_trap): Handle SYS_argvlen,SYS_argv,SYS_read. | |
1777 | * sim-if.c (sim_open): Don't set max insn count. | |
1778 | (sim_create_inferior): Save argv,envp. | |
1779 | * simcommon.h (struct sim_state): New members argv,envp. | |
1780 | * simdefs.h ([GS]ETTWI,[GS]ETTUWI,[GS]ETTAI): Define. | |
1781 | ([GS]ETMEMWI,[GS]ETMEMUWI,[GS]ETMEMAI): Define. | |
1782 | (ARGBUF): New members h_gr_get, h_gr_set. | |
1783 | * trace.c (trace_insn_init,trace_insn_fini): New functions. | |
1784 | (trace_printf): Print to buffer, output later by trace_insn_fini. | |
1785 | * trace.h (TRACE_INSN_{INIT,FINI}): Define. | |
1786 | ||
1787 | Thu Dec 19 16:01:59 1996 Doug Evans <[email protected]> | |
1788 | ||
1789 | * configure.in (AC_FUNC_ALLOCA): Call. | |
1790 | * configure: Regenerate. | |
1791 | * config.h (HAVE_ALLOCA_H): Add. | |
1792 | * simcommon.h: Add alloca support. | |
1793 | (DECLARE_MODULE_INSTALL_HANDLER): Define. | |
1794 | (DECLARE_OPTION_HANDLER): Define. | |
1795 | (MEM_FN): Declare using PARAMS. | |
1796 | (DECLARE_MEM_FN): Define. | |
1797 | * trace.c (trace_result): Tweak for !STDC. | |
1798 | * cgen-sim.h (UDI_FN_SUPPORT): Define if ! HAVE_LONGLONG. | |
1799 | * cgen-utils.in (disasm_sprintf): Fix va_arg call in !STDC case. | |
1800 | * common.c (sim_print_help_fn): Use PARAMS. | |
1801 | (standard_option_handler): Fix decl for !STDC systems. | |
1802 | * memory.c: #include <stdio.h> | |
1803 | (mem_flat_{install,init,uninstall}): Fix decl for !STDC systems. | |
1804 | (mem_flat_{read,write},mem_flat_option_handler): Likewise. | |
1805 | * profile.c (profile_install): Likewise. | |
1806 | (profile_option_handler): Likewise. | |
1807 | ||
1808 | Thu Dec 19 11:06:19 1996 Doug Evans <[email protected]> | |
1809 | ||
1810 | * semantics.c (*): Don't suffix big unsigned numbers with "U". | |
1811 | Prefix them with 0x instead. | |
1812 | ||
1813 | * cgen-sim.h (DI_FN_SUPPORT): Define if ! HAVE_LONGLONG. | |
1814 | (SLADI,SRADI,CONVSIDI,CONVDISI): Delete, moved to simfns.h. | |
1815 | * semantics.c (machi,maclo,macwhi,macwlo,mulhi,mullo): Implement. | |
1816 | (mulwhi,mulwlo,mvtachi,mvtaclo,rac,rach): Implement. | |
1817 | * simfns.h: Add decls for functional DI,UDI,SF,DF,XF,TF support. | |
1818 | Add support for boolean and/or. | |
1819 | * utils.c: Redo naming of DI functional support. | |
1820 | (ANDDI,ORDI,ADDDI,MULDI,GEDI,LEDI,CONVHIDI): New functions. | |
1821 | ||
1822 | Tue Dec 17 12:57:48 1996 Doug Evans <[email protected]> | |
1823 | ||
1824 | * Directory created. |