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