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