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