OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [sim/] [m32r/] [ChangeLog] - Blame information for rev 1775

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.