Commit | Line | Data |
---|---|---|
a2ab5e65 AC |
1 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> |
2 | ||
3 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
4 | ||
11ac69e0 AC |
5 | Fri Sep 12 12:01:39 1997 Andrew Cagney <cagney@b1.cygnus.com> |
6 | ||
7 | * interp.c (mips_options): Fix samples option short form, should | |
8 | be `x'. | |
9 | ||
972f3a34 AC |
10 | Thu Sep 11 09:35:29 1997 Andrew Cagney <cagney@b1.cygnus.com> |
11 | ||
12 | * interp.c (sim_info): Enable info code. Was just returning. | |
13 | ||
9eeaaefa AC |
14 | Tue Sep 9 17:30:57 1997 Andrew Cagney <cagney@b1.cygnus.com> |
15 | ||
16 | * interp.c (decode_coproc): Clarify warning about unsuported MTC0, | |
17 | MFC0. | |
18 | ||
c31c13b4 AC |
19 | Tue Sep 9 16:28:28 1997 Andrew Cagney <cagney@b1.cygnus.com> |
20 | ||
21 | * gencode.c (build_instruction): Use SIGNED64 for 64 bit | |
22 | constants. | |
23 | (build_instruction): Ditto for LL. | |
24 | ||
b637f306 GRK |
25 | start-sanitize-tx19 |
26 | Sun Sep 7 16:05:46 1997 Gavin Koch <gavin@cygnus.com> | |
27 | ||
28 | * mips/configure.in, mips/gencode: Add tx19/r1900. | |
29 | ||
30 | end-sanitize-tx19 | |
6fea4763 DE |
31 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> |
32 | ||
33 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
34 | ||
52352d38 AC |
35 | start-sanitize-r5900 |
36 | Mon Sep 1 18:43:30 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
37 | ||
38 | * gencode.c (build_instruction): For "pabsw" and "pabsh", check | |
39 | for overflow due to ABS of MININT, set result to MAXINT. | |
40 | (build_instruction): For "psrlvw", signextend bit 31. | |
41 | ||
42 | end-sanitize-r5900 | |
88117054 AC |
43 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
44 | ||
45 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
46 | * config.in: Ditto. | |
47 | ||
fafce69a AC |
48 | Wed Aug 27 14:12:27 1997 Andrew Cagney <cagney@b1.cygnus.com> |
49 | ||
50 | * interp.c (sim_open): Add call to sim_analyze_program, update | |
51 | call to sim_config. | |
52 | ||
7230ff0f AC |
53 | Tue Aug 26 10:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com> |
54 | ||
55 | * interp.c (sim_kill): Delete. | |
fafce69a AC |
56 | (sim_create_inferior): Add ABFD argument. Set PC from same. |
57 | (sim_load): Move code initializing trap handlers from here. | |
58 | (sim_open): To here. | |
59 | (sim_load): Delete, use sim-hload.c. | |
60 | ||
61 | * Makefile.in (SIM_OBJS): Add sim-hload.o module. | |
7230ff0f | 62 | |
247fccde AC |
63 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
64 | ||
65 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
66 | * config.in: Ditto. | |
67 | ||
68 | Mon Aug 25 15:59:48 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
69 | ||
70 | * interp.c (sim_open): Add ABFD argument. | |
71 | (sim_load): Move call to sim_config from here. | |
72 | (sim_open): To here. Check return status. | |
73 | ||
74 | start-sanitize-r5900 | |
75 | * gencode.c (build_instruction): Do not define x8000000000000000, | |
76 | x7FFFFFFFFFFFFFFF, or xFFFFFFFF80000000. | |
77 | ||
78 | end-sanitize-r5900 | |
79 | start-sanitize-r5900 | |
80 | Mon Jul 28 19:49:29 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
81 | ||
82 | * gencode.c (build_instruction): For "pdivw", "pdivbw" and | |
83 | "pdivuw" check for overflow due to signed divide by -1. | |
84 | ||
85 | end-sanitize-r5900 | |
c12e2e4c GRK |
86 | Fri Jul 25 15:00:45 1997 Gavin Koch <gavin@cygnus.com> |
87 | ||
88 | * gencode.c (build_instruction): Two arg MADD should | |
89 | not assign result to $0. | |
90 | ||
1e851d2c AC |
91 | start-sanitize-r5900 |
92 | Thu Jul 10 11:58:48 1997 Andrew Cagney <cagney@critters.cygnus.com> | |
93 | ||
94 | * gencode.c (build_instruction): For "ppac5" use unsigned | |
95 | arrithmetic so that the sign bit doesn't smear when right shifted. | |
96 | (build_instruction): For "pdiv" perform sign extension when | |
97 | storing results in HI and LO. | |
98 | (build_instructions): For "pdiv" and "pdivbw" check for | |
99 | divide-by-zero. | |
100 | (build_instruction): For "pmfhl.slw" update hi part of dest | |
101 | register as well as low part. | |
102 | (build_instruction): For "pmfhl" portably handle long long values. | |
103 | (build_instruction): For "pmfhl.sh" correctly negative values. | |
104 | Store half words 2 and three in the correct place. | |
105 | (build_instruction): For "psllvw", sign extend value after shift. | |
106 | ||
107 | end-sanitize-r5900 | |
108 | Thu Jun 26 12:13:17 1997 Angela Marie Thomas (angela@cygnus.com) | |
109 | ||
110 | * sim/mips/configure: Change default_sim_endian to 0 (bi-endian) | |
111 | * sim/mips/configure.in: Regenerate. | |
112 | ||
113 | Wed Jul 9 10:29:21 1997 Andrew Cagney <cagney@critters.cygnus.com> | |
114 | ||
115 | * interp.c (SUB_REG_UW, SUB_REG_SW, SUB_REG_*): Use more explicit | |
116 | signed8, unsigned8 et.al. types. | |
117 | ||
118 | start-sanitize-r5900 | |
119 | * gencode.c (build_instruction): For PMULTU* do not sign extend | |
120 | registers. Make generated code easier to debug. | |
121 | ||
122 | end-sanitize-r5900 | |
123 | * interp.c (SUB_REG_FETCH): Handle both little and big endian | |
124 | hosts when selecting subreg. | |
125 | ||
126 | start-sanitize-r5900 | |
127 | Tue Jul 8 18:07:20 1997 Andrew Cagney <cagney@andros.cygnus.com> | |
128 | ||
129 | * gencode.c (type_for_data_len): For 32bit operations concerned | |
130 | with overflow, perform op using 64bits. | |
131 | (build_instruction): For PADD, always compute operation using type | |
132 | returned by type_for_data_len. | |
133 | (build_instruction): For PSUBU, when overflow, saturate to zero as | |
134 | actually underflow. | |
135 | ||
136 | end-sanitize-r5900 | |
ae19b07b JL |
137 | Wed Jul 2 11:54:10 1997 Jeffrey A Law (law@cygnus.com) |
138 | ||
649625bb | 139 | start-sanitize-r5900 |
64435234 JL |
140 | * gencode.c (build_instruction): Handle "pext5" according to |
141 | version 1.95 of the r5900 ISA. | |
142 | ||
649625bb JL |
143 | * gencode.c (build_instruction): Handle "ppac5" according to |
144 | version 1.95 of the r5900 ISA. | |
649625bb | 145 | |
1e851d2c | 146 | end-sanitize-r5900 |
05d1322f JL |
147 | * interp.c (sim_engine_run): Reset the ZERO register to zero |
148 | regardless of FEATURE_WARN_ZERO. | |
ae19b07b JL |
149 | * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO. |
150 | ||
151 | Wed Jun 4 10:43:14 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
152 | ||
153 | * interp.c (decode_coproc): Implement MTC0 N, CAUSE. | |
154 | (SignalException): For BreakPoints ignore any mode bits and just | |
155 | save the PC. | |
156 | (SignalException): Always set the CAUSE register. | |
157 | ||
56e7c849 AC |
158 | Tue Jun 3 05:00:33 1997 Andrew Cagney <cagney@b1.cygnus.com> |
159 | ||
160 | * interp.c (SignalException): Clear the simDELAYSLOT flag when an | |
161 | exception has been taken. | |
162 | ||
163 | * interp.c: Implement the ERET and mt/f sr instructions. | |
164 | ||
ae19b07b | 165 | start-sanitize-r5900 |
56e7c849 AC |
166 | Mon Jun 2 23:28:19 1997 Andrew Cagney <cagney@b1.cygnus.com> |
167 | ||
168 | * gencode.c (build_instruction): For paddu, extract unsigned | |
169 | sub-fields. | |
170 | ||
171 | * gencode.c (build_instruction): Saturate padds instead of padd | |
172 | instructions. | |
173 | ||
174 | end-sanitize-r5900 | |
175 | Sat May 31 00:44:16 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
176 | ||
177 | * interp.c (SignalException): Don't bother restarting an | |
178 | interrupt. | |
179 | ||
180 | Fri May 30 23:41:48 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
181 | ||
182 | * interp.c (SignalException): Really take an interrupt. | |
183 | (interrupt_event): Only deliver interrupts when enabled. | |
184 | ||
185 | Tue May 27 20:08:06 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
186 | ||
187 | * interp.c (sim_info): Only print info when verbose. | |
188 | (sim_info) Use sim_io_printf for output. | |
189 | ||
2f2e6c5d AC |
190 | Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com> |
191 | ||
192 | * interp.c (CoProcPresent): Add UNUSED attribute - not used by all | |
193 | mips architectures. | |
194 | ||
195 | Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
196 | ||
197 | * interp.c (sim_do_command): Check for common commands if a | |
198 | simulator specific command fails. | |
199 | ||
d3d2a9f7 GRK |
200 | Thu May 22 09:32:03 1997 Gavin Koch <gavin@cygnus.com> |
201 | ||
202 | * interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP | |
203 | and simBE when DEBUG is defined. | |
204 | ||
50a2a691 AC |
205 | Wed May 21 09:08:10 1997 Andrew Cagney <cagney@b1.cygnus.com> |
206 | ||
207 | * interp.c (interrupt_event): New function. Pass exception event | |
208 | onto exception handler. | |
209 | ||
210 | * configure.in: Check for stdlib.h. | |
211 | * configure: Regenerate. | |
212 | ||
213 | * gencode.c (build_instruction): Add UNUSED attribute to tempS | |
214 | variable declaration. | |
215 | (build_instruction): Initialize memval1. | |
216 | (build_instruction): Add UNUSED attribute to byte, bigend, | |
217 | reverse. | |
218 | (build_operands): Ditto. | |
219 | ||
220 | * interp.c: Fix GCC warnings. | |
221 | (sim_get_quit_code): Delete. | |
222 | ||
223 | * configure.in: Add INLINE, ENDIAN, HOSTENDIAN and WARNINGS. | |
224 | * Makefile.in: Ditto. | |
225 | * configure: Re-generate. | |
226 | ||
227 | * Makefile.in (SIM_OBJS): Add sim-watch.o module. | |
228 | ||
229 | Tue May 20 15:08:56 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
230 | ||
231 | * interp.c (mips_option_handler): New function parse argumes using | |
232 | sim-options. | |
233 | (myname): Replace with STATE_MY_NAME. | |
234 | (sim_open): Delete check for host endianness - performed by | |
235 | sim_config. | |
236 | (simHOSTBE, simBE): Delete, replaced by sim-endian flags. | |
237 | (sim_open): Move much of the initialization from here. | |
238 | (sim_load): To here. After the image has been loaded and | |
239 | endianness set. | |
240 | (sim_open): Move ColdReset from here. | |
241 | (sim_create_inferior): To here. | |
242 | (sim_open): Make FP check less dependant on host endianness. | |
243 | ||
244 | * Makefile.in (SIM_RUN_OBJS): Set to nrun.o - use new version or | |
245 | run. | |
246 | * interp.c (sim_set_callbacks): Delete. | |
247 | ||
248 | * interp.c (membank, membank_base, membank_size): Replace with | |
249 | STATE_MEMORY, STATE_MEM_SIZE, STATE_MEM_BASE. | |
250 | (sim_open): Remove call to callback->init. gdb/run do this. | |
251 | ||
252 | * interp.c: Update | |
253 | ||
254 | * sim-main.h (SIM_HAVE_FLATMEM): Define. | |
255 | ||
256 | * interp.c (big_endian_p): Delete, replaced by | |
257 | current_target_byte_order. | |
258 | ||
259 | Tue May 20 13:55:00 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
260 | ||
261 | * interp.c (host_read_long, host_read_word, host_swap_word, | |
262 | host_swap_long): Delete. Using common sim-endian. | |
263 | (sim_fetch_register, sim_store_register): Use H2T. | |
264 | (pipeline_ticks): Delete. Handled by sim-events. | |
265 | (sim_info): Update. | |
266 | (sim_engine_run): Update. | |
267 | ||
268 | Tue May 20 13:42:03 1997 Andrew Cagney <cagney@b1.cygnus.com> | |
269 | ||
270 | * interp.c (sim_stop_reason): Move code determining simEXCEPTION | |
271 | reason from here. | |
272 | (SignalException): To here. Signal using sim_engine_halt. | |
273 | (sim_stop_reason): Delete, moved to common. | |
274 | ||
275 | Tue May 20 10:19:48 1997 Andrew Cagney <cagney@b2.cygnus.com> | |
276 | ||
277 | * interp.c (sim_open): Add callback argument. | |
278 | (sim_set_callbacks): Delete SIM_DESC argument. | |
279 | (sim_size): Ditto. | |
280 | ||
2e61a3ad AC |
281 | Mon May 19 18:20:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
282 | ||
283 | * Makefile.in (SIM_OBJS): Add common modules. | |
284 | ||
285 | * interp.c (sim_set_callbacks): Also set SD callback. | |
286 | (set_endianness, xfer_*, swap_*): Delete. | |
287 | (host_read_word, host_read_long, host_swap_word, host_swap_long): | |
288 | Change to functions using sim-endian macros. | |
289 | (control_c, sim_stop): Delete, use common version. | |
290 | (simulate): Convert into. | |
291 | (sim_engine_run): This function. | |
292 | (sim_resume): Delete. | |
293 | ||
294 | * interp.c (simulation): New variable - the simulator object. | |
295 | (sim_kind): Delete global - merged into simulation. | |
296 | (sim_load): Cleanup. Move PC assignment from here. | |
297 | (sim_create_inferior): To here. | |
298 | ||
299 | * sim-main.h: New file. | |
300 | * interp.c (sim-main.h): Include. | |
301 | ||
302 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> | |
303 | ||
304 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
305 | ||
3be0e228 DE |
306 | Wed Apr 23 17:32:19 1997 Doug Evans <dje@canuck.cygnus.com> |
307 | ||
308 | * tconfig.in (SIM_HAVE_BIENDIAN): Define. | |
309 | ||
d654ba0a GRK |
310 | Mon Apr 21 17:16:13 1997 Gavin Koch <gavin@cygnus.com> |
311 | ||
312 | * gencode.c (build_instruction): DIV instructions: check | |
313 | for division by zero and integer overflow before using | |
314 | host's division operation. | |
315 | ||
9d52bcb7 DE |
316 | Thu Apr 17 03:18:14 1997 Doug Evans <dje@canuck.cygnus.com> |
317 | ||
318 | * Makefile.in (SIM_OBJS): Add sim-load.o. | |
319 | * interp.c: #include bfd.h. | |
320 | (target_byte_order): Delete. | |
321 | (sim_kind, myname, big_endian_p): New static locals. | |
322 | (sim_open): Set sim_kind, myname. Move call to set_endianness to | |
323 | after argument parsing. Recognize -E arg, set endianness accordingly. | |
324 | (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to | |
325 | load file into simulator. Set PC from bfd. | |
326 | (sim_create_inferior): Return SIM_RC. Delete arg start_address. | |
327 | (set_endianness): Use big_endian_p instead of target_byte_order. | |
328 | ||
87e43259 AC |
329 | Wed Apr 16 17:55:37 1997 Andrew Cagney <cagney@b1.cygnus.com> |
330 | ||
331 | * interp.c (sim_size): Delete prototype - conflicts with | |
332 | definition in remote-sim.h. Correct definition. | |
333 | ||
334 | Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
335 | ||
336 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
337 | * config.in: Ditto. | |
338 | ||
fbda74b1 DE |
339 | Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com> |
340 | ||
8a7c3105 DE |
341 | * interp.c (sim_open): New arg `kind'. |
342 | ||
fbda74b1 DE |
343 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
344 | ||
a35e91c3 AC |
345 | Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
346 | ||
347 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
348 | ||
349 | Tue Mar 25 11:38:22 1997 Doug Evans <dje@canuck.cygnus.com> | |
350 | ||
351 | * interp.c (sim_open): Set optind to 0 before calling getopt. | |
352 | ||
353 | Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com> | |
354 | ||
355 | * configure: Regenerated to track ../common/aclocal.m4 changes. | |
356 | ||
6efa34d8 GRK |
357 | Mon Mar 17 10:52:59 1997 Gavin Koch <gavin@cetus.cygnus.com> |
358 | ||
359 | * interp.c : Replace uses of pr_addr with pr_uword64 | |
360 | where the bit length is always 64 independent of SIM_ADDR. | |
361 | (pr_uword64) : added. | |
362 | ||
a77aa7ec AC |
363 | Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com> |
364 | ||
365 | * configure: Re-generate. | |
366 | ||
601fb8ae MM |
367 | Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com> |
368 | ||
369 | * configure: Regenerate to track ../common/aclocal.m4 changes. | |
370 | ||
53b9417e DE |
371 | Thu Mar 13 12:51:36 1997 Doug Evans <dje@canuck.cygnus.com> |
372 | ||
373 | * interp.c (sim_open): New SIM_DESC result. Argument is now | |
374 | in argv form. | |
375 | (other sim_*): New SIM_DESC argument. | |
376 | ||
377 | start-sanitize-r5900 | |
378 | Wed Feb 26 18:32:21 1997 Gavin Koch <gavin@cygnus.com> | |
379 | ||
380 | * gencode.c (POP_AND,POP_OR,POP_NOR,POP_XOR): | |
381 | Change values to avoid overloading DOUBLEWORD which is tested | |
382 | for all insns. | |
383 | * gencode.c: reinstate "offending code". | |
53b9417e | 384 | |
56e7c849 | 385 | end-sanitize-r5900 |
53b9417e DE |
386 | Mon Feb 24 22:47:14 1997 Dawn Perchik <dawn@cygnus.com> |
387 | ||
388 | * interp.c: Fix printing of addresses for non-64-bit targets. | |
389 | (pr_addr): Add function to print address based on size. | |
390 | start-sanitize-r5900 | |
391 | * gencode.c: #ifdef out offending code until a permanent fix | |
392 | can be added. Code is causing build errors for non-5900 mips targets. | |
393 | end-sanitize-r5900 | |
394 | ||
395 | start-sanitize-r5900 | |
396 | Thu Feb 20 10:40:24 1997 Gavin Koch <gavin@cetus.cygnus.com> | |
397 | ||
398 | * gencode.c (process_instructions): Correct test for ISA dependent | |
399 | architecture bits in isa field of MIPS_DECODE. | |
400 | ||
401 | end-sanitize-r5900 | |
7e05106d MA |
402 | Wed Feb 19 14:42:09 1997 Mark Alexander <marka@cygnus.com> |
403 | ||
404 | * interp.c (simopen): Add support for LSI MiniRISC PMON vectors. | |
405 | ||
2d18fbc6 | 406 | start-sanitize-r5900 |
53b9417e | 407 | Tue Feb 18 17:03:47 1997 Gavin Koch <gavin@cygnus.com> |
2d18fbc6 GRK |
408 | |
409 | * gencode.c (MIPS_DECODE): Correct instruction feature flags for | |
410 | PMADDUW. | |
411 | ||
412 | end-sanitize-r5900 | |
413 | Thu Feb 13 14:08:30 1997 Ian Lance Taylor <ian@cygnus.com> | |
414 | ||
415 | * gencode.c (build_mips16_operands): Correct computation of base | |
416 | address for extended PC relative instruction. | |
417 | ||
276c2d7d GRK |
418 | start-sanitize-r5900 |
419 | Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com> | |
2d18fbc6 GRK |
420 | |
421 | * Makefile.in, configure, configure.in, gencode.c, | |
422 | interp.c, support.h: add r5900. | |
423 | ||
276c2d7d | 424 | end-sanitize-r5900 |
da0bce9c ILT |
425 | Thu Feb 6 17:16:15 1997 Ian Lance Taylor <ian@cygnus.com> |
426 | ||
427 | * interp.c (mips16_entry): Add support for floating point cases. | |
428 | (SignalException): Pass floating point cases to mips16_entry. | |
429 | (ValueFPR): Don't restrict fmt_single and fmt_word to even | |
430 | registers. | |
431 | (StoreFPR): Likewise. Also, don't clobber fpr + 1 for fmt_single | |
432 | or fmt_word. | |
433 | (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR, | |
434 | and then set the state to fmt_uninterpreted. | |
435 | (COP_SW): Temporarily set the state to fmt_word while calling | |
436 | ValueFPR. | |
437 | ||
6389d856 ILT |
438 | Tue Feb 4 16:48:25 1997 Ian Lance Taylor <ian@cygnus.com> |
439 | ||
440 | * gencode.c (build_instruction): The high order may be set in the | |
441 | comparison flags at any ISA level, not just ISA 4. | |
442 | ||
19c5af72 DE |
443 | Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com> |
444 | ||
445 | * Makefile.in (@COMMON_MAKEFILE_FRAG): Use | |
446 | COMMON_{PRE,POST}_CONFIG_FRAG instead. | |
447 | * configure.in: sinclude ../common/aclocal.m4. | |
448 | * configure: Regenerated. | |
449 | ||
736a306c ILT |
450 | Fri Jan 31 11:11:45 1997 Ian Lance Taylor <ian@cygnus.com> |
451 | ||
452 | * configure: Rebuild after change to aclocal.m4. | |
453 | ||
295dbbe4 SG |
454 | Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com) |
455 | ||
456 | * configure configure.in Makefile.in: Update to new configure | |
457 | scheme which is more compatible with WinGDB builds. | |
458 | * configure.in: Improve comment on how to run autoconf. | |
459 | * configure: Re-run autoconf to get new ../common/aclocal.m4. | |
460 | * Makefile.in: Use autoconf substitution to install common | |
461 | makefile fragment. | |
462 | ||
463 | Wed Jan 8 12:39:03 1997 Jim Wilson <wilson@cygnus.com> | |
464 | ||
465 | * gencode.c (build_instruction): Use BigEndianCPU instead of | |
466 | ByteSwapMem. | |
467 | ||
e1db0d47 MA |
468 | Thu Jan 02 22:23:04 1997 Mark Alexander <marka@cygnus.com> |
469 | ||
470 | * interp.c (sim_monitor): Make output to stdout visible in | |
471 | wingdb's I/O log window. | |
472 | ||
2902e8ab MA |
473 | Tue Dec 31 07:04:00 1996 Mark Alexander <marka@cygnus.com> |
474 | ||
475 | * support.h: Undo previous change to SIGTRAP | |
476 | and SIGQUIT values. | |
477 | ||
7e6c297e ILT |
478 | Mon Dec 30 17:36:06 1996 Ian Lance Taylor <ian@cygnus.com> |
479 | ||
480 | * interp.c (store_word, load_word): New static functions. | |
481 | (mips16_entry): New static function. | |
482 | (SignalException): Look for mips16 entry and exit instructions. | |
483 | (simulate): Use the correct index when setting fpr_state after | |
484 | doing a pending move. | |
485 | ||
0049ba7a MA |
486 | Sun Dec 29 09:37:18 1996 Mark Alexander <marka@cygnus.com> |
487 | ||
488 | * interp.c: Fix byte-swapping code throughout to work on | |
489 | both little- and big-endian hosts. | |
490 | ||
2510786b MA |
491 | Sun Dec 29 09:18:32 1996 Mark Alexander <marka@cygnus.com> |
492 | ||
493 | * support.h: Make definitions of SIGTRAP and SIGQUIT consistent | |
494 | with gdb/config/i386/xm-windows.h. | |
495 | ||
39bf0ef4 MA |
496 | Fri Dec 27 22:48:51 1996 Mark Alexander <marka@cygnus.com> |
497 | ||
498 | * gencode.c (build_instruction): Work around MSVC++ code gen bug | |
499 | that messes up arithmetic shifts. | |
500 | ||
dbeec768 SG |
501 | Fri Dec 20 11:04:05 1996 Stu Grossman (grossman@critters.cygnus.com) |
502 | ||
503 | * support.h: Use _WIN32 instead of __WIN32__. Also add defs for | |
504 | SIGTRAP and SIGQUIT for _WIN32. | |
505 | ||
deffd638 ILT |
506 | Thu Dec 19 14:07:27 1996 Ian Lance Taylor <ian@cygnus.com> |
507 | ||
508 | * gencode.c (build_instruction) [MUL]: Cast operands to word64, to | |
509 | force a 64 bit multiplication. | |
510 | (build_instruction) [OR]: In mips16 mode, don't do anything if the | |
511 | destination register is 0, since that is the default mips16 nop | |
512 | instruction. | |
513 | ||
aaff8437 ILT |
514 | Mon Dec 16 14:59:38 1996 Ian Lance Taylor <ian@cygnus.com> |
515 | ||
063443cf ILT |
516 | * gencode.c (MIPS16_DECODE): SWRASP is I8, not RI. |
517 | (build_endian_shift): Don't check proc64. | |
518 | (build_instruction): Always set memval to uword64. Cast op2 to | |
519 | uword64 when shifting it left in memory instructions. Always use | |
520 | the same code for stores--don't special case proc64. | |
521 | ||
aaff8437 ILT |
522 | * gencode.c (build_mips16_operands): Fix base PC value for PC |
523 | relative operands. | |
524 | (build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a | |
525 | jal instruction. | |
526 | * interp.c (simJALDELAYSLOT): Define. | |
527 | (JALDELAYSLOT): Define. | |
528 | (INDELAYSLOT, INJALDELAYSLOT): Define. | |
529 | (simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared. | |
530 | ||
280f90e1 AMT |
531 | Tue Dec 24 22:11:20 1996 Angela Marie Thomas (angela@cygnus.com) |
532 | ||
533 | * interp.c (sim_open): add flush_cache as a PMON routine | |
534 | (sim_monitor): handle flush_cache by ignoring it | |
535 | ||
aaff8437 ILT |
536 | Wed Dec 11 13:53:51 1996 Jim Wilson <wilson@cygnus.com> |
537 | ||
538 | * gencode.c (build_instruction): Use !ByteSwapMem instead of | |
539 | BigEndianMem. | |
540 | * interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete. | |
541 | (BigEndianMem): Rename to ByteSwapMem and change sense. | |
542 | (BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change | |
543 | BigEndianMem references to !ByteSwapMem. | |
544 | (set_endianness): New function, with prototype. | |
545 | (sim_open): Call set_endianness. | |
546 | (sim_info): Use simBE instead of BigEndianMem. | |
547 | (xfer_direct_word, xfer_direct_long, swap_direct_word, | |
548 | swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word, | |
549 | xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER | |
550 | ifdefs, keeping the prototype declaration. | |
551 | (swap_word): Rewrite correctly. | |
552 | (ColdReset): Delete references to CONFIG. Delete endianness related | |
553 | code; moved to set_endianness. | |
554 | ||
6429b296 JW |
555 | Tue Dec 10 11:32:04 1996 Jim Wilson <wilson@cygnus.com> |
556 | ||
557 | * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits. | |
558 | * interp.c (CHECKHILO): Define away. | |
559 | (simSIGINT): New macro. | |
560 | (membank_size): Increase from 1MB to 2MB. | |
561 | (control_c): New function. | |
562 | (sim_resume): Rename parameter signal to signal_number. Add local | |
563 | variable prev. Call signal before and after simulate. | |
564 | (sim_stop_reason): Add simSIGINT support. | |
565 | (sim_warning, sim_error, dotrace, SignalException): Define as stdarg | |
566 | functions always. | |
567 | (sim_warning): Delete call to SignalException. Do call printf_filtered | |
568 | if logfh is NULL. | |
569 | (AddressTranslation): Add #ifdef DEBUG around debugging message and | |
570 | a call to sim_warning. | |
571 | ||
572 | Wed Nov 27 11:53:50 1996 Ian Lance Taylor <ian@cygnus.com> | |
573 | ||
574 | * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD | |
575 | 16 bit instructions. | |
576 | ||
831f59a2 ILT |
577 | Tue Nov 26 11:53:12 1996 Ian Lance Taylor <ian@cygnus.com> |
578 | ||
579 | Add support for mips16 (16 bit MIPS implementation): | |
580 | * gencode.c (inst_type): Add mips16 instruction encoding types. | |
581 | (GETDATASIZEINSN): Define. | |
582 | (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv. Add | |
583 | jalx. Add LEFT flag to mfhi and mflo. Add RIGHT flag to mthi and | |
584 | mtlo. | |
585 | (MIPS16_DECODE): New table, for mips16 instructions. | |
586 | (bitmap_val): New static function. | |
587 | (struct mips16_op): Define. | |
588 | (mips16_op_table): New table, for mips16 operands. | |
589 | (build_mips16_operands): New static function. | |
590 | (process_instructions): If PC is odd, decode a mips16 | |
591 | instruction. Break out instruction handling into new | |
592 | build_instruction function. | |
593 | (build_instruction): New static function, broken out of | |
594 | process_instructions. Check modifiers rather than flags for SHIFT | |
595 | bit count and m[ft]{hi,lo} direction. | |
596 | (usage): Pass program name to fprintf. | |
597 | (main): Remove unused variable this_option_optind. Change | |
598 | ``*loptarg++'' to ``loptarg++''. | |
599 | (my_strtoul): Parenthesize && within ||. | |
350d33b8 | 600 | * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd. |
831f59a2 ILT |
601 | (simulate): If PC is odd, fetch a 16 bit instruction, and |
602 | increment PC by 2 rather than 4. | |
603 | * configure.in: Add case for mips16*-*-*. | |
604 | * configure: Rebuild. | |
605 | ||
606 | Fri Nov 22 08:49:36 1996 Mark Alexander <marka@cygnus.com> | |
607 | ||
608 | * interp.c: Allow -t to enable tracing in standalone simulator. | |
609 | Fix garbage output in trace file and error messages. | |
610 | ||
e3d12c65 DE |
611 | Wed Nov 20 01:54:37 1996 Doug Evans <dje@canuck.cygnus.com> |
612 | ||
613 | * Makefile.in: Delete stuff moved to ../common/Make-common.in. | |
614 | (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define. | |
615 | * configure.in: Simplify using macros in ../common/aclocal.m4. | |
616 | * configure: Regenerated. | |
617 | * tconfig.in: New file. | |
618 | ||
619 | Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com> | |
620 | ||
621 | * interp.c: Fix bugs in 64-bit port. | |
622 | Use ansi function declarations for msvc compiler. | |
623 | Initialize and test file pointer in trace code. | |
624 | Prevent duplicate definition of LAST_EMED_REGNUM. | |
625 | ||
626 | Tue Oct 15 11:07:06 1996 Mark Alexander <marka@cygnus.com> | |
627 | ||
628 | * interp.c (xfer_big_long): Prevent unwanted sign extension. | |
629 | ||
630 | Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk> | |
631 | ||
632 | * interp.c (SignalException): Check for explicit terminating | |
633 | breakpoint value. | |
634 | * gencode.c: Pass instruction value through SignalException() | |
635 | calls for Trap, Breakpoint and Syscall. | |
636 | ||
637 | Thu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk> | |
638 | ||
639 | * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is | |
640 | only used on those hosts that provide it. | |
641 | * configure.in: Add sqrt() to list of functions to be checked for. | |
642 | * config.in: Re-generated. | |
643 | * configure: Re-generated. | |
644 | ||
645 | Fri Sep 20 15:47:12 1996 Ian Lance Taylor <ian@cygnus.com> | |
646 | ||
647 | * gencode.c (process_instructions): Call build_endian_shift when | |
648 | expanding STORE RIGHT, to fix swr. | |
649 | * support.h (SIGNEXTEND): If the sign bit is not set, explicitly | |
650 | clear the high bits. | |
651 | * interp.c (Convert): Fix fmt_single to fmt_long to not truncate. | |
652 | Fix float to int conversions to produce signed values. | |
653 | ||
cc5201d7 ILT |
654 | Thu Sep 19 15:34:17 1996 Ian Lance Taylor <ian@cygnus.com> |
655 | ||
458e1f58 ILT |
656 | * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction. |
657 | (process_instructions): Correct handling of nor instruction. | |
658 | Correct shift count for 32 bit shift instructions. Correct sign | |
659 | extension for arithmetic shifts to not shift the number of bits in | |
660 | the type. Fix 64 bit multiply high word calculation. Fix 32 bit | |
661 | unsigned multiply. Fix ldxc1 and friends to use coprocessor 1. | |
662 | Fix madd. | |
c05d1721 ILT |
663 | * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC. |
664 | It's OK to have a mult follow a mult. What's not OK is to have a | |
665 | mult follow an mfhi. | |
458e1f58 | 666 | (Convert): Comment out incorrect rounding code. |
cc5201d7 | 667 | |
f24b7b69 JSC |
668 | Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk> |
669 | ||
670 | * interp.c (sim_monitor): Improved monitor printf | |
671 | simulation. Tidied up simulator warnings, and added "--log" option | |
672 | for directing warning message output. | |
673 | * gencode.c: Use sim_warning() rather than WARNING macro. | |
674 | ||
675 | Thu Aug 22 15:03:12 1996 Ian Lance Taylor <ian@cygnus.com> | |
676 | ||
677 | * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and | |
678 | getopt1.o, rather than on gencode.c. Link objects together. | |
679 | Don't link against -liberty. | |
680 | (gencode.o, getopt.o, getopt1.o): New targets. | |
681 | * gencode.c: Include <ctype.h> and "ansidecl.h". | |
682 | (AND): Undefine after including "ansidecl.h". | |
683 | (ULONG_MAX): Define if not defined. | |
684 | (OP_*): Don't define macros; now defined in opcode/mips.h. | |
685 | (main): Call my_strtoul rather than strtoul. | |
686 | (my_strtoul): New static function. | |
687 | ||
688 | Wed Jul 17 18:12:38 1996 Stu Grossman (grossman@critters.cygnus.com) | |
689 | ||
690 | * gencode.c (process_instructions): Generate word64 and uword64 | |
691 | instead of `long long' and `unsigned long long' data types. | |
692 | * interp.c: #include sysdep.h to get signals, and define default | |
693 | for SIGBUS. | |
694 | * (Convert): Work around for Visual-C++ compiler bug with type | |
695 | conversion. | |
696 | * support.h: Make things compile under Visual-C++ by using | |
697 | __int64 instead of `long long'. Change many refs to long long | |
698 | into word64/uword64 typedefs. | |
699 | ||
a271d1d9 JM |
700 | Wed Jun 26 12:24:55 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) |
701 | ||
702 | * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, | |
703 | INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. | |
704 | (docdir): Removed. | |
705 | * configure.in (AC_PREREQ): autoconf 2.5 or higher. | |
706 | (AC_PROG_INSTALL): Added. | |
707 | (AC_PROG_CC): Moved to before configure.host call. | |
708 | * configure: Rebuilt. | |
709 | ||
710 | Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk> | |
711 | ||
712 | * configure.in: Define @SIMCONF@ depending on mips target. | |
713 | * configure: Rebuild. | |
714 | * Makefile.in (run): Add @SIMCONF@ to control simulator | |
715 | construction. | |
716 | * gencode.c: Change LOADDRMASK to 64bit memory model only. | |
717 | * interp.c: Remove some debugging, provide more detailed error | |
718 | messages, update memory accesses to use LOADDRMASK. | |
719 | ||
4fa134be ILT |
720 | Mon Jun 3 11:55:03 1996 Ian Lance Taylor <ian@cygnus.com> |
721 | ||
722 | * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS, | |
723 | AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set | |
724 | stamp-h. | |
725 | * configure: Rebuild. | |
726 | * config.in: New file, generated by autoheader. | |
727 | * interp.c: Include "config.h". Include <stdlib.h>, <string.h>, | |
728 | and <strings.h> if they exist. Replace #ifdef sun with #ifdef | |
729 | HAVE_ANINT and HAVE_AINT, as appropriate. | |
730 | * Makefile.in (run): Use @LIBS@ rather than -lm. | |
731 | (interp.o): Depend upon config.h. | |
732 | (Makefile): Just rebuild Makefile. | |
733 | (clean): Remove stamp-h. | |
734 | (mostlyclean): Make the same as clean, not as distclean. | |
735 | (config.h, stamp-h): New targets. | |
736 | ||
737 | Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk> | |
738 | ||
739 | * interp.c (ColdReset): Fix boolean test. Make all simulator | |
740 | globals static. | |
741 | ||
f7481d45 JSC |
742 | Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk> |
743 | ||
744 | * interp.c (xfer_direct_word, xfer_direct_long, | |
745 | swap_direct_word, swap_direct_long, xfer_big_word, | |
746 | xfer_big_long, xfer_little_word, xfer_little_long, | |
747 | swap_word,swap_long): Added. | |
748 | * interp.c (ColdReset): Provide function indirection to | |
749 | host<->simulated_target transfer routines. | |
750 | * interp.c (sim_store_register, sim_fetch_register): Updated to | |
751 | make use of indirected transfer routines. | |
752 | ||
753 | Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk> | |
754 | ||
755 | * gencode.c (process_instructions): Ensure FP ABS instruction | |
756 | recognised. | |
757 | * interp.c (AbsoluteValue): Add routine. Also provide simple PMON | |
758 | system call support. | |
759 | ||
8b554809 JSC |
760 | Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk> |
761 | ||
762 | * interp.c (sim_do_command): Complain if callback structure not | |
763 | initialised. | |
764 | ||
d0757082 JSC |
765 | Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk> |
766 | ||
767 | * interp.c (Convert): Provide round-to-nearest and round-to-zero | |
768 | support for Sun hosts. | |
769 | * Makefile.in (gencode): Ensure the host compiler and libraries | |
770 | used for cross-hosted build. | |
771 | ||
e871dd18 JSC |
772 | Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk> |
773 | ||
774 | * interp.c, gencode.c: Some more (TODO) tidying. | |
775 | ||
776 | Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk> | |
777 | ||
778 | * gencode.c, interp.c: Replaced explicit long long references with | |
779 | WORD64HI, WORD64LO, SET64HI and SET64LO macro calls. | |
780 | * support.h (SET64LO, SET64HI): Macros added. | |
781 | ||
5c59ec43 ILT |
782 | Wed Feb 21 12:16:21 1996 Ian Lance Taylor <ian@cygnus.com> |
783 | ||
784 | * configure: Regenerate with autoconf 2.7. | |
785 | ||
786 | Tue Jan 30 08:48:18 1996 Fred Fish <fnf@cygnus.com> | |
787 | ||
788 | * interp.c (LoadMemory): Enclose text following #endif in /* */. | |
789 | * support.h: Remove superfluous "1" from #if. | |
790 | * support.h (CHECKSIM): Remove stray 'a' at end of line. | |
791 | ||
792 | Mon Dec 4 11:44:40 1995 Jamie Smith <jsmith@cygnus.com> | |
793 | ||
794 | * interp.c (StoreFPR): Control UndefinedResult() call on | |
795 | WARN_RESULT manifest. | |
796 | ||
8bae0a0c JSC |
797 | Fri Dec 1 16:37:19 1995 James G. Smith <jsmith@cygnus.co.uk> |
798 | ||
799 | * gencode.c: Tidied instruction decoding, and added FP instruction | |
800 | support. | |
801 | ||
802 | * interp.c: Added dineroIII, and BSD profiling support. Also | |
803 | run-time FP handling. | |
804 | ||
805 | Sun Oct 22 00:57:18 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk> | |
806 | ||
807 | * Changelog, Makefile.in, README.Cygnus, configure, configure.in, | |
808 | gencode.c, interp.c, support.h: created. |