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