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