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