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