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