1 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
3 * configure: Regenerated.
5 2005-05-02 Corinna Vinschen <vinschen@redhat.com>
7 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
10 2005-04-15 Corinna Vinschen <vinschen@redhat.com>
12 * configure.ac: New file.
13 * configure.in: Remove.
14 * configure: Regenerate.
15 * defs-media.h (sem_fields): Add missing sfmt_ldhil member.
16 * sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
17 (sim_create_inferior): Ditto.
19 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
21 * configure: Regenerate for ../common/aclocal.m4 update.
23 Fri Feb 21 19:49:45 2003 J"orn Rennecke <joern.rennecke@superh.com>
25 * sem-media-switch.c, sem-media.c: Regenerate.
27 2002-06-24 Richard Sandiford <rsandifo@redhat.com>
29 * sh64.c: Update path of "callback.h".
31 2002-06-20 Elena Zannoni <ezannoni@redhat.com>
33 * sh64.c: Include correct file for register numbers.
35 Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
37 * sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
40 2001-07-05 Ben Elliston <bje@redhat.com>
42 * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
43 (stamp-desc): Likewise.
44 (stamp-cpu): Likewise.
45 (stamp-defs-compact): Likewise.
46 (stamp-defs-media): Likewise.
47 (stamp-decode-compact): Likewise.
48 (stamp-decode-media): Likewise.
50 2001-03-30 Ben Elliston <bje@redhat.com>
52 * sim-if.c (sim_open): Set sh64_idesc_{media,compact} to NULL.
53 * sh64-sim.h (sh64_idesc_{compact,media}): Declare extern.
54 * sh64.c (sh64_idesc_{compact,media}): Make non-static.
56 2001-01-30 Ben Elliston <bje@redhat.com>
58 * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
59 (trap_handler): Implement these syscalls.
60 (count_argc): New function.
62 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
64 * sh64.c (trap_handler): Implement time.
66 * sh64.c (fetch_str): New function.
67 (trap_handler): Re-implement write, and implement lseek, read,
70 2001-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
72 * sh64.c (sh64_fetch_register): When fetching the PC, return the
73 PC value and set the LSB according to the current ISA.
75 2001-01-18 Ben Elliston <bje@redhat.com>
77 * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
78 has terminated, not exit!
80 2001-01-12 Ben Elliston <bje@redhat.com>
82 * sh64.c (sh64_fcnvds): Re-implement.
84 * sh64.c: Include "bfd.h".
85 (trap_handler): New function. Consolidate function bodies of
86 sh64_trapa and sh64_compact_trapa.
88 (sh64_compact_trapa): Likewise.
90 2001-01-11 Ben Elliston <bje@redhat.com>
92 * sem-media.c, sem-media-switch.c: Regenerate.
93 * sem-compact.c, sem-compact-switch.c: Likewise.
95 * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
97 * cpu.h, sh-desc.c, sh-desc.h, sh-opc.h: Regenerate.
98 * decode-media.c, decode-media.h, defs-media.h: Likewise.
99 * sem-compact.c, sem-compact-switch.c: Likewise.
100 * sem-media.c, sem-media-switch.c: Likewise.
102 2001-01-10 Ben Elliston <bje@redhat.com>
104 * sim-main.h (CIA_SET): Encode the current instruction set mode
105 when setting the cia.
107 2001-01-08 Ben Elliston <bje@redhat.com>
109 * sh64.c (sh64_store_register): Do not set insn set mode--allow
110 sh64_h_pc_set() to do it.
111 (shmedia_init_cpu): Do not initialise the insn set mode--let the
112 loader set it based on bit 0 of the executable's starting address.
113 (shcompact_init_cpu): Likewise.
114 * mloop-compact.c (sh64_compact_pbb_begin): Emit a warning message
115 about malformed programs which have illegal insns in delay slots.
116 (sh64_compact_pbb_cti_chain): Examine the least significant bit of
117 the new pc, not the current instruction set mode to determine if
118 the next pbb in the chain will consist of SHmedia instructions.
119 * mloop-media.c (sh64_media_pbb_cti_chain): Likewise for SHcompact
120 switches. Set bit 0 when setting the pc for the next SHmedia pbb.
122 * cpu.c, cpu.h: Regenerate.
123 * sem-compact.c, sem-compact-switch.c: Likewise.
124 * sem-media.c, sem-media-switch.c: Likewise.
126 * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
127 not stdio functions to emit output when executing write traps.
129 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
131 * sh64.c (sh64_compact_trapa): Support writing to stderr. Flush
132 output stream after each (compound) write.
134 2001-01-06 Ben Elliston <bje@redhat.com>
136 * sem-media.c, sem-media-switch.c: Regenerate.
138 2001-01-04 Ben Elliston <bje@redhat.com>
140 * sem-compact.c, sem-compact-switch.c: Regenerate.
143 2001-01-03 Ben Elliston <bje@redhat.com>
145 * cpu.c, cpu.h: Regenerate.
146 * sem-media.c, sem-media-switch.c: Likewise.
148 2001-01-02 Ben Elliston <bje@redhat.com>
150 * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
153 * sem-compact.c, sem-compact-switch.c: Regenerate.
155 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
157 * sh64.c (sh64_nsb): Re-implement correctly.
159 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
161 * sh64.c (sh64_nsb): Re-implement.
163 2000-12-27 Ben Elliston <bje@redhat.com>
165 * cpu.c, cpu.h: Regenerate.
166 * sem-compact.c, sem-compact-switch.c: Likewise.
167 * sem-media.c, sem-media-switch.c: Likewise.
168 * sh-desc.c: Likewise.
170 2000-12-26 Ben Elliston <bje@redhat.com>
172 * mloop-compact.in, mloop-media.in: Remove.
173 * mloop-compact.c, mloop-media.c: New files.
174 * eng-compact.c, eng-media.c: Likewise.
175 * Makefile.in (mloop-compact.c): Remove target.
176 (stamp-mloop-compact): Likewise.
177 (mloop-media.c): Likewise.
178 (stamp-mloop-media): Likewise.
179 (sh64-clean): Update.
180 (stamp-mloop): Remove.
182 2000-12-23 Ben Elliston <bje@redhat.com>
184 * sh64.c (sh64_prepare_run): Rename from shmedia_prepare_run.
185 (shcompact_prepare_run): Remove.
186 (sh2_mach, sh3_mach, sh3e_mach, sh4_mach, sh5_mach): Update.
188 2000-12-22 Ben Elliston <bje@redhat.com>
190 * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
192 (sh64_engine_run_full): Only compute idesc tables once.
193 (sh64_engine_run_fast): Likewise.
194 (shmedia_prepare_run): Do nothing.
195 (shcompact_prepare_run): Likewise.
197 * sem-compact.c, sem-compact-switch.c: Regenerate.
198 * sem-media.c, sem-media-switch.c: Likewise.
200 2000-12-19 Ben Elliston <bje@redhat.com>
202 * sem-media.c, sem-media-switch.c: Regenerate.
204 2000-12-15 Ben Elliston <bje@redhat.com>
206 * sh64.c (sh64_store_register): When storing a new PC, set ISA
207 mode based on the value of bit 0.
209 * sh64.c: Include "sim-sh64.h" for GDB interfacing.
210 (sh64_fetch_register): Implement.
211 (sh64_store_register): Likewise.
213 * sh64-sim.h (sh64_fmacs): Declare.
214 (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
216 * sem-media.c, sem-media-switch.c: Regenerate.
218 2000-12-13 Ben Elliston <bje@redhat.com>
220 * sh64-sim.h (sh64_compact_trapa): Renamed from sh64_trapa.
221 (sh64_trapa): Renamed from sh64_trap.
222 * sh64.c (sh64_trapa): Call sh64_compact_trapa for handling.
223 Apply renaming described above.
225 * decode-media.c, decode-media.h, defs-media.h: Regenerate.
226 * sem-media.c sem-media-switch.c: Likewise.
227 * sh-desc.c, sh-desc.h, sh-opc.h: Likewise.
229 2000-12-12 Ben Elliston <bje@redhat.com>
231 * cpu.c, cpu.h, sh-desc.c: Regenerate.
232 * sem-media.c, sem-media-switch.c: Likewise.
233 * sem-compact.c, sem-compact-switch.c: Likewise.
234 * sh64-sim.h (sh64_ftrvs): Declare.
235 * sh64.c (sh64_ftrvs): Bug fixes.
237 * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
238 (sh64_fcmpgts): Likewise.
240 2000-12-11 Ben Elliston <bje@redhat.com>
242 * decode-media.c, decode-media.h: Regenerate.
243 * defs-media.h: Likewise.
244 * sem-media.c, sem-media-switch.c: Likewise.
245 * sh-desc.c: Likewise.
247 2000-12-08 Ben Elliston <bje@redhat.com>
249 * decode-media.c, decode-media.h: Regenerate.
250 * defs-media.h: Likewise.
251 * sem-media.c, sem-media-switch.c: Likewise.
253 2000-12-07 Ben Elliston <bje@redhat.com>
255 * decode-media.c, decode-media.h: Regenerate.
256 * sem-media.c, sem-media-switch.c: Likewise.
258 * defs-media.h: Regenete.
259 * decode-compact.c, decode-media.c: Likewise.
261 2000-12-06 Ben Elliston <bje@redhat.com>
263 * sh64.c (sh64_fcmpund): Return a BI.
264 (sh64_fcmpuns): Likewise.
265 (sh64_nsb): Treat source value as unsigned.
266 (sh64_compact_model_insn_before): New function.
267 (sh64_media_model_insn_before): Likewise.
268 (sh64_compact_model_insn_after): Likewise.
269 (sh64_media_model_insn_after): Likewise.
270 (sh_models): Use sh5_mach for "sh5".
271 * sh64-sim.h: Add missing function prototypes.
273 * cpu.c, cpu.h, defs-media.h, sh-desc.c: Regenerate.
274 * decode-media.c, decode-media.h: Likewise.
275 * sem-media.c, sem-media-switch.c: Likewise.
277 2000-12-05 Ben Elliston <bje@redhat.com>
279 * mloop-compact.in, mloop-media.in: Use @prefix@.
280 * Makefile.in (stamp-mloop-compact): Pass -outfile-suffix option
281 to make generated files safe in the presence of parallel makes.
282 (stamp-mloop-media): Likewise.
284 * decode-media.c, defs-media.h: Regenerate.
286 2000-12-04 Ben Elliston <bje@redhat.com>
288 * sh64-sim.h: Add function prototypes from sh64.c.
290 * Makefile.in (SH64_OBJS): Add ISA variant objects.
291 (SIM_EXTRA_DEPS): Do not depend on opcodes headers.
292 (SH64_INCLUDE_DEPS): Update for ISA variants.
293 (stamp-mloop-compact, stamp-mloop-media): New targets.
294 (decode-compact.o, sem-compact.o): New rules.
295 (decode-media.o, sem-media.o): Likewise.
296 (sh64-clean): Update.
297 (stamp-all, stamp-mloop, stamp-decode, stamp-defs): New targets.
298 (stamp-desc, stamp-cpu): Likewise.
299 (stamp-defs-compact, stamp-defs-media): Likewise.
300 (stamp-decode-compact, stamp-decode-media): Likewise.
302 * defs-compact.h, defs-media.h: Regenerate.
304 2000-12-03 Ben Elliston <bje@redhat.com>
306 * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
307 (sh64_fcmpged, sh64_fcmpges): Likewise.
308 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
310 * sh64.c (sh64_endian): New function.
311 (sh64_fcmpeqd, sh64_fcmpeqs): Return a BI.
312 (sh64_fcmpged, sh64_fcmpges): Likewise.
313 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
314 (sh64_trap): Implement a basic syscall facility.
315 (sh64_trapa): Exit with return code in R5, not 0.
316 (sh64_model_sh5_u_exec): Remove.
317 (sh64_engine_run_full): New function.
318 (sh64_engine_run_fast): Likewise.
319 (shmedia_prepare_run): Likewise.
320 (shcompact_prepare_run): Likewise.
321 (sh64_get_idata): Likewise.
322 (sh64_init_cpu): Likewise.
323 (shmedia_init_cpu): Likewise.
324 (shcompact_init_cpu): Likewise.
325 (sh64_model_init): Likewise.
327 (sh5_imp_properties): Likewise.
328 (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
330 * sem-compact.c, sem-compact-switch.c: Regenerate.
332 2000-12-01 Ben Elliston <bje@redhat.com>
334 * sh64-sim.h (sh64_endian): Declare.
335 * sim-main.h (sim_cia): Use UDI, not USI.
336 (WITH_PROFILE_MODEL_P): Remove.
337 * sim-if.c (sim_sh64_disassemble_insn): Remove.
338 (sh64_disassemble_insn): New function.
339 (sim_open): Use as this CPU's disassembler.
341 * decode.h (WITH_PROFILE_MODEL_P): Undefine.
343 * decode-compact.c, decode-media.c: Regenerate.
344 * defs-compact.h, defs-media.h: Likewise.
345 * sem-compact.c, sem-compact-switch.c: Likewise.
346 * sh-desc.c, sh-desc.h: Likewise.
347 * cpu.c, cpu.h, cpuall.h: Likewise.
349 2000-11-30 Ben Elliston <bje@redhat.com>
351 * arch.c, sh-desc.c, sh-desc.h: Regenerate.
353 * tconfig.in (SIM_HAVE_BIENDIAN): Define.
354 * configure.in (SIM_AC_OPTION_BIGENDIAN): Do not hard-wire a
355 target byte order, but default to big endian.
356 * configure: Regenerate.
358 2000-11-27 Ben Elliston <bje@redhat.com>
360 * sim-main.h (WITH_PROFILE_MODEL_P): Define.
361 * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
363 * sh-desc.c, sh-desc.h: Regenerate.
364 * arch.c, cpu.h, cpuall.h: Regenerate.
365 * decode.h (WITH_PROFILE_MODEL_P): Remove.
367 * mloop-compact.in, mloop-media.in: New files.
368 * decode.h: Likewise.
370 2000-11-26 Ben Elliston <bje@redhat.com>
372 * sem-compact.c, sem-compact-switch.c: Generate.
373 * sem-media.c, sem-media-switch.c: Likewise.
375 2000-11-25 Ben Elliston <bje@redhat.com>
377 * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
379 * arch.c, arch.h, cpuall.h, cpu.c, cpu.h: Generate.
380 * decode-compact.c, decode-compact.h: Likewise.
381 * decode-media.c, decode-media.h: Likewise.
382 * sh64-sim.h: New file.
383 * sim-main.h: Likewise.
385 2000-11-22 Ben Elliston <bje@redhat.com>
387 * sim-if.c: New file.
390 2000-11-16 Ben Elliston <bje@redhat.com>
392 * config.in: New file.
393 * tconfig.in: Likewise.
394 * configure.in: Likewise.
395 * configure: Generate.
396 * Makefile.in: New file.