]>
Commit | Line | Data |
---|---|---|
8c2de2aa JJ |
1 | start-sanitize-am30 |
2 | Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com> | |
3 | * dv-mn103int.c (external_group): Use enumerated types to access | |
4 | correct group addresses. | |
5 | * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer | |
6 | triggers an interrupt on the higher-numbered timer's port. | |
7 | ||
8 | end-sanitize-am30 | |
d3f76d42 JJ |
9 | Mon June 8 13:30:00 1998 Joyce Janczyn <janczyn@cygnus.com> |
10 | * interp.c: (mn10300_option_handler): New function parses arguments | |
11 | using sim-options. | |
39e953a7 | 12 | start-sanitize-am30 |
d3f76d42 JJ |
13 | * (board): Add --board option for specifying am32. |
14 | * (sim_open): Create new timer and serial devices and control | |
15 | configuration of other am32 devices via board option. | |
16 | * dv-mn103tim.c, dv-mn103ser.c: New files for timers and serial devices. | |
17 | * dv-mn103cpu.c: Fix typos in opening comments. | |
18 | * dv-mn103int.c: Adjust interrupt controller settings for am32 instead of am30. | |
19 | * configure.in: Add mn103tim and mn103ser to hw_device list. | |
20 | * configure: Re-generate. | |
21 | end-sanitize-am30 | |
22 | ||
23 | start-sanitize-am30 | |
24 | Mon May 25 20:50:35 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
25 | ||
26 | * dv-mn103int.c, dv-mn103cpu.c: Rename *_callback to *_method. | |
27 | ||
28 | * dv-mn103cpu.c, dv-mn103int.c: Include hw-main.h and | |
29 | sim-main.h. Declare a struct hw_descriptor instead of struct | |
30 | hw_device_descriptor. | |
31 | ||
39e953a7 AC |
32 | Mon May 25 17:33:33 1998 Andrew Cagney <cagney@b1.cygnus.com> |
33 | ||
34 | * dv-mn103cpu.c (struct mn103cpu): Change type of pending_handler | |
35 | to struct hw_event. | |
36 | ||
f872d0d6 AC |
37 | Fri May 22 12:17:41 1998 Andrew Cagney <cagney@b1.cygnus.com> |
38 | ||
39 | * configure.in (SIM_AC_OPTION_HARDWARE): Add argument "yes". | |
40 | ||
26feb3a8 AC |
41 | Wed May 6 13:29:06 1998 Andrew Cagney <cagney@b1.cygnus.com> |
42 | ||
43 | * interp.c (sim_open): Create a polling PAL device. | |
44 | ||
45 | end-sanitize-am30 | |
46 | Fri May 1 16:39:15 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
47 | ||
48 | * dv-mn103int.c (mn103int_port_event): | |
49 | (mn103int_port_event): | |
50 | (mn103int_io_read_buffer): | |
51 | (mn103int_io_write_buffer): | |
52 | ||
53 | * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Drop CPU/CIA args. | |
54 | (mn103cpu_port_event): Ditto. | |
55 | (mn103cpu_io_read_buffer): Ditto. | |
56 | (mn103cpu_io_write_buffer): Ditto. | |
57 | ||
9d45df1b GN |
58 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> |
59 | ||
60 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
61 | ||
5da9ce07 TT |
62 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> |
63 | ||
64 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
65 | * config.in: Ditto. | |
66 | ||
67 | Sun Apr 26 15:19:55 1998 Tom Tromey <tromey@cygnus.com> | |
68 | ||
69 | * acconfig.h: New file. | |
70 | * configure.in: Reverted change of Apr 24; use sinclude again. | |
71 | ||
b1df34b9 TT |
72 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> |
73 | ||
74 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
75 | * config.in: Ditto. | |
76 | ||
77 | Fri Apr 24 11:19:07 1998 Tom Tromey <tromey@cygnus.com> | |
78 | ||
79 | * configure.in: Don't call sinclude. | |
80 | ||
1e23866b AC |
81 | Tue Apr 14 10:03:02 1998 Andrew Cagney <cagney@b1.cygnus.com> |
82 | ||
b1df34b9 TT |
83 | * mn10300_sim.h: Declare all functions in op_utils.c using |
84 | INLINE_SIM_MAIN. | |
85 | * op_utils.c: Ditto. | |
86 | * sim-main.c: New file. Include op_utils.c. | |
87 | ||
1e23866b AC |
88 | * mn10300.igen (mov, cmp): Use new igen operators `!' and `=' to |
89 | differentiate between MOV/CMP immediate/register instructions. | |
90 | ||
91 | * configure.in (SIM_AC_OPTION_INLINE): Add and enable. | |
92 | * configure: Regenerate. | |
93 | ||
278bda40 AC |
94 | Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> |
95 | ||
96 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
97 | ||
98 | start-sanitize-am30 | |
99 | Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
100 | ||
101 | * interp.c (hw): Delete variable, moved to SIM_DESC. | |
102 | (sim_open): Delete calls to hw_tree_create, hw_tree_finish. | |
103 | Handled by sim-module. | |
104 | (sim_open): Do not anotate tree with trace properties, handled by | |
105 | sim-hw.c | |
106 | (sim_open): Call sim_hw_parse instead of hw_tree_parse. | |
107 | ||
108 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
109 | ||
110 | end-sanitize-am30 | |
6d133cc9 AC |
111 | start-sanitize-am30 |
112 | Thu Mar 26 20:46:18 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> | |
113 | ||
114 | * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Save the entire PC | |
115 | on the stack when delivering interrupts (not just the lower | |
116 | half)... | |
117 | * mn10300.igen (mov (Di,Am),Dn): Fix decode. Registers were | |
118 | specified in the wrong order. | |
119 | ||
120 | end-sanitize-am30 | |
121 | start-sanitize-am30 | |
1b756ba6 AC |
122 | Fri Mar 27 00:56:40 1998 Andrew Cagney <cagney@b1.cygnus.com> |
123 | ||
124 | * dv-mn103cpu.c (deliver_mn103cpu_interrupt): Stop loss of | |
125 | succeeding interrupts, clear pending_handler when the handler | |
126 | isn't re-scheduled. | |
127 | ||
6d133cc9 | 128 | end-sanitize-am30 |
abf6ba25 SG |
129 | Thu Mar 26 10:11:01 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk> |
130 | ||
131 | * Makefile.in (tmp-igen): Prefix all usage of move-if-change | |
132 | script with $(SHELL) to make NT native builds happy. | |
133 | * configure: Regenerate because of change to ../common/aclocal.m4. | |
134 | ||
51ccd82f AC |
135 | Thu Mar 26 11:22:31 1998 Andrew Cagney <cagney@b1.cygnus.com> |
136 | ||
137 | * configure.in: Make --enable-sim-common the default. | |
138 | * configure: Re-generate. | |
139 | ||
140 | * sim-main.h (CIA_GET, CIA_SET): Save/restore current instruction | |
141 | address into Sate.regs[REG_PC] instead of common struct. | |
142 | ||
d1607ed3 JJ |
143 | Wed Mar 25 17:42:00 1998 Joyce Janczyn <janczyn@cygnus.com> |
144 | ||
145 | * mn10300.igen (cmp imm8,An): Do not sign extend imm8 value. | |
146 | ||
52ef605e JJ |
147 | Wed Mar 25 12:08:00 1998 Joyce Janczyn <janczyn@cygnus.com> |
148 | ||
149 | * simops.c (OP_F0FD): Initialise variable 'sp'. | |
150 | ||
6d133cc9 | 151 | start-sanitize-am30 |
c357e16a AC |
152 | Thu Mar 26 00:21:32 1998 Andrew Cagney <cagney@b1.cygnus.com> |
153 | ||
154 | * dv-mn103int.c (decode_group): A group register every 4 bytes not | |
155 | 8. | |
156 | (write_icr): Rewrite equation updating request field. | |
157 | (read_iagr): Fix check that interrupt is still pending. | |
158 | ||
6d133cc9 AC |
159 | end-sanitize-am30 |
160 | start-sanitize-am30 | |
8077fed5 AC |
161 | Wed Mar 25 16:14:50 1998 Andrew Cagney <cagney@b1.cygnus.com> |
162 | ||
163 | * interp.c (sim_open): Tidy up device creation. | |
164 | ||
165 | * dv-mn103int.c (mn103int_port_event): Drive NMI with non-zero | |
166 | value. | |
167 | (mn103int_io_read_buffer): Convert absolute address to register | |
168 | block offsets. | |
169 | (read_icr, write_icr): Convert block offset into group offset. | |
170 | ||
6d133cc9 | 171 | end-sanitize-am30 |
6100784a AC |
172 | Wed Mar 25 15:08:49 1998 Andrew Cagney <cagney@b1.cygnus.com> |
173 | ||
174 | * interp.c (sim_open): Create second 1mb memory region at | |
175 | 0x40000000. | |
176 | (sim_open): Create a device tree. | |
177 | (sim-hw.h): Include. | |
6d133cc9 | 178 | start-sanitize-am30 |
6100784a AC |
179 | (do_interrupt): Delete, needs to use dv-mn103cpu.c |
180 | ||
181 | * dv-mn103int.c, dv-mn103cpu.c: New files. | |
6d133cc9 | 182 | end-sanitize-am30 |
6100784a | 183 | |
8388c9a5 AC |
184 | Wed Mar 25 08:47:38 1998 Andrew Cagney <cagney@b1.cygnus.com> |
185 | ||
186 | * mn10300_sim.h (EXTRACT_PSW_LM, INSERT_PSW_LM, PSW_IE, PSW_LM): | |
187 | Define. | |
188 | (SP): Define. | |
189 | ||
d89fa2d8 AC |
190 | Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> |
191 | ||
192 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
193 | ||
e855e576 AC |
194 | Wed Mar 25 10:24:48 1998 Andrew Cagney <cagney@b1.cygnus.com> |
195 | ||
196 | * interp.c (sim-options.h): Include. | |
197 | (sim_kind, myname): Declare when not using common framework. | |
198 | ||
199 | * mn10300_sim.h (do_syscall, generic*): Provide prototypes for | |
200 | functions found in op_utils.c | |
201 | ||
202 | * mn10300.igen (add): Discard unused variables. | |
203 | ||
204 | * configure, config.in: Re-generate with autoconf 2.12.1. | |
205 | ||
55045e7b JJ |
206 | Tue Mar 24 15:27:00 1998 Joyce Janczyn <janczyn@cygnus.com> |
207 | ||
208 | Add support for --enable-sim-common option. | |
209 | * Makefile.in (WITHOUT_COMMON_OBJS): Files included if | |
210 | ! --enable-sim-common | |
211 | (WITH_COMMON_OBJS): Files included if --enable-sim-common. | |
212 | (MN10300_OBJS,MN10300_INTERP_DEP): New variables. | |
213 | (SIM_OBJS): Rewrite. | |
214 | ({WITHOUT,WITH}_COMMON_RUN_OBJS,SIM_RUN_OBJS): New variables. | |
215 | (SIM_EXTRA_CFLAGS): New variable. | |
216 | (clean-extra): Clean up igen files. | |
217 | (../igen/igen,clean-igen,tmp-igen): New rules. | |
218 | * configure.in: Add support for common framework via | |
219 | --enable-sim-common. | |
220 | * configure: Regenerate. | |
221 | * interp.c: #include sim-main if WITH_COMMON, not mn10300_sim.h. | |
222 | (hash,dispatch,sim_size): Don't compile if ! WITH_COMMON. | |
223 | (init_system,sim_write,compare_simops): Likewise. | |
224 | (sim_set_profile,sim_set_profile_size): Likewise. | |
225 | (sim_stop,sim_resume,sim_trace,sim_info): Likewise. | |
226 | (sim_set_callbacks,sim_stop_reason,sim_read,sim_load): Likewise. | |
227 | (enum interrupt_type): New enum. | |
228 | (interrupt_names): New global. | |
229 | (do_interrupt): New function. | |
230 | (sim_open): Define differently if WITH_COMMON. | |
231 | (sim_close,sim_create_inferior,sim_do_command): Likewise. | |
232 | * mn10300_sim.h ({load,store}_{byte,half,word}): Define versions | |
233 | for WITH_COMMON. | |
234 | * mn10300.igen: New file. | |
235 | * mn10300.dc: New file. | |
236 | * op_utils.c: New file. | |
237 | * sim-main.h: New file. | |
238 | ||
239 | Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
240 | ||
241 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
242 | ||
243 | Fri Feb 27 18:36:04 1998 Jeffrey A Law (law@cygnus.com) | |
244 | ||
245 | * simops.c (inc): Fix typo. | |
246 | ||
097e6924 JL |
247 | Wed Feb 25 01:59:29 1998 Jeffrey A Law (law@cygnus.com) |
248 | ||
249 | * simops.c (signed multiply instructions): Cast input operands to | |
250 | signed32 before casting them to signed64 so that the sign bit | |
251 | is propagated properly. | |
252 | ||
a9faef12 MA |
253 | Mon Feb 23 20:23:19 1998 Mark Alexander <marka@cygnus.com> |
254 | ||
255 | * Makefile.in: Last change was bad. Define NL_TARGET | |
256 | so that targ-vals.h will be used instead of syscall.h. | |
257 | * simops.c: Use targ-vals.h instead of syscall.h. | |
258 | (OP_F020): Disable unsupported system calls. | |
259 | ||
e04b0d76 MA |
260 | Mon Feb 23 09:44:38 1998 Mark Alexander <marka@cygnus.com> |
261 | ||
262 | * Makefile.in: Get header files from libgloss/mn10300/sys. | |
263 | ||
7eab31b7 JL |
264 | Sun Feb 22 16:02:24 1998 Jeffrey A Law (law@cygnus.com) |
265 | ||
266 | * simops.c: Include sim-types.h. | |
267 | ||
268 | Wed Feb 18 13:07:08 1998 Jeffrey A Law (law@cygnus.com) | |
269 | ||
270 | * simops.c (multiply instructions): Cast input operands to a | |
271 | signed64/unsigned64 type as appropriate. | |
272 | ||
fbb8b6b9 AC |
273 | Tue Feb 17 12:47:16 1998 Andrew Cagney <cagney@b1.cygnus.com> |
274 | ||
275 | * interp.c (sim_store_register, sim_fetch_register): Pass in | |
276 | length parameter. Return -1. | |
277 | ||
278 | Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> | |
279 | ||
280 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
281 | ||
412c4e94 AC |
282 | Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> |
283 | ||
284 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
285 | ||
462cfbc4 DE |
286 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> |
287 | ||
288 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
289 | ||
290 | Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
291 | ||
292 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
293 | * config.in: Ditto. | |
294 | ||
295 | Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> | |
296 | ||
297 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
298 | ||
299 | Tue Nov 11 10:38:52 1997 Jeffrey A Law (law@cygnus.com) | |
300 | ||
301 | * simops.c (call:16 call:32): Stack adjustment is determined solely | |
302 | by the imm8 field. | |
303 | ||
9e03a68f AC |
304 | Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com> |
305 | ||
b5da31ac | 306 | * interp.c (sim_load): Pass lma_p and sim_write args to |
9e03a68f AC |
307 | sim_load_file. |
308 | ||
f4ab2b2f JL |
309 | Tue Oct 21 10:12:03 1997 Jeffrey A Law (law@cygnus.com) |
310 | ||
311 | * simops.c: Correctly handle register restores for "ret" and "retf" | |
312 | instructions. | |
313 | ||
314 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
315 | ||
316 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
317 | ||
318 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
319 | ||
320 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
321 | ||
92f91d1f AC |
322 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
323 | ||
324 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
325 | ||
794e9ac9 AC |
326 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> |
327 | ||
328 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
329 | ||
b45caf05 AC |
330 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> |
331 | ||
332 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
333 | ||
334 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
335 | ||
336 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
337 | ||
6fea4763 DE |
338 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> |
339 | ||
340 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
341 | ||
88117054 AC |
342 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
343 | ||
344 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
345 | * config.in: Ditto. | |
346 | ||
7230ff0f AC |
347 | Tue Aug 26 10:41:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
348 | ||
349 | * interp.c (sim_kill): Delete. | |
fafce69a AC |
350 | (sim_create_inferior): Add ABFD argument. |
351 | (sim_load): Move setting of PC from here. | |
352 | (sim_create_inferior): To here. | |
7230ff0f | 353 | |
247fccde AC |
354 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
355 | ||
356 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
357 | * config.in: Ditto. | |
358 | ||
359 | Mon Aug 25 16:14:44 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
360 | ||
361 | * interp.c (sim_open): Add ABFD argument. | |
362 | ||
363 | Tue Jun 24 13:46:20 1997 Jeffrey A Law (law@cygnus.com) | |
364 | ||
365 | * interp.c (sim_resume): Clear State.exited. | |
366 | (sim_stop_reason): If State.exited is nonzero, then indicate that | |
367 | the simulator exited instead of stopped. | |
368 | * mn10300_sim.h (struct _state): Add exited field. | |
369 | * simops.c (syscall): Set State.exited for SYS_exit. | |
370 | ||
c370b3cd JL |
371 | Wed Jun 11 22:07:56 1997 Jeffrey A Law (law@cygnus.com) |
372 | ||
373 | * simops.c: Fix thinko in last change. | |
374 | ||
0a8fa63c JL |
375 | Tue Jun 10 12:31:32 1997 Jeffrey A Law (law@cygnus.com) |
376 | ||
dbdb5bd8 JL |
377 | * simops.c: "call" stores the callee saved registers into the |
378 | stack! Update the stack pointer properly when done with | |
379 | register saves. | |
380 | ||
0a8fa63c JL |
381 | * simops.c: Fix return address computation for "call" instructions. |
382 | ||
383 | Thu May 22 01:43:11 1997 Jeffrey A Law (law@cygnus.com) | |
384 | ||
385 | * interp.c (sim_open): Fix typo. | |
386 | ||
09e142d5 JL |
387 | Wed May 21 23:27:58 1997 Jeffrey A Law (law@cygnus.com) |
388 | ||
389 | * interp.c (sim_resume): Add missing case in big switch | |
390 | statement (for extb instruction). | |
391 | ||
003c91be JL |
392 | Tue May 20 17:51:30 1997 Jeffrey A Law (law@cygnus.com) |
393 | ||
394 | * interp.c: Replace all references to load_mem and store_mem | |
395 | with references to load_byte, load_half, load_3_byte, load_word | |
396 | and store_byte, store_half, store_3_byte, store_word. | |
397 | (INLINE): Delete definition. | |
398 | (load_mem_big): Likewise. | |
399 | (max_mem): Make it global. | |
400 | (dispatch): Make this function inline. | |
401 | (load_mem, store_mem): Delete functions. | |
402 | * mn10300_sim.h (INLINE): Define. | |
403 | (RLW): Delete unused definition. | |
404 | (load_mem, store_mem): Delete declarations. | |
405 | (load_mem_big): New definition. | |
406 | (load_byte, load_half, load_3_byte, load_word): New functions. | |
407 | (store_byte, store_half, store_3_byte, store_word): New functions. | |
408 | * simops.c: Replace all references to load_mem and store_mem | |
409 | with references to load_byte, load_half, load_3_byte, load_word | |
410 | and store_byte, store_half, store_3_byte, store_word. | |
411 | ||
412 | Tue May 20 10:21:51 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
413 | ||
414 | * interp.c (sim_open): Add callback to arguments. | |
415 | (sim_set_callbacks): Delete SIM_DESC argument. | |
416 | ||
4df7aeb3 JL |
417 | Mon May 19 13:54:22 1997 Jeffrey A Law (law@cygnus.com) |
418 | ||
419 | * interp.c (dispatch): Make this an inline function. | |
420 | ||
421 | * simops.c (syscall): Use callback->write regardless of | |
422 | what file descriptor we're writing too. | |
423 | ||
b07a1e78 JL |
424 | Sun May 18 16:46:31 1997 Jeffrey A Law (law@cygnus.com) |
425 | ||
426 | * interp.c (load_mem_big): Remove function. It's now a macro | |
427 | defined elsewhere. | |
428 | (compare_simops): New function. | |
429 | (sim_open): Sort the Simops table before inserting entries | |
430 | into the hash table. | |
431 | * mn10300_sim.h: Remove unused #defines. | |
432 | (load_mem_big): Define. | |
433 | ||
234a9a49 JL |
434 | Fri May 16 16:36:17 1997 Jeffrey A Law (law@cygnus.com) |
435 | ||
436 | * interp.c (load_mem): If we get a load from an out of range | |
437 | address, abort. | |
438 | (store_mem): Likewise for stores. | |
439 | (max_mem): New variable. | |
440 | ||
baa83bcc JL |
441 | Tue May 6 13:24:36 1997 Jeffrey A Law (law@cygnus.com) |
442 | ||
8def9220 JL |
443 | * mn10300_sim.h: Fix ordering of bits in the PSW. |
444 | ||
baa83bcc JL |
445 | * interp.c: Improve hashing routine to avoid long list |
446 | traversals for common instructions. Add HASH_STAT support. | |
447 | Rewrite opcode dispatch code using a big switch instead of | |
448 | cascaded if/else statements. Avoid useless calls to load_mem. | |
449 | ||
26e9f63c JL |
450 | Mon May 5 18:07:48 1997 Jeffrey A Law (law@cygnus.com) |
451 | ||
452 | * mn10300_sim.h (struct _state): Add space for mdrq register. | |
453 | (REG_MDRQ): Define. | |
454 | * simops.c: Don't abort for trap. Add support for the extended | |
455 | instructions, "getx", "putx", "mulq", "mulqu", "sat16", "sat24", | |
456 | and "bsch". | |
457 | ||
458 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> | |
459 | ||
460 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
461 | ||
8517f62b AC |
462 | Fri Apr 18 14:04:04 1997 Andrew Cagney <cagney@b1.cygnus.com> |
463 | ||
464 | * interp.c (sim_stop): Add stub function. | |
465 | ||
6cc6987e DE |
466 | Thu Apr 17 03:26:59 1997 Doug Evans <dje@canuck.cygnus.com> |
467 | ||
468 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
469 | * interp.c (sim_kind, myname): New static locals. | |
470 | (sim_open): Set sim_kind, myname. Ignore -E arg. | |
471 | (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to | |
472 | load file into simulator. Set start address from bfd. | |
473 | (sim_create_inferior): Return SIM_RC. Delete arg start_address. | |
474 | ||
87e43259 AC |
475 | Wed Apr 16 19:30:44 1997 Andrew Cagney <cagney@b1.cygnus.com> |
476 | ||
477 | * simops.c (OP_F020): SYS_execv, SYS_time, SYS_times, SYS_utime | |
478 | only include if implemented by host. | |
479 | (OP_F020): Typecast arg passed to time function; | |
480 | ||
481 | Mon Apr 7 23:57:49 1997 Jeffrey A Law (law@cygnus.com) | |
482 | ||
483 | * simops.c (syscall): Handle new mn10300 calling conventions. | |
484 | ||
08db4a65 AC |
485 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
486 | ||
487 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
488 | * config.in: Ditto. | |
489 | ||
ea553f56 ILT |
490 | Fri Apr 4 20:02:37 1997 Ian Lance Taylor <ian@cygnus.com> |
491 | ||
492 | * Makefile.in: Change mn10300-opc.o to m10300-opc.o, to match | |
493 | corresponding change in opcodes directory. | |
494 | ||
fbda74b1 DE |
495 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> |
496 | ||
8a7c3105 DE |
497 | * interp.c (sim_open): New arg `kind'. |
498 | ||
fbda74b1 DE |
499 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
500 | ||
a35e91c3 AC |
501 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
502 | ||
503 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
504 | ||
505 | Thu Mar 20 11:58:02 1997 Jeffrey A Law (law@cygnus.com) | |
506 | ||
507 | * simops.c: Fix register extraction for a two "movbu" variants. | |
508 | Somewhat simplify "sub" instructions. | |
509 | Correctly sign extend operands for "mul". Put the correct | |
510 | half of the result in MDR for "mul" and "mulu". | |
511 | Implement remaining instructions. | |
512 | Tweak opcode for "syscall". | |
513 | ||
514 | Tue Mar 18 14:21:21 1997 Jeffrey A Law (law@cygnus.com) | |
515 | ||
516 | * simops.c: Do syscall emulation in "syscall" instruction. Add | |
517 | dummy "trap" instruction. | |
518 | ||
c695046a AC |
519 | Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
520 | ||
521 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
522 | ||
a77aa7ec AC |
523 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
524 | ||
525 | * configure: Re-generate. | |
526 | ||
601fb8ae MM |
527 | Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> |
528 | ||
529 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
530 | ||
53b9417e DE |
531 | Thu Mar 13 12:54:45 1997 Doug Evans <dje@canuck.cygnus.com> |
532 | ||
533 | * interp.c (sim_open): New SIM_DESC result. Argument is now | |
534 | in argv form. | |
535 | (other sim_*): New SIM_DESC argument. | |
536 | ||
09eef8af JL |
537 | Wed Mar 12 15:04:00 1997 Jeffrey A Law (law@cygnus.com) |
538 | ||
0ade484f JL |
539 | * simops.c: Fix carry bit computation for "add" instructions. |
540 | ||
09eef8af JL |
541 | * simops.c: Fix typos in bset insns. Fix arguments to store_mem |
542 | for bset imm8,(d8,an) and bclr imm8,(d8,an). | |
543 | ||
544 | Wed Mar 5 15:00:10 1997 Jeffrey A Law (law@cygnus.com) | |
545 | ||
546 | * simops.c: Fix register references when computing Z and N bits | |
547 | for lsr imm8,dn. | |
548 | ||
549 | Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com> | |
550 | ||
551 | * Makefile.in (@COMMON_MAKEFILE_FRAG): Use | |
552 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
553 | * configure.in: sinclude ../common/aclocal.m4. | |
554 | * configure: Regenerated. | |
555 | ||
018f9eb4 JL |
556 | Fri Jan 24 10:47:25 1997 Jeffrey A Law (law@cygnus.com) |
557 | ||
558 | * interp.c (init_system): Allocate 2^19 bytes of space for the | |
559 | simulator. | |
560 | ||
295dbbe4 SG |
561 | Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) |
562 | ||
563 | * configure configure.in Makefile.in: Update to new configure | |
564 | scheme which is more compatible with WinGDB builds. | |
565 | * configure.in: Improve comment on how to run autoconf. | |
566 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
567 | * Makefile.in: Use autoconf substitution to install common | |
568 | makefile fragment. | |
569 | ||
f95251f0 JL |
570 | Tue Jan 21 15:03:04 1997 Jeffrey A Law (law@cygnus.com) |
571 | ||
572 | * simops.c: Undo last change to "rol" and "ror", original code | |
573 | was correct! | |
574 | ||
b4b290a0 JL |
575 | Thu Jan 16 11:28:14 1997 Jeffrey A Law (law@cygnus.com) |
576 | ||
577 | * simops.c: Fix "rol" and "ror". | |
578 | ||
579 | Wed Jan 15 06:45:58 1997 Jeffrey A Law (law@cygnus.com) | |
580 | ||
581 | * simops.c: Fix typo in last change. | |
582 | ||
2da0bc1b JL |
583 | Mon Jan 13 13:22:35 1997 Jeffrey A Law (law@cygnus.com) |
584 | ||
585 | * simops.c: Use REG macros in few places not using them yet. | |
586 | ||
bbd17062 JL |
587 | Mon Jan 6 16:21:19 1997 Jeffrey A Law (law@cygnus.com) |
588 | ||
589 | * mn10300_sim.h (struct _state): Fix number of registers! | |
590 | ||
b774c0e4 JL |
591 | Tue Dec 31 16:20:41 1996 Jeffrey A Law (law@cygnus.com) |
592 | ||
593 | * mn10300_sim.h (struct _state): Put all registers into a single | |
594 | array to make gdb implementation easier. | |
595 | (REG_*): Add definitions for all registers in the state array. | |
596 | (SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros. | |
597 | * simops.c: Related changes. | |
598 | ||
d657034d JL |
599 | Wed Dec 18 10:10:45 1996 Jeffrey A Law (law@cygnus.com) |
600 | ||
601 | * interp.c (sim_resume): Handle 0xff as a single byte insn. | |
602 | ||
603 | * simops.c: Fix overflow computation for "add" and "inc" | |
604 | instructions. | |
605 | ||
16d2e2b6 JL |
606 | Mon Dec 16 10:03:52 1996 Jeffrey A Law (law@cygnus.com) |
607 | ||
093e9a32 JL |
608 | * simops.c: Handle "break" instruction. |
609 | ||
16d2e2b6 JL |
610 | * simops.c: Fix restoring the PC for "ret" and "retf" instructions. |
611 | ||
612 | Wed Dec 11 09:53:10 1996 Jeffrey A Law (law@cygnus.com) | |
613 | ||
614 | * gencode.c (write_opcodes): Also write out the format of the | |
615 | opcode. | |
616 | * mn10300_sim.h (simops): Add "format" field. | |
617 | * interp.c (sim_resume): Deal with endianness issues here. | |
618 | ||
95d18eb7 JL |
619 | Tue Dec 10 15:05:37 1996 Jeffrey A Law (law@cygnus.com) |
620 | ||
621 | * simops.c (REG0_4): Define. | |
622 | Use REG0_4 for indexed loads/stores. | |
623 | ||
2e8f4133 JL |
624 | Sat Dec 7 09:50:28 1996 Jeffrey A Law (law@cygnus.com) |
625 | ||
626 | * simops.c (REG0_16): Fix typo. | |
627 | ||
d2523010 JL |
628 | Fri Dec 6 14:13:34 1996 Jeffrey A Law (law@cygnus.com) |
629 | ||
b2f7a7e5 JL |
630 | * simops.c: Call abort for any instruction that's not currently |
631 | simulated. | |
632 | ||
9f4a551e JL |
633 | * simops.c: Define accessor macros to extract register |
634 | values from instructions. Use them consistently. | |
635 | ||
7c52bf32 JL |
636 | * interp.c: Delete unused global variable "OP". |
637 | (sim_resume): Remove unused variable "opcode". | |
638 | * simops.c: Fix some uninitialized variable problems, add | |
639 | parens to fix various -Wall warnings. | |
640 | ||
d2523010 JL |
641 | * gencode.c (write_header): Add "insn" and "extension" arguments |
642 | to the OP_* declarations. | |
643 | (write_template): Similarly for function templates. | |
644 | * interp.c (insn, extension): Remove global variables. Instead | |
645 | pass them as arguments to the OP_* functions. | |
646 | * mn10300_sim.h: Remove decls for "insn" and "extension". | |
647 | * simops.c (OP_*): Accept "insn" and "extension" as arguments | |
648 | instead of using globals. | |
649 | ||
4d8ced6c JL |
650 | Thu Dec 5 22:26:31 1996 Jeffrey A Law (law@cygnus.com) |
651 | ||
e5a7a537 JL |
652 | * simops.c: Fix typos in "mov am,(d16,an)" and "mov am,(d32,an)" |
653 | ||
4d8ced6c JL |
654 | * simops.c: Fix thinkos in last change to "inc dn". |
655 | ||
61ecca95 JL |
656 | Wed Dec 4 10:57:53 1996 Jeffrey A Law (law@cygnus.com) |
657 | ||
658 | * simops.c: "add imm,sp" does not effect the condition codes. | |
659 | "inc dn" does effect the condition codes. | |
660 | ||
e4e13022 JL |
661 | Tue Dec 3 17:37:45 1996 Jeffrey A Law (law@cygnus.com) |
662 | ||
663 | * simops.c: Treat both operands as signed values for | |
664 | "div" instruction. | |
665 | ||
666 | * simops.c: Fix simulation of division instructions. | |
667 | Fix typos/thinkos in several "cmp" and "sub" instructions. | |
668 | ||
fcfaf40d JL |
669 | Mon Dec 2 12:31:40 1996 Jeffrey A Law (law@cygnus.com) |
670 | ||
e4e13022 JL |
671 | * simops.c: Fix carry bit handling in "sub" and "cmp" |
672 | instructions. | |
673 | ||
fcfaf40d JL |
674 | * simops.c: Fix "mov imm8,an" and "mov imm16,dn". |
675 | ||
6db7fc49 JL |
676 | Sun Dec 1 16:05:42 1996 Jeffrey A Law (law@cygnus.com) |
677 | ||
b7b89deb JL |
678 | * simops.c: Fix overflow computation for many instructions. |
679 | ||
e5a7a537 | 680 | * simops.c: Fix "mov dm, an", "movbu dm, (an)", and "movhu dm, (an)". |
af388638 | 681 | |
c8f0171f JL |
682 | * simops.c: Fix "mov am, dn". |
683 | ||
6db7fc49 JL |
684 | * simops.c: Fix more bugs in "add imm,an" and |
685 | "add imm,dn". | |
686 | ||
f5f13c1d JL |
687 | Wed Nov 27 09:20:42 1996 Jeffrey A Law (law@cygnus.com) |
688 | ||
6e7a01c1 JL |
689 | * simops.c: Fix bugs in "movm" and "add imm,an". |
690 | ||
3bb3fe44 JL |
691 | * simops.c: Don't lose the upper 24 bits of the return |
692 | pointer in "call" and "calls" instructions. Rough cut | |
693 | at emulated system calls. | |
694 | ||
de0dce7c JL |
695 | * simops.c: Implement the remaining 5, 6 and 7 byte instructions. |
696 | ||
ecb4b5a3 JL |
697 | * simops.c: Implement remaining 4 byte instructions. |
698 | ||
699 | * simops.c: Implement remaining 3 byte instructions. | |
2e35551c | 700 | |
f5f13c1d JL |
701 | * simops.c: Implement remaining 2 byte instructions. Call |
702 | abort for instructions we're not implementing now. | |
703 | ||
73e65298 JL |
704 | Tue Nov 26 15:43:41 1996 Jeffrey A Law (law@cygnus.com) |
705 | ||
707641f6 JL |
706 | * simops.c: Implement lots of random instructions. |
707 | ||
1f3bea21 JL |
708 | * simops.c: Implement "movm" and "bCC" insns. |
709 | ||
92284aaa JL |
710 | * mn10300_sim.h (_state): Add another register (MDR). |
711 | (REG_MDR): Define. | |
712 | * simops.c: Implement "cmp", "calls", "rets", "jmp" and | |
713 | a few additional random insns. | |
714 | ||
73e65298 JL |
715 | * mn10300_sim.h (PSW_*): Define for CC status tracking. |
716 | (REG_D0, REG_A0, REG_SP): Define. | |
717 | * simops.c: Implement "add", "addc" and a few other random | |
718 | instructions. | |
b5f831ac JL |
719 | |
720 | * gencode.c, interp.c: Snapshot current simulator code. | |
721 | ||
05ccbdfd JL |
722 | Mon Nov 25 12:46:38 1996 Jeffrey A Law (law@cygnus.com) |
723 | ||
724 | * Makefile.in, config.in, configure, configure.in: New files. | |
725 | * gencode.c, interp.c, mn10300_sim.h, simops.c: New files. | |
726 |