1 2005-05-02 Corinna Vinschen <vinschen@redhat.com>
3 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
6 2005-04-15 Corinna Vinschen <vinschen@redhat.com>
8 * configure.ac: New file.
9 * configure.in: Remove.
10 * configure: Regenerate.
11 * defs-media.h (sem_fields): Add missing sfmt_ldhil member.
12 * sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
13 (sim_create_inferior): Ditto.
15 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
17 * configure: Regenerate for ../common/aclocal.m4 update.
19 Fri Feb 21 19:49:45 2003 J"orn Rennecke <joern.rennecke@superh.com>
21 * sem-media-switch.c, sem-media.c: Regenerate.
23 2002-06-24 Richard Sandiford <rsandifo@redhat.com>
25 * sh64.c: Update path of "callback.h".
27 2002-06-20 Elena Zannoni <ezannoni@redhat.com>
29 * sh64.c: Include correct file for register numbers.
31 Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
33 * sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
36 2001-07-05 Ben Elliston <bje@redhat.com>
38 * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
39 (stamp-desc): Likewise.
40 (stamp-cpu): Likewise.
41 (stamp-defs-compact): Likewise.
42 (stamp-defs-media): Likewise.
43 (stamp-decode-compact): Likewise.
44 (stamp-decode-media): Likewise.
46 2001-03-30 Ben Elliston <bje@redhat.com>
48 * sim-if.c (sim_open): Set sh64_idesc_{media,compact} to NULL.
49 * sh64-sim.h (sh64_idesc_{compact,media}): Declare extern.
50 * sh64.c (sh64_idesc_{compact,media}): Make non-static.
52 2001-01-30 Ben Elliston <bje@redhat.com>
54 * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
55 (trap_handler): Implement these syscalls.
56 (count_argc): New function.
58 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
60 * sh64.c (trap_handler): Implement time.
62 * sh64.c (fetch_str): New function.
63 (trap_handler): Re-implement write, and implement lseek, read,
66 2001-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
68 * sh64.c (sh64_fetch_register): When fetching the PC, return the
69 PC value and set the LSB according to the current ISA.
71 2001-01-18 Ben Elliston <bje@redhat.com>
73 * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
74 has terminated, not exit!
76 2001-01-12 Ben Elliston <bje@redhat.com>
78 * sh64.c (sh64_fcnvds): Re-implement.
80 * sh64.c: Include "bfd.h".
81 (trap_handler): New function. Consolidate function bodies of
82 sh64_trapa and sh64_compact_trapa.
84 (sh64_compact_trapa): Likewise.
86 2001-01-11 Ben Elliston <bje@redhat.com>
88 * sem-media.c, sem-media-switch.c: Regenerate.
89 * sem-compact.c, sem-compact-switch.c: Likewise.
91 * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
93 * cpu.h, sh-desc.c, sh-desc.h, sh-opc.h: Regenerate.
94 * decode-media.c, decode-media.h, defs-media.h: Likewise.
95 * sem-compact.c, sem-compact-switch.c: Likewise.
96 * sem-media.c, sem-media-switch.c: Likewise.
98 2001-01-10 Ben Elliston <bje@redhat.com>
100 * sim-main.h (CIA_SET): Encode the current instruction set mode
101 when setting the cia.
103 2001-01-08 Ben Elliston <bje@redhat.com>
105 * sh64.c (sh64_store_register): Do not set insn set mode--allow
106 sh64_h_pc_set() to do it.
107 (shmedia_init_cpu): Do not initialise the insn set mode--let the
108 loader set it based on bit 0 of the executable's starting address.
109 (shcompact_init_cpu): Likewise.
110 * mloop-compact.c (sh64_compact_pbb_begin): Emit a warning message
111 about malformed programs which have illegal insns in delay slots.
112 (sh64_compact_pbb_cti_chain): Examine the least significant bit of
113 the new pc, not the current instruction set mode to determine if
114 the next pbb in the chain will consist of SHmedia instructions.
115 * mloop-media.c (sh64_media_pbb_cti_chain): Likewise for SHcompact
116 switches. Set bit 0 when setting the pc for the next SHmedia pbb.
118 * cpu.c, cpu.h: Regenerate.
119 * sem-compact.c, sem-compact-switch.c: Likewise.
120 * sem-media.c, sem-media-switch.c: Likewise.
122 * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
123 not stdio functions to emit output when executing write traps.
125 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
127 * sh64.c (sh64_compact_trapa): Support writing to stderr. Flush
128 output stream after each (compound) write.
130 2001-01-06 Ben Elliston <bje@redhat.com>
132 * sem-media.c, sem-media-switch.c: Regenerate.
134 2001-01-04 Ben Elliston <bje@redhat.com>
136 * sem-compact.c, sem-compact-switch.c: Regenerate.
139 2001-01-03 Ben Elliston <bje@redhat.com>
141 * cpu.c, cpu.h: Regenerate.
142 * sem-media.c, sem-media-switch.c: Likewise.
144 2001-01-02 Ben Elliston <bje@redhat.com>
146 * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
149 * sem-compact.c, sem-compact-switch.c: Regenerate.
151 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
153 * sh64.c (sh64_nsb): Re-implement correctly.
155 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
157 * sh64.c (sh64_nsb): Re-implement.
159 2000-12-27 Ben Elliston <bje@redhat.com>
161 * cpu.c, cpu.h: Regenerate.
162 * sem-compact.c, sem-compact-switch.c: Likewise.
163 * sem-media.c, sem-media-switch.c: Likewise.
164 * sh-desc.c: Likewise.
166 2000-12-26 Ben Elliston <bje@redhat.com>
168 * mloop-compact.in, mloop-media.in: Remove.
169 * mloop-compact.c, mloop-media.c: New files.
170 * eng-compact.c, eng-media.c: Likewise.
171 * Makefile.in (mloop-compact.c): Remove target.
172 (stamp-mloop-compact): Likewise.
173 (mloop-media.c): Likewise.
174 (stamp-mloop-media): Likewise.
175 (sh64-clean): Update.
176 (stamp-mloop): Remove.
178 2000-12-23 Ben Elliston <bje@redhat.com>
180 * sh64.c (sh64_prepare_run): Rename from shmedia_prepare_run.
181 (shcompact_prepare_run): Remove.
182 (sh2_mach, sh3_mach, sh3e_mach, sh4_mach, sh5_mach): Update.
184 2000-12-22 Ben Elliston <bje@redhat.com>
186 * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
188 (sh64_engine_run_full): Only compute idesc tables once.
189 (sh64_engine_run_fast): Likewise.
190 (shmedia_prepare_run): Do nothing.
191 (shcompact_prepare_run): Likewise.
193 * sem-compact.c, sem-compact-switch.c: Regenerate.
194 * sem-media.c, sem-media-switch.c: Likewise.
196 2000-12-19 Ben Elliston <bje@redhat.com>
198 * sem-media.c, sem-media-switch.c: Regenerate.
200 2000-12-15 Ben Elliston <bje@redhat.com>
202 * sh64.c (sh64_store_register): When storing a new PC, set ISA
203 mode based on the value of bit 0.
205 * sh64.c: Include "sim-sh64.h" for GDB interfacing.
206 (sh64_fetch_register): Implement.
207 (sh64_store_register): Likewise.
209 * sh64-sim.h (sh64_fmacs): Declare.
210 (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
212 * sem-media.c, sem-media-switch.c: Regenerate.
214 2000-12-13 Ben Elliston <bje@redhat.com>
216 * sh64-sim.h (sh64_compact_trapa): Renamed from sh64_trapa.
217 (sh64_trapa): Renamed from sh64_trap.
218 * sh64.c (sh64_trapa): Call sh64_compact_trapa for handling.
219 Apply renaming described above.
221 * decode-media.c, decode-media.h, defs-media.h: Regenerate.
222 * sem-media.c sem-media-switch.c: Likewise.
223 * sh-desc.c, sh-desc.h, sh-opc.h: Likewise.
225 2000-12-12 Ben Elliston <bje@redhat.com>
227 * cpu.c, cpu.h, sh-desc.c: Regenerate.
228 * sem-media.c, sem-media-switch.c: Likewise.
229 * sem-compact.c, sem-compact-switch.c: Likewise.
230 * sh64-sim.h (sh64_ftrvs): Declare.
231 * sh64.c (sh64_ftrvs): Bug fixes.
233 * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
234 (sh64_fcmpgts): Likewise.
236 2000-12-11 Ben Elliston <bje@redhat.com>
238 * decode-media.c, decode-media.h: Regenerate.
239 * defs-media.h: Likewise.
240 * sem-media.c, sem-media-switch.c: Likewise.
241 * sh-desc.c: Likewise.
243 2000-12-08 Ben Elliston <bje@redhat.com>
245 * decode-media.c, decode-media.h: Regenerate.
246 * defs-media.h: Likewise.
247 * sem-media.c, sem-media-switch.c: Likewise.
249 2000-12-07 Ben Elliston <bje@redhat.com>
251 * decode-media.c, decode-media.h: Regenerate.
252 * sem-media.c, sem-media-switch.c: Likewise.
254 * defs-media.h: Regenete.
255 * decode-compact.c, decode-media.c: Likewise.
257 2000-12-06 Ben Elliston <bje@redhat.com>
259 * sh64.c (sh64_fcmpund): Return a BI.
260 (sh64_fcmpuns): Likewise.
261 (sh64_nsb): Treat source value as unsigned.
262 (sh64_compact_model_insn_before): New function.
263 (sh64_media_model_insn_before): Likewise.
264 (sh64_compact_model_insn_after): Likewise.
265 (sh64_media_model_insn_after): Likewise.
266 (sh_models): Use sh5_mach for "sh5".
267 * sh64-sim.h: Add missing function prototypes.
269 * cpu.c, cpu.h, defs-media.h, sh-desc.c: Regenerate.
270 * decode-media.c, decode-media.h: Likewise.
271 * sem-media.c, sem-media-switch.c: Likewise.
273 2000-12-05 Ben Elliston <bje@redhat.com>
275 * mloop-compact.in, mloop-media.in: Use @prefix@.
276 * Makefile.in (stamp-mloop-compact): Pass -outfile-suffix option
277 to make generated files safe in the presence of parallel makes.
278 (stamp-mloop-media): Likewise.
280 * decode-media.c, defs-media.h: Regenerate.
282 2000-12-04 Ben Elliston <bje@redhat.com>
284 * sh64-sim.h: Add function prototypes from sh64.c.
286 * Makefile.in (SH64_OBJS): Add ISA variant objects.
287 (SIM_EXTRA_DEPS): Do not depend on opcodes headers.
288 (SH64_INCLUDE_DEPS): Update for ISA variants.
289 (stamp-mloop-compact, stamp-mloop-media): New targets.
290 (decode-compact.o, sem-compact.o): New rules.
291 (decode-media.o, sem-media.o): Likewise.
292 (sh64-clean): Update.
293 (stamp-all, stamp-mloop, stamp-decode, stamp-defs): New targets.
294 (stamp-desc, stamp-cpu): Likewise.
295 (stamp-defs-compact, stamp-defs-media): Likewise.
296 (stamp-decode-compact, stamp-decode-media): Likewise.
298 * defs-compact.h, defs-media.h: Regenerate.
300 2000-12-03 Ben Elliston <bje@redhat.com>
302 * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
303 (sh64_fcmpged, sh64_fcmpges): Likewise.
304 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
306 * sh64.c (sh64_endian): New function.
307 (sh64_fcmpeqd, sh64_fcmpeqs): Return a BI.
308 (sh64_fcmpged, sh64_fcmpges): Likewise.
309 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
310 (sh64_trap): Implement a basic syscall facility.
311 (sh64_trapa): Exit with return code in R5, not 0.
312 (sh64_model_sh5_u_exec): Remove.
313 (sh64_engine_run_full): New function.
314 (sh64_engine_run_fast): Likewise.
315 (shmedia_prepare_run): Likewise.
316 (shcompact_prepare_run): Likewise.
317 (sh64_get_idata): Likewise.
318 (sh64_init_cpu): Likewise.
319 (shmedia_init_cpu): Likewise.
320 (shcompact_init_cpu): Likewise.
321 (sh64_model_init): Likewise.
323 (sh5_imp_properties): Likewise.
324 (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
326 * sem-compact.c, sem-compact-switch.c: Regenerate.
328 2000-12-01 Ben Elliston <bje@redhat.com>
330 * sh64-sim.h (sh64_endian): Declare.
331 * sim-main.h (sim_cia): Use UDI, not USI.
332 (WITH_PROFILE_MODEL_P): Remove.
333 * sim-if.c (sim_sh64_disassemble_insn): Remove.
334 (sh64_disassemble_insn): New function.
335 (sim_open): Use as this CPU's disassembler.
337 * decode.h (WITH_PROFILE_MODEL_P): Undefine.
339 * decode-compact.c, decode-media.c: Regenerate.
340 * defs-compact.h, defs-media.h: Likewise.
341 * sem-compact.c, sem-compact-switch.c: Likewise.
342 * sh-desc.c, sh-desc.h: Likewise.
343 * cpu.c, cpu.h, cpuall.h: Likewise.
345 2000-11-30 Ben Elliston <bje@redhat.com>
347 * arch.c, sh-desc.c, sh-desc.h: Regenerate.
349 * tconfig.in (SIM_HAVE_BIENDIAN): Define.
350 * configure.in (SIM_AC_OPTION_BIGENDIAN): Do not hard-wire a
351 target byte order, but default to big endian.
352 * configure: Regenerate.
354 2000-11-27 Ben Elliston <bje@redhat.com>
356 * sim-main.h (WITH_PROFILE_MODEL_P): Define.
357 * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
359 * sh-desc.c, sh-desc.h: Regenerate.
360 * arch.c, cpu.h, cpuall.h: Regenerate.
361 * decode.h (WITH_PROFILE_MODEL_P): Remove.
363 * mloop-compact.in, mloop-media.in: New files.
364 * decode.h: Likewise.
366 2000-11-26 Ben Elliston <bje@redhat.com>
368 * sem-compact.c, sem-compact-switch.c: Generate.
369 * sem-media.c, sem-media-switch.c: Likewise.
371 2000-11-25 Ben Elliston <bje@redhat.com>
373 * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
375 * arch.c, arch.h, cpuall.h, cpu.c, cpu.h: Generate.
376 * decode-compact.c, decode-compact.h: Likewise.
377 * decode-media.c, decode-media.h: Likewise.
378 * sh64-sim.h: New file.
379 * sim-main.h: Likewise.
381 2000-11-22 Ben Elliston <bje@redhat.com>
383 * sim-if.c: New file.
386 2000-11-16 Ben Elliston <bje@redhat.com>
388 * config.in: New file.
389 * tconfig.in: Likewise.
390 * configure.in: Likewise.
391 * configure: Generate.
392 * Makefile.in: New file.