1
2006-12-21 Hans-Peter Nilsson <hp@axis.com>
3
* config.in, configure: Regenerate.
5
2006-10-18 Dave Brolley <brolley@redhat.com>
7
* Contribute the following changes:
9
2006-06-14 Dave Brolley <brolley@redhat.com>
11
* sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
12
(sh64_fpref): New functions.
13
* sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
14
(sh64_fpref): New functions.
15
(sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a,
17
(sh2e_mach): New MACH.
18
(sh2a_fpu_mach): New MACH.
19
(sh2a_nofpu_mach): New MACH.
20
(sh4_nofpu): New MACH.
21
(sh4a_mach): New MACH.
22
(sh4a_nofpu_mach): New MACH.
23
(sh4al_mach): New MACH.
24
* Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass
25
archfile to CGEN script.
26
* arch.c: Regenerated.
27
* arch.h: Regenerated.
30
* cpuall.h: Regenerated.
31
* decode-compact.c: Regenerated.
32
* decode-compact.h: Regenerated.
33
* decode-media.c: Regenerated.
34
* decode-media.h: Regenerated.
35
* defs-compact.h: Regenerated.
36
* defs-media.h: Regenerated.
37
* sem-compact-switch.c: Regenerated.
38
* sem-compact.c: Regenerated.
39
* sem-media-switch.c: Regenerated.
40
* sem-media.c: Regenerated.
41
* sh-desc.c: Regenerated.
42
* sh-desc.h: Regenerated.
43
* sh-opc.h: Regenerated.
45
2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
47
* configure: Regenerated.
49
2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
51
* configure: Regenerated.
53
2005-05-02 Corinna Vinschen <vinschen@redhat.com>
55
* sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
58
2005-04-15 Corinna Vinschen <vinschen@redhat.com>
60
* configure.ac: New file.
61
* configure.in: Remove.
62
* configure: Regenerate.
63
* defs-media.h (sem_fields): Add missing sfmt_ldhil member.
64
* sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
65
(sim_create_inferior): Ditto.
67
2004-12-08 Hans-Peter Nilsson <hp@axis.com>
69
* configure: Regenerate for ../common/aclocal.m4 update.
71
Fri Feb 21 19:49:45 2003 J"orn Rennecke <joern.rennecke@superh.com>
73
* sem-media-switch.c, sem-media.c: Regenerate.
75
2002-06-24 Richard Sandiford <rsandifo@redhat.com>
77
* sh64.c: Update path of "callback.h".
79
2002-06-20 Elena Zannoni <ezannoni@redhat.com>
81
* sh64.c: Include correct file for register numbers.
83
Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
85
* sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
88
2001-07-05 Ben Elliston <bje@redhat.com>
90
* Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
91
(stamp-desc): Likewise.
92
(stamp-cpu): Likewise.
93
(stamp-defs-compact): Likewise.
94
(stamp-defs-media): Likewise.
95
(stamp-decode-compact): Likewise.
96
(stamp-decode-media): Likewise.
98
2001-03-30 Ben Elliston <bje@redhat.com>
100
* sim-if.c (sim_open): Set sh64_idesc_{media,compact} to NULL.
101
* sh64-sim.h (sh64_idesc_{compact,media}): Declare extern.
102
* sh64.c (sh64_idesc_{compact,media}): Make non-static.
104
2001-01-30 Ben Elliston <bje@redhat.com>
106
* sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
107
(trap_handler): Implement these syscalls.
108
(count_argc): New function.
110
2001-01-24 Alexandre Oliva <aoliva@redhat.com>
112
* sh64.c (trap_handler): Implement time.
114
* sh64.c (fetch_str): New function.
115
(trap_handler): Re-implement write, and implement lseek, read,
118
2001-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
120
* sh64.c (sh64_fetch_register): When fetching the PC, return the
121
PC value and set the LSB according to the current ISA.
123
2001-01-18 Ben Elliston <bje@redhat.com>
125
* sh64.c (trap_handler): Use sim_engine_halt to indicate a program
126
has terminated, not exit!
128
2001-01-12 Ben Elliston <bje@redhat.com>
130
* sh64.c (sh64_fcnvds): Re-implement.
132
* sh64.c: Include "bfd.h".
133
(trap_handler): New function. Consolidate function bodies of
134
sh64_trapa and sh64_compact_trapa.
135
(sh64_trapa): Use it.
136
(sh64_compact_trapa): Likewise.
138
2001-01-11 Ben Elliston <bje@redhat.com>
140
* sem-media.c, sem-media-switch.c: Regenerate.
141
* sem-compact.c, sem-compact-switch.c: Likewise.
143
* sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
145
* cpu.h, sh-desc.c, sh-desc.h, sh-opc.h: Regenerate.
146
* decode-media.c, decode-media.h, defs-media.h: Likewise.
147
* sem-compact.c, sem-compact-switch.c: Likewise.
148
* sem-media.c, sem-media-switch.c: Likewise.
150
2001-01-10 Ben Elliston <bje@redhat.com>
152
* sim-main.h (CIA_SET): Encode the current instruction set mode
153
when setting the cia.
155
2001-01-08 Ben Elliston <bje@redhat.com>
157
* sh64.c (sh64_store_register): Do not set insn set mode--allow
158
sh64_h_pc_set() to do it.
159
(shmedia_init_cpu): Do not initialise the insn set mode--let the
160
loader set it based on bit 0 of the executable's starting address.
161
(shcompact_init_cpu): Likewise.
162
* mloop-compact.c (sh64_compact_pbb_begin): Emit a warning message
163
about malformed programs which have illegal insns in delay slots.
164
(sh64_compact_pbb_cti_chain): Examine the least significant bit of
165
the new pc, not the current instruction set mode to determine if
166
the next pbb in the chain will consist of SHmedia instructions.
167
* mloop-media.c (sh64_media_pbb_cti_chain): Likewise for SHcompact
168
switches. Set bit 0 when setting the pc for the next SHmedia pbb.
170
* cpu.c, cpu.h: Regenerate.
171
* sem-compact.c, sem-compact-switch.c: Likewise.
172
* sem-media.c, sem-media-switch.c: Likewise.
174
* sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
175
not stdio functions to emit output when executing write traps.
177
2001-01-07 Alexandre Oliva <aoliva@redhat.com>
179
* sh64.c (sh64_compact_trapa): Support writing to stderr. Flush
180
output stream after each (compound) write.
182
2001-01-06 Ben Elliston <bje@redhat.com>
184
* sem-media.c, sem-media-switch.c: Regenerate.
186
2001-01-04 Ben Elliston <bje@redhat.com>
188
* sem-compact.c, sem-compact-switch.c: Regenerate.
191
2001-01-03 Ben Elliston <bje@redhat.com>
193
* cpu.c, cpu.h: Regenerate.
194
* sem-media.c, sem-media-switch.c: Likewise.
196
2001-01-02 Ben Elliston <bje@redhat.com>
198
* sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
201
* sem-compact.c, sem-compact-switch.c: Regenerate.
203
2000-12-30 Alexandre Oliva <aoliva@redhat.com>
205
* sh64.c (sh64_nsb): Re-implement correctly.
207
2000-12-26 Alexandre Oliva <aoliva@redhat.com>
209
* sh64.c (sh64_nsb): Re-implement.
211
2000-12-27 Ben Elliston <bje@redhat.com>
213
* cpu.c, cpu.h: Regenerate.
214
* sem-compact.c, sem-compact-switch.c: Likewise.
215
* sem-media.c, sem-media-switch.c: Likewise.
216
* sh-desc.c: Likewise.
218
2000-12-26 Ben Elliston <bje@redhat.com>
220
* mloop-compact.in, mloop-media.in: Remove.
221
* mloop-compact.c, mloop-media.c: New files.
222
* eng-compact.c, eng-media.c: Likewise.
223
* Makefile.in (mloop-compact.c): Remove target.
224
(stamp-mloop-compact): Likewise.
225
(mloop-media.c): Likewise.
226
(stamp-mloop-media): Likewise.
227
(sh64-clean): Update.
228
(stamp-mloop): Remove.
230
2000-12-23 Ben Elliston <bje@redhat.com>
232
* sh64.c (sh64_prepare_run): Rename from shmedia_prepare_run.
233
(shcompact_prepare_run): Remove.
234
(sh2_mach, sh3_mach, sh3e_mach, sh4_mach, sh5_mach): Update.
236
2000-12-22 Ben Elliston <bje@redhat.com>
238
* sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
240
(sh64_engine_run_full): Only compute idesc tables once.
241
(sh64_engine_run_fast): Likewise.
242
(shmedia_prepare_run): Do nothing.
243
(shcompact_prepare_run): Likewise.
245
* sem-compact.c, sem-compact-switch.c: Regenerate.
246
* sem-media.c, sem-media-switch.c: Likewise.
248
2000-12-19 Ben Elliston <bje@redhat.com>
250
* sem-media.c, sem-media-switch.c: Regenerate.
252
2000-12-15 Ben Elliston <bje@redhat.com>
254
* sh64.c (sh64_store_register): When storing a new PC, set ISA
255
mode based on the value of bit 0.
257
* sh64.c: Include "sim-sh64.h" for GDB interfacing.
258
(sh64_fetch_register): Implement.
259
(sh64_store_register): Likewise.
261
* sh64-sim.h (sh64_fmacs): Declare.
262
(sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
264
* sem-media.c, sem-media-switch.c: Regenerate.
266
2000-12-13 Ben Elliston <bje@redhat.com>
268
* sh64-sim.h (sh64_compact_trapa): Renamed from sh64_trapa.
269
(sh64_trapa): Renamed from sh64_trap.
270
* sh64.c (sh64_trapa): Call sh64_compact_trapa for handling.
271
Apply renaming described above.
273
* decode-media.c, decode-media.h, defs-media.h: Regenerate.
274
* sem-media.c sem-media-switch.c: Likewise.
275
* sh-desc.c, sh-desc.h, sh-opc.h: Likewise.
277
2000-12-12 Ben Elliston <bje@redhat.com>
279
* cpu.c, cpu.h, sh-desc.c: Regenerate.
280
* sem-media.c, sem-media-switch.c: Likewise.
281
* sem-compact.c, sem-compact-switch.c: Likewise.
282
* sh64-sim.h (sh64_ftrvs): Declare.
283
* sh64.c (sh64_ftrvs): Bug fixes.
285
* sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
286
(sh64_fcmpgts): Likewise.
288
2000-12-11 Ben Elliston <bje@redhat.com>
290
* decode-media.c, decode-media.h: Regenerate.
291
* defs-media.h: Likewise.
292
* sem-media.c, sem-media-switch.c: Likewise.
293
* sh-desc.c: Likewise.
295
2000-12-08 Ben Elliston <bje@redhat.com>
297
* decode-media.c, decode-media.h: Regenerate.
298
* defs-media.h: Likewise.
299
* sem-media.c, sem-media-switch.c: Likewise.
301
2000-12-07 Ben Elliston <bje@redhat.com>
303
* decode-media.c, decode-media.h: Regenerate.
304
* sem-media.c, sem-media-switch.c: Likewise.
306
* defs-media.h: Regenete.
307
* decode-compact.c, decode-media.c: Likewise.
309
2000-12-06 Ben Elliston <bje@redhat.com>
311
* sh64.c (sh64_fcmpund): Return a BI.
312
(sh64_fcmpuns): Likewise.
313
(sh64_nsb): Treat source value as unsigned.
314
(sh64_compact_model_insn_before): New function.
315
(sh64_media_model_insn_before): Likewise.
316
(sh64_compact_model_insn_after): Likewise.
317
(sh64_media_model_insn_after): Likewise.
318
(sh_models): Use sh5_mach for "sh5".
319
* sh64-sim.h: Add missing function prototypes.
321
* cpu.c, cpu.h, defs-media.h, sh-desc.c: Regenerate.
322
* decode-media.c, decode-media.h: Likewise.
323
* sem-media.c, sem-media-switch.c: Likewise.
325
2000-12-05 Ben Elliston <bje@redhat.com>
327
* mloop-compact.in, mloop-media.in: Use @prefix@.
328
* Makefile.in (stamp-mloop-compact): Pass -outfile-suffix option
329
to make generated files safe in the presence of parallel makes.
330
(stamp-mloop-media): Likewise.
332
* decode-media.c, defs-media.h: Regenerate.
334
2000-12-04 Ben Elliston <bje@redhat.com>
336
* sh64-sim.h: Add function prototypes from sh64.c.
338
* Makefile.in (SH64_OBJS): Add ISA variant objects.
339
(SIM_EXTRA_DEPS): Do not depend on opcodes headers.
340
(SH64_INCLUDE_DEPS): Update for ISA variants.
341
(stamp-mloop-compact, stamp-mloop-media): New targets.
342
(decode-compact.o, sem-compact.o): New rules.
343
(decode-media.o, sem-media.o): Likewise.
344
(sh64-clean): Update.
345
(stamp-all, stamp-mloop, stamp-decode, stamp-defs): New targets.
346
(stamp-desc, stamp-cpu): Likewise.
347
(stamp-defs-compact, stamp-defs-media): Likewise.
348
(stamp-decode-compact, stamp-decode-media): Likewise.
350
* defs-compact.h, defs-media.h: Regenerate.
352
2000-12-03 Ben Elliston <bje@redhat.com>
354
* sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
355
(sh64_fcmpged, sh64_fcmpges): Likewise.
356
(sh64_fcmpgtd, sh64_fcmpgts): Likewise.
358
* sh64.c (sh64_endian): New function.
359
(sh64_fcmpeqd, sh64_fcmpeqs): Return a BI.
360
(sh64_fcmpged, sh64_fcmpges): Likewise.
361
(sh64_fcmpgtd, sh64_fcmpgts): Likewise.
362
(sh64_trap): Implement a basic syscall facility.
363
(sh64_trapa): Exit with return code in R5, not 0.
364
(sh64_model_sh5_u_exec): Remove.
365
(sh64_engine_run_full): New function.
366
(sh64_engine_run_fast): Likewise.
367
(shmedia_prepare_run): Likewise.
368
(shcompact_prepare_run): Likewise.
369
(sh64_get_idata): Likewise.
370
(sh64_init_cpu): Likewise.
371
(shmedia_init_cpu): Likewise.
372
(shcompact_init_cpu): Likewise.
373
(sh64_model_init): Likewise.
375
(sh5_imp_properties): Likewise.
376
(sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
378
* sem-compact.c, sem-compact-switch.c: Regenerate.
380
2000-12-01 Ben Elliston <bje@redhat.com>
382
* sh64-sim.h (sh64_endian): Declare.
383
* sim-main.h (sim_cia): Use UDI, not USI.
384
(WITH_PROFILE_MODEL_P): Remove.
385
* sim-if.c (sim_sh64_disassemble_insn): Remove.
386
(sh64_disassemble_insn): New function.
387
(sim_open): Use as this CPU's disassembler.
389
* decode.h (WITH_PROFILE_MODEL_P): Undefine.
391
* decode-compact.c, decode-media.c: Regenerate.
392
* defs-compact.h, defs-media.h: Likewise.
393
* sem-compact.c, sem-compact-switch.c: Likewise.
394
* sh-desc.c, sh-desc.h: Likewise.
395
* cpu.c, cpu.h, cpuall.h: Likewise.
397
2000-11-30 Ben Elliston <bje@redhat.com>
399
* arch.c, sh-desc.c, sh-desc.h: Regenerate.
401
* tconfig.in (SIM_HAVE_BIENDIAN): Define.
402
* configure.in (SIM_AC_OPTION_BIGENDIAN): Do not hard-wire a
403
target byte order, but default to big endian.
404
* configure: Regenerate.
406
2000-11-27 Ben Elliston <bje@redhat.com>
408
* sim-main.h (WITH_PROFILE_MODEL_P): Define.
409
* sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
411
* sh-desc.c, sh-desc.h: Regenerate.
412
* arch.c, cpu.h, cpuall.h: Regenerate.
413
* decode.h (WITH_PROFILE_MODEL_P): Remove.
415
* mloop-compact.in, mloop-media.in: New files.
416
* decode.h: Likewise.
418
2000-11-26 Ben Elliston <bje@redhat.com>
420
* sem-compact.c, sem-compact-switch.c: Generate.
421
* sem-media.c, sem-media-switch.c: Likewise.
423
2000-11-25 Ben Elliston <bje@redhat.com>
425
* sh-desc.c, sh-desc.h, sh-opc.h: Generate.
427
* arch.c, arch.h, cpuall.h, cpu.c, cpu.h: Generate.
428
* decode-compact.c, decode-compact.h: Likewise.
429
* decode-media.c, decode-media.h: Likewise.
430
* sh64-sim.h: New file.
431
* sim-main.h: Likewise.
433
2000-11-22 Ben Elliston <bje@redhat.com>
435
* sim-if.c: New file.
438
2000-11-16 Ben Elliston <bje@redhat.com>
440
* config.in: New file.
441
* tconfig.in: Likewise.
442
* configure.in: Likewise.
443
* configure: Generate.
444
* Makefile.in: New file.