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