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