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