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