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