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