3 * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
7 * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
11 * cpu.h,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
15 * configure: Regenerated to track ../common/aclocal.m4 changes.
19 * devices.c (device_io_read_buffer): New arg `sd'.
20 (device_io_write_buffer): New arg `sd'.
21 (device_error): Give proper arg spec.
25 * cpu.h,sem-switch.c,sem.c: Rebuild.
33 * arch.c,arch.h,model.c: Rebuild.
34 * fr30.c (fr30bf_fetch_register): Replace calls to a_fr30_h_* with
36 (fr30bf_store_register): Ditto.
37 * traps.c (setup_int): Ditto.
38 * sim-if.c (sim_open): Update call to fr30_cgen_cpu_open.
42 * configure.in: Use SIM_AC_OPTION_ALIGNMENT(FORCED_ALIGNMENT).
43 * configure: Regenerate.
48 * arch.c,arch.h,cpu.c,cpu.h: Rebuild.
49 * fr30-sim.h (GET_H_SBIT,SET_H_SBIT): Delete.
50 (GET_H_CCR,SET_H_CCR,GET_H_SCR,SET_H_SCR,GET_H_ILM,SET_H_ILM): Delete.
51 (GET_H_PS,SET_H_PS,GET_H_DR,SET_H_DR): Delete.
52 * sim-if.c (sim_open): Update call to fr30_cgen_cpu_open.
60 * Makefile.in (SIM_EXTRA_DEPS): Add fr30-desc.h, delete cpu-opc.h.
61 * configure.in (sim_link_files,sim_link_links): Delete.
63 * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
64 * fr30.c (fr30bf_model_fr30_1_u_cti): CGEN_INSN_ATTR renamed to
66 * mloop.in (extract-pbb): Ditto. Use idesc->length to get insn length.
67 * sim-if.c (sim_open): fr30_cgen_cpu_open renamed from
68 fr30_cgen_opcode_open. Set disassembler.
69 (sim_close): fr30_cgen_cpu_open renamed from fr30_cgen_opcode_open.
70 * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
71 fr30-desc.h,fr30-opc.h,fr30-sim.h.
75 * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
79 * cpu.h,decode.h,model.c: Regenerate.
80 * fr30.c (fr30bf_model_insn_before): Clear load_regs_pending.
81 (fr30bf_model_insn_after): Copy load_regs_pending to load_regs.
82 (fr30bf_model_fr30_1_u_exec): Check for load stalls.
83 (fr30bf_model_fr30_1_u_{cti,load,store}): Ditto.
87 * arch.c,arch.h,cpuall.h: Regenerate.
88 * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
89 * devices.c (device_io_write_buffer): Remove some m32r cruft.
90 * fr30-sim.h (FR30_MISC_PROFILE): Delete, plus supporting macros.
91 (EIT_*,MSPR_*,MLCR_*,MPMR_*): Delete, m32r cruft.
92 * fr30.c (fr30bf_model_insn_after): Update cycle counts.
93 (check_load_stall): New function.
94 (fr30bf_model_fr30_1_u_exec): Update argument list.
95 (fr30bf_model_fr30_1_u_{cti,load,store,ldm,stm}): New functions.
96 * sim-if.c (sim_open): Comment out memory mapped device allocation.
97 Delete FR30_MISC_PROFILE handling.
98 (print_fr30_misc_cpu): Delete.
99 * sim-main.h (_sim_cpu): Delete member fr30_misc_profile.
100 * traps.c (sim_engine_invalid_insn): PCADDR->IADDR.
104 * Makefile.in (fr30-clean): rm eng.h.
106 * sim-main.h: Delete inclusion of ansidecl.h.
107 Include sim-basics.h before cgen-types.h.
108 Delete inclusion of cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
109 * cpu.h,sem-switch.c,sem.c: Regenerate.
113 * Makefile.in (MAIN_INCLUDE_DEPS): Delete.
114 (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete.
115 (sim-if.o,arch.o,devices.o): Use SIM_MAIN_DEPS.
116 (FR30BF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS.
117 (mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies.
118 * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
119 * fr30-sim.h (fr30bf_h_sbit_[gs]et_handler): Declare.
120 ([GS]ET_H_SBIT): Define.
121 (fr30bf_h_ccr_[gs]et_handler): Declare.
122 ([GS]ET_H_CCR): Define.
123 (fr30bf_h_scr_[gs]et_handler): Declare.
124 ([GS]ET_H_SCR): Define.
125 (fr30bf_h_ilm_[gs]et_handler): Declare.
126 ([GS]ET_H_ILM): Define.
127 (fr30bf_h_ps_[gs]et_handler): Declare.
128 ([GS]ET_H_PS): Define.
129 (fr30bf_h_dr_[gs]et_handler): Declare.
130 ([GS]ET_H_DR): Define.
131 * fr30.c (all register access fns): Rename to ..._handler.
132 (fr30bf_h_*_get_handler,fr30bf_h_*_set_handler): Rewrite to use
133 CPU or GET_H_FOO/SET_H_FOO access macros as appropriate.
134 * sim-if.c (sim_open): Model probing code moved to sim-model.c.
138 * fr30.c (fr30bf_store_register): Call a_fr30_h_dr_set for
143 * sem-switch.c,sem.c: Regenerate.
147 * traps.c (setup_int): Correct calls to SETMEMSI.
148 (fr30_int): Must calculate new pc after saving old one.
149 * fr30.c (fr30bf_h_sbit_get): New function.
150 (fr30bf_h_sbit_set): New function.
151 (fr30bf_h_ccr_set): Use fr30bf_h_sbit_set and move stack switching
152 logic to that function.
153 * cpu.[ch],decode.c,model.c,sem-switch.c,sem.c: Regenerate.
157 * configure.in: --enable-cgen-maint moved to common/aclocal.m4.
158 * configure: Regenerate.
160 * sem-switch.c,sem.c: Regenerate.
162 * traps.c (setup_int): Use enums for register numbers.
167 * cpu.h,decode.[ch],model.c,sem-switch.c,sem.c: Regenerate.
171 * arch.[ch],cpu.[ch],decode.c,model.c,sem-switch.c,sem.c: Regenerate.
172 * fr30.c (fr30bf_h_scr_get): Implement as separate bits.
173 (fr30bf_h_scr_set): Implement as separate bits.
177 * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
181 * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
185 * traps.c (fr30_inte): New function.
186 * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
190 * cpu.h,cpuall.h,decode.c,sem-switch.c,sem.c: Regenerate.
191 * mloop.in (extract): Make static inline. Rewrite.
192 (execute): Check ARGBUF_PROFILE_P before profiling.
193 Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
197 * sem.c,sem-switch.c: Regenerate.
198 * cpu.h,decode.c: Regenerate.
202 * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
206 * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
210 * fr30.c (fr30bf_h_ccr_get): New function.
211 (fr30bf_h_ccr_set): New function.
212 (fr30bf_h_ps_get): Use ccr access function.
213 (fr30bf_h_ps_set): Use ccr access function.
214 (fr30bf_h_scr_get): New function.
215 (fr30bf_h_scr_set): New function.
216 (fr30bf_h_ilm_get): New function.
217 (fr30bf_h_ilm_set): New function
218 (fr30bf_h_ps_get): Implement src and ilm.
219 (fr30bf_h_ps_set): Implement src and ilm.
221 * arch.c,arch.h,cpu.h,decode.c,decode.h,model.c,
222 sem-switch.c,sem.c: Regenerate.
226 * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
230 * mloop.in (extract-pbb): Add delay slot support.
231 * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
235 * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerated.
239 * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerated.
243 * fr30-sim.h (*-REGNUM): Sync up with gdb.
244 * fr30.c (decode_gdb_dr_regnum): New function.
245 (fr30bf_fetch_register): Implement.
246 (fr30bf_store_register): Ditto.
247 (fr30bf_h_ps_get,fr30bf_h_ps_set): Ditto.
248 (fr30bf_h_dr_get,fr30bf_h_dr_set): New functions.
249 * sem-switch.c,sem.c: Rebuild.
250 * traps.c (setup_int): New function
251 (fr30_int): Handle all int insn processing here.
252 Don't save ps,pc if breakpoint trap.
253 * cpu.c,cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
257 * traps.c (fr30_int): Correct register usage.
258 * arch.c: Regenerated.
259 * arch.h: Regenerated.
260 * cpu.c: Regenerated.
261 * cpu.h: Regenerated.
262 * decode.c: Regenerated.
263 * decode.h: Regenerated.
264 * model.c: Regenerated.
265 * sem-switch.c: Regenerated.
266 * sem.c: Regenerated.
270 * fr30-sim.h (TRAP_SYSCALL, TRAP_BREAKPOINT): Redefine for fr30.
271 * fr30.c (fr30bf_h_ps_get): New function.
272 (fr30bf_h_ps_set): New function.
273 * mloop.in: Set up fast-pbb model for fr30.
274 * traps.c (fr30_int): New function.
275 * arch.c: Regenerated.
276 * arch.h: Regenerated.
277 * cpu.c: Regenerated.
278 * cpu.h: Regenerated.
279 * decode.c: Regenerated.
280 * model.c: Regenerated.
281 * sem-switch.c: Regenerated.
282 * sem.c: Regenerated.
286 * Makefile.in (FR30_OBJS): Delete extract.o.
287 (FR30BF_INCLUDE_DEPS): Add cgen-engine.h.
288 (extract.o): Delete rule for.
290 * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
294 * sem-switch.c: Regenerated.
295 * sem.c: Regenerated.
299 * arch.c: Regenerated.
300 * arch.h: Regenerated.
301 * cpu.c: Regenerated.
302 * cpu.h: Regenerated.
303 * decode.c: Regenerated.
304 * decode.h: Regenerated.
305 * extract.c: Regenerated.
306 * model.c: Regenerated.
307 * sem-switch.c: Regenerated.
308 * sem.c: Regenerated.
312 * arch.c: Regenerated.
313 * arch.h: Regenerated.
314 * cpu.c: Regenerated.
315 * cpu.h: Regenerated.
316 * decode.c: Regenerated.
317 * decode.h: Regenerated.
318 * extract.c: Regenerated.
319 * model.c: Regenerated.
320 * sem-switch.c: Regenerated.
321 * sem.c: Regenerated.
322 * fr30.c: Get rid of unused functions.
326 * arch.c: Regenerated.
327 * arch.h: Regenerated.
328 * cpu.c: Regenerated.
329 * cpu.h: Regenerated.
330 * decode.c: Regenerated.
331 * decode.h: Regenerated.
332 * extract.c: Regenerated.
333 * model.c: Regenerated.
334 * sem-switch.c: Regenerated.
335 * sem.c: Regenerated.
336 * fr30.c: Get rid of m32r stuff. Flesh out fr30 stuff.
340 * cpu.h: Regenerated.