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