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