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