2000-03-30 Dave Brolley <brolley@redhat.com>
[platform/upstream/binutils.git] / sim / fr30 / ChangeLog
1 2000-03-30  Dave Brolley  <brolley@redhat.com>
2
3         * configure: Regenerated.
4
5 1999-10-04  Doug Evans  <devans@casey.cygnus.com>
6
7         * sem.c,sem-switch.c: Rebuild.
8         * traps.c (sim_engine_invalid_insn): New arg `vpc'.  Change type of
9         result to SEM_PC.  Return vpc.
10
11 Wed Sep 29 14:45:32 1999  Dave Brolley  <brolley@cygnus.com>
12
13         * traps.c (sim_engine_invalid_insn): Return PC.
14
15 Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
16
17         * configure: Regenerated to track ../common/aclocal.m4 changes.
18
19 1999-08-31  Doug Evans  <devans@casey.cygnus.com>
20
21         * sem.c: Rebuild.
22
23 1999-08-09  Doug Evans  <devans@casey.cygnus.com>
24
25         * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
26
27 1999-08-04  Doug Evans  <devans@casey.cygnus.com>
28
29         * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
30
31 1999-07-06  Doug Evans  <devans@casey.cygnus.com>
32
33         * cpu.h,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
34
35 1999-05-08  Felix Lee  <flee@cygnus.com>
36
37         * configure: Regenerated to track ../common/aclocal.m4 changes.
38         
39 Fri Apr 16 16:50:31 1999  Doug Evans  <devans@charmed.cygnus.com>
40
41         * devices.c (device_io_read_buffer): New arg `sd'.
42         (device_io_write_buffer): New arg `sd'.
43         (device_error): Give proper arg spec.
44
45 1999-04-10  Doug Evans  <devans@casey.cygnus.com>
46
47         * cpu.h,sem-switch.c,sem.c: Rebuild.
48
49 1999-03-27  Doug Evans  <devans@casey.cygnus.com>
50
51         * decode.c: Rebuild.
52
53 1999-03-22  Doug Evans  <devans@casey.cygnus.com>
54
55         * arch.c,arch.h,model.c: Rebuild.
56         * fr30.c (fr30bf_fetch_register): Replace calls to a_fr30_h_* with
57         calls to fr30bf_h_*.
58         (fr30bf_store_register): Ditto.
59         * traps.c (setup_int): Ditto.
60         * sim-if.c (sim_open): Update call to fr30_cgen_cpu_open.
61
62 Mon Mar 22 13:13:05 1999  Dave Brolley  <brolley@cygnus.com>
63
64         * configure.in: Use SIM_AC_OPTION_ALIGNMENT(FORCED_ALIGNMENT).
65         * configure: Regenerate.
66         * cpu.h: Regenerate.
67
68 1999-03-11  Doug Evans  <devans@casey.cygnus.com>
69
70         * arch.c,arch.h,cpu.c,cpu.h: Rebuild.
71         * fr30-sim.h (GET_H_SBIT,SET_H_SBIT): Delete.
72         (GET_H_CCR,SET_H_CCR,GET_H_SCR,SET_H_SCR,GET_H_ILM,SET_H_ILM): Delete.
73         (GET_H_PS,SET_H_PS,GET_H_DR,SET_H_DR): Delete.
74         * sim-if.c (sim_open): Update call to fr30_cgen_cpu_open.
75
76 1999-02-25  Doug Evans  <devans@casey.cygnus.com>
77
78         * cpu.h: Rebuild.
79
80 1999-02-09  Doug Evans  <devans@casey.cygnus.com>
81
82         * Makefile.in (SIM_EXTRA_DEPS): Add fr30-desc.h, delete cpu-opc.h.
83         * configure.in (sim_link_files,sim_link_links): Delete.
84         * configure: Rebuild.
85         * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
86         * fr30.c (fr30bf_model_fr30_1_u_cti): CGEN_INSN_ATTR renamed to
87         CGEN_INSN_ATTR_VALUE.
88         * mloop.in (extract-pbb): Ditto. Use idesc->length to get insn length.
89         * sim-if.c (sim_open): fr30_cgen_cpu_open renamed from
90         fr30_cgen_opcode_open.  Set disassembler.
91         (sim_close): fr30_cgen_cpu_open renamed from fr30_cgen_opcode_open.
92         * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include
93         fr30-desc.h,fr30-opc.h,fr30-sim.h.
94
95 1999-01-27  Doug Evans  <devans@casey.cygnus.com>
96
97         * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild.
98
99 1999-01-15  Doug Evans  <devans@casey.cygnus.com>
100
101         * cpu.h,decode.h,model.c: Regenerate.
102         * fr30.c (fr30bf_model_insn_before): Clear load_regs_pending.
103         (fr30bf_model_insn_after): Copy load_regs_pending to load_regs.
104         (fr30bf_model_fr30_1_u_exec): Check for load stalls.
105         (fr30bf_model_fr30_1_u_{cti,load,store}): Ditto.
106
107 1999-01-14  Doug Evans  <devans@casey.cygnus.com>
108
109         * arch.c,arch.h,cpuall.h: Regenerate.
110         * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
111         * devices.c (device_io_write_buffer): Remove some m32r cruft.
112         * fr30-sim.h (FR30_MISC_PROFILE): Delete, plus supporting macros.
113         (EIT_*,MSPR_*,MLCR_*,MPMR_*): Delete, m32r cruft.
114         * fr30.c (fr30bf_model_insn_after): Update cycle counts.
115         (check_load_stall): New function.
116         (fr30bf_model_fr30_1_u_exec): Update argument list.
117         (fr30bf_model_fr30_1_u_{cti,load,store,ldm,stm}): New functions.
118         * sim-if.c (sim_open): Comment out memory mapped device allocation.
119         Delete FR30_MISC_PROFILE handling.
120         (print_fr30_misc_cpu): Delete.
121         * sim-main.h (_sim_cpu): Delete member fr30_misc_profile.
122         * traps.c (sim_engine_invalid_insn): PCADDR->IADDR.
123
124 1999-01-11  Doug Evans  <devans@casey.cygnus.com>
125
126         * Makefile.in (fr30-clean): rm eng.h.
127
128         * sim-main.h: Delete inclusion of ansidecl.h.
129         Include sim-basics.h before cgen-types.h.
130         Delete inclusion of cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h.
131         * cpu.h,sem-switch.c,sem.c: Regenerate.
132
133 1999-01-05  Doug Evans  <devans@casey.cygnus.com>
134
135         * Makefile.in (MAIN_INCLUDE_DEPS): Delete.
136         (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete.
137         (sim-if.o,arch.o,devices.o): Use SIM_MAIN_DEPS.
138         (FR30BF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS.
139         (mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies.
140         * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
141         * fr30-sim.h (fr30bf_h_sbit_[gs]et_handler): Declare.
142         ([GS]ET_H_SBIT): Define.
143         (fr30bf_h_ccr_[gs]et_handler): Declare.
144         ([GS]ET_H_CCR): Define.
145         (fr30bf_h_scr_[gs]et_handler): Declare.
146         ([GS]ET_H_SCR): Define.
147         (fr30bf_h_ilm_[gs]et_handler): Declare.
148         ([GS]ET_H_ILM): Define.
149         (fr30bf_h_ps_[gs]et_handler): Declare.
150         ([GS]ET_H_PS): Define.
151         (fr30bf_h_dr_[gs]et_handler): Declare.
152         ([GS]ET_H_DR): Define.
153         * fr30.c (all register access fns): Rename to ..._handler.
154         (fr30bf_h_*_get_handler,fr30bf_h_*_set_handler): Rewrite to use
155         CPU or GET_H_FOO/SET_H_FOO access macros as appropriate.
156         * sim-if.c (sim_open): Model probing code moved to sim-model.c.
157
158 Fri Dec 18 17:09:34 1998  Dave Brolley  <brolley@cygnus.com>
159
160         * fr30.c (fr30bf_store_register): Call a_fr30_h_dr_set for
161         dedicated registers.
162
163 Thu Dec 17 17:17:48 1998  Dave Brolley  <brolley@cygnus.com>
164
165         * sem-switch.c,sem.c: Regenerate.
166
167 Tue Dec 15 17:39:59 1998  Dave Brolley  <brolley@cygnus.com>
168
169         * traps.c (setup_int): Correct calls to SETMEMSI.
170         (fr30_int): Must calculate new pc after saving old one.
171         * fr30.c (fr30bf_h_sbit_get): New function.
172         (fr30bf_h_sbit_set): New function.
173         (fr30bf_h_ccr_set): Use fr30bf_h_sbit_set and move stack switching
174         logic to that function.
175         * cpu.[ch],decode.c,model.c,sem-switch.c,sem.c: Regenerate.
176
177 1998-12-14  Doug Evans  <devans@casey.cygnus.com>
178
179         * configure.in: --enable-cgen-maint moved to common/aclocal.m4.
180         * configure: Regenerate.
181
182         * sem-switch.c,sem.c: Regenerate.
183
184         * traps.c (setup_int): Use enums for register numbers.
185         (fr30_int): Ditto.
186
187 1998-12-14  Dave Brolley  <brolley@cygnus.com>
188
189         * cpu.h,decode.[ch],model.c,sem-switch.c,sem.c: Regenerate.
190
191 Thu Dec 10 18:43:13 1998  Dave Brolley  <brolley@cygnus.com>
192
193         * arch.[ch],cpu.[ch],decode.c,model.c,sem-switch.c,sem.c: Regenerate.
194         * fr30.c (fr30bf_h_scr_get): Implement as separate bits.
195         (fr30bf_h_scr_set): Implement as separate bits.
196
197 Wed Dec  9 13:25:37 1998  Doug Evans  <devans@canuck.cygnus.com>
198
199         * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
200
201 Tue Dec  8 13:15:23 1998  Dave Brolley  <brolley@cygnus.com>
202
203         * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
204
205 Mon Dec  7 14:35:23 1998  Dave Brolley  <brolley@cygnus.com>
206
207         * traps.c (fr30_inte): New function.
208         * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
209
210 1998-12-05  Doug Evans  <devans@casey.cygnus.com>
211
212         * cpu.h,cpuall.h,decode.c,sem-switch.c,sem.c: Regenerate.
213         * mloop.in (extract): Make static inline.  Rewrite.
214         (execute): Check ARGBUF_PROFILE_P before profiling.
215         Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI.
216
217 Fri Dec  4 16:18:25 1998  Doug Evans  <devans@canuck.cygnus.com>
218
219         * sem.c,sem-switch.c: Regenerate.
220         * cpu.h,decode.c: Regenerate.
221
222 Fri Dec  4 17:09:27 1998  Dave Brolley  <brolley@cygnus.com>
223
224         * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
225
226 Fri Dec  4 00:22:43 1998  Doug Evans  <devans@canuck.cygnus.com>
227
228         * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
229
230 Thu Dec  3 17:33:16 1998  Dave Brolley  <brolley@cygnus.com>
231
232         * fr30.c (fr30bf_h_ccr_get): New function.
233         (fr30bf_h_ccr_set): New function.
234         (fr30bf_h_ps_get): Use ccr access function.
235         (fr30bf_h_ps_set): Use ccr access function.
236         (fr30bf_h_scr_get): New function.
237         (fr30bf_h_scr_set): New function.
238         (fr30bf_h_ilm_get): New function.
239         (fr30bf_h_ilm_set): New function
240         (fr30bf_h_ps_get): Implement src and ilm.
241         (fr30bf_h_ps_set): Implement src and ilm.
242
243         * arch.c,arch.h,cpu.h,decode.c,decode.h,model.c,
244         sem-switch.c,sem.c: Regenerate.
245
246 Thu Dec  3 00:15:11 1998  Doug Evans  <devans@canuck.cygnus.com>
247
248         * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate.
249
250 1998-11-30  Doug Evans  <devans@casey.cygnus.com>
251
252         * mloop.in (extract-pbb): Add delay slot support.
253         * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate.
254
255 Thu Nov 26 11:28:30 1998  Dave Brolley  <brolley@cygnus.com>
256
257         * cpu.h,decode.c,model.c,sem.c,sem-switch.c: Regenerated.
258
259 Mon Nov 23 18:30:36 1998  Dave Brolley  <brolley@cygnus.com>
260
261         * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerated.
262
263 1998-11-20  Doug Evans  <devans@tobor.to.cygnus.com>
264
265         * fr30-sim.h (*-REGNUM): Sync up with gdb.
266         * fr30.c (decode_gdb_dr_regnum): New function.
267         (fr30bf_fetch_register): Implement.
268         (fr30bf_store_register): Ditto.
269         (fr30bf_h_ps_get,fr30bf_h_ps_set): Ditto.
270         (fr30bf_h_dr_get,fr30bf_h_dr_set): New functions.
271         * sem-switch.c,sem.c: Rebuild.
272         * traps.c (setup_int): New function
273         (fr30_int): Handle all int insn processing here.
274         Don't save ps,pc if breakpoint trap.
275         * cpu.c,cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.
276
277 Thu Nov 19 16:05:09 1998  Dave Brolley  <brolley@cygnus.com>
278
279         * traps.c (fr30_int): Correct register usage.
280         * arch.c: Regenerated.
281         * arch.h: Regenerated.
282         * cpu.c: Regenerated.
283         * cpu.h: Regenerated.
284         * decode.c: Regenerated.
285         * decode.h: Regenerated.
286         * model.c: Regenerated.
287         * sem-switch.c: Regenerated.
288         * sem.c: Regenerated.
289
290 Wed Nov 18 21:39:37 1998  Dave Brolley  <brolley@cygnus.com>
291
292         * fr30-sim.h (TRAP_SYSCALL, TRAP_BREAKPOINT): Redefine for fr30.
293         * fr30.c (fr30bf_h_ps_get): New function.
294         (fr30bf_h_ps_set): New function.
295         * mloop.in: Set up fast-pbb model for fr30.
296         * traps.c (fr30_int): New function.
297         * arch.c: Regenerated.
298         * arch.h: Regenerated.
299         * cpu.c: Regenerated.
300         * cpu.h: Regenerated.
301         * decode.c: Regenerated.
302         * model.c: Regenerated.
303         * sem-switch.c: Regenerated.
304         * sem.c: Regenerated.
305
306 1998-11-18  Doug Evans  <devans@casey.cygnus.com>
307
308         * Makefile.in (FR30_OBJS): Delete extract.o.
309         (FR30BF_INCLUDE_DEPS): Add cgen-engine.h.
310         (extract.o): Delete rule for.
311         * mloop.in: Rewrite.
312         * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild.
313
314 Wed Nov 18 11:31:21 1998  Dave Brolley  <brolley@cygnus.com>
315
316         * sem-switch.c: Regenerated.
317         * sem.c: Regenerated.
318
319 Mon Nov 16 19:23:44 1998  Dave Brolley  <brolley@cygnus.com>
320
321         * arch.c: Regenerated.
322         * arch.h: Regenerated.
323         * cpu.c: Regenerated.
324         * cpu.h: Regenerated.
325         * decode.c: Regenerated.
326         * decode.h: Regenerated.
327         * extract.c: Regenerated.
328         * model.c: Regenerated.
329         * sem-switch.c: Regenerated.
330         * sem.c: Regenerated.
331
332 Thu Nov 12 19:27:50 1998  Dave Brolley  <brolley@cygnus.com>
333
334         * arch.c: Regenerated.
335         * arch.h: Regenerated.
336         * cpu.c: Regenerated.
337         * cpu.h: Regenerated.
338         * decode.c: Regenerated.
339         * decode.h: Regenerated.
340         * extract.c: Regenerated.
341         * model.c: Regenerated.
342         * sem-switch.c: Regenerated.
343         * sem.c: Regenerated.
344         * fr30.c: Get rid of unused functions.
345
346 Mon Nov  9 18:25:47 1998  Dave Brolley  <brolley@cygnus.com>
347
348         * arch.c: Regenerated.
349         * arch.h: Regenerated.
350         * cpu.c: Regenerated.
351         * cpu.h: Regenerated.
352         * decode.c: Regenerated.
353         * decode.h: Regenerated.
354         * extract.c: Regenerated.
355         * model.c: Regenerated.
356         * sem-switch.c: Regenerated.
357         * sem.c: Regenerated.
358         * fr30.c: Get rid of m32r stuff. Flesh out fr30 stuff.
359
360 Thu Nov  5 15:26:22 1998  Dave Brolley  <brolley@cygnus.com>
361
362         * cpu.h: Regenerated.
363
364 Tue Oct 27 15:39:48 1996  Dave Brolley  <brolley@cygnus.com>
365
366         * Directory created.