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