1 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * configure: Regenerate.
5 2010-01-02 Doug Evans <dje@sebabeach.org>
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.
13 2009-11-22 Doug Evans <dje@sebabeach.org>
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.
24 2009-11-03 Doug Evans <dje@sebabeach.org>
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.
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.
49 2009-10-24 Doug Evans <dje@sebabeach.org>
51 * sh-desc.h: Regenerate.
53 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
55 * config.in: Regenerate.
56 * configure: Likewise.
58 * configure: Regenerate.
60 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
62 * configure: Regenerate to track ../common/common.m4 changes.
65 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
66 Daniel Jacobowitz <dan@codesourcery.com>
67 Joseph Myers <joseph@codesourcery.com>
69 * configure: Regenerate.
71 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
73 * config.in, configure: Regenerate.
75 2006-10-18 Dave Brolley <brolley@redhat.com>
77 * Contribute the following changes:
79 2006-06-14 Dave Brolley <brolley@redhat.com>
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,
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.
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.
115 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
117 * configure: Regenerated.
119 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
121 * configure: Regenerated.
123 2005-05-02 Corinna Vinschen <vinschen@redhat.com>
125 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
128 2005-04-15 Corinna Vinschen <vinschen@redhat.com>
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.
137 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
139 * configure: Regenerate for ../common/aclocal.m4 update.
141 Fri Feb 21 19:49:45 2003 J"orn Rennecke <joern.rennecke@superh.com>
143 * sem-media-switch.c, sem-media.c: Regenerate.
145 2002-06-24 Richard Sandiford <rsandifo@redhat.com>
147 * sh64.c: Update path of "callback.h".
149 2002-06-20 Elena Zannoni <ezannoni@redhat.com>
151 * sh64.c: Include correct file for register numbers.
153 Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
155 * sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
158 2001-07-05 Ben Elliston <bje@redhat.com>
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.
168 2001-03-30 Ben Elliston <bje@redhat.com>
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.
174 2001-01-30 Ben Elliston <bje@redhat.com>
176 * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
177 (trap_handler): Implement these syscalls.
178 (count_argc): New function.
180 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
182 * sh64.c (trap_handler): Implement time.
184 * sh64.c (fetch_str): New function.
185 (trap_handler): Re-implement write, and implement lseek, read,
188 2001-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
190 * sh64.c (sh64_fetch_register): When fetching the PC, return the
191 PC value and set the LSB according to the current ISA.
193 2001-01-18 Ben Elliston <bje@redhat.com>
195 * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
196 has terminated, not exit!
198 2001-01-12 Ben Elliston <bje@redhat.com>
200 * sh64.c (sh64_fcnvds): Re-implement.
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.
208 2001-01-11 Ben Elliston <bje@redhat.com>
210 * sem-media.c, sem-media-switch.c: Regenerate.
211 * sem-compact.c, sem-compact-switch.c: Likewise.
213 * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
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.
220 2001-01-10 Ben Elliston <bje@redhat.com>
222 * sim-main.h (CIA_SET): Encode the current instruction set mode
223 when setting the cia.
225 2001-01-08 Ben Elliston <bje@redhat.com>
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.
240 * cpu.c, cpu.h: Regenerate.
241 * sem-compact.c, sem-compact-switch.c: Likewise.
242 * sem-media.c, sem-media-switch.c: Likewise.
244 * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
245 not stdio functions to emit output when executing write traps.
247 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
249 * sh64.c (sh64_compact_trapa): Support writing to stderr. Flush
250 output stream after each (compound) write.
252 2001-01-06 Ben Elliston <bje@redhat.com>
254 * sem-media.c, sem-media-switch.c: Regenerate.
256 2001-01-04 Ben Elliston <bje@redhat.com>
258 * sem-compact.c, sem-compact-switch.c: Regenerate.
261 2001-01-03 Ben Elliston <bje@redhat.com>
263 * cpu.c, cpu.h: Regenerate.
264 * sem-media.c, sem-media-switch.c: Likewise.
266 2001-01-02 Ben Elliston <bje@redhat.com>
268 * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
271 * sem-compact.c, sem-compact-switch.c: Regenerate.
273 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
275 * sh64.c (sh64_nsb): Re-implement correctly.
277 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
279 * sh64.c (sh64_nsb): Re-implement.
281 2000-12-27 Ben Elliston <bje@redhat.com>
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.
288 2000-12-26 Ben Elliston <bje@redhat.com>
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.
300 2000-12-23 Ben Elliston <bje@redhat.com>
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.
306 2000-12-22 Ben Elliston <bje@redhat.com>
308 * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
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.
315 * sem-compact.c, sem-compact-switch.c: Regenerate.
316 * sem-media.c, sem-media-switch.c: Likewise.
318 2000-12-19 Ben Elliston <bje@redhat.com>
320 * sem-media.c, sem-media-switch.c: Regenerate.
322 2000-12-15 Ben Elliston <bje@redhat.com>
324 * sh64.c (sh64_store_register): When storing a new PC, set ISA
325 mode based on the value of bit 0.
327 * sh64.c: Include "sim-sh64.h" for GDB interfacing.
328 (sh64_fetch_register): Implement.
329 (sh64_store_register): Likewise.
331 * sh64-sim.h (sh64_fmacs): Declare.
332 (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
334 * sem-media.c, sem-media-switch.c: Regenerate.
336 2000-12-13 Ben Elliston <bje@redhat.com>
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.
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.
347 2000-12-12 Ben Elliston <bje@redhat.com>
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.
355 * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
356 (sh64_fcmpgts): Likewise.
358 2000-12-11 Ben Elliston <bje@redhat.com>
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.
365 2000-12-08 Ben Elliston <bje@redhat.com>
367 * decode-media.c, decode-media.h: Regenerate.
368 * defs-media.h: Likewise.
369 * sem-media.c, sem-media-switch.c: Likewise.
371 2000-12-07 Ben Elliston <bje@redhat.com>
373 * decode-media.c, decode-media.h: Regenerate.
374 * sem-media.c, sem-media-switch.c: Likewise.
376 * defs-media.h: Regenete.
377 * decode-compact.c, decode-media.c: Likewise.
379 2000-12-06 Ben Elliston <bje@redhat.com>
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.
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.
395 2000-12-05 Ben Elliston <bje@redhat.com>
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.
402 * decode-media.c, defs-media.h: Regenerate.
404 2000-12-04 Ben Elliston <bje@redhat.com>
406 * sh64-sim.h: Add function prototypes from sh64.c.
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.
420 * defs-compact.h, defs-media.h: Regenerate.
422 2000-12-03 Ben Elliston <bje@redhat.com>
424 * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
425 (sh64_fcmpged, sh64_fcmpges): Likewise.
426 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
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.
445 (sh5_imp_properties): Likewise.
446 (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
448 * sem-compact.c, sem-compact-switch.c: Regenerate.
450 2000-12-01 Ben Elliston <bje@redhat.com>
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.
459 * decode.h (WITH_PROFILE_MODEL_P): Undefine.
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.
467 2000-11-30 Ben Elliston <bje@redhat.com>
469 * arch.c, sh-desc.c, sh-desc.h: Regenerate.
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.
476 2000-11-27 Ben Elliston <bje@redhat.com>
478 * sim-main.h (WITH_PROFILE_MODEL_P): Define.
479 * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
481 * sh-desc.c, sh-desc.h: Regenerate.
482 * arch.c, cpu.h, cpuall.h: Regenerate.
483 * decode.h (WITH_PROFILE_MODEL_P): Remove.
485 * mloop-compact.in, mloop-media.in: New files.
486 * decode.h: Likewise.
488 2000-11-26 Ben Elliston <bje@redhat.com>
490 * sem-compact.c, sem-compact-switch.c: Generate.
491 * sem-media.c, sem-media-switch.c: Likewise.
493 2000-11-25 Ben Elliston <bje@redhat.com>
495 * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
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.
503 2000-11-22 Ben Elliston <bje@redhat.com>
505 * sim-if.c: New file.
508 2000-11-16 Ben Elliston <bje@redhat.com>
510 * config.in: New file.
511 * tconfig.in: Likewise.
512 * configure.in: Likewise.
513 * configure: Generate.
514 * Makefile.in: New file.