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