]>
Commit | Line | Data |
---|---|---|
9bbf6f91 MF |
1 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
2 | ||
3 | * configure: Regenerate. | |
4 | ||
77cf2ef5 MF |
5 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
6 | ||
7 | * interp.c (sim_open): Update sim_parse_args comment. | |
8 | ||
0cb8d851 MF |
9 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
10 | ||
11 | * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. | |
12 | * configure: Regenerate. | |
13 | ||
1ac72f06 MF |
14 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
15 | ||
16 | * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to | |
17 | LITTLE. | |
18 | * configure: Regenerate. | |
19 | ||
e1211e55 MF |
20 | 2015-12-30 Mike Frysinger <vapier@gentoo.org> |
21 | ||
22 | * wrapper.c (mn10300_reg_store, mn10300_reg_fetch): Define. | |
23 | (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. | |
24 | (sim_store_register): Rename to ... | |
25 | (mn10300_reg_store): ... this. | |
26 | (sim_fetch_register): Rename to ... | |
27 | (mn10300_reg_fetch): ... this. | |
28 | ||
5e744ef8 MF |
29 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
30 | ||
31 | * Makefile.in (MN10300_OBJS): Delete sim-hload.o. | |
32 | ||
1b393626 MF |
33 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
34 | ||
35 | * config.in, configure: Regenerate. | |
36 | ||
26936211 MF |
37 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
38 | ||
39 | * sim-main.h (SIM_HANDLES_LMA): Delete. | |
40 | ||
84e8e361 MF |
41 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
42 | ||
43 | * sim-main.h (WITH_WATCHPOINTS): Delete. | |
44 | ||
d320201d MF |
45 | 2015-11-21 Mike Frysinger <vapier@gentoo.org> |
46 | ||
47 | * interp.c (mn10300_callback): Delete. | |
48 | (sim_open): Delete mn10300_callback assignment. | |
49 | (program_interrupt): Call sim_io_printf. | |
50 | * mn10300_sim.h (mn10300_callback): Delete. | |
51 | ||
c389945b MF |
52 | 2015-11-17 Mike Frysinger <vapier@gentoo.org> |
53 | ||
54 | * sim-main.h (WITH_CORE): Delete. | |
55 | ||
797eee42 MF |
56 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
57 | ||
58 | * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. | |
59 | ||
6e4f085c MF |
60 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
61 | ||
62 | * interp.c (sim_close): Delete. | |
63 | ||
8d0978fb MF |
64 | 2015-06-23 Mike Frysinger <vapier@gentoo.org> |
65 | ||
66 | * configure: Regenerate. | |
67 | ||
7d5c6c43 MF |
68 | 2015-06-17 Mike Frysinger <vapier@gentoo.org> |
69 | ||
70 | * op_utils.c (do_syscall): Replace call to cb_syscall with | |
71 | sim_syscall_multi. | |
72 | ||
61a0c964 MF |
73 | 2015-06-17 Mike Frysinger <vapier@gentoo.org> |
74 | ||
75 | * mn10300_sim.h (syscall_read_mem, syscall_write_mem): Delete. | |
76 | * op_utils.c: Include sim-syscall.h. | |
77 | (syscall_read_mem, syscall_write_mem): Delete. | |
78 | (do_syscall): Change syscall_read_mem/syscall_write_mem | |
79 | to sim_syscall_read_mem/sim_syscall_write_mem. Set syscall.p2. | |
80 | ||
a3487082 MF |
81 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
82 | ||
83 | * configure: Regenerate. | |
306f4178 MF |
84 | |
85 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> | |
86 | ||
87 | * configure: Regenerate. | |
a3487082 | 88 | |
926b1cd8 MF |
89 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
90 | ||
91 | * interp.c (get_byte, get_half, get_word, put_byte, put_half, | |
92 | put_word): Delete. | |
93 | (sim_fetch_register): Inline put_word call. | |
94 | (sim_store_register): Inline get_word call. | |
95 | * mn10300_sim.h (struct _state): Delete mem member. | |
96 | (OP, Simops, get_byte, get_half, get_word, put_byte, put_half, | |
97 | put_word, map): Delete. | |
98 | * op_utils.c (MEMPTR): Delete. | |
99 | ||
2cc78d4d MF |
100 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
101 | ||
102 | * interp.c (round_64, fpu_status_ok): Add static. | |
103 | ||
96eaf29e MF |
104 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
105 | ||
106 | * interp.c (mn10300_debug): Delete. | |
107 | * mn10300_sim.h (DEBUG_TRACE, DEBUG_VALUES, mn10300_debug): Delete. | |
108 | (struct _state): Delete exception and exited members. | |
109 | [_WIN32] (SIGTRAP, SIGQUIT): Delete. | |
110 | * op_utils.c (do_syscall): Call sim_engine_halt instead of setting | |
111 | State.exception. | |
112 | ||
b0e4c8a5 MF |
113 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
114 | ||
115 | * mn10300_sim.h (uint8, int8, uint16, int16, uint32, int32): Typedef | |
116 | in terms of unsigned8, signed8, unsigned16, signed16, unsigned32, | |
117 | and signed32 respectively. | |
118 | ||
5d19c366 MF |
119 | 2015-06-11 Mike Frysinger <vapier@gentoo.org> |
120 | ||
121 | * interp.c (INLINE): Delete define. | |
122 | * mn10300_sim.h (INLINE): Likewise. | |
123 | ||
20bca71d MF |
124 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
125 | ||
126 | * sim-main.h (SIM_CPU): Delete. | |
127 | ||
7e83aa92 MF |
128 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
129 | ||
130 | * sim-main.h (sim_cia): Delete. | |
131 | (SIM_ADDR): Delete comment. | |
132 | ||
034685f9 MF |
133 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
134 | ||
135 | * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Change CIA_GET to | |
136 | CPU_PC_GET and CIA_SET to CPU_PC_SET. | |
137 | * interp.c (sim_create_inferior): Change CIA_SET to CPU_PC_SET. | |
138 | (program_interrupt): Change CIA_GET to CPU_PC_GET and CIA_SET to | |
139 | CPU_PC_SET. | |
140 | (mn10300_cpu_exception_trigger): Change CIA_SET to CPU_PC_SET. | |
141 | (mn10300_cpu_exception_suspend): Likewise. | |
142 | (mn10300_cpu_exception_resume): Likewise. | |
143 | * sim-main.h (CIA_GET, CIA_SET): Delete. | |
144 | ||
78e9aa70 MF |
145 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
146 | ||
147 | * Makefile.in (MN10300_OBJS): Delete sim-cpu.o. | |
148 | * sim-main.h (STATE_CPU): Delete. | |
149 | ||
bf12d44e MF |
150 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
151 | ||
152 | * configure: Regenerate. | |
153 | ||
64f14c97 MF |
154 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
155 | ||
156 | * Makefile.in (MN10300_OBJS): Add sim-cpu.o. | |
157 | * interp.c (mn10300_pc_get, mn10300_pc_set): New functions. | |
158 | (sim_open): Declare new local var i. Call sim_cpu_alloc_all. | |
159 | Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. | |
160 | (sim_pc_get): Delete. | |
161 | * sim-main.h (null_cia, NULL_CIA): Delete. | |
162 | (SIM_CPU): Define. | |
163 | (struct sim_state): Change cpu to an array of pointers. | |
164 | (STATE_CPU): Drop & and handle WITH_SMP. | |
165 | ||
122bbfb5 MF |
166 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
167 | ||
168 | * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. | |
169 | ||
aadc9410 MF |
170 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
171 | ||
172 | * config.in, configure: Regenerate. | |
173 | ||
05f53ed6 MF |
174 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
175 | ||
176 | * interp.c (sim_pc_get): New function. | |
177 | ||
30452bbe MF |
178 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
179 | ||
180 | * configure: Regenerate. | |
181 | ||
66b0e85d MF |
182 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
183 | ||
184 | * Makefile.in (MN10300_OBJS): Delete dv-sockser.o. | |
185 | ||
64dd13df MF |
186 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
187 | ||
188 | * configure: Regenerate. | |
189 | ||
49cd1634 MF |
190 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
191 | ||
192 | * configure: Regenerate. | |
193 | ||
4af3e7e0 MF |
194 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
195 | ||
196 | * configure: Regenerate. | |
197 | ||
3649cb06 MF |
198 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
199 | ||
200 | * configure: Regenerate. | |
201 | * configure.ac: Delete SIM_DV_SOCKSER_O check. | |
202 | ||
ae7d0cac MF |
203 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
204 | ||
205 | * config.in, configure: Regenerate. | |
206 | ||
8406bb59 MF |
207 | 2015-03-15 Mike Frysinger <vapier@gentoo.org> |
208 | ||
209 | * tconfig.in: Delete file. | |
210 | ||
465fb143 MF |
211 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
212 | ||
213 | * Makefile.in (SIM_RUN_OBJS): Delete. | |
214 | ||
5cddc23a MF |
215 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
216 | ||
217 | * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h & | |
218 | string.h & strings.h & time.h. | |
219 | * aclocal.m4, configure: Regenerate. | |
220 | ||
2974be62 AM |
221 | 2014-08-19 Alan Modra <amodra@gmail.com> |
222 | ||
223 | * configure: Regenerate. | |
224 | ||
faa743bb RM |
225 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
226 | ||
227 | * configure: Regenerate. | |
228 | * config.in: Regenerate. | |
229 | ||
1a8a700e MF |
230 | 2014-03-04 Mike Frysinger <vapier@gentoo.org> |
231 | ||
232 | * configure: Regenerate. | |
233 | ||
bf3d9781 AM |
234 | 2013-09-23 Alan Modra <amodra@gmail.com> |
235 | ||
236 | * configure: Regenerate. | |
237 | ||
31e6ad7d MF |
238 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
239 | ||
240 | * aclocal.m4, configure: Regenerate. | |
241 | ||
d3685d60 TT |
242 | 2013-05-10 Freddie Chopin <freddie_chopin@op.pl> |
243 | ||
244 | * configure: Rebuild. | |
245 | ||
1517bd27 MF |
246 | 2013-03-26 Mike Frysinger <vapier@gentoo.org> |
247 | ||
248 | * configure: Regenerate. | |
249 | ||
fb61c40a JS |
250 | 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com> |
251 | ||
252 | * configure.ac: Fail if dv-sockser.o not available. | |
253 | Error when --disable-sim-hardware is specified. | |
254 | * tconfig.in: Conditionalize use of dv_sockser_install. | |
255 | * configure: Regenerated. | |
256 | * config.in: Regenerated. | |
257 | ||
e8c21678 HPN |
258 | 2012-06-17 Hans-Peter Nilsson <hp@axis.com> |
259 | ||
260 | * interp.c: Include config.h first. Do not include sysdep.h. | |
261 | ||
5f3ef9d0 JB |
262 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
263 | ||
264 | * config.in, configure: Regenerate. | |
265 | ||
2232061b MF |
266 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
267 | ||
268 | * aclocal.m4, config.in, configure: Regenerate. | |
269 | ||
f95586a4 KB |
270 | 2012-02-16 Kevin Buettner <kevinb@redhat.com> |
271 | ||
272 | * interp.c (sim_fetch_register): Return length, not -1. | |
273 | ||
12c3e59c JB |
274 | 2012-01-02 Joel Brobecker <brobecker@adacore.com> |
275 | ||
276 | * sim-main.h: Reformat copyright header. | |
277 | ||
db2e4d67 MF |
278 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
279 | ||
280 | * aclocal.m4: New file. | |
281 | * configure: Regenerate. | |
282 | ||
481d7981 MF |
283 | 2011-11-07 Mike Frysinger <vapier@gentoo.org> |
284 | ||
285 | PR sim/9302 | |
286 | * dv-mn103iop.c (write_dedicated_control_reg): Convert && to &. | |
287 | ||
4399a56b MF |
288 | 2011-10-19 Mike Frysinger <vapier@gentoo.org> |
289 | ||
290 | * configure: Regenerate after common/acinclude.m4 update. | |
291 | ||
9c082ca8 MF |
292 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
293 | ||
294 | * configure.ac: Change include to common/acinclude.m4. | |
295 | ||
6ffe910a MF |
296 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
297 | ||
298 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER | |
299 | call. Replace common.m4 include with SIM_AC_COMMON. | |
300 | * configure: Regenerate. | |
301 | ||
2419798b MF |
302 | 2011-07-05 Mike Frysinger <vapier@gentoo.org> |
303 | ||
304 | * interp.c (sim_do_command): Delete. | |
305 | ||
be07a3d3 NC |
306 | 2011-06-20 Nick Clifton <nickc@redhat.com> |
307 | ||
308 | * am33.igen (sub Rm,Rn,Rd): Fix computation of carry flag. | |
309 | ||
dae477fe AB |
310 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
311 | ||
312 | * interp.c (sim_store_register): Update return value to | |
313 | match new API. | |
314 | ||
952ad68f MF |
315 | 2010-04-19 Mike Frysinger <vapier@gentoo.org> |
316 | ||
317 | * dv-mn103ser.c (sockser_addr, USE_SOCKSER_P): Delete | |
318 | (do_polling_event): Change USE_SOCKSER_P to dv_sockser_status. | |
319 | (read_status_reg): Likewise. | |
320 | (write_txb): Likewise. | |
321 | ||
3725885a RW |
322 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
323 | ||
324 | * configure: Regenerate. | |
325 | ||
d6416cdc RW |
326 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
327 | ||
81ecdfbb RW |
328 | * config.in: Regenerate. |
329 | * configure: Likewise. | |
330 | ||
d6416cdc RW |
331 | * configure: Regenerate. |
332 | ||
b5bd9624 HPN |
333 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
334 | ||
335 | * configure: Regenerate to track ../common/common.m4 changes. | |
336 | * config.in: Ditto. | |
337 | ||
6efef468 | 338 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
72f4393d L |
339 | Daniel Jacobowitz <dan@codesourcery.com> |
340 | Joseph Myers <joseph@codesourcery.com> | |
6efef468 JM |
341 | |
342 | * configure: Regenerate. | |
343 | ||
edc5d9ec HPN |
344 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
345 | ||
346 | * acconfig.h: Remove. | |
347 | * config.in: Regenerate. | |
348 | ||
e85e3205 RE |
349 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
350 | ||
351 | * configure: Regenerated. | |
352 | ||
2f0122dc DJ |
353 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
354 | ||
355 | * configure: Regenerated. | |
356 | ||
20e95c23 DJ |
357 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
358 | ||
359 | * configure: Regenerated. | |
360 | ||
b3a3ffef HPN |
361 | 2006-03-29 Hans-Peter Nilsson <hp@axis.com> |
362 | ||
363 | * configure: Regenerate. | |
364 | ||
2b193c4a MK |
365 | 2005-03-23 Mark Kettenis <kettenis@gnu.org> |
366 | ||
367 | * configure: Regenerate. | |
368 | ||
35695fd6 AC |
369 | 2005-01-14 Andrew Cagney <cagney@gnu.org> |
370 | ||
371 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add | |
372 | explicit call to AC_CONFIG_HEADER. | |
373 | * configure: Regenerate. | |
374 | ||
f0569246 AC |
375 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
376 | ||
377 | * configure.ac: Update to use ../common/common.m4. | |
378 | * configure: Re-generate. | |
379 | ||
38f48d72 AC |
380 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
381 | ||
382 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
383 | ||
b7026657 AC |
384 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
385 | ||
386 | * configure.ac: Rename configure.in, require autoconf 2.59. | |
387 | * configure: Re-generate. | |
388 | ||
379832de HPN |
389 | 2004-12-08 Hans-Peter Nilsson <hp@axis.com> |
390 | ||
391 | * configure: Regenerate for ../common/aclocal.m4 update. | |
392 | ||
599e0b9e AO |
393 | 2004-06-26 Alexandre Oliva <aoliva@redhat.com> |
394 | ||
c76b4bab AO |
395 | 2000-08-07 Graham Stott <grahams@cygnus.co.uk> |
396 | * am33-2.igen (fmadd, fmsub, fmnadd, fmnsub): Correct typo. | |
397 | 2000-05-29 Alexandre Oliva <aoliva@cygnus.com> | |
398 | * interp.c (fpu_disabled_exception, fpu_unimp_exception, | |
399 | fpu_check_signal_exception): Take additional state arguments. | |
400 | Print exception type and call program_interrupt. Adjust callers. | |
401 | (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, | |
402 | fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Take additional | |
403 | arguments. | |
404 | * mn10300_sim.h (fpu_disabled_exception, fpu_unimp_exception, | |
405 | fpu_check_signal_exception): Adjust prototypes. | |
406 | (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, | |
407 | fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Likewise. | |
408 | * am33-2.igen: Adjust calls. | |
409 | 2000-05-19 Alexandre Oliva <aoliva@cygnus.com> | |
410 | * op_utils.c (cmp2fcc): Moved... | |
411 | * interp.c: ... here. | |
412 | 2000-05-18 Alexandre Oliva <aoliva@cygnus.com> | |
413 | * am33-2.igen: Use `unsigned32', `signed32', `unsigned64' or | |
414 | `signed64' where type width is relevant. | |
415 | 2000-05-15 Alexandre Oliva <aoliva@cygnus.com> | |
416 | * mn10300_sim.h: Include sim-fpu.h. | |
417 | (FD2FPU, FPU2FD): Enclose the FD argument in parentheses. | |
418 | (fpu_check_signal_exception): Declare. | |
419 | (struct fp_prec_t, fp_single_prec, fp_double_prec): Likewise. | |
420 | (FP_SINGLE, FP_DOUBLE): Shorthands for fp_*_prec. | |
421 | (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, | |
422 | fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Declare. | |
423 | * interp.c (fpu_disabled_exception): Document. | |
424 | (fpu_unimp_exception): Likewise. | |
425 | (fpu_check_signal_exception): Define. | |
426 | (reg2val_32, round_32, val2reg_32, fp_single_prec): Likewise. | |
427 | (reg2val_64, round_64, val2reg_64, fp_double_prec): Likewise. | |
428 | (REG2VAL, ROUND, VAL2REG): Define shorthands. | |
429 | (fpu_status_ok): Define. | |
430 | (fpu_rsqrt, fpu_cmp, fpu_add, fpu_sub, fpu_mul, fpu_div, | |
431 | fpu_fmadd, fpu_fmsub, fpu_fnmadd, fpu_fnmsub): Define. | |
432 | * am33-2.igen (frsqrt, fcmp, fadd, fsub, fmul, fdiv, | |
433 | fmadd, fmsub, fnmadd, fnmsub): Use new functions. | |
434 | 2000-04-27 Alexandre Oliva <aoliva@cygnus.com> | |
435 | * interp.c (sim_create_inferior): Set PSW bit to enable FP insns | |
436 | if architecture is AM33/2.0. | |
437 | * am33.igen: Include am33-2.igen. | |
438 | 2000-04-23 Alexandre Oliva <aoliva@cygnus.com> | |
439 | * mn10300.igen (movm, call, ret, retf): Check for am33_2 too. | |
440 | * am33.igen (movm): Likewise. | |
441 | 2000-04-19 Alexandre Oliva <aoliva@cygnus.com> | |
442 | * am33.igen: Added `*am33_2' to some instructions that were | |
443 | missing it. | |
444 | 2000-04-07 Alexandre Oliva <aoliva@cygnus.com> | |
445 | * am33-2.igen: New file. All insns implemented, but FP flags are | |
446 | only set for fcmp, exceptional conditions are not handled yet. | |
447 | * Makefile.in (IGEN_INSN): Added am33-2.igen. | |
448 | (tmp-igen): Added -M am33_2. | |
449 | * mn10300.igen, am33.igen: Added `*am33_2' to all insns. | |
450 | * gencode.c: Support FMT_D3. | |
451 | * mn10300_sim.h (dword): New type. | |
452 | (struct _state): Added fpregs. | |
453 | (REG_FPCR, FPCR): New define. All assorted bitmaps. | |
454 | (XS2FS, AS2FS, Xf2FD): New macros. | |
455 | (FS2FPU, FD2FPU, FPU2FS, FPU2FD): Likewise. | |
456 | (load_dword, store_dword): New functions or macros. | |
457 | (u642dw, dw2u64): New functions. | |
458 | (fpu_disabled_exception, fpu_unimp_exception): Declared. | |
459 | * interp.c (fpu_disabled_exception): Defined; no actual | |
460 | implementation. | |
461 | (fpu_unimp_exception): Likewise. | |
462 | * op_utils.c (cmp2fcc): New function. | |
463 | ||
489503ee AO |
464 | * interp.c, mn10300_sim.h, op_utils.c: Convert function prototypes |
465 | and definitions to ISO C. | |
466 | ||
622c89b6 AO |
467 | * gencode.c, simops.c: Delete. |
468 | * Makefile.in: Remove non-COMMON dependencies and commands. | |
469 | ||
599e0b9e AO |
470 | * configure.in: Use common simulator always. Don't subst sim_gen |
471 | nor mn10300_common. | |
472 | * configure: Rebuilt. | |
473 | * Makefile.in (WITHOUT_COMMON_OBJS, WITHOUT_COMMON_INTERP_DEP, | |
474 | WITHOUT_COMMON_RUN_OBJS): Remove. | |
475 | (WITH_COMMON_OBJS): Rename to MN10300_OBJS. | |
476 | (WITH_COMMON_INTERP_DEP): Rename to MN10300_INTERP_DEP. | |
477 | (WITH_COMMON_RUN_OBJS): Rename to SIM_RUN_OBJS. | |
478 | (SIM_EXTRA_CFLAGS): Don't use @sim_gen@. | |
479 | * interp.c: Remove non-common bits. | |
480 | * mn10300_sim.h: Likewise. | |
481 | ||
e158f0a0 AC |
482 | 2003-08-28 Andrew Cagney <cagney@redhat.com> |
483 | ||
484 | * dv-mn103ser.c (do_polling_event): Change type of "serial_reg" to | |
485 | "long". | |
486 | (read_status_reg): Cast "serial_reg" to "long". | |
487 | * dv-mn103tim.c (do_counter_event): Change type of "timer_nr" to | |
488 | "long". | |
489 | (do_counter6_event, write_mode_reg, write_tm6md): Ditto. | |
490 | ||
6b4a8935 AC |
491 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
492 | ||
493 | * interp.c (sim_open, sim_create_inferior, sim_open) | |
494 | (sim_create_inferior): Rename _bfd to bfd. | |
495 | ||
dbd7cd63 AC |
496 | 2003-02-26 Andrew Cagney <cagney@redhat.com> |
497 | ||
498 | * am33.igen: Call sim_engine_abort instead of abort. | |
499 | ||
bb6317d3 DC |
500 | 2003-02-26 David Carlton <carlton@math.stanford.edu> |
501 | ||
502 | * dv-mn103tim.c (read_special_timer6_reg): Add break after | |
503 | empty default: label. | |
504 | (write_special_timer6_reg): Ditto. | |
505 | Update copyright. | |
506 | ||
6c0a25e9 AC |
507 | 2002-11-28 Andrew Cagney <cagney@redhat.com> |
508 | ||
509 | * sim-main.h: Only include "idecode.h" once. | |
510 | * Makefile.in (SIM_EXTRA_DEPS): Define. | |
511 | ||
c8cca39f AC |
512 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
513 | ||
514 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
515 | ||
3c25f8c7 AC |
516 | 2002-06-09 Andrew Cagney <cagney@redhat.com> |
517 | ||
518 | * Makefile.in (INCLUDE): Update path to callback.h. | |
519 | * mn10300_sim.h: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
520 | * tconfig.in: Ditto. | |
521 | ||
ff88f59d JB |
522 | 2001-05-06 Jim Blandy <jimb@redhat.com> |
523 | ||
524 | * mn10300.igen: Doc fixes. | |
72f4393d | 525 | |
cc274e7c AO |
526 | 2001-04-26 Alexandre Oliva <aoliva@redhat.com> |
527 | ||
528 | * Makefile.in (idecode.o, op_utils.o, semantics.o, simops.o): | |
529 | Depend on targ-vals.h. | |
530 | ||
d4424ada C |
531 | 2001-04-15 J.T. Conklin <jtc@redback.com> |
532 | ||
533 | * Makefile.in (simops.o): Add simops.h to dependency list. | |
534 | ||
5425ca99 AO |
535 | Wed Aug 9 02:24:53 2000 Graham Stott <grahams@cygnus.co.uk> |
536 | ||
537 | * am33.igen: Warning clean-up. | |
538 | (movm): Initialize PC and mask. | |
539 | (mov, movbu, movhu): Set srcreg2 from RI0. | |
540 | (bsch): Initialize c. | |
541 | (sat16_cmp): Actually do the comparison. | |
542 | (mov_llt): Do not overwrite dstreg with uninitialized variable. | |
543 | ||
eb2d80b4 AC |
544 | Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
545 | ||
546 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
547 | ||
e33c0364 AO |
548 | 2000-05-22 Alexandre Oliva <aoliva@cygnus.com> |
549 | ||
550 | * am33.igen: Fix leading comments of SP-relative offset insns that | |
551 | referred to other registers. Make their offsets unsigned. | |
552 | ||
24a39d88 AO |
553 | 2000-05-18 Alexandre Oliva <aoliva@cygnus.com> |
554 | ||
555 | * mn10300_sim.h (genericAdd, genericSub, genericCmp, genericOr, | |
556 | genericXor, genericBtst): Use `unsigned32'. | |
557 | * op_utils.c: Likewise. | |
558 | * mn10300.igen, am33.igen: Use `unsigned32', `signed32', | |
559 | `unsigned64' or `signed64' where type width is relevant. | |
560 | ||
bfa8561f AO |
561 | 2000-04-25 Alexandre Oliva <aoliva@cygnus.com> |
562 | ||
563 | * am33.igen (inc4 Rn): Use genericAdd so as to modify flags. | |
564 | ||
d8e7020f AO |
565 | 2000-04-09 Alexandre Oliva <aoliva@cygnus.com> |
566 | ||
567 | * am33.igen: Make SP-relative offsets unsigned. Add `*am33' for | |
568 | some instructions that were missing it. | |
569 | ||
a9e3a739 FCE |
570 | 2000-03-03 Alexandre Oliva <oliva@lsd.ic.unicamp.br> |
571 | ||
572 | * Makefile.in (IGEN_INSN): Added am33.igen. | |
573 | ||
d4f3574e SS |
574 | Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> |
575 | ||
576 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
577 | ||
adf40b2e JM |
578 | Tue Jul 13 13:26:20 1999 Andrew Cagney <cagney@b1.cygnus.com> |
579 | ||
580 | * interp.c: Clarify error message reporting an unknown board. | |
581 | ||
cd0fc7c3 SS |
582 | 1999-05-08 Felix Lee <flee@cygnus.com> |
583 | ||
584 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
72f4393d | 585 | |
7a292a7a SS |
586 | 1999-04-16 Frank Ch. Eigler <fche@cygnus.com> |
587 | ||
588 | * interp.c (program_interrupt): Detect undesired recursion using | |
589 | static flag. Set NMIRC register's SYSEF flag during | |
590 | --board=stdeval1 mode. | |
591 | * dv-mn103-int.c (write_icr): Add backdoor address to allow CPU to | |
592 | set SYSEF flag. | |
593 | ||
594 | 1999-04-02 Keith Seitz <keiths@cygnus.com> | |
595 | ||
596 | * Makefile.in (SIM_EXTRA_CFLAGS): Define a POLL_QUIT_INTERVAL | |
597 | for use in the simulator so that the poll_quit callback is | |
598 | not called too often. | |
599 | ||
600 | Tue Mar 9 21:26:41 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
601 | ||
602 | * dv-mn103int.c (mn103int_ioctl): Return something. | |
603 | * dv-mn103tim.c (write_tm6md): GCC suggested parentheses around && | |
604 | within ||. | |
605 | ||
606 | Tue Feb 16 23:57:17 1999 Jeffrey A Law (law@cygnus.com) | |
607 | ||
608 | * mn10300.igen (retf): Fix return address computation and store | |
609 | the new pc value into nia. | |
610 | ||
c906108c SS |
611 | 1998-12-29 Frank Ch. Eigler <fche@cygnus.com> |
612 | ||
613 | * Makefile.in (WITH_COMMON_OBJS): Build also dv-sockser.o. | |
614 | * interp.c (sim_open): Add stub mn103002 cache control memory regions. | |
615 | Set OPERATING_ENVIRONMENT on "stdeval1" board. | |
616 | (mn10300_core_signal): New function to intercept memory errors. | |
617 | (program_interrupt): New function to dispatch to exception vector | |
618 | (mn10300_exception_*): New functions to snapshot pre/post exception | |
619 | state. | |
620 | * sim-main.h (SIM_CORE_SIGNAL): Define hook - call mn10300_core_signal. | |
72f4393d | 621 | (SIM_ENGINE_HALT_HOOK): Do nothing. |
c906108c | 622 | (SIM_CPU_EXCEPTION*): Define hooks to call mn10300_cpu_exception*(). |
72f4393d | 623 | (_sim_cpu): Add exc_* fields to store register value snapshots. |
c906108c SS |
624 | * dv-mn103ser.c (*): Support dv-sockser backend for UART I/O. |
625 | Various endianness and warning fixes. | |
626 | * mn10300.igen (illegal): Call program_interrupt on error. | |
627 | (break): Call program_interrupt on breakpoint | |
72f4393d | 628 | |
c906108c SS |
629 | Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com> |
630 | merged in: | |
631 | * dv-mn103int.c (mn103int_ioctl): New function for NMI | |
632 | generation. (mn103int_finish): Install it as ioctl handler. | |
633 | * dv-mn103tim.c: Support timer 6 specially. Endianness fixes. | |
72f4393d | 634 | |
c2d11a7d JM |
635 | Wed Oct 14 12:11:05 1998 Jeffrey A Law (law@cygnus.com) |
636 | ||
637 | * am33.igen: Allow autoincrement stores using the same register | |
638 | for source and destination operands. | |
639 | ||
640 | Mon Aug 31 10:19:55 1998 Jeffrey A Law (law@cygnus.com) | |
641 | ||
72f4393d | 642 | * am33.igen: Reverse HI/LO outputs of 4 operand "mul" and "mulu". |
c2d11a7d | 643 | |
c906108c SS |
644 | Fri Aug 28 14:40:49 1998 Joyce Janczyn <janczyn@cygnus.com> |
645 | ||
646 | * interp.c (sim_open): Check for invalid --board option, fix | |
647 | indentation, allocate memory for mem control and DMA regs. | |
648 | ||
649 | Wed Aug 26 09:29:38 1998 Joyce Janczyn <janczyn@cygnus.com> | |
650 | ||
651 | * mn10300.igen (div,divu): Fix divide instructions so divide by 0 | |
652 | behaves like the hardware. | |
653 | ||
654 | Mon Aug 24 11:50:09 1998 Joyce Janczyn <janczyn@cygnus.com> | |
655 | ||
656 | * sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA. | |
657 | ||
c2d11a7d JM |
658 | Wed Aug 12 12:36:07 1998 Jeffrey A Law (law@cygnus.com) |
659 | ||
72f4393d | 660 | * am33.igen: Handle case where first DSP operation modifies a |
c2d11a7d JM |
661 | register used in the second DSP operation correctly. |
662 | ||
663 | Tue Jul 28 10:10:25 1998 Jeffrey A Law (law@cygnus.com) | |
664 | ||
665 | * am33.igen: Detect cases where two operands must not match for | |
666 | DSP instructions too. | |
667 | ||
668 | Mon Jul 27 12:04:17 1998 Jeffrey A Law (law@cygnus.com) | |
669 | ||
670 | * am33.igen: Detect cases where two operands must not match in | |
671 | non-DSP instructions. | |
672 | ||
c906108c SS |
673 | Fri Jul 24 18:15:21 1998 Joyce Janczyn <janczyn@cygnus.com> |
674 | ||
675 | * op_utils.c (do_syscall): Rewrite to use common/syscall.c. | |
676 | (syscall_read_mem, syscall_write_mem): New functions for syscall | |
677 | callbacks. | |
678 | * mn10300_sim.h: Add prototypes for syscall_read_mem and | |
72f4393d | 679 | syscall_write_mem. |
c906108c SS |
680 | * mn10300.igen: Change C++ style comments to C style comments. |
681 | Check for divide by zero in div and divu ops. | |
682 | ||
c2d11a7d JM |
683 | Fri Jul 24 12:49:28 1998 Jeffrey A Law (law@cygnus.com) |
684 | ||
685 | * am33.igen (translate_xreg): New function. Use it as needed. | |
686 | ||
687 | Thu Jul 23 10:05:28 1998 Jeffrey A Law (law@cygnus.com) | |
688 | ||
689 | * am33.igen: Add some missing instructions. | |
690 | ||
691 | * am33.igen: Autoincrement loads/store fixes. | |
692 | ||
693 | Tue Jul 21 09:48:14 1998 Jeffrey A Law (law@cygnus.com) | |
694 | ||
695 | * am33.igen: Add mov_lCC DSP instructions. | |
696 | ||
697 | * am33.igen: Add most am33 DSP instructions. | |
698 | ||
c906108c SS |
699 | Thu Jul 9 10:06:55 1998 Jeffrey A Law (law@cygnus.com) |
700 | ||
701 | * mn10300.igen: Fix Z bit for addc and subc instructions. | |
702 | Minor fixes in multiply/divide patterns. | |
703 | ||
c2d11a7d JM |
704 | * am33.igen: Add missing mul[u] imm32,Rn. Fix condition code |
705 | handling for many instructions. Fix sign extension for some | |
706 | 24bit immediates. | |
707 | ||
708 | * am33.igen: Fix Z bit for remaining addc/subc instructions. | |
709 | Do not sign extend immediate for mov imm,XRn. | |
710 | More random mul, mac & div fixes. | |
711 | Remove some unused variables. | |
712 | Sign extend 24bit displacement in memory addresses. | |
713 | ||
714 | * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn. Various | |
715 | fixes to 2 register multiply, divide and mac instructions. Set | |
716 | Z,N correctly for sat16. Sign extend 24 bit immediate for add, | |
717 | and sub instructions. | |
718 | ||
719 | * am33.igen: Add remaining non-DSP instructions. | |
720 | ||
721 | Wed Jul 8 16:29:12 1998 Jeffrey A Law (law@cygnus.com) | |
722 | ||
723 | * am33.igen (translate_rreg): New function. Use it as appropriate. | |
724 | ||
725 | * am33.igen: More am33 instructions. Fix "div". | |
726 | ||
727 | Mon Jul 6 15:39:22 1998 Jeffrey A Law (law@cygnus.com) | |
728 | ||
729 | * mn10300.igen: Add am33 support. | |
730 | ||
731 | * Makefile.in: Use multi-sim to support both a mn10300 and am33 | |
732 | simulator. | |
733 | ||
734 | * am33.igen: Add many more am33 instructions. | |
c906108c SS |
735 | |
736 | Wed Jul 1 17:07:09 1998 Jeffrey A Law (law@cygnus.com) | |
737 | ||
738 | * mn10300_sim.h (FETCH24): Define. | |
739 | ||
c2d11a7d JM |
740 | * mn10300_sim.h: Add defines for some registers found on the AM33. |
741 | * am33.igen: New file with some am33 support. | |
c906108c SS |
742 | |
743 | Tue Jun 30 11:23:20 1998 Jeffrey A Law (law@cygnus.com) | |
744 | ||
745 | * mn10300_sim.h: Include bfd.h | |
746 | (struct state): Add more room for processor specific registers. | |
c2d11a7d | 747 | (REG_E0): Define. |
c906108c SS |
748 | |
749 | Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com> | |
750 | ||
751 | * dv-mn103tim.c: Include sim-assert.h | |
752 | * dv-mn103ser.c (do_polling_event): Check for incoming data on | |
753 | serial line and schedule next polling event. | |
754 | (read_status_reg): schedule events to check for incoming data on | |
755 | serial line and issue interrupt if necessary. | |
72f4393d | 756 | |
c906108c SS |
757 | Fri Jun 19 16:47:27 1998 Joyce Janczyn <janczyn@cygnus.com> |
758 | ||
759 | * interp.c (sim_open): hook up serial 1 and 2 ports properly (typo). | |
760 | ||
761 | Fri Jun 19 11:59:26 1998 Joyce Janczyn <janczyn@cygnus.com> | |
762 | ||
763 | * interp.c (board): Rename am32 to stdeval1 as this is the name | |
764 | consistently used to refer to the mn1030002 board. | |
765 | ||
766 | Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com> | |
767 | * interp.c (sim_open): Fix typo in address of EXTMD register | |
768 | (0x34000280, not 0x3400280). | |
769 | ||
770 | Wed Jun 17 18:00:18 1998 Jeffrey A Law (law@cygnus.com) | |
771 | ||
772 | * simops.c (syscall): Handle change in opcode # for syscall. | |
773 | * mn10300.igen (syscall): Likewise. | |
774 | ||
775 | Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com> | |
776 | * dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or | |
777 | reset) are not enabled on reset. | |
72f4393d | 778 | |
c906108c SS |
779 | Sun June 14 17:04:00 1998 Joyce Janczyn <janczyn@cygnus.com> |
780 | * dv-mn103iop.c (write_*_reg): Check for attempt to write r/o | |
781 | register bits. | |
782 | * dv-mn103ser.c: Fill in methods for reading and writing to serial | |
783 | device registers. | |
784 | * interp.c (sim_open): Make the serial device a polling device. | |
72f4393d | 785 | |
c906108c SS |
786 | Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com> |
787 | * dv-mn103iop.c: New file for handling am32 io ports. | |
788 | * configure.in: Add mn103iop to hw_device list. | |
789 | * configure: Re-generate. | |
790 | * interp.c (sim_open): Create io port device. | |
791 | ||
792 | Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com> | |
793 | * dv-mn103int.c (external_group): Use enumerated types to access | |
794 | correct group addresses. | |
795 | * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer | |
796 | triggers an interrupt on the higher-numbered timer's port. | |
797 | ||
798 | Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com> | |
799 | * interp.c: (mn10300_option_handler): New function parses arguments | |
800 | using sim-options. | |
801 | * (board): Add --board option for specifying am32. | |
802 | * (sim_open): Create new timer and serial devices and control | |
803 | configuration of other am32 devices via board option. | |
804 | * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices. | |
805 | * dv-mn103cpu.c: Fix typos in opening comments. | |
806 | * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30. | |
807 | * configure.in: Add mn103tim and mn103ser to hw_device list. | |
808 | * configure: Re-generate. | |
809 | ||
810 | Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
811 | ||
812 | * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method. | |
813 | ||
814 | * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and | |
815 | sim-main.h. Declare a struct hw_descriptor instead of struct | |
816 | hw_device_descriptor. | |
817 | ||
818 | Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
819 | ||
820 | * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler | |
821 | to struct hw_event. | |
822 | ||
823 | Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
824 | ||
825 | * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes". | |
826 | ||
827 | Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
828 | ||
829 | * interp.c (sim_open): Create a polling PAL device. | |
830 | ||
831 | Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
832 | ||
72f4393d L |
833 | * dv-mn103int.c (mn103int_port_event): |
834 | (mn103int_port_event): | |
835 | (mn103int_io_read_buffer): | |
836 | (mn103int_io_write_buffer): | |
c906108c SS |
837 | |
838 | * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args. | |
839 | (mn103cpu_port_event): Ditto. | |
840 | (mn103cpu_io_read_buffer): Ditto. | |
841 | (mn103cpu_io_write_buffer): Ditto. | |
842 | ||
843 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> | |
844 | ||
72f4393d | 845 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
c906108c SS |
846 | |
847 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> | |
848 | ||
849 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
850 | * config.in: Ditto. | |
851 | ||
852 | Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com> | |
853 | ||
854 | * acconfig.h: New file. | |
855 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
856 | ||
857 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> | |
858 | ||
859 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
860 | * config.in: Ditto. | |
861 | ||
862 | Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com> | |
863 | ||
864 | * configure.in: Don't call sinclude. | |
865 | ||
866 | Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
867 | ||
868 | * mn10300_sim.h: Declare all functions in op_utils.c using | |
869 | INLINE_SIM_MAIN. | |
870 | * op_utils.c: Ditto. | |
871 | * sim-main.c: New file. Include op_utils.c. | |
72f4393d | 872 | |
c906108c SS |
873 | * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to |
874 | differentiate between MOV/CMP immediate/register instructions. | |
875 | ||
876 | * configure.in (SIM_AC_OPTION_INLINE): Add and enable. | |
877 | * configure: Regenerate. | |
878 | ||
879 | Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
880 | ||
881 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
882 | ||
883 | Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
884 | ||
885 | * interp.c (hw): Delete variable, moved to SIM_DESC. | |
886 | (sim_open): Delete calls to hw_tree_create, hw_tree_finish. | |
887 | Handled by sim-module. | |
888 | (sim_open): Do not anotate tree with trace properties, handled by | |
889 | sim-hw.c | |
890 | (sim_open): Call sim_hw_parse instead of hw_tree_parse. | |
891 | ||
892 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
893 | ||
894 | Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> | |
895 | ||
896 | * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC | |
897 | on the stack when delivering interrupts (not just the lower | |
898 | half)... | |
899 | * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were | |
900 | specified in the wrong order. | |
901 | ||
902 | Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
903 | ||
904 | * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of | |
905 | succeeding interrupts, clear pending_handler when the handler | |
906 | isn't re-scheduled. | |
907 | ||
908 | Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> | |
909 | ||
910 | * Makefile.in (tmp-igen): Prefix all usage of move-if-change | |
911 | script with $(SHELL) to make NT native builds happy. | |
912 | * configure: Regenerate because of change to ../common/aclocal.m4. | |
72f4393d | 913 | |
c906108c SS |
914 | Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com> |
915 | ||
916 | * configure.in: Make --enable-sim-common the default. | |
917 | * configure: Re-generate. | |
72f4393d | 918 | |
c906108c SS |
919 | * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction |
920 | address into Sate.regs[REG_PC] instead of common struct. | |
921 | ||
922 | Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com> | |
923 | ||
924 | * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value. | |
925 | ||
926 | Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com> | |
927 | ||
928 | * simops.c (OP_F0FD): Initialise variable 'sp'. | |
929 | ||
930 | Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
931 | ||
932 | * dv-mn103int.c (decode_group): A group register every 4 bytes not | |
933 | 8. | |
934 | (write_icr): Rewrite equation updating request field. | |
935 | (read_iagr): Fix check that interrupt is still pending. | |
936 | ||
937 | Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
938 | ||
939 | * interp.c (sim_open): Tidy up device creation. | |
940 | ||
941 | * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero | |
942 | value. | |
943 | (mn103int_io_read_buffer): Convert absolute address to register | |
944 | block offsets. | |
945 | (read_icr, write_icr): Convert block offset into group offset. | |
72f4393d | 946 | |
c906108c SS |
947 | Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com> |
948 | ||
949 | * interp.c (sim_open): Create second 1mb memory region at | |
950 | 0x40000000. | |
951 | (sim_open): Create a device tree. | |
952 | (sim-hw.h): Include. | |
953 | (do_interrupt): Delete, needs to use dv-mn103cpu.c | |
954 | ||
955 | * dv-mn103int.c, dv-mn103cpu.c: New files. | |
956 | ||
957 | Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
958 | ||
959 | * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): | |
960 | Define. | |
961 | (SP): Define. | |
72f4393d | 962 | |
c906108c SS |
963 | Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> |
964 | ||
965 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
966 | ||
967 | Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
968 | ||
969 | * interp.c (sim-options.h): Include. | |
970 | (sim_kind, myname): Declare when not using common framework. | |
971 | ||
972 | * mn10300_sim.h (do_syscall, generic*): Provide prototypes for | |
973 | functions found in op_utils.c | |
974 | ||
975 | * mn10300.igen (add): Discard unused variables. | |
976 | ||
977 | * configure, config.in: Re-generate with autoconf 2.12.1. | |
72f4393d | 978 | |
c906108c SS |
979 | Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com> |
980 | ||
981 | Add support for --enable-sim-common option. | |
982 | * Makefile.in (WITHOUT_COMMON_OBJS): Files included if | |
983 | ! --enable-sim-common | |
984 | (WITH_COMMON_OBJS): Files included if --enable-sim-common. | |
985 | (MN10300_OBJS,MN10300_INTERP_DEP): New variables. | |
986 | (SIM_OBJS): Rewrite. | |
987 | ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables. | |
988 | (SIM_EXTRA_CFLAGS): New variable. | |
989 | (clean-extra): Clean up igen files. | |
990 | (../igen/igen,clean-igen,tmp-igen): New rules. | |
72f4393d | 991 | * configure.in: Add support for common framework via |
c906108c SS |
992 | --enable-sim-common. |
993 | * configure: Regenerate. | |
994 | * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h. | |
995 | (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON. | |
996 | (init_system,sim_write,compare_simops): Likewise. | |
997 | (sim_set_profile,sim_set_profile_size): Likewise. | |
998 | (sim_stop,sim_resume,sim_trace,sim_info): Likewise. | |
999 | (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise. | |
1000 | (enum interrupt_type): New enum. | |
1001 | (interrupt_names): New global. | |
1002 | (do_interrupt): New function. | |
1003 | (sim_open): Define differently if WITH_COMMON. | |
1004 | (sim_close,sim_create_inferior,sim_do_command): Likewise. | |
1005 | * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions | |
1006 | for WITH_COMMON. | |
1007 | * mn10300.igen: New file. | |
1008 | * mn10300.dc: New file. | |
1009 | * op_utils.c: New file. | |
1010 | * sim-main.h: New file. | |
1011 | ||
1012 | Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1013 | ||
1014 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1015 | ||
1016 | Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com) | |
1017 | ||
1018 | * simops.c (inc): Fix typo. | |
1019 | ||
1020 | Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com) | |
1021 | ||
72f4393d L |
1022 | * simops.c (signed multiply instructions): Cast input operands to |
1023 | signed32 before casting them to signed64 so that the sign bit | |
1024 | is propagated properly. | |
c906108c SS |
1025 | |
1026 | Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com> | |
1027 | ||
1028 | * Makefile.in: Last change was bad. Define NL_TARGET | |
1029 | so that targ-vals.h will be used instead of syscall.h. | |
1030 | * simops.c: Use targ-vals.h instead of syscall.h. | |
1031 | (OP_F020): Disable unsupported system calls. | |
1032 | ||
1033 | Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com> | |
1034 | ||
1035 | * Makefile.in: Get header files from libgloss/mn10300/sys. | |
1036 | ||
1037 | Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com) | |
1038 | ||
1039 | * simops.c: Include sim-types.h. | |
1040 | ||
1041 | Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com) | |
1042 | ||
1043 | * simops.c (multiply instructions): Cast input operands to a | |
1044 | signed64/unsigned64 type as appropriate. | |
1045 | ||
1046 | Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1047 | ||
1048 | * interp.c (sim_store_register, sim_fetch_register): Pass in | |
1049 | length parameter. Return -1. | |
1050 | ||
1051 | Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1052 | ||
1053 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1054 | ||
1055 | Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
1056 | ||
1057 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1058 | ||
1059 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> | |
1060 | ||
1061 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1062 | ||
1063 | Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1064 | ||
1065 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1066 | * config.in: Ditto. | |
1067 | ||
1068 | Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> | |
1069 | ||
1070 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1071 | ||
1072 | Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com) | |
1073 | ||
1074 | * simops.c (call:16 call:32): Stack adjustment is determined solely | |
1075 | by the imm8 field. | |
1076 | ||
1077 | Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1078 | ||
1079 | * interp.c (sim_load): Pass lma_p and sim_write args to | |
1080 | sim_load_file. | |
1081 | ||
1082 | Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com) | |
1083 | ||
1084 | * simops.c: Correctly handle register restores for "ret" and "retf" | |
1085 | instructions. | |
1086 | ||
1087 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1088 | ||
1089 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1090 | ||
1091 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1092 | ||
1093 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1094 | ||
1095 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1096 | ||
1097 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1098 | ||
1099 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1100 | ||
1101 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1102 | ||
1103 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1104 | ||
1105 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1106 | ||
1107 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1108 | ||
1109 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1110 | ||
1111 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> | |
1112 | ||
1113 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1114 | ||
1115 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1116 | ||
1117 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1118 | * config.in: Ditto. | |
1119 | ||
1120 | Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1121 | ||
1122 | * interp.c (sim_kill): Delete. | |
1123 | (sim_create_inferior): Add ABFD argument. | |
1124 | (sim_load): Move setting of PC from here. | |
72f4393d | 1125 | (sim_create_inferior): To here. |
c906108c SS |
1126 | |
1127 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1128 | ||
1129 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1130 | * config.in: Ditto. | |
1131 | ||
1132 | Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1133 | ||
1134 | * interp.c (sim_open): Add ABFD argument. | |
1135 | ||
1136 | Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com) | |
1137 | ||
1138 | * interp.c (sim_resume): Clear State.exited. | |
1139 | (sim_stop_reason): If State.exited is nonzero, then indicate that | |
1140 | the simulator exited instead of stopped. | |
1141 | * mn10300_sim.h (struct _state): Add exited field. | |
1142 | * simops.c (syscall): Set State.exited for SYS_exit. | |
1143 | ||
1144 | Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com) | |
1145 | ||
1146 | * simops.c: Fix thinko in last change. | |
1147 | ||
1148 | Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com) | |
1149 | ||
1150 | * simops.c: "call" stores the callee saved registers into the | |
1151 | stack! Update the stack pointer properly when done with | |
1152 | register saves. | |
1153 | ||
1154 | * simops.c: Fix return address computation for "call" instructions. | |
1155 | ||
1156 | Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com) | |
1157 | ||
1158 | * interp.c (sim_open): Fix typo. | |
1159 | ||
1160 | Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com) | |
1161 | ||
1162 | * interp.c (sim_resume): Add missing case in big switch | |
1163 | statement (for extb instruction). | |
1164 | ||
1165 | Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com) | |
1166 | ||
1167 | * interp.c: Replace all references to load_mem and store_mem | |
1168 | with references to load_byte, load_half, load_3_byte, load_word | |
1169 | and store_byte, store_half, store_3_byte, store_word. | |
1170 | (INLINE): Delete definition. | |
1171 | (load_mem_big): Likewise. | |
1172 | (max_mem): Make it global. | |
1173 | (dispatch): Make this function inline. | |
1174 | (load_mem, store_mem): Delete functions. | |
1175 | * mn10300_sim.h (INLINE): Define. | |
1176 | (RLW): Delete unused definition. | |
1177 | (load_mem, store_mem): Delete declarations. | |
1178 | (load_mem_big): New definition. | |
1179 | (load_byte, load_half, load_3_byte, load_word): New functions. | |
1180 | (store_byte, store_half, store_3_byte, store_word): New functions. | |
1181 | * simops.c: Replace all references to load_mem and store_mem | |
1182 | with references to load_byte, load_half, load_3_byte, load_word | |
1183 | and store_byte, store_half, store_3_byte, store_word. | |
1184 | ||
1185 | Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1186 | ||
1187 | * interp.c (sim_open): Add callback to arguments. | |
1188 | (sim_set_callbacks): Delete SIM_DESC argument. | |
1189 | ||
1190 | Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com) | |
1191 | ||
1192 | * interp.c (dispatch): Make this an inline function. | |
1193 | ||
1194 | * simops.c (syscall): Use callback->write regardless of | |
1195 | what file descriptor we're writing too. | |
1196 | ||
1197 | Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com) | |
1198 | ||
1199 | * interp.c (load_mem_big): Remove function. It's now a macro | |
1200 | defined elsewhere. | |
1201 | (compare_simops): New function. | |
1202 | (sim_open): Sort the Simops table before inserting entries | |
1203 | into the hash table. | |
1204 | * mn10300_sim.h: Remove unused #defines. | |
1205 | (load_mem_big): Define. | |
1206 | ||
1207 | Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com) | |
1208 | ||
1209 | * interp.c (load_mem): If we get a load from an out of range | |
1210 | address, abort. | |
1211 | (store_mem): Likewise for stores. | |
1212 | (max_mem): New variable. | |
1213 | ||
1214 | Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com) | |
1215 | ||
1216 | * mn10300_sim.h: Fix ordering of bits in the PSW. | |
1217 | ||
1218 | * interp.c: Improve hashing routine to avoid long list | |
1219 | traversals for common instructions. Add HASH_STAT support. | |
1220 | Rewrite opcode dispatch code using a big switch instead of | |
1221 | cascaded if/else statements. Avoid useless calls to load_mem. | |
1222 | ||
1223 | Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com) | |
1224 | ||
1225 | * mn10300_sim.h (struct _state): Add space for mdrq register. | |
1226 | (REG_MDRQ): Define. | |
1227 | * simops.c: Don't abort for trap. Add support for the extended | |
1228 | instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24", | |
1229 | and "bsch". | |
1230 | ||
1231 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> | |
1232 | ||
1233 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1234 | ||
1235 | Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1236 | ||
1237 | * interp.c (sim_stop): Add stub function. | |
1238 | ||
1239 | Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com> | |
1240 | ||
1241 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
1242 | * interp.c (sim_kind, myname): New static locals. | |
1243 | (sim_open): Set sim_kind, myname. Ignore -E arg. | |
1244 | (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to | |
1245 | load file into simulator. Set start address from bfd. | |
1246 | (sim_create_inferior): Return SIM_RC. Delete arg start_address. | |
1247 | ||
1248 | Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
1249 | ||
1250 | * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime | |
1251 | only include if implemented by host. | |
1252 | (OP_F020): Typecast arg passed to time function; | |
1253 | ||
1254 | Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com) | |
1255 | ||
1256 | * simops.c (syscall): Handle new mn10300 calling conventions. | |
1257 | ||
1258 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1259 | ||
1260 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1261 | * config.in: Ditto. | |
1262 | ||
1263 | Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com> | |
1264 | ||
1265 | * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match | |
1266 | corresponding change in opcodes directory. | |
1267 | ||
1268 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> | |
1269 | ||
1270 | * interp.c (sim_open): New arg `kind'. | |
1271 | ||
1272 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1273 | ||
1274 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1275 | ||
1276 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1277 | ||
1278 | Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com) | |
1279 | ||
1280 | * simops.c: Fix register extraction for a two "movbu" variants. | |
1281 | Somewhat simplify "sub" instructions. | |
1282 | Correctly sign extend operands for "mul". Put the correct | |
1283 | half of the result in MDR for "mul" and "mulu". | |
1284 | Implement remaining instructions. | |
1285 | Tweak opcode for "syscall". | |
1286 | ||
1287 | Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com) | |
1288 | ||
1289 | * simops.c: Do syscall emulation in "syscall" instruction. Add | |
1290 | dummy "trap" instruction. | |
1291 | ||
1292 | Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1293 | ||
1294 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
1295 | ||
1296 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
1297 | ||
1298 | * configure: Re-generate. | |
1299 | ||
1300 | Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> | |
1301 | ||
1302 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
1303 | ||
1304 | Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com> | |
1305 | ||
1306 | * interp.c (sim_open): New SIM_DESC result. Argument is now | |
1307 | in argv form. | |
1308 | (other sim_*): New SIM_DESC argument. | |
1309 | ||
1310 | Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com) | |
1311 | ||
1312 | * simops.c: Fix carry bit computation for "add" instructions. | |
1313 | ||
1314 | * simops.c: Fix typos in bset insns. Fix arguments to store_mem | |
1315 | for bset imm8,(d8,an) and bclr imm8,(d8,an). | |
1316 | ||
1317 | Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com) | |
1318 | ||
1319 | * simops.c: Fix register references when computing Z and N bits | |
1320 | for lsr imm8,dn. | |
1321 | ||
1322 | Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com> | |
1323 | ||
1324 | * Makefile.in (@COMMON_MAKEFILE_FRAG): Use | |
1325 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
1326 | * configure.in: sinclude ../common/aclocal.m4. | |
1327 | * configure: Regenerated. | |
1328 | ||
1329 | Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com) | |
1330 | ||
1331 | * interp.c (init_system): Allocate 2^19 bytes of space for the | |
1332 | simulator. | |
1333 | ||
1334 | Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) | |
1335 | ||
1336 | * configure configure.in Makefile.in: Update to new configure | |
1337 | scheme which is more compatible with WinGDB builds. | |
1338 | * configure.in: Improve comment on how to run autoconf. | |
1339 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
1340 | * Makefile.in: Use autoconf substitution to install common | |
1341 | makefile fragment. | |
1342 | ||
1343 | Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com) | |
1344 | ||
1345 | * simops.c: Undo last change to "rol" and "ror", original code | |
1346 | was correct! | |
1347 | ||
1348 | Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com) | |
1349 | ||
1350 | * simops.c: Fix "rol" and "ror". | |
1351 | ||
1352 | Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com) | |
1353 | ||
1354 | * simops.c: Fix typo in last change. | |
1355 | ||
1356 | Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com) | |
1357 | ||
1358 | * simops.c: Use REG macros in few places not using them yet. | |
1359 | ||
1360 | Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com) | |
1361 | ||
1362 | * mn10300_sim.h (struct _state): Fix number of registers! | |
1363 | ||
1364 | Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com) | |
1365 | ||
1366 | * mn10300_sim.h (struct _state): Put all registers into a single | |
1367 | array to make gdb implementation easier. | |
1368 | (REG_*): Add definitions for all registers in the state array. | |
1369 | (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros. | |
1370 | * simops.c: Related changes. | |
1371 | ||
1372 | Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com) | |
1373 | ||
1374 | * interp.c (sim_resume): Handle 0xff as a single byte insn. | |
1375 | ||
1376 | * simops.c: Fix overflow computation for "add" and "inc" | |
1377 | instructions. | |
1378 | ||
1379 | Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com) | |
1380 | ||
1381 | * simops.c: Handle "break" instruction. | |
1382 | ||
1383 | * simops.c: Fix restoring the PC for "ret" and "retf" instructions. | |
1384 | ||
1385 | Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com) | |
1386 | ||
1387 | * gencode.c (write_opcodes): Also write out the format of the | |
1388 | opcode. | |
1389 | * mn10300_sim.h (simops): Add "format" field. | |
1390 | * interp.c (sim_resume): Deal with endianness issues here. | |
1391 | ||
1392 | Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com) | |
1393 | ||
1394 | * simops.c (REG0_4): Define. | |
1395 | Use REG0_4 for indexed loads/stores. | |
1396 | ||
1397 | Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com) | |
1398 | ||
1399 | * simops.c (REG0_16): Fix typo. | |
1400 | ||
1401 | Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com) | |
1402 | ||
1403 | * simops.c: Call abort for any instruction that's not currently | |
1404 | simulated. | |
1405 | ||
1406 | * simops.c: Define accessor macros to extract register | |
1407 | values from instructions. Use them consistently. | |
1408 | ||
1409 | * interp.c: Delete unused global variable "OP". | |
1410 | (sim_resume): Remove unused variable "opcode". | |
1411 | * simops.c: Fix some uninitialized variable problems, add | |
1412 | parens to fix various -Wall warnings. | |
1413 | ||
1414 | * gencode.c (write_header): Add "insn" and "extension" arguments | |
1415 | to the OP_* declarations. | |
1416 | (write_template): Similarly for function templates. | |
1417 | * interp.c (insn, extension): Remove global variables. Instead | |
1418 | pass them as arguments to the OP_* functions. | |
1419 | * mn10300_sim.h: Remove decls for "insn" and "extension". | |
1420 | * simops.c (OP_*): Accept "insn" and "extension" as arguments | |
1421 | instead of using globals. | |
1422 | ||
1423 | Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com) | |
1424 | ||
1425 | * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)" | |
1426 | ||
1427 | * simops.c: Fix thinkos in last change to "inc dn". | |
1428 | ||
1429 | Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com) | |
1430 | ||
1431 | * simops.c: "add imm,sp" does not effect the condition codes. | |
1432 | "inc dn" does effect the condition codes. | |
1433 | ||
1434 | Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com) | |
1435 | ||
1436 | * simops.c: Treat both operands as signed values for | |
1437 | "div" instruction. | |
1438 | ||
1439 | * simops.c: Fix simulation of division instructions. | |
1440 | Fix typos/thinkos in several "cmp" and "sub" instructions. | |
1441 | ||
1442 | Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com) | |
1443 | ||
1444 | * simops.c: Fix carry bit handling in "sub" and "cmp" | |
1445 | instructions. | |
1446 | ||
1447 | * simops.c: Fix "mov imm8,an" and "mov imm16,dn". | |
1448 | ||
1449 | Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com) | |
1450 | ||
1451 | * simops.c: Fix overflow computation for many instructions. | |
1452 | ||
1453 | * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)". | |
1454 | ||
1455 | * simops.c: Fix "mov am, dn". | |
1456 | ||
1457 | * simops.c: Fix more bugs in "add imm,an" and | |
1458 | "add imm,dn". | |
1459 | ||
1460 | Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com) | |
1461 | ||
1462 | * simops.c: Fix bugs in "movm" and "add imm,an". | |
1463 | ||
1464 | * simops.c: Don't lose the upper 24 bits of the return | |
1465 | pointer in "call" and "calls" instructions. Rough cut | |
1466 | at emulated system calls. | |
1467 | ||
1468 | * simops.c: Implement the remaining 5, 6 and 7 byte instructions. | |
1469 | ||
1470 | * simops.c: Implement remaining 4 byte instructions. | |
1471 | ||
1472 | * simops.c: Implement remaining 3 byte instructions. | |
1473 | ||
1474 | * simops.c: Implement remaining 2 byte instructions. Call | |
1475 | abort for instructions we're not implementing now. | |
1476 | ||
1477 | Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com) | |
1478 | ||
1479 | * simops.c: Implement lots of random instructions. | |
1480 | ||
1481 | * simops.c: Implement "movm" and "bCC" insns. | |
1482 | ||
1483 | * mn10300_sim.h (_state): Add another register (MDR). | |
1484 | (REG_MDR): Define. | |
1485 | * simops.c: Implement "cmp", "calls", "rets", "jmp" and | |
1486 | a few additional random insns. | |
1487 | ||
1488 | * mn10300_sim.h (PSW_*): Define for CC status tracking. | |
1489 | (REG_D0, REG_A0, REG_SP): Define. | |
1490 | * simops.c: Implement "add", "addc" and a few other random | |
1491 | instructions. | |
1492 | ||
1493 | * gencode.c, interp.c: Snapshot current simulator code. | |
1494 | ||
1495 | Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com) | |
1496 | ||
1497 | * Makefile.in, config.in, configure, configure.in: New files. | |
1498 | * gencode.c, interp.c, mn10300_sim.h, simops.c: New files. | |
72f4393d | 1499 |