1 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * config.in: Regenerate.
6 * configure: Regenerate.
8 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
10 * configure: Regenerate to track ../common/common.m4 changes.
13 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
14 Daniel Jacobowitz <dan@codesourcery.com>
15 Joseph Myers <joseph@codesourcery.com>
17 * configure: Regenerate.
19 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
21 * config.in, configure: Regenerate.
23 2006-10-18 Dave Brolley <brolley@redhat.com>
25 * Contribute the following changes:
27 2006-06-14 Dave Brolley <brolley@redhat.com>
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,
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.
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.
63 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
65 * configure: Regenerated.
67 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
69 * configure: Regenerated.
71 2005-05-02 Corinna Vinschen <vinschen@redhat.com>
73 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
76 2005-04-15 Corinna Vinschen <vinschen@redhat.com>
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.
85 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
87 * configure: Regenerate for ../common/aclocal.m4 update.
89 Fri Feb 21 19:49:45 2003 J"orn Rennecke <joern.rennecke@superh.com>
91 * sem-media-switch.c, sem-media.c: Regenerate.
93 2002-06-24 Richard Sandiford <rsandifo@redhat.com>
95 * sh64.c: Update path of "callback.h".
97 2002-06-20 Elena Zannoni <ezannoni@redhat.com>
99 * sh64.c: Include correct file for register numbers.
101 Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
103 * sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
106 2001-07-05 Ben Elliston <bje@redhat.com>
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.
116 2001-03-30 Ben Elliston <bje@redhat.com>
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.
122 2001-01-30 Ben Elliston <bje@redhat.com>
124 * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
125 (trap_handler): Implement these syscalls.
126 (count_argc): New function.
128 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
130 * sh64.c (trap_handler): Implement time.
132 * sh64.c (fetch_str): New function.
133 (trap_handler): Re-implement write, and implement lseek, read,
136 2001-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
138 * sh64.c (sh64_fetch_register): When fetching the PC, return the
139 PC value and set the LSB according to the current ISA.
141 2001-01-18 Ben Elliston <bje@redhat.com>
143 * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
144 has terminated, not exit!
146 2001-01-12 Ben Elliston <bje@redhat.com>
148 * sh64.c (sh64_fcnvds): Re-implement.
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.
156 2001-01-11 Ben Elliston <bje@redhat.com>
158 * sem-media.c, sem-media-switch.c: Regenerate.
159 * sem-compact.c, sem-compact-switch.c: Likewise.
161 * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
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.
168 2001-01-10 Ben Elliston <bje@redhat.com>
170 * sim-main.h (CIA_SET): Encode the current instruction set mode
171 when setting the cia.
173 2001-01-08 Ben Elliston <bje@redhat.com>
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.
188 * cpu.c, cpu.h: Regenerate.
189 * sem-compact.c, sem-compact-switch.c: Likewise.
190 * sem-media.c, sem-media-switch.c: Likewise.
192 * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
193 not stdio functions to emit output when executing write traps.
195 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
197 * sh64.c (sh64_compact_trapa): Support writing to stderr. Flush
198 output stream after each (compound) write.
200 2001-01-06 Ben Elliston <bje@redhat.com>
202 * sem-media.c, sem-media-switch.c: Regenerate.
204 2001-01-04 Ben Elliston <bje@redhat.com>
206 * sem-compact.c, sem-compact-switch.c: Regenerate.
209 2001-01-03 Ben Elliston <bje@redhat.com>
211 * cpu.c, cpu.h: Regenerate.
212 * sem-media.c, sem-media-switch.c: Likewise.
214 2001-01-02 Ben Elliston <bje@redhat.com>
216 * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
219 * sem-compact.c, sem-compact-switch.c: Regenerate.
221 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
223 * sh64.c (sh64_nsb): Re-implement correctly.
225 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
227 * sh64.c (sh64_nsb): Re-implement.
229 2000-12-27 Ben Elliston <bje@redhat.com>
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.
236 2000-12-26 Ben Elliston <bje@redhat.com>
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.
248 2000-12-23 Ben Elliston <bje@redhat.com>
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.
254 2000-12-22 Ben Elliston <bje@redhat.com>
256 * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
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.
263 * sem-compact.c, sem-compact-switch.c: Regenerate.
264 * sem-media.c, sem-media-switch.c: Likewise.
266 2000-12-19 Ben Elliston <bje@redhat.com>
268 * sem-media.c, sem-media-switch.c: Regenerate.
270 2000-12-15 Ben Elliston <bje@redhat.com>
272 * sh64.c (sh64_store_register): When storing a new PC, set ISA
273 mode based on the value of bit 0.
275 * sh64.c: Include "sim-sh64.h" for GDB interfacing.
276 (sh64_fetch_register): Implement.
277 (sh64_store_register): Likewise.
279 * sh64-sim.h (sh64_fmacs): Declare.
280 (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
282 * sem-media.c, sem-media-switch.c: Regenerate.
284 2000-12-13 Ben Elliston <bje@redhat.com>
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.
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.
295 2000-12-12 Ben Elliston <bje@redhat.com>
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.
303 * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
304 (sh64_fcmpgts): Likewise.
306 2000-12-11 Ben Elliston <bje@redhat.com>
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.
313 2000-12-08 Ben Elliston <bje@redhat.com>
315 * decode-media.c, decode-media.h: Regenerate.
316 * defs-media.h: Likewise.
317 * sem-media.c, sem-media-switch.c: Likewise.
319 2000-12-07 Ben Elliston <bje@redhat.com>
321 * decode-media.c, decode-media.h: Regenerate.
322 * sem-media.c, sem-media-switch.c: Likewise.
324 * defs-media.h: Regenete.
325 * decode-compact.c, decode-media.c: Likewise.
327 2000-12-06 Ben Elliston <bje@redhat.com>
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.
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.
343 2000-12-05 Ben Elliston <bje@redhat.com>
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.
350 * decode-media.c, defs-media.h: Regenerate.
352 2000-12-04 Ben Elliston <bje@redhat.com>
354 * sh64-sim.h: Add function prototypes from sh64.c.
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.
368 * defs-compact.h, defs-media.h: Regenerate.
370 2000-12-03 Ben Elliston <bje@redhat.com>
372 * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
373 (sh64_fcmpged, sh64_fcmpges): Likewise.
374 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
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.
393 (sh5_imp_properties): Likewise.
394 (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
396 * sem-compact.c, sem-compact-switch.c: Regenerate.
398 2000-12-01 Ben Elliston <bje@redhat.com>
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.
407 * decode.h (WITH_PROFILE_MODEL_P): Undefine.
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.
415 2000-11-30 Ben Elliston <bje@redhat.com>
417 * arch.c, sh-desc.c, sh-desc.h: Regenerate.
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.
424 2000-11-27 Ben Elliston <bje@redhat.com>
426 * sim-main.h (WITH_PROFILE_MODEL_P): Define.
427 * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
429 * sh-desc.c, sh-desc.h: Regenerate.
430 * arch.c, cpu.h, cpuall.h: Regenerate.
431 * decode.h (WITH_PROFILE_MODEL_P): Remove.
433 * mloop-compact.in, mloop-media.in: New files.
434 * decode.h: Likewise.
436 2000-11-26 Ben Elliston <bje@redhat.com>
438 * sem-compact.c, sem-compact-switch.c: Generate.
439 * sem-media.c, sem-media-switch.c: Likewise.
441 2000-11-25 Ben Elliston <bje@redhat.com>
443 * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
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.
451 2000-11-22 Ben Elliston <bje@redhat.com>
453 * sim-if.c: New file.
456 2000-11-16 Ben Elliston <bje@redhat.com>
458 * config.in: New file.
459 * tconfig.in: Likewise.
460 * configure.in: Likewise.
461 * configure: Generate.
462 * Makefile.in: New file.