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