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