]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/sh64/ChangeLog
This commit was generated by cvs2svn to track changes on a CVS vendor
[thirdparty/binutils-gdb.git] / sim / sh64 / ChangeLog
1 2005-05-02 Corinna Vinschen <vinschen@redhat.com>
2
3 * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
4 inclusion of cgen.h.
5
6 2005-04-15 Corinna Vinschen <vinschen@redhat.com>
7
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.
14
15 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
16
17 * configure: Regenerate for ../common/aclocal.m4 update.
18
19 Fri Feb 21 19:49:45 2003 J"orn Rennecke <joern.rennecke@superh.com>
20
21 * sem-media-switch.c, sem-media.c: Regenerate.
22
23 2002-06-24 Richard Sandiford <rsandifo@redhat.com>
24
25 * sh64.c: Update path of "callback.h".
26
27 2002-06-20 Elena Zannoni <ezannoni@redhat.com>
28
29 * sh64.c: Include correct file for register numbers.
30
31 Fri May 17 14:27:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
32
33 * sim-if.c (sh64_disassemble_insn): Use print_insn_sh instead of
34 print_insn_shl.
35
36 2001-07-05 Ben Elliston <bje@redhat.com>
37
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.
45
46 2001-03-30 Ben Elliston <bje@redhat.com>
47
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.
51
52 2001-01-30 Ben Elliston <bje@redhat.com>
53
54 * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
55 (trap_handler): Implement these syscalls.
56 (count_argc): New function.
57
58 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
59
60 * sh64.c (trap_handler): Implement time.
61
62 * sh64.c (fetch_str): New function.
63 (trap_handler): Re-implement write, and implement lseek, read,
64 open and close.
65
66 2001-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
67
68 * sh64.c (sh64_fetch_register): When fetching the PC, return the
69 PC value and set the LSB according to the current ISA.
70
71 2001-01-18 Ben Elliston <bje@redhat.com>
72
73 * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
74 has terminated, not exit!
75
76 2001-01-12 Ben Elliston <bje@redhat.com>
77
78 * sh64.c (sh64_fcnvds): Re-implement.
79
80 * sh64.c: Include "bfd.h".
81 (trap_handler): New function. Consolidate function bodies of
82 sh64_trapa and sh64_compact_trapa.
83 (sh64_trapa): Use it.
84 (sh64_compact_trapa): Likewise.
85
86 2001-01-11 Ben Elliston <bje@redhat.com>
87
88 * sem-media.c, sem-media-switch.c: Regenerate.
89 * sem-compact.c, sem-compact-switch.c: Likewise.
90
91 * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
92
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.
97
98 2001-01-10 Ben Elliston <bje@redhat.com>
99
100 * sim-main.h (CIA_SET): Encode the current instruction set mode
101 when setting the cia.
102
103 2001-01-08 Ben Elliston <bje@redhat.com>
104
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.
117
118 * cpu.c, cpu.h: Regenerate.
119 * sem-compact.c, sem-compact-switch.c: Likewise.
120 * sem-media.c, sem-media-switch.c: Likewise.
121
122 * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
123 not stdio functions to emit output when executing write traps.
124
125 2001-01-07 Alexandre Oliva <aoliva@redhat.com>
126
127 * sh64.c (sh64_compact_trapa): Support writing to stderr. Flush
128 output stream after each (compound) write.
129
130 2001-01-06 Ben Elliston <bje@redhat.com>
131
132 * sem-media.c, sem-media-switch.c: Regenerate.
133
134 2001-01-04 Ben Elliston <bje@redhat.com>
135
136 * sem-compact.c, sem-compact-switch.c: Regenerate.
137 * cpu.h: Regenerate.
138
139 2001-01-03 Ben Elliston <bje@redhat.com>
140
141 * cpu.c, cpu.h: Regenerate.
142 * sem-media.c, sem-media-switch.c: Likewise.
143
144 2001-01-02 Ben Elliston <bje@redhat.com>
145
146 * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
147 BFD primitives.
148
149 * sem-compact.c, sem-compact-switch.c: Regenerate.
150
151 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
152
153 * sh64.c (sh64_nsb): Re-implement correctly.
154
155 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
156
157 * sh64.c (sh64_nsb): Re-implement.
158
159 2000-12-27 Ben Elliston <bje@redhat.com>
160
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.
165
166 2000-12-26 Ben Elliston <bje@redhat.com>
167
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.
177
178 2000-12-23 Ben Elliston <bje@redhat.com>
179
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.
183
184 2000-12-22 Ben Elliston <bje@redhat.com>
185
186 * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
187 (sh64_dump): Remove.
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.
192
193 * sem-compact.c, sem-compact-switch.c: Regenerate.
194 * sem-media.c, sem-media-switch.c: Likewise.
195
196 2000-12-19 Ben Elliston <bje@redhat.com>
197
198 * sem-media.c, sem-media-switch.c: Regenerate.
199
200 2000-12-15 Ben Elliston <bje@redhat.com>
201
202 * sh64.c (sh64_store_register): When storing a new PC, set ISA
203 mode based on the value of bit 0.
204
205 * sh64.c: Include "sim-sh64.h" for GDB interfacing.
206 (sh64_fetch_register): Implement.
207 (sh64_store_register): Likewise.
208
209 * sh64-sim.h (sh64_fmacs): Declare.
210 (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
211
212 * sem-media.c, sem-media-switch.c: Regenerate.
213
214 2000-12-13 Ben Elliston <bje@redhat.com>
215
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.
220
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.
224
225 2000-12-12 Ben Elliston <bje@redhat.com>
226
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.
232
233 * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
234 (sh64_fcmpgts): Likewise.
235
236 2000-12-11 Ben Elliston <bje@redhat.com>
237
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.
242
243 2000-12-08 Ben Elliston <bje@redhat.com>
244
245 * decode-media.c, decode-media.h: Regenerate.
246 * defs-media.h: Likewise.
247 * sem-media.c, sem-media-switch.c: Likewise.
248
249 2000-12-07 Ben Elliston <bje@redhat.com>
250
251 * decode-media.c, decode-media.h: Regenerate.
252 * sem-media.c, sem-media-switch.c: Likewise.
253
254 * defs-media.h: Regenete.
255 * decode-compact.c, decode-media.c: Likewise.
256
257 2000-12-06 Ben Elliston <bje@redhat.com>
258
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.
268
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.
272
273 2000-12-05 Ben Elliston <bje@redhat.com>
274
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.
279
280 * decode-media.c, defs-media.h: Regenerate.
281
282 2000-12-04 Ben Elliston <bje@redhat.com>
283
284 * sh64-sim.h: Add function prototypes from sh64.c.
285
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.
297
298 * defs-compact.h, defs-media.h: Regenerate.
299
300 2000-12-03 Ben Elliston <bje@redhat.com>
301
302 * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
303 (sh64_fcmpged, sh64_fcmpges): Likewise.
304 (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
305
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.
322 (sh_models): Define.
323 (sh5_imp_properties): Likewise.
324 (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
325
326 * sem-compact.c, sem-compact-switch.c: Regenerate.
327
328 2000-12-01 Ben Elliston <bje@redhat.com>
329
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.
336 * eng.h: New file.
337 * decode.h (WITH_PROFILE_MODEL_P): Undefine.
338
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.
344
345 2000-11-30 Ben Elliston <bje@redhat.com>
346
347 * arch.c, sh-desc.c, sh-desc.h: Regenerate.
348
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.
353
354 2000-11-27 Ben Elliston <bje@redhat.com>
355
356 * sim-main.h (WITH_PROFILE_MODEL_P): Define.
357 * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
358
359 * sh-desc.c, sh-desc.h: Regenerate.
360 * arch.c, cpu.h, cpuall.h: Regenerate.
361 * decode.h (WITH_PROFILE_MODEL_P): Remove.
362
363 * mloop-compact.in, mloop-media.in: New files.
364 * decode.h: Likewise.
365
366 2000-11-26 Ben Elliston <bje@redhat.com>
367
368 * sem-compact.c, sem-compact-switch.c: Generate.
369 * sem-media.c, sem-media-switch.c: Likewise.
370
371 2000-11-25 Ben Elliston <bje@redhat.com>
372
373 * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
374
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.
380
381 2000-11-22 Ben Elliston <bje@redhat.com>
382
383 * sim-if.c: New file.
384 * sh64.c: Likewise.
385
386 2000-11-16 Ben Elliston <bje@redhat.com>
387
388 * config.in: New file.
389 * tconfig.in: Likewise.
390 * configure.in: Likewise.
391 * configure: Generate.
392 * Makefile.in: New file.