common/
[platform/upstream/binutils.git] / sim / sh64 / ChangeLog
1 2010-01-24  Doug Evans  <dje@sebabeach.org>
2
3         * cpu.h: Regenerate.
4
5 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6
7         * configure: Regenerate.
8
9 2010-01-02  Doug Evans  <dje@sebabeach.org>
10
11         * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode-compact.c,
12         * decode-compact.h, * decode-media.c, * decode-media.h,
13         * defs-compact.h, * defs-media.h, * sem-compact-switch.c,
14         * sem-compact.c, * sem-media-switch.c, * sem-media.c, * sh-desc.c,
15         * sh-desc.h, * sh-opc.h: Regenerate, update copyright year.
16
17 2009-11-22  Doug Evans  <dje@sebabeach.org>
18
19         * cpu.h: Regenerate.
20         * cpuall.h: Regenerate.
21         * decode-compact.c: Regenerate.
22         * decode-compact.h: Regenerate.
23         * decode-media.c: Regenerate.
24         * decode-media.h: Regenerate.
25         * defs-compact.h: Regenerate.
26         * defs-media.h: Regenerate.
27
28 2009-11-03  Doug Evans  <dje@sebabeach.org>
29
30         * arch.c: Regenerate.
31         * arch.h: Regenerate.
32         * cpu.c: Regenerate.
33         * cpu.h: Regenerate.
34         * cpuall.h: Regenerate.
35         * decode-compact.c: Regenerate.
36         * decode-compact.h: Regenerate.
37         * decode-media.c: Regenerate.
38         * decode-media.h: Regenerate.
39         * defs-compact.h: Regenerate.
40         * defs-media.h: Regenerate.
41         * sem-compact-switch.c: Regenerate.
42         * sem-compact.c: Regenerate.
43         * sem-media-switch.c: Regenerate.
44         * sem-media.c: Regenerate.
45         * sh-desc.c: Regenerate.
46         * sh-opc.h: Regenerate.
47
48         * Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.
49         (sh-desc.o): New rule.
50         (sh-desc.h,sh-desc.c,sh-opc.h): Replaces rule for desc.h.
51         (all generated file rules): Specify generated file with full path.
52
53 2009-10-24  Doug Evans  <dje@sebabeach.org>
54
55         * sh-desc.h: Regenerate.
56
57 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
58
59         * config.in: Regenerate.
60         * configure: Likewise.
61
62         * configure: Regenerate.
63
64 2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
65
66         * configure: Regenerate to track ../common/common.m4 changes.
67         * config.in: Ditto.
68
69 2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
70             Daniel Jacobowitz  <dan@codesourcery.com>
71             Joseph Myers  <joseph@codesourcery.com>
72
73         * configure: Regenerate.
74
75 2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
76
77         * config.in, configure: Regenerate.
78
79 2006-10-18  Dave Brolley  <brolley@redhat.com>
80
81         * Contribute the following changes:
82
83         2006-06-14  Dave Brolley  <brolley@redhat.com>
84
85         * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
86         (sh64_fpref): New functions.
87         * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
88         (sh64_fpref): New functions.
89         (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a,
90         sh4a_nofpu and sh4al.
91         (sh2e_mach): New MACH.
92         (sh2a_fpu_mach): New MACH.
93         (sh2a_nofpu_mach): New MACH.
94         (sh4_nofpu): New MACH.
95         (sh4a_mach): New MACH.
96         (sh4a_nofpu_mach): New MACH.
97         (sh4al_mach): New MACH.
98         * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass
99         archfile to CGEN script.
100         * arch.c: Regenerated.
101         * arch.h: Regenerated.
102         * cpu.c: Regenerated.
103         * cpu.h: Regenerated.
104         * cpuall.h: Regenerated.
105         * decode-compact.c: Regenerated.
106         * decode-compact.h: Regenerated.
107         * decode-media.c: Regenerated.
108         * decode-media.h: Regenerated.
109         * defs-compact.h: Regenerated.
110         * defs-media.h: Regenerated.
111         * sem-compact-switch.c: Regenerated.
112         * sem-compact.c: Regenerated.
113         * sem-media-switch.c: Regenerated.
114         * sem-media.c: Regenerated.
115         * sh-desc.c: Regenerated.
116         * sh-desc.h: Regenerated.
117         * sh-opc.h: Regenerated.
118
119 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
120
121         * configure: Regenerated.
122
123 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
124
125         * configure: Regenerated.
126
127 2005-05-02  Corinna Vinschen  <vinschen@redhat.com>
128
129         * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
130         inclusion of cgen.h.
131
132 2005-04-15  Corinna Vinschen  <vinschen@redhat.com>
133
134         * configure.ac: New file.
135         * configure.in: Remove.
136         * configure: Regenerate.
137         * defs-media.h (sem_fields): Add missing sfmt_ldhil member.
138         * sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
139         (sim_create_inferior): Ditto.
140
141 2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
142
143         * configure: Regenerate for ../common/aclocal.m4 update.
144
145 Fri Feb 21 19:49:45 2003  J"orn Rennecke <joern.rennecke@superh.com>
146
147         * sem-media-switch.c, sem-media.c: Regenerate.
148
149 2002-06-24  Richard Sandiford  <rsandifo@redhat.com>
150
151         * sh64.c: Update path of "callback.h".
152
153 2002-06-20  Elena Zannoni  <ezannoni@redhat.com>
154
155         * sh64.c: Include correct file for register numbers.
156
157 Fri May 17 14:27:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
158
159         * sim-if.c (sh64_disassemble_insn): Use  print_insn_sh instead of
160         print_insn_shl.
161
162 2001-07-05  Ben Elliston  <bje@redhat.com>
163
164         * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
165         (stamp-desc): Likewise.
166         (stamp-cpu): Likewise.
167         (stamp-defs-compact): Likewise.
168         (stamp-defs-media): Likewise.
169         (stamp-decode-compact): Likewise.
170         (stamp-decode-media): Likewise.
171
172 2001-03-30  Ben Elliston  <bje@redhat.com>
173
174         * sim-if.c (sim_open): Set sh64_idesc_{media,compact} to NULL.
175         * sh64-sim.h (sh64_idesc_{compact,media}): Declare extern.
176         * sh64.c (sh64_idesc_{compact,media}): Make non-static.
177
178 2001-01-30  Ben Elliston  <bje@redhat.com>
179
180         * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
181         (trap_handler): Implement these syscalls.
182         (count_argc): New function.
183
184 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
185
186         * sh64.c (trap_handler): Implement time.
187
188         * sh64.c (fetch_str): New function.
189         (trap_handler): Re-implement write, and implement lseek, read,
190         open and close.
191
192 2001-01-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
193
194         * sh64.c (sh64_fetch_register): When fetching the PC, return the
195         PC value and set the LSB according to the current ISA.
196
197 2001-01-18  Ben Elliston  <bje@redhat.com>
198
199         * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
200         has terminated, not exit!
201
202 2001-01-12  Ben Elliston  <bje@redhat.com>
203
204         * sh64.c (sh64_fcnvds): Re-implement.
205
206         * sh64.c: Include "bfd.h".
207         (trap_handler): New function. Consolidate function bodies of
208         sh64_trapa and sh64_compact_trapa.
209         (sh64_trapa): Use it.
210         (sh64_compact_trapa): Likewise.
211
212 2001-01-11  Ben Elliston  <bje@redhat.com>
213
214         * sem-media.c, sem-media-switch.c: Regenerate.
215         * sem-compact.c, sem-compact-switch.c: Likewise.
216
217         * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
218
219         * cpu.h, sh-desc.c, sh-desc.h, sh-opc.h: Regenerate.
220         * decode-media.c, decode-media.h, defs-media.h: Likewise.
221         * sem-compact.c, sem-compact-switch.c: Likewise.
222         * sem-media.c, sem-media-switch.c: Likewise.
223
224 2001-01-10  Ben Elliston  <bje@redhat.com>
225
226         * sim-main.h (CIA_SET): Encode the current instruction set mode
227         when setting the cia.
228
229 2001-01-08  Ben Elliston  <bje@redhat.com>
230
231         * sh64.c (sh64_store_register): Do not set insn set mode--allow
232         sh64_h_pc_set() to do it.
233         (shmedia_init_cpu): Do not initialise the insn set mode--let the
234         loader set it based on bit 0 of the executable's starting address.
235         (shcompact_init_cpu): Likewise.
236         * mloop-compact.c (sh64_compact_pbb_begin): Emit a warning message
237         about malformed programs which have illegal insns in delay slots.
238         (sh64_compact_pbb_cti_chain): Examine the least significant bit of
239         the new pc, not the current instruction set mode to determine if
240         the next pbb in the chain will consist of SHmedia instructions.
241         * mloop-media.c (sh64_media_pbb_cti_chain): Likewise for SHcompact
242         switches. Set bit 0 when setting the pc for the next SHmedia pbb.
243
244         * cpu.c, cpu.h: Regenerate.
245         * sem-compact.c, sem-compact-switch.c: Likewise.
246         * sem-media.c, sem-media-switch.c: Likewise.
247
248         * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
249         not stdio functions to emit output when executing write traps.
250
251 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
252
253         * sh64.c (sh64_compact_trapa): Support writing to stderr.  Flush
254         output stream after each (compound) write.
255
256 2001-01-06  Ben Elliston  <bje@redhat.com>
257
258         * sem-media.c, sem-media-switch.c: Regenerate.
259
260 2001-01-04  Ben Elliston  <bje@redhat.com>
261
262         * sem-compact.c, sem-compact-switch.c: Regenerate.
263         * cpu.h: Regenerate.
264
265 2001-01-03  Ben Elliston  <bje@redhat.com>
266
267         * cpu.c, cpu.h: Regenerate.
268         * sem-media.c, sem-media-switch.c: Likewise.
269
270 2001-01-02  Ben Elliston  <bje@redhat.com>
271
272         * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
273         BFD primitives.
274
275         * sem-compact.c, sem-compact-switch.c: Regenerate.
276
277 2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
278
279         * sh64.c (sh64_nsb): Re-implement correctly.
280
281 2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
282
283         * sh64.c (sh64_nsb): Re-implement.
284
285 2000-12-27  Ben Elliston  <bje@redhat.com>
286
287         * cpu.c, cpu.h: Regenerate.
288         * sem-compact.c, sem-compact-switch.c: Likewise.
289         * sem-media.c, sem-media-switch.c: Likewise.
290         * sh-desc.c: Likewise.
291
292 2000-12-26  Ben Elliston  <bje@redhat.com>
293
294         * mloop-compact.in, mloop-media.in: Remove.
295         * mloop-compact.c, mloop-media.c: New files.
296         * eng-compact.c, eng-media.c: Likewise.
297         * Makefile.in (mloop-compact.c): Remove target.
298         (stamp-mloop-compact): Likewise.
299         (mloop-media.c): Likewise.
300         (stamp-mloop-media): Likewise.
301         (sh64-clean): Update.
302         (stamp-mloop): Remove.
303
304 2000-12-23  Ben Elliston  <bje@redhat.com>
305
306         * sh64.c (sh64_prepare_run): Rename from shmedia_prepare_run.
307         (shcompact_prepare_run): Remove.
308         (sh2_mach, sh3_mach, sh3e_mach, sh4_mach, sh5_mach): Update.
309
310 2000-12-22  Ben Elliston  <bje@redhat.com>
311
312         * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
313         (sh64_dump): Remove.
314         (sh64_engine_run_full): Only compute idesc tables once.
315         (sh64_engine_run_fast): Likewise.
316         (shmedia_prepare_run): Do nothing.
317         (shcompact_prepare_run): Likewise.
318
319         * sem-compact.c, sem-compact-switch.c: Regenerate.
320         * sem-media.c, sem-media-switch.c: Likewise.
321
322 2000-12-19  Ben Elliston  <bje@redhat.com>
323
324         * sem-media.c, sem-media-switch.c: Regenerate.
325
326 2000-12-15  Ben Elliston  <bje@redhat.com>
327
328         * sh64.c (sh64_store_register): When storing a new PC, set ISA
329         mode based on the value of bit 0.
330
331         * sh64.c: Include "sim-sh64.h" for GDB interfacing.
332         (sh64_fetch_register): Implement.
333         (sh64_store_register): Likewise.
334
335         * sh64-sim.h (sh64_fmacs): Declare.
336         (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
337
338         * sem-media.c, sem-media-switch.c: Regenerate.
339
340 2000-12-13  Ben Elliston  <bje@redhat.com>
341
342         * sh64-sim.h (sh64_compact_trapa): Renamed from sh64_trapa.
343         (sh64_trapa): Renamed from sh64_trap.
344         * sh64.c (sh64_trapa): Call sh64_compact_trapa for handling.
345         Apply renaming described above.
346
347         * decode-media.c, decode-media.h, defs-media.h: Regenerate.
348         * sem-media.c sem-media-switch.c: Likewise.
349         * sh-desc.c, sh-desc.h, sh-opc.h: Likewise.
350
351 2000-12-12  Ben Elliston  <bje@redhat.com>
352
353         * cpu.c, cpu.h, sh-desc.c: Regenerate.
354         * sem-media.c, sem-media-switch.c: Likewise.
355         * sem-compact.c, sem-compact-switch.c: Likewise.
356         * sh64-sim.h (sh64_ftrvs): Declare.
357         * sh64.c (sh64_ftrvs): Bug fixes.
358
359         * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
360         (sh64_fcmpgts): Likewise.
361
362 2000-12-11  Ben Elliston  <bje@redhat.com>
363
364         * decode-media.c, decode-media.h: Regenerate.
365         * defs-media.h: Likewise.
366         * sem-media.c, sem-media-switch.c: Likewise.
367         * sh-desc.c: Likewise.
368
369 2000-12-08  Ben Elliston  <bje@redhat.com>
370
371         * decode-media.c, decode-media.h: Regenerate.
372         * defs-media.h: Likewise.
373         * sem-media.c, sem-media-switch.c: Likewise.
374
375 2000-12-07  Ben Elliston  <bje@redhat.com>
376
377         * decode-media.c, decode-media.h: Regenerate.
378         * sem-media.c, sem-media-switch.c: Likewise.
379
380         * defs-media.h: Regenete.
381         * decode-compact.c, decode-media.c: Likewise.
382
383 2000-12-06  Ben Elliston  <bje@redhat.com>
384
385         * sh64.c (sh64_fcmpund): Return a BI.
386         (sh64_fcmpuns): Likewise.
387         (sh64_nsb): Treat source value as unsigned.
388         (sh64_compact_model_insn_before): New function.
389         (sh64_media_model_insn_before): Likewise.
390         (sh64_compact_model_insn_after): Likewise.
391         (sh64_media_model_insn_after): Likewise.
392         (sh_models): Use sh5_mach for "sh5".
393         * sh64-sim.h: Add missing function prototypes.
394
395         * cpu.c, cpu.h, defs-media.h, sh-desc.c: Regenerate.
396         * decode-media.c, decode-media.h: Likewise.
397         * sem-media.c, sem-media-switch.c: Likewise.
398
399 2000-12-05  Ben Elliston  <bje@redhat.com>
400
401         * mloop-compact.in, mloop-media.in: Use @prefix@.
402         * Makefile.in (stamp-mloop-compact): Pass -outfile-suffix option
403         to make generated files safe in the presence of parallel makes.
404         (stamp-mloop-media): Likewise.
405
406         * decode-media.c, defs-media.h: Regenerate.
407
408 2000-12-04  Ben Elliston  <bje@redhat.com>
409
410         * sh64-sim.h: Add function prototypes from sh64.c.
411
412         * Makefile.in (SH64_OBJS): Add ISA variant objects.
413         (SIM_EXTRA_DEPS): Do not depend on opcodes headers.
414         (SH64_INCLUDE_DEPS): Update for ISA variants.
415         (stamp-mloop-compact, stamp-mloop-media): New targets.
416         (decode-compact.o, sem-compact.o): New rules.
417         (decode-media.o, sem-media.o): Likewise.
418         (sh64-clean): Update.
419         (stamp-all, stamp-mloop, stamp-decode, stamp-defs): New targets.
420         (stamp-desc, stamp-cpu): Likewise.
421         (stamp-defs-compact, stamp-defs-media): Likewise.
422         (stamp-decode-compact, stamp-decode-media): Likewise.   
423
424         * defs-compact.h, defs-media.h: Regenerate.
425
426 2000-12-03  Ben Elliston  <bje@redhat.com>
427
428         * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
429         (sh64_fcmpged, sh64_fcmpges): Likewise.
430         (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
431
432         * sh64.c (sh64_endian): New function.
433         (sh64_fcmpeqd, sh64_fcmpeqs): Return a BI.
434         (sh64_fcmpged, sh64_fcmpges): Likewise.
435         (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
436         (sh64_trap): Implement a basic syscall facility.
437         (sh64_trapa): Exit with return code in R5, not 0.
438         (sh64_model_sh5_u_exec): Remove.
439         (sh64_engine_run_full): New function.
440         (sh64_engine_run_fast): Likewise.
441         (shmedia_prepare_run): Likewise.
442         (shcompact_prepare_run): Likewise.
443         (sh64_get_idata): Likewise.
444         (sh64_init_cpu): Likewise.
445         (shmedia_init_cpu): Likewise.
446         (shcompact_init_cpu): Likewise.
447         (sh64_model_init): Likewise.
448         (sh_models): Define.
449         (sh5_imp_properties): Likewise.
450         (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
451
452         * sem-compact.c, sem-compact-switch.c: Regenerate.
453
454 2000-12-01  Ben Elliston  <bje@redhat.com>
455
456         * sh64-sim.h (sh64_endian): Declare.
457         * sim-main.h (sim_cia): Use UDI, not USI.
458         (WITH_PROFILE_MODEL_P): Remove.
459         * sim-if.c (sim_sh64_disassemble_insn): Remove.
460         (sh64_disassemble_insn): New function.
461         (sim_open): Use as this CPU's disassembler.
462         * eng.h: New file.
463         * decode.h (WITH_PROFILE_MODEL_P): Undefine.
464
465         * decode-compact.c, decode-media.c: Regenerate.
466         * defs-compact.h, defs-media.h: Likewise.
467         * sem-compact.c, sem-compact-switch.c: Likewise.
468         * sh-desc.c, sh-desc.h: Likewise.
469         * cpu.c, cpu.h, cpuall.h: Likewise.
470
471 2000-11-30  Ben Elliston  <bje@redhat.com>
472
473         * arch.c, sh-desc.c, sh-desc.h: Regenerate.
474
475         * tconfig.in (SIM_HAVE_BIENDIAN): Define.
476         * configure.in (SIM_AC_OPTION_BIGENDIAN): Do not hard-wire a
477         target byte order, but default to big endian.
478         * configure: Regenerate.
479
480 2000-11-27  Ben Elliston  <bje@redhat.com>
481
482         * sim-main.h (WITH_PROFILE_MODEL_P): Define.
483         * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
484
485         * sh-desc.c, sh-desc.h: Regenerate.
486         * arch.c, cpu.h, cpuall.h: Regenerate.
487         * decode.h (WITH_PROFILE_MODEL_P): Remove.
488
489         * mloop-compact.in, mloop-media.in: New files.
490         * decode.h: Likewise.
491
492 2000-11-26  Ben Elliston  <bje@redhat.com>
493
494         * sem-compact.c, sem-compact-switch.c: Generate.
495         * sem-media.c, sem-media-switch.c: Likewise.
496
497 2000-11-25  Ben Elliston  <bje@redhat.com>
498
499         * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
500
501         * arch.c, arch.h, cpuall.h, cpu.c, cpu.h: Generate.
502         * decode-compact.c, decode-compact.h: Likewise.
503         * decode-media.c, decode-media.h: Likewise.
504         * sh64-sim.h: New file.
505         * sim-main.h: Likewise.
506
507 2000-11-22  Ben Elliston  <bje@redhat.com>
508
509         * sim-if.c: New file.
510         * sh64.c: Likewise.
511
512 2000-11-16  Ben Elliston  <bje@redhat.com>
513
514         * config.in: New file.
515         * tconfig.in: Likewise.
516         * configure.in: Likewise.
517         * configure: Generate.
518         * Makefile.in: New file.