74f89bc9a6bfc2c2553a7b10fa685eec773952cc
[external/binutils.git] / sim / sh64 / ChangeLog
1 2016-01-02  Mike Frysinger  <vapier@gentoo.org>
2
3         * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call.
4
5 2016-01-02  Mike Frysinger  <vapier@gentoo.org>
6
7         * sim-if.c (current_state): Delete.
8         (sim_open): Delete current_state assignment.
9
10 2015-12-27  Mike Frysinger  <vapier@gentoo.org>
11
12         * Makefile.in (SIM_OBJS): Delete sim-hload.o.
13
14 2015-12-26  Mike Frysinger  <vapier@gentoo.org>
15
16         * config.in, configure: Regenerate.
17
18 2015-12-26  Mike Frysinger  <vapier@gentoo.org>
19
20         * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv.
21
22 2015-12-25  Mike Frysinger  <vapier@gentoo.org>
23
24         * Makefile.in (SIM_OBJS): Delete sim-model.o.
25         * tconfig.h: Delete file.
26
27 2015-12-25  Mike Frysinger  <vapier@gentoo.org>
28
29         * arch.c: Rename MACH to SIM_MACH.
30         * cpuall.h: Likewise.
31         * sh64.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to
32         SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL.
33
34 2015-12-25  Mike Frysinger  <vapier@gentoo.org>
35
36         * sim-main.h (WITH_SCACHE_PBB): Move from ...
37         * tconfig.h (WITH_SCACHE_PBB): ... here.
38
39 2015-12-24  Mike Frysinger  <vapier@gentoo.org>
40
41         * tconfig.h (SIM_HANDLES_LMA): Delete.
42
43 2015-12-24  Mike Frysinger  <vapier@gentoo.org>
44
45         * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT,
46         SIM_BREAKPOINT_SIZE): Delete.
47
48 2015-12-24  Mike Frysinger  <vapier@gentoo.org>
49
50         * tconfig.h (WITH_WATCHPOINTS): Delete.
51
52 2015-12-24  Mike Frysinger  <vapier@gentoo.org>
53
54         * tconfig.h (SIM_HAVE_MEM_SIZE): Delete.
55
56 2015-11-15  Mike Frysinger  <vapier@gentoo.org>
57
58         * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and
59         sim-stop.o.
60
61 2015-11-14  Mike Frysinger  <vapier@gentoo.org>
62
63         * sim-if.c (sim_close): Delete.
64
65 2015-06-23  Mike Frysinger  <vapier@gentoo.org>
66
67         * configure: Regenerate.
68
69 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
70
71         * configure: Regenerate.
72
73 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
74
75         * configure: Regenerate.
76
77 2015-06-12  Mike Frysinger  <vapier@gentoo.org>
78
79         * decode-compact.c (sh64_compact_decode): Change TRACE_EXTRACT to
80         CGEN_TRACE_EXTRACT.
81         * decode-media.c: Likewise.
82         * mloop-compact.in (execute): Change TRACE_INSN_INIT to
83         CGEN_TRACE_INSN_INIT, TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI
84         to CGEN_TRACE_INSN_FINI.
85         (sh64_compact_pbb_before): Likewise.
86         (sh64_compact_pbb_after): Change TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI.
87         * mloop-media.in: Likewise.
88         * sem-compact.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT.
89         * sem-compact-switch.c: Likewise.
90         * sem-media.c: Likewise.
91         * sem-media-switch.c: Likewise.
92
93 2015-04-18  Mike Frysinger  <vapier@gentoo.org>
94
95         * sim-main.h (USING_SIM_BASE_H): Delete.
96
97 2015-04-18  Mike Frysinger  <vapier@gentoo.org>
98
99         * sim-main.h (_sim_cpu, SIM_CPU): Delete.
100
101 2015-04-18  Mike Frysinger  <vapier@gentoo.org>
102
103         * sim-main.h (CIA_ADDR): Define.
104
105 2015-04-17  Mike Frysinger  <vapier@gentoo.org>
106
107         * sim-main.h (CIA_GET, CIA_SET): Delete.
108
109 2015-04-15  Mike Frysinger  <vapier@gentoo.org>
110
111         * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
112         * sim-main.h (STATE_CPU): Delete.
113
114 2015-04-15  Mike Frysinger  <vapier@gentoo.org>
115
116         * sim-main.h (struct sim_state): Change cpu to an array of pointers.
117         (STATE_CPU): Handle WITH_SMP.
118
119 2015-04-13  Mike Frysinger  <vapier@gentoo.org>
120
121         * configure: Regenerate.
122
123 2015-04-06  Mike Frysinger  <vapier@gentoo.org>
124
125         * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o.
126
127 2015-03-31  Mike Frysinger  <vapier@gentoo.org>
128
129         * config.in, configure: Regenerate.
130
131 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
132
133         * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
134
135 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
136
137         * configure: Regenerate.
138
139 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
140
141         * configure: Regenerate.
142
143 2015-03-23  Mike Frysinger  <vapier@gentoo.org>
144
145         * configure: Regenerate.
146
147 2015-03-23  Mike Frysinger  <vapier@gentoo.org>
148
149         * configure: Regenerate.
150
151 2015-03-23  Mike Frysinger  <vapier@gentoo.org>
152
153         * Makefile.in (CONFIG_DEVICES): Delete.
154         (SIM_OBJS): Delete CONFIG_DEVICES.
155
156 2015-03-16  Mike Frysinger  <vapier@gentoo.org>
157
158         * aclocal.m4, config.in, configure: Regenerate.
159         * tconfig.in: Rename file ...
160         * tconfig.h: ... here.
161
162 2015-03-15  Mike Frysinger  <vapier@gentoo.org>
163
164         * tconfig.in [HAVE_DV_SOCKSER]: Delete.
165
166 2015-03-14  Mike Frysinger  <vapier@gentoo.org>
167
168         * Makefile.in (SIM_RUN_OBJS): Delete.
169
170 2014-08-23  Hans-Peter Nilsson  <hp@axis.com>
171
172         * configure.ac: Default simulator hardware to off again
173         without emitting errors when off or dv-sockser.o unavailable.
174         * configure: Regenerate.
175
176 2014-08-19  Alan Modra  <amodra@gmail.com>
177
178         * configure: Regenerate.
179
180 2014-08-15  Roland McGrath  <mcgrathr@google.com>
181
182         * configure: Regenerate.
183         * config.in: Regenerate.
184
185 2013-09-23  Alan Modra  <amodra@gmail.com>
186
187         * configure: Regenerate.
188
189 2013-06-03  Mike Frysinger  <vapier@gentoo.org>
190
191         * aclocal.m4, configure: Regenerate.
192
193 2013-03-26  Mike Frysinger  <vapier@gentoo.org>
194
195         * configure: Regenerate.
196
197 2013-03-23  Joel Sherrill  <joel.sherrill@oarcorp.com>
198
199         * configure.ac: Fail if dv-sockser.o not available.
200         Error when --disable-sim-hardware is specified.
201         * configure: Regenerated.
202
203 2012-06-15  Joel Brobecker  <brobecker@adacore.com>
204
205         * config.in, configure: Regenerate.
206
207 2012-05-18  Nick Clifton  <nickc@redhat.com>
208
209         PR 14072
210         * interp.c: Include config.h before system header files.
211
212 2012-03-24  Mike Frysinger  <vapier@gentoo.org>
213
214         * aclocal.m4, config.in, configure: Regenerate.
215
216 2011-12-03  Mike Frysinger  <vapier@gentoo.org>
217
218         * aclocal.m4: New file.
219         * configure: Regenerate.
220
221 2011-10-17  Mike Frysinger  <vapier@gentoo.org>
222
223         * configure.ac: Change include to common/acinclude.m4.
224
225 2011-10-17  Mike Frysinger  <vapier@gentoo.org>
226
227         * configure.ac: Change AC_PREREQ to 2.64.  Delete AC_CONFIG_HEADER
228         call.  Replace common.m4 include with SIM_AC_COMMON.
229         * configure: Regenerate.
230
231 2011-07-05  Mike Frysinger  <vapier@gentoo.org>
232
233         * sim-if.c (sim_do_command): Delete.
234
235 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
236
237         * sh64.c (trap_handler): Change zfree to free.
238
239 2010-10-09  Alan Modra  <amodra@gmail.com>
240
241         * sh-desc.h: Regenerate.
242
243 2010-02-12  Doug Evans  <dje@sebabeach.org>
244
245         * decode-media.c, * decode-media.h: Regenerate.
246
247 2010-02-11  Doug Evans  <dje@sebabeach.org>
248
249         * decode-compact.c, * decode-media.c, * defs-compact.h, * defs-media.h,
250         * sem-compact-switch.c, * sem-compact.c, * sem-media-switch.c,
251         * sem-media.c, * sh-desc.c, * sh-desc.h: Regenerate.
252
253 2010-01-24  Doug Evans  <dje@sebabeach.org>
254
255         * cpu.h: Regenerate.
256
257 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
258
259         * configure: Regenerate.
260
261 2010-01-02  Doug Evans  <dje@sebabeach.org>
262
263         * arch.c, * arch.h, * cpu.c, * cpu.h, * cpuall.h, * decode-compact.c,
264         * decode-compact.h, * decode-media.c, * decode-media.h,
265         * defs-compact.h, * defs-media.h, * sem-compact-switch.c,
266         * sem-compact.c, * sem-media-switch.c, * sem-media.c, * sh-desc.c,
267         * sh-desc.h, * sh-opc.h: Regenerate, update copyright year.
268
269 2009-11-22  Doug Evans  <dje@sebabeach.org>
270
271         * cpu.h: Regenerate.
272         * cpuall.h: Regenerate.
273         * decode-compact.c: Regenerate.
274         * decode-compact.h: Regenerate.
275         * decode-media.c: Regenerate.
276         * decode-media.h: Regenerate.
277         * defs-compact.h: Regenerate.
278         * defs-media.h: Regenerate.
279
280 2009-11-03  Doug Evans  <dje@sebabeach.org>
281
282         * arch.c: Regenerate.
283         * arch.h: Regenerate.
284         * cpu.c: Regenerate.
285         * cpu.h: Regenerate.
286         * cpuall.h: Regenerate.
287         * decode-compact.c: Regenerate.
288         * decode-compact.h: Regenerate.
289         * decode-media.c: Regenerate.
290         * decode-media.h: Regenerate.
291         * defs-compact.h: Regenerate.
292         * defs-media.h: Regenerate.
293         * sem-compact-switch.c: Regenerate.
294         * sem-compact.c: Regenerate.
295         * sem-media-switch.c: Regenerate.
296         * sem-media.c: Regenerate.
297         * sh-desc.c: Regenerate.
298         * sh-opc.h: Regenerate.
299
300         * Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.
301         (sh-desc.o): New rule.
302         (sh-desc.h,sh-desc.c,sh-opc.h): Replaces rule for desc.h.
303         (all generated file rules): Specify generated file with full path.
304
305 2009-10-24  Doug Evans  <dje@sebabeach.org>
306
307         * sh-desc.h: Regenerate.
308
309 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
310
311         * config.in: Regenerate.
312         * configure: Likewise.
313
314         * configure: Regenerate.
315
316 2008-07-11  Hans-Peter Nilsson  <hp@axis.com>
317
318         * configure: Regenerate to track ../common/common.m4 changes.
319         * config.in: Ditto.
320
321 2008-06-06  Vladimir Prus  <vladimir@codesourcery.com>
322             Daniel Jacobowitz  <dan@codesourcery.com>
323             Joseph Myers  <joseph@codesourcery.com>
324
325         * configure: Regenerate.
326
327 2006-12-21  Hans-Peter Nilsson  <hp@axis.com>
328
329         * config.in, configure: Regenerate.
330
331 2006-10-18  Dave Brolley  <brolley@redhat.com>
332
333         * Contribute the following changes:
334
335         2006-06-14  Dave Brolley  <brolley@redhat.com>
336
337         * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
338         (sh64_fpref): New functions.
339         * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
340         (sh64_fpref): New functions.
341         (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a,
342         sh4a_nofpu and sh4al.
343         (sh2e_mach): New MACH.
344         (sh2a_fpu_mach): New MACH.
345         (sh2a_nofpu_mach): New MACH.
346         (sh4_nofpu): New MACH.
347         (sh4a_mach): New MACH.
348         (sh4a_nofpu_mach): New MACH.
349         (sh4al_mach): New MACH.
350         * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass
351         archfile to CGEN script.
352         * arch.c: Regenerated.
353         * arch.h: Regenerated.
354         * cpu.c: Regenerated.
355         * cpu.h: Regenerated.
356         * cpuall.h: Regenerated.
357         * decode-compact.c: Regenerated.
358         * decode-compact.h: Regenerated.
359         * decode-media.c: Regenerated.
360         * decode-media.h: Regenerated.
361         * defs-compact.h: Regenerated.
362         * defs-media.h: Regenerated.
363         * sem-compact-switch.c: Regenerated.
364         * sem-compact.c: Regenerated.
365         * sem-media-switch.c: Regenerated.
366         * sem-media.c: Regenerated.
367         * sh-desc.c: Regenerated.
368         * sh-desc.h: Regenerated.
369         * sh-opc.h: Regenerated.
370
371 2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
372
373         * configure: Regenerated.
374
375 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
376
377         * configure: Regenerated.
378
379 2005-05-02  Corinna Vinschen  <vinschen@redhat.com>
380
381         * sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
382         inclusion of cgen.h.
383
384 2005-04-15  Corinna Vinschen  <vinschen@redhat.com>
385
386         * configure.ac: New file.
387         * configure.in: Remove.
388         * configure: Regenerate.
389         * defs-media.h (sem_fields): Add missing sfmt_ldhil member.
390         * sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
391         (sim_create_inferior): Ditto.
392
393 2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
394
395         * configure: Regenerate for ../common/aclocal.m4 update.
396
397 Fri Feb 21 19:49:45 2003  J"orn Rennecke <joern.rennecke@superh.com>
398
399         * sem-media-switch.c, sem-media.c: Regenerate.
400
401 2002-06-24  Richard Sandiford  <rsandifo@redhat.com>
402
403         * sh64.c: Update path of "callback.h".
404
405 2002-06-20  Elena Zannoni  <ezannoni@redhat.com>
406
407         * sh64.c: Include correct file for register numbers.
408
409 Fri May 17 14:27:41 2002  J"orn Rennecke <joern.rennecke@superh.com>
410
411         * sim-if.c (sh64_disassemble_insn): Use  print_insn_sh instead of
412         print_insn_shl.
413
414 2001-07-05  Ben Elliston  <bje@redhat.com>
415
416         * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR).
417         (stamp-desc): Likewise.
418         (stamp-cpu): Likewise.
419         (stamp-defs-compact): Likewise.
420         (stamp-defs-media): Likewise.
421         (stamp-decode-compact): Likewise.
422         (stamp-decode-media): Likewise.
423
424 2001-03-30  Ben Elliston  <bje@redhat.com>
425
426         * sim-if.c (sim_open): Set sh64_idesc_{media,compact} to NULL.
427         * sh64-sim.h (sh64_idesc_{compact,media}): Declare extern.
428         * sh64.c (sh64_idesc_{compact,media}): Make non-static.
429
430 2001-01-30  Ben Elliston  <bje@redhat.com>
431
432         * sh64.c (SYS_argc, SYS_argn, SYS_argnlen): Define.
433         (trap_handler): Implement these syscalls.
434         (count_argc): New function.
435
436 2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
437
438         * sh64.c (trap_handler): Implement time.
439
440         * sh64.c (fetch_str): New function.
441         (trap_handler): Re-implement write, and implement lseek, read,
442         open and close.
443
444 2001-01-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
445
446         * sh64.c (sh64_fetch_register): When fetching the PC, return the
447         PC value and set the LSB according to the current ISA.
448
449 2001-01-18  Ben Elliston  <bje@redhat.com>
450
451         * sh64.c (trap_handler): Use sim_engine_halt to indicate a program
452         has terminated, not exit!
453
454 2001-01-12  Ben Elliston  <bje@redhat.com>
455
456         * sh64.c (sh64_fcnvds): Re-implement.
457
458         * sh64.c: Include "bfd.h".
459         (trap_handler): New function. Consolidate function bodies of
460         sh64_trapa and sh64_compact_trapa.
461         (sh64_trapa): Use it.
462         (sh64_compact_trapa): Likewise.
463
464 2001-01-11  Ben Elliston  <bje@redhat.com>
465
466         * sem-media.c, sem-media-switch.c: Regenerate.
467         * sem-compact.c, sem-compact-switch.c: Likewise.
468
469         * sh64.c (sh64_trapa): Adhere to SH64 sys call conventions.
470
471         * cpu.h, sh-desc.c, sh-desc.h, sh-opc.h: Regenerate.
472         * decode-media.c, decode-media.h, defs-media.h: Likewise.
473         * sem-compact.c, sem-compact-switch.c: Likewise.
474         * sem-media.c, sem-media-switch.c: Likewise.
475
476 2001-01-10  Ben Elliston  <bje@redhat.com>
477
478         * sim-main.h (CIA_SET): Encode the current instruction set mode
479         when setting the cia.
480
481 2001-01-08  Ben Elliston  <bje@redhat.com>
482
483         * sh64.c (sh64_store_register): Do not set insn set mode--allow
484         sh64_h_pc_set() to do it.
485         (shmedia_init_cpu): Do not initialise the insn set mode--let the
486         loader set it based on bit 0 of the executable's starting address.
487         (shcompact_init_cpu): Likewise.
488         * mloop-compact.c (sh64_compact_pbb_begin): Emit a warning message
489         about malformed programs which have illegal insns in delay slots.
490         (sh64_compact_pbb_cti_chain): Examine the least significant bit of
491         the new pc, not the current instruction set mode to determine if
492         the next pbb in the chain will consist of SHmedia instructions.
493         * mloop-media.c (sh64_media_pbb_cti_chain): Likewise for SHcompact
494         switches. Set bit 0 when setting the pc for the next SHmedia pbb.
495
496         * cpu.c, cpu.h: Regenerate.
497         * sem-compact.c, sem-compact-switch.c: Likewise.
498         * sem-media.c, sem-media-switch.c: Likewise.
499
500         * sh64.c (sh64_compact_trapa): Use sim_io_write_{stdout,error}(),
501         not stdio functions to emit output when executing write traps.
502
503 2001-01-07  Alexandre Oliva  <aoliva@redhat.com>
504
505         * sh64.c (sh64_compact_trapa): Support writing to stderr.  Flush
506         output stream after each (compound) write.
507
508 2001-01-06  Ben Elliston  <bje@redhat.com>
509
510         * sem-media.c, sem-media-switch.c: Regenerate.
511
512 2001-01-04  Ben Elliston  <bje@redhat.com>
513
514         * sem-compact.c, sem-compact-switch.c: Regenerate.
515         * cpu.h: Regenerate.
516
517 2001-01-03  Ben Elliston  <bje@redhat.com>
518
519         * cpu.c, cpu.h: Regenerate.
520         * sem-media.c, sem-media-switch.c: Likewise.
521
522 2001-01-02  Ben Elliston  <bje@redhat.com>
523
524         * sim-if.c (sh64_disassemble_insn): Set arch and mach fields using
525         BFD primitives.
526
527         * sem-compact.c, sem-compact-switch.c: Regenerate.
528
529 2000-12-30  Alexandre Oliva  <aoliva@redhat.com>
530
531         * sh64.c (sh64_nsb): Re-implement correctly.
532
533 2000-12-26  Alexandre Oliva  <aoliva@redhat.com>
534
535         * sh64.c (sh64_nsb): Re-implement.
536
537 2000-12-27  Ben Elliston  <bje@redhat.com>
538
539         * cpu.c, cpu.h: Regenerate.
540         * sem-compact.c, sem-compact-switch.c: Likewise.
541         * sem-media.c, sem-media-switch.c: Likewise.
542         * sh-desc.c: Likewise.
543
544 2000-12-26  Ben Elliston  <bje@redhat.com>
545
546         * mloop-compact.in, mloop-media.in: Remove.
547         * mloop-compact.c, mloop-media.c: New files.
548         * eng-compact.c, eng-media.c: Likewise.
549         * Makefile.in (mloop-compact.c): Remove target.
550         (stamp-mloop-compact): Likewise.
551         (mloop-media.c): Likewise.
552         (stamp-mloop-media): Likewise.
553         (sh64-clean): Update.
554         (stamp-mloop): Remove.
555
556 2000-12-23  Ben Elliston  <bje@redhat.com>
557
558         * sh64.c (sh64_prepare_run): Rename from shmedia_prepare_run.
559         (shcompact_prepare_run): Remove.
560         (sh2_mach, sh3_mach, sh3e_mach, sh4_mach, sh5_mach): Update.
561
562 2000-12-22  Ben Elliston  <bje@redhat.com>
563
564         * sh64.c (sh64_idesc_media, sh64_idesc_compact): New variables.
565         (sh64_dump): Remove.
566         (sh64_engine_run_full): Only compute idesc tables once.
567         (sh64_engine_run_fast): Likewise.
568         (shmedia_prepare_run): Do nothing.
569         (shcompact_prepare_run): Likewise.
570
571         * sem-compact.c, sem-compact-switch.c: Regenerate.
572         * sem-media.c, sem-media-switch.c: Likewise.
573
574 2000-12-19  Ben Elliston  <bje@redhat.com>
575
576         * sem-media.c, sem-media-switch.c: Regenerate.
577
578 2000-12-15  Ben Elliston  <bje@redhat.com>
579
580         * sh64.c (sh64_store_register): When storing a new PC, set ISA
581         mode based on the value of bit 0.
582
583         * sh64.c: Include "sim-sh64.h" for GDB interfacing.
584         (sh64_fetch_register): Implement.
585         (sh64_store_register): Likewise.
586
587         * sh64-sim.h (sh64_fmacs): Declare.
588         (sh64_ftrcdl, sh64_ftrcdq, sh64_ftrcsl): Likewise.
589
590         * sem-media.c, sem-media-switch.c: Regenerate.
591
592 2000-12-13  Ben Elliston  <bje@redhat.com>
593
594         * sh64-sim.h (sh64_compact_trapa): Renamed from sh64_trapa.
595         (sh64_trapa): Renamed from sh64_trap.
596         * sh64.c (sh64_trapa): Call sh64_compact_trapa for handling.
597         Apply renaming described above.
598
599         * decode-media.c, decode-media.h, defs-media.h: Regenerate.
600         * sem-media.c sem-media-switch.c: Likewise.
601         * sh-desc.c, sh-desc.h, sh-opc.h: Likewise.
602
603 2000-12-12  Ben Elliston  <bje@redhat.com>
604
605         * cpu.c, cpu.h, sh-desc.c: Regenerate.
606         * sem-media.c, sem-media-switch.c: Likewise.
607         * sem-compact.c, sem-compact-switch.c: Likewise.
608         * sh64-sim.h (sh64_ftrvs): Declare.
609         * sh64.c (sh64_ftrvs): Bug fixes.
610
611         * sh64.c (sh64_fcmpgtd): Fix order of arguments to sim_fpu_is_gt.
612         (sh64_fcmpgts): Likewise.
613
614 2000-12-11  Ben Elliston  <bje@redhat.com>
615
616         * decode-media.c, decode-media.h: Regenerate.
617         * defs-media.h: Likewise.
618         * sem-media.c, sem-media-switch.c: Likewise.
619         * sh-desc.c: Likewise.
620
621 2000-12-08  Ben Elliston  <bje@redhat.com>
622
623         * decode-media.c, decode-media.h: Regenerate.
624         * defs-media.h: Likewise.
625         * sem-media.c, sem-media-switch.c: Likewise.
626
627 2000-12-07  Ben Elliston  <bje@redhat.com>
628
629         * decode-media.c, decode-media.h: Regenerate.
630         * sem-media.c, sem-media-switch.c: Likewise.
631
632         * defs-media.h: Regenete.
633         * decode-compact.c, decode-media.c: Likewise.
634
635 2000-12-06  Ben Elliston  <bje@redhat.com>
636
637         * sh64.c (sh64_fcmpund): Return a BI.
638         (sh64_fcmpuns): Likewise.
639         (sh64_nsb): Treat source value as unsigned.
640         (sh64_compact_model_insn_before): New function.
641         (sh64_media_model_insn_before): Likewise.
642         (sh64_compact_model_insn_after): Likewise.
643         (sh64_media_model_insn_after): Likewise.
644         (sh_models): Use sh5_mach for "sh5".
645         * sh64-sim.h: Add missing function prototypes.
646
647         * cpu.c, cpu.h, defs-media.h, sh-desc.c: Regenerate.
648         * decode-media.c, decode-media.h: Likewise.
649         * sem-media.c, sem-media-switch.c: Likewise.
650
651 2000-12-05  Ben Elliston  <bje@redhat.com>
652
653         * mloop-compact.in, mloop-media.in: Use @prefix@.
654         * Makefile.in (stamp-mloop-compact): Pass -outfile-suffix option
655         to make generated files safe in the presence of parallel makes.
656         (stamp-mloop-media): Likewise.
657
658         * decode-media.c, defs-media.h: Regenerate.
659
660 2000-12-04  Ben Elliston  <bje@redhat.com>
661
662         * sh64-sim.h: Add function prototypes from sh64.c.
663
664         * Makefile.in (SH64_OBJS): Add ISA variant objects.
665         (SIM_EXTRA_DEPS): Do not depend on opcodes headers.
666         (SH64_INCLUDE_DEPS): Update for ISA variants.
667         (stamp-mloop-compact, stamp-mloop-media): New targets.
668         (decode-compact.o, sem-compact.o): New rules.
669         (decode-media.o, sem-media.o): Likewise.
670         (sh64-clean): Update.
671         (stamp-all, stamp-mloop, stamp-decode, stamp-defs): New targets.
672         (stamp-desc, stamp-cpu): Likewise.
673         (stamp-defs-compact, stamp-defs-media): Likewise.
674         (stamp-decode-compact, stamp-decode-media): Likewise.
675
676         * defs-compact.h, defs-media.h: Regenerate.
677
678 2000-12-03  Ben Elliston  <bje@redhat.com>
679
680         * sh64-sim.h (sh64_fcmpeqd, sh64_fcmpeqs): Declare.
681         (sh64_fcmpged, sh64_fcmpges): Likewise.
682         (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
683
684         * sh64.c (sh64_endian): New function.
685         (sh64_fcmpeqd, sh64_fcmpeqs): Return a BI.
686         (sh64_fcmpged, sh64_fcmpges): Likewise.
687         (sh64_fcmpgtd, sh64_fcmpgts): Likewise.
688         (sh64_trap): Implement a basic syscall facility.
689         (sh64_trapa): Exit with return code in R5, not 0.
690         (sh64_model_sh5_u_exec): Remove.
691         (sh64_engine_run_full): New function.
692         (sh64_engine_run_fast): Likewise.
693         (shmedia_prepare_run): Likewise.
694         (shcompact_prepare_run): Likewise.
695         (sh64_get_idata): Likewise.
696         (sh64_init_cpu): Likewise.
697         (shmedia_init_cpu): Likewise.
698         (shcompact_init_cpu): Likewise.
699         (sh64_model_init): Likewise.
700         (sh_models): Define.
701         (sh5_imp_properties): Likewise.
702         (sh2_mach, sh3_mach, sh4_mach, sh5_mach): Define.
703
704         * sem-compact.c, sem-compact-switch.c: Regenerate.
705
706 2000-12-01  Ben Elliston  <bje@redhat.com>
707
708         * sh64-sim.h (sh64_endian): Declare.
709         * sim-main.h (sim_cia): Use UDI, not USI.
710         (WITH_PROFILE_MODEL_P): Remove.
711         * sim-if.c (sim_sh64_disassemble_insn): Remove.
712         (sh64_disassemble_insn): New function.
713         (sim_open): Use as this CPU's disassembler.
714         * eng.h: New file.
715         * decode.h (WITH_PROFILE_MODEL_P): Undefine.
716
717         * decode-compact.c, decode-media.c: Regenerate.
718         * defs-compact.h, defs-media.h: Likewise.
719         * sem-compact.c, sem-compact-switch.c: Likewise.
720         * sh-desc.c, sh-desc.h: Likewise.
721         * cpu.c, cpu.h, cpuall.h: Likewise.
722
723 2000-11-30  Ben Elliston  <bje@redhat.com>
724
725         * arch.c, sh-desc.c, sh-desc.h: Regenerate.
726
727         * tconfig.in (SIM_HAVE_BIENDIAN): Define.
728         * configure.in (SIM_AC_OPTION_BIGENDIAN): Do not hard-wire a
729         target byte order, but default to big endian.
730         * configure: Regenerate.
731
732 2000-11-27  Ben Elliston  <bje@redhat.com>
733
734         * sim-main.h (WITH_PROFILE_MODEL_P): Define.
735         * sh64-sim.h (ISM_COMPACT, ISM_MEDIA): New enums.
736
737         * sh-desc.c, sh-desc.h: Regenerate.
738         * arch.c, cpu.h, cpuall.h: Regenerate.
739         * decode.h (WITH_PROFILE_MODEL_P): Remove.
740
741         * mloop-compact.in, mloop-media.in: New files.
742         * decode.h: Likewise.
743
744 2000-11-26  Ben Elliston  <bje@redhat.com>
745
746         * sem-compact.c, sem-compact-switch.c: Generate.
747         * sem-media.c, sem-media-switch.c: Likewise.
748
749 2000-11-25  Ben Elliston  <bje@redhat.com>
750
751         * sh-desc.c, sh-desc.h, sh-opc.h: Generate.
752
753         * arch.c, arch.h, cpuall.h, cpu.c, cpu.h: Generate.
754         * decode-compact.c, decode-compact.h: Likewise.
755         * decode-media.c, decode-media.h: Likewise.
756         * sh64-sim.h: New file.
757         * sim-main.h: Likewise.
758
759 2000-11-22  Ben Elliston  <bje@redhat.com>
760
761         * sim-if.c: New file.
762         * sh64.c: Likewise.
763
764 2000-11-16  Ben Elliston  <bje@redhat.com>
765
766         * config.in: New file.
767         * tconfig.in: Likewise.
768         * configure.in: Likewise.
769         * configure: Generate.
770         * Makefile.in: New file.