1 2007-09-04 Nick Clifton <nickc@redhat.com>
3 * interp.c (options enum): Add OPTION_INFO_MEMORY.
4 (display_mem_info): New static variable.
5 (mips_option_handler): Handle OPTION_INFO_MEMORY.
6 (mips_options): Add info-memory and memory-info.
7 (sim_open): After processing the command line and board
8 specification, check display_mem_info. If it is set then
9 call the real handler for the --memory-info command line
12 2007-08-24 Joel Brobecker <brobecker@adacore.com>
14 * configure.ac: Change license of multi-run.c to GPL version 3.
15 * configure: Regenerate.
17 2007-06-28 Richard Sandiford <richard@codesourcery.com>
19 * configure.ac, configure: Revert last patch.
21 2007-06-26 Richard Sandiford <richard@codesourcery.com>
23 * configure.ac (sim_mipsisa3264_configs): New variable.
24 (mipsis32*-*-, mipsisa32r2*-*-*, mips64*-*-*, mips64r2*-*-*): Make
25 every configuration support all four targets, using the triplet to
26 determine the default.
27 * configure: Regenerate.
29 2007-06-25 Richard Sandiford <richard@codesourcery.com>
31 * Makefile.in (m16run.o): New rule.
33 2007-05-15 Thiemo Seufer <ths@mips.com>
35 * mips3264r2.igen (DSHD): Fix compile warning.
37 2007-05-14 Thiemo Seufer <ths@mips.com>
39 * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,
40 CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt,
41 NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS,
42 RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support
45 2007-03-01 Thiemo Seufer <ths@mips.com>
47 * mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
50 2007-02-20 Thiemo Seufer <ths@mips.com>
52 * dsp.igen: Update copyright notice.
53 * dsp2.igen: Fix copyright notice.
55 2007-02-20 Thiemo Seufer <ths@mips.com>
56 Chao-Ying Fu <fu@mips.com>
58 * Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
59 * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
60 Add dsp2 to sim_igen_machine.
61 * configure: Regenerate.
62 * dsp.igen (do_ph_op): Add MUL support when op = 2.
63 (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
64 (mulq_rs.ph): Use do_ph_mulq.
65 (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
66 * mips.igen: Add dsp2 model and include dsp2.igen.
67 (MFHI, MFLO, MTHI, MTLO): Extend these instructions for
68 for *mips32r2, *mips64r2, *dsp.
69 (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
70 for *mips32r2, *mips64r2, *dsp2.
71 * dsp2.igen: New file for MIPS DSP REV 2 ASE.
73 2007-02-19 Thiemo Seufer <ths@mips.com>
74 Nigel Stephens <nigel@mips.com>
76 * mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2
77 jumps with hazard barrier.
79 2007-02-19 Thiemo Seufer <ths@mips.com>
80 Nigel Stephens <nigel@mips.com>
82 * interp.c (sim_monitor): Flush stdout and stderr file descriptors
83 after each call to sim_io_write.
85 2007-02-19 Thiemo Seufer <ths@mips.com>
86 Nigel Stephens <nigel@mips.com>
88 * interp.c (ColdReset): Set CP0 Config0 to reflect the address size
89 supported by this simulator.
90 (decode_coproc): Recognise additional CP0 Config registers
93 2007-02-19 Thiemo Seufer <ths@mips.com>
94 Nigel Stephens <nigel@mips.com>
95 David Ung <davidu@mips.com>
97 * cp1.c (value_fpr): Don't inherit existing FPR_STATE for
98 uninterpreted formats. If fmt is one of the uninterpreted types
99 don't update the FPR_STATE. Handle fmt_uninterpreted_32 like
100 fmt_word, and fmt_uninterpreted_64 like fmt_long.
101 (store_fpr): When writing an invalid odd register, set the
102 matching even register to fmt_unknown, not the following register.
103 * interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to
104 the the memory window at offset 0 set by --memory-size command
106 (sim_store_register): Handle storing 4 bytes to an 8 byte floating
108 (sim_fetch_register): Likewise for reading 4 bytes from an 8 byte
110 (sim_monitor): When returning the memory size to the MIPS
111 application, use the value in STATE_MEM_SIZE, not an arbitrary
113 (cop_lw): Don' mess around with FPR_STATE, just pass
114 fmt_uninterpreted_32 to StoreFPR.
116 (cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted.
118 * mips.igen (not_word_value): Single version for mips32, mips64
121 2007-02-19 Thiemo Seufer <ths@mips.com>
122 Nigel Stephens <nigel@mips.com>
124 * interp.c (MEM_SIZE): Increase default memory size from 2 to 8
127 2007-02-17 Thiemo Seufer <ths@mips.com>
129 * configure.ac (mips*-sde-elf*): Move in front of generic machine
131 * configure: Regenerate.
133 2007-02-17 Thiemo Seufer <ths@mips.com>
135 * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
136 Add mdmx to sim_igen_machine.
137 (mipsisa64*-*-*): Likewise. Remove dsp.
138 (mipsisa32*-*-*): Remove dsp.
139 * configure: Regenerate.
141 2007-02-13 Thiemo Seufer <ths@mips.com>
143 * configure.ac: Add mips*-sde-elf* target.
144 * configure: Regenerate.
146 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
148 * acconfig.h: Remove.
149 * config.in, configure: Regenerate.
151 2006-11-07 Thiemo Seufer <ths@mips.com>
153 * dsp.igen (do_w_op): Fix compiler warning.
155 2006-08-29 Thiemo Seufer <ths@mips.com>
156 David Ung <davidu@mips.com>
158 * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to
160 * configure: Regenerate.
161 * mips.igen (model): Add smartmips.
162 (MADDU): Increment ACX if carry.
163 (do_mult): Clear ACX.
164 (ROR,RORV): Add smartmips.
165 (include): Include smartmips.igen.
166 * sim-main.h (ACX): Set to REGISTERS[89].
167 * smartmips.igen: New file.
169 2006-08-29 Thiemo Seufer <ths@mips.com>
170 David Ung <davidu@mips.com>
172 * Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and
173 mips3264r2.igen. Add missing dependency rules.
174 * m16e.igen: Support for mips16e save/restore instructions.
176 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
178 * configure: Regenerated.
180 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
182 * configure: Regenerated.
184 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
186 * configure: Regenerated.
188 2006-05-15 Chao-ying Fu <fu@mips.com>
190 * dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.
192 2006-04-18 Nick Clifton <nickc@redhat.com>
194 * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break
197 2006-03-29 Hans-Peter Nilsson <hp@axis.com>
199 * configure: Regenerate.
201 2005-12-14 Chao-ying Fu <fu@mips.com>
203 * Makefile.in (SIM_OBJS): Add dsp.o.
204 (dsp.o): New dependency.
205 (IGEN_INCLUDE): Add dsp.igen.
206 * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*,
207 mipsisa64*-*-*): Add dsp to sim_igen_machine.
208 * configure: Regenerate.
209 * mips.igen: Add dsp model and include dsp.igen.
210 (MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2,
211 because these instructions are extended in DSP ASE.
212 * sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of
213 adding 6 DSP accumulator registers and 1 DSP control register.
214 (AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX,
215 AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT,
216 DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK,
217 DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK,
218 DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK,
219 DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK,
220 DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6,
221 DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK,
222 DSPCR_CCOND_SMASK): New define.
223 (DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators.
224 * dsp.c, dsp.igen: New files for MIPS DSP ASE.
226 2005-07-08 Ian Lance Taylor <ian@airs.com>
228 * tconfig.in (SIM_QUIET_NAN_NEGATED): Define.
230 2005-06-16 David Ung <davidu@mips.com>
231 Nigel Stephens <nigel@mips.com>
233 * mips.igen: New mips16e model and include m16e.igen.
234 (check_u64): Add mips16e tag.
235 * m16e.igen: New file for MIPS16e instructions.
236 * configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
237 mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
239 * configure: Regenerate.
241 2005-05-26 David Ung <davidu@mips.com>
243 * mips.igen (mips32r2, mips64r2): New ISA models. Add new model
244 tags to all instructions which are applicable to the new ISAs.
245 (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from
247 * mips3264r2.igen: New file for MIPS 32/64 revision 2 specific
249 * vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move
251 * configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets.
252 * configure: Regenerate.
254 2005-03-23 Mark Kettenis <kettenis@gnu.org>
256 * configure: Regenerate.
258 2005-01-14 Andrew Cagney <cagney@gnu.org>
260 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
261 explicit call to AC_CONFIG_HEADER.
262 * configure: Regenerate.
264 2005-01-12 Andrew Cagney <cagney@gnu.org>
266 * configure.ac: Update to use ../common/common.m4.
267 * configure: Re-generate.
269 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
271 * configure: Regenerated to track ../common/aclocal.m4 changes.
273 2005-01-07 Andrew Cagney <cagney@gnu.org>
275 * configure.ac: Rename configure.in, require autoconf 2.59.
276 * configure: Re-generate.
278 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
280 * configure: Regenerate for ../common/aclocal.m4 update.
282 2004-09-24 Monika Chaddha <monika@acmet.com>
284 Committed by Andrew Cagney.
285 * m16.igen (CMP, CMPI): Fix assembler.
287 2004-08-18 Chris Demetriou <cgd@broadcom.com>
289 * configure.in (mipsisa64sb1*-*-*): Add mips3d to sim_igen_machine.
290 * configure: Regenerate.
292 2004-06-25 Chris Demetriou <cgd@broadcom.com>
294 * configure.in (sim_m16_machine): Include mipsIII.
295 * configure: Regenerate.
297 2004-05-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
299 * mips/interp.c (decode_coproc): Sign-extend the address retrieved
301 * mips/sim-main.h (COP0_BADVADDR): Remove a cast.
303 2004-04-10 Chris Demetriou <cgd@broadcom.com>
305 * sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New.
307 2004-04-09 Chris Demetriou <cgd@broadcom.com>
309 * mips.igen (check_fmt): Remove.
310 (ABS.fmt, ADD.fmt, C.cond.fmta, C.cond.fmtb, CEIL.L.fmt, CEIL.W)
311 (CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt, FLOOR.L.fmt)
312 (FLOOR.W.fmt, MADD.fmt, MOV.fmt, MOVtf.fmt, MOVN.fmt, MOVZ.fmt)
313 (MSUB.fmt, MUL.fmt, NEG.fmt, NMADD.fmt, NMSUB.fmt, RECIP.fmt)
314 (ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt)
315 (TRUNC.L.fmt, TRUNC.W): Explicitly specify allowed FPU formats.
316 (check_fmt_p, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
317 (FLOOR.W.fmt, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt)
318 (SQRT.fmt, TRUNC.L.fmt, TRUNC.W): Remove all uses of check_fmt.
319 (C.cnd.fmta): Remove incorrect call to check_fmt_p.
321 2004-04-09 Chris Demetriou <cgd@broadcom.com>
323 * sb1.igen (check_sbx): New function.
324 (PABSDIFF.fmt, PABSDIFC.fmt, PAVG.fmt): Use check_sbx.
326 2004-03-29 Chris Demetriou <cgd@broadcom.com>
327 Richard Sandiford <rsandifo@redhat.com>
329 * sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)
330 (MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New.
331 * mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide
332 separate implementations for mipsIV and mipsV. Use new macros to
333 determine whether the restrictions apply.
335 2004-01-19 Chris Demetriou <cgd@broadcom.com>
337 * mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo)
338 (check_mult_hilo): Improve comments.
339 (check_div_hilo): Likewise. Also, fork off a new version
340 to handle mips32/mips64 (since there are no hazards to check
343 2003-06-17 Richard Sandiford <rsandifo@redhat.com>
345 * mips.igen (do_dmultx): Fix check for negative operands.
347 2003-05-16 Ian Lance Taylor <ian@airs.com>
349 * Makefile.in (SHELL): Make sure this is defined.
350 (various): Use $(SHELL) whenever we invoke move-if-change.
352 2003-05-03 Chris Demetriou <cgd@broadcom.com>
354 * cp1.c: Tweak attribution slightly.
357 * mdmx.igen: Likewise.
358 * mips3d.igen: Likewise.
359 * sb1.igen: Likewise.
361 2003-04-15 Richard Sandiford <rsandifo@redhat.com>
363 * vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
366 2003-02-27 Andrew Cagney <cagney@redhat.com>
368 * interp.c (sim_open): Rename _bfd to bfd.
369 (sim_create_inferior): Ditto.
371 2003-01-14 Chris Demetriou <cgd@broadcom.com>
373 * mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.
375 2003-01-14 Chris Demetriou <cgd@broadcom.com>
377 * mips.igen (EI, DI): Remove.
379 2003-01-05 Richard Sandiford <rsandifo@redhat.com>
381 * Makefile.in (tmp-run-multi): Fix mips16 filter.
383 2003-01-04 Richard Sandiford <rsandifo@redhat.com>
384 Andrew Cagney <ac131313@redhat.com>
385 Gavin Romig-Koch <gavin@redhat.com>
386 Graydon Hoare <graydon@redhat.com>
387 Aldy Hernandez <aldyh@redhat.com>
388 Dave Brolley <brolley@redhat.com>
389 Chris Demetriou <cgd@broadcom.com>
391 * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1.
392 (sim_mach_default): New variable.
393 (mips64vr-*-*, mips64vrel-*-*): New configurations.
394 Add a new simulator generator, MULTI.
395 * configure: Regenerate.
396 * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables.
397 (multi-run.o): New dependency.
398 (SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables.
399 (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules.
400 (tmp-multi): Combine them.
401 (BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi.
402 (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI.
403 (distclean-extra): New rule.
404 * sim-main.h: Include bfd.h.
405 (MIPS_MACH): New macro.
406 * mips.igen (vr4120, vr5400, vr5500): New models.
407 (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500.
408 * vr.igen: Replace with new version.
410 2003-01-04 Chris Demetriou <cgd@broadcom.com>
412 * configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1).
413 * configure: Regenerate.
415 2002-12-31 Chris Demetriou <cgd@broadcom.com>
417 * sim-main.h (check_branch_bug, mark_branch_bug): Remove.
418 * mips.igen: Remove all invocations of check_branch_bug and
421 2002-12-16 Chris Demetriou <cgd@broadcom.com>
423 * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
425 2002-07-30 Chris Demetriou <cgd@broadcom.com>
427 * mips.igen (do_load_double, do_store_double): New functions.
428 (LDC1, SDC1): Rename to...
429 (LDC1b, SDC1b): respectively.
430 (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
432 2002-07-29 Michael Snyder <msnyder@redhat.com>
434 * cp1.c (fp_recip2): Modify initialization expression so that
435 GCC will recognize it as constant.
437 2002-06-18 Chris Demetriou <cgd@broadcom.com>
439 * mdmx.c (SD_): Delete.
440 (Unpredictable): Re-define, for now, to directly invoke
441 unpredictable_action().
442 (mdmx_acc_op): Fix error in .ob immediate handling.
444 2002-06-18 Andrew Cagney <cagney@redhat.com>
446 * interp.c (sim_firmware_command): Initialize `address'.
448 2002-06-16 Andrew Cagney <ac131313@redhat.com>
450 * configure: Regenerated to track ../common/aclocal.m4 changes.
452 2002-06-14 Chris Demetriou <cgd@broadcom.com>
453 Ed Satterthwaite <ehs@broadcom.com>
455 * mips3d.igen: New file which contains MIPS-3D ASE instructions.
456 * Makefile.in (IGEN_INCLUDE): Add mips3d.igen.
457 * mips.igen: Include mips3d.igen.
458 (mips3d): New model name for MIPS-3D ASE instructions.
459 (CVT.W.fmt): Don't use this instruction for word (source) format
461 * cp1.c (fp_binary_r, fp_add_r, fp_mul_r, fpu_inv1, fpu_inv1_32)
462 (fpu_inv1_64, fp_recip1, fp_recip2, fpu_inv_sqrt1, fpu_inv_sqrt1_32)
463 (fpu_inv_sqrt1_64, fp_rsqrt1, fp_rsqrt2): New functions.
464 (NR_FRAC_GUARD, IMPLICIT_1): New macros.
465 * sim-main.h (fmt_pw, CompareAbs, AddR, MultiplyR, Recip1, Recip2)
466 (RSquareRoot1, RSquareRoot2): New macros.
467 (fp_add_r, fp_mul_r, fp_recip1, fp_recip2, fp_rsqrt1)
468 (fp_rsqrt2): New functions.
469 * configure.in: Add MIPS-3D support to mipsisa64 simulator.
470 * configure: Regenerate.
472 2002-06-13 Chris Demetriou <cgd@broadcom.com>
473 Ed Satterthwaite <ehs@broadcom.com>
475 * cp1.c (FP_PS_upper, FP_PS_lower, FP_PS_cat, FPQNaN_PS): New macros.
476 (value_fpr, store_fpr, fp_cmp, fp_unary, fp_binary, fp_mac)
477 (fp_inv_sqrt, fpu_format_name): Add paired-single support.
478 (convert): Note that this function is not used for paired-single
480 (ps_lower, ps_upper, pack_ps, convert_ps): New functions.
481 * mips.igen (FMT, MOVtf.fmt): Add paired-single support.
482 (check_fmt_p): Enable paired-single support.
483 (ALNV.PS, CVT.PS.S, CVT.S.PL, CVT.S.PU, PLL.PS, PLU.PS, PUL.PS)
484 (PUU.PS): New instructions.
485 (CVT.S.fmt): Don't use this instruction for paired-single format
487 * sim-main.h (FP_formats): New value 'fmt_ps.'
488 (ps_lower, ps_upper, pack_ps, convert_ps): New prototypes.
489 (PSLower, PSUpper, PackPS, ConvertPS): New macros.
491 2002-06-12 Chris Demetriou <cgd@broadcom.com>
493 * mips.igen: Fix formatting of function calls in
496 2002-06-12 Chris Demetriou <cgd@broadcom.com>
498 * mips.igen (MOVN, MOVZ): Trace result.
499 (TNEI): Print "tnei" as the opcode name in traces.
500 (CEIL.W): Add disassembly string for traces.
501 (RSQRT.fmt): Make location of disassembly string consistent
502 with other instructions.
504 2002-06-12 Chris Demetriou <cgd@broadcom.com>
506 * mips.igen (X): Delete unused function.
508 2002-06-08 Andrew Cagney <cagney@redhat.com>
510 * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
512 2002-06-07 Chris Demetriou <cgd@broadcom.com>
513 Ed Satterthwaite <ehs@broadcom.com>
515 * cp1.c (inner_mac, fp_mac, inner_rsqrt, fp_inv_sqrt)
516 (fp_rsqrt, fp_madd, fp_msub, fp_nmadd, fp_nmsub): New functions.
517 * sim-main.h (fp_rsqrt, fp_madd, fp_msub, fp_nmadd)
518 (fp_nmsub): New prototypes.
519 (RSquareRoot, MultiplyAdd, MultiplySub, NegMultiplyAdd)
520 (NegMultiplySub): New defines.
521 * mips.igen (RSQRT.fmt): Use RSquareRoot().
522 (MADD.D, MADD.S): Replace with...
523 (MADD.fmt): New instruction.
524 (MSUB.D, MSUB.S): Replace with...
525 (MSUB.fmt): New instruction.
526 (NMADD.D, NMADD.S): Replace with...
527 (NMADD.fmt): New instruction.
528 (NMSUB.D, MSUB.S): Replace with...
529 (NMSUB.fmt): New instruction.
531 2002-06-07 Chris Demetriou <cgd@broadcom.com>
532 Ed Satterthwaite <ehs@broadcom.com>
534 * cp1.c: Fix more comment spelling and formatting.
535 (value_fcr, store_fcr): Use fenr_FS rather than hard-coding value.
536 (denorm_mode): New function.
537 (fpu_unary, fpu_binary): Round results after operation, collect
538 status from rounding operations, and update the FCSR.
539 (convert): Collect status from integer conversions and rounding
540 operations, and update the FCSR. Adjust NaN values that result
541 from conversions. Convert to use sim_io_eprintf rather than
542 fprintf, and remove some debugging code.
543 * cp1.h (fenr_FS): New define.
545 2002-06-07 Chris Demetriou <cgd@broadcom.com>
547 * cp1.c (convert): Remove unusable debugging code, and move MIPS
548 rounding mode to sim FP rounding mode flag conversion code into...
549 (rounding_mode): New function.
551 2002-06-07 Chris Demetriou <cgd@broadcom.com>
553 * cp1.c: Clean up formatting of a few comments.
554 (value_fpr): Reformat switch statement.
556 2002-06-06 Chris Demetriou <cgd@broadcom.com>
557 Ed Satterthwaite <ehs@broadcom.com>
560 * sim-main.h: Include cp1.h.
561 (SETFCC, GETFCC, IR, UF, OF, DX, IO, UO, FP_FLAGS, FP_ENABLE)
562 (FP_CAUSE, GETFS, FP_RM_NEAREST, FP_RM_TOZERO, FP_RM_TOPINF)
563 (FP_RM_TOMINF, GETRM): Remove. Moved to cp1.h.
564 (FP_FS, FP_MASK_RM, FP_SH_RM, Nan, Less, Equal): Remove.
565 (value_fcr, store_fcr, test_fcsr, fp_cmp): New prototypes.
566 (ValueFCR, StoreFCR, TestFCSR, Compare): New macros.
567 * cp1.c: Don't include sim-fpu.h; already included by
568 sim-main.h. Clean up formatting of some comments.
569 (NaN, Equal, Less): Remove.
570 (test_fcsr, value_fcr, store_fcr, update_fcsr, fp_test)
571 (fp_cmp): New functions.
572 * mips.igen (do_c_cond_fmt): Remove.
573 (C.cond.fmta, C.cond.fmtb): Replace uses of do_c_cond_fmt_a with
574 Compare. Add result tracing.
575 (CxC1): Remove, replace with...
576 (CFC1a, CFC1b, CFC1c, CTC1a, CTC1b, CTC1c): New instructions.
577 (DMxC1): Remove, replace with...
578 (DMFC1a, DMFC1b, DMTC1a, DMTC1b): New instructions.
579 (MxC1): Remove, replace with...
580 (MFC1a, MFC1b, MTC1a, MTC1b): New instructions.
582 2002-06-04 Chris Demetriou <cgd@broadcom.com>
584 * sim-main.h (FGRIDX): Remove, replace all uses with...
585 (FGR_BASE): New macro.
586 (FP0_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): New macros.
587 (_sim_cpu): Move 'fgr' member to be right before 'fpr_state' member.
588 (NR_FGR, FGR): Likewise.
589 * interp.c: Replace all uses of FGRIDX with FGR_BASE.
590 * mips.igen: Likewise.
592 2002-06-04 Chris Demetriou <cgd@broadcom.com>
594 * cp1.c: Add an FSF Copyright notice to this file.
596 2002-06-04 Chris Demetriou <cgd@broadcom.com>
597 Ed Satterthwaite <ehs@broadcom.com>
599 * cp1.c (Infinity): Remove.
600 * sim-main.h (Infinity): Likewise.
602 * cp1.c (fp_unary, fp_binary): New functions.
603 (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div, fp_recip)
604 (fp_sqrt): New functions, implemented in terms of the above.
605 (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
606 (Recip, SquareRoot): Remove (replaced by functions above).
607 * sim-main.h (fp_abs, fp_neg, fp_add, fp_sub, fp_mul, fp_div)
608 (fp_recip, fp_sqrt): New prototypes.
609 (AbsoluteValue, Negate, Add, Sub, Multiply, Divide)
610 (Recip, SquareRoot): Replace prototypes with #defines which
611 invoke the functions above.
613 2002-06-03 Chris Demetriou <cgd@broadcom.com>
615 * sim-main.h (Nan, Infinity, Less, Equal, AbsoluteValue, Negate)
616 (Add, Sub, Multiply, Divide, Recip, SquareRoot): Move lower in
617 file, remove PARAMS from prototypes.
618 (value_fpr, store_fpr, convert): Likewise. Use SIM_STATE to provide
619 simulator state arguments.
620 (ValueFPR, StoreFPR, Convert): Move lower in file. Use SIM_ARGS to
621 pass simulator state arguments.
622 * cp1.c (SD): Redefine as CPU_STATE(cpu).
623 (store_fpr, convert): Remove 'sd' argument.
624 (value_fpr): Likewise. Convert to use 'SD' instead.
626 2002-06-03 Chris Demetriou <cgd@broadcom.com>
628 * cp1.c (Min, Max): Remove #if 0'd functions.
629 * sim-main.h (Min, Max): Remove.
631 2002-06-03 Chris Demetriou <cgd@broadcom.com>
633 * cp1.c: fix formatting of switch case and default labels.
634 * interp.c: Likewise.
635 * sim-main.c: Likewise.
637 2002-06-03 Chris Demetriou <cgd@broadcom.com>
639 * cp1.c: Clean up comments which describe FP formats.
640 (FPQNaN_DOUBLE, FPQNaN_LONG): Generate using UNSIGNED64.
642 2002-06-03 Chris Demetriou <cgd@broadcom.com>
643 Ed Satterthwaite <ehs@broadcom.com>
645 * configure.in (mipsisa64sb1*-*-*): New target for supporting
646 Broadcom SiByte SB-1 processor configurations.
647 * configure: Regenerate.
648 * sb1.igen: New file.
649 * mips.igen: Include sb1.igen.
651 * Makefile.in (IGEN_INCLUDE): Add sb1.igen.
652 * mdmx.igen: Add "sb1" model to all appropriate functions and
654 * mdmx.c (AbsDiffOB, AvgOB, AccAbsDiffOB): New functions.
655 (ob_func, ob_acc): Reference the above.
656 (qh_acc): Adjust to keep the same size as ob_acc.
657 * sim-main.h (status_SBX, MX_VECT_ABSD, MX_VECT_AVG, MX_AbsDiff)
658 (MX_Avg, MX_VECT_ABSDA, MX_AbsDiffC): New macros.
660 2002-06-03 Chris Demetriou <cgd@broadcom.com>
662 * Makefile.in (IGEN_INCLUDE): Add mdmx.igen.
664 2002-06-02 Chris Demetriou <cgd@broadcom.com>
665 Ed Satterthwaite <ehs@broadcom.com>
667 * mips.igen (mdmx): New (pseudo-)model.
668 * mdmx.c, mdmx.igen: New files.
669 * Makefile.in (SIM_OBJS): Add mdmx.o.
670 * sim-main.h (MDMX_accumulator, MX_fmtsel, signed24, signed48):
672 (ACC, MX_Add, MX_AddA, MX_AddL, MX_And, MX_C_EQ, MX_C_LT, MX_Comp)
673 (MX_FMT_OB, MX_FMT_QH, MX_Max, MX_Min, MX_Msgn, MX_Mul, MX_MulA)
674 (MX_MulL, MX_MulS, MX_MulSL, MX_Nor, MX_Or, MX_Pick, MX_RAC)
675 (MX_RAC_H, MX_RAC_L, MX_RAC_M, MX_RNAS, MX_RNAU, MX_RND_AS)
676 (MX_RND_AU, MX_RND_ES, MX_RND_EU, MX_RND_ZS, MX_RND_ZU, MX_RNES)
677 (MX_RNEU, MX_RZS, MX_RZU, MX_SHFL, MX_ShiftLeftLogical)
678 (MX_ShiftRightArith, MX_ShiftRightLogical, MX_Sub, MX_SubA, MX_SubL)
679 (MX_VECT_ADD, MX_VECT_ADDA, MX_VECT_ADDL, MX_VECT_AND)
680 (MX_VECT_MAX, MX_VECT_MIN, MX_VECT_MSGN, MX_VECT_MUL, MX_VECT_MULA)
681 (MX_VECT_MULL, MX_VECT_MULS, MX_VECT_MULSL, MX_VECT_NOR)
682 (MX_VECT_OR, MX_VECT_SLL, MX_VECT_SRA, MX_VECT_SRL, MX_VECT_SUB)
683 (MX_VECT_SUBA, MX_VECT_SUBL, MX_VECT_XOR, MX_WACH, MX_WACL, MX_Xor)
684 (SIM_ARGS, SIM_STATE, UnpredictableResult, fmt_mdmx, ob_fmtsel)
685 (qh_fmtsel): New macros.
686 (_sim_cpu): New member "acc".
687 (mdmx_acc_op, mdmx_cc_op, mdmx_cpr_op, mdmx_pick_op, mdmx_rac_op)
688 (mdmx_round_op, mdmx_shuffle, mdmx_wach, mdmx_wacl): New functions.
690 2002-05-01 Chris Demetriou <cgd@broadcom.com>
692 * interp.c: Use 'deprecated' rather than 'depreciated.'
693 * sim-main.h: Likewise.
695 2002-05-01 Chris Demetriou <cgd@broadcom.com>
697 * cp1.c (store_fpr): Remove #ifdef'd out call to UndefinedResult
698 which wouldn't compile anyway.
699 * sim-main.h (unpredictable_action): New function prototype.
700 (Unpredictable): Define to call igen function unpredictable().
701 (NotWordValue): New macro to call igen function not_word_value().
702 (UndefinedResult): Remove.
703 * interp.c (undefined_result): Remove.
704 (unpredictable_action): New function.
705 * mips.igen (not_word_value, unpredictable): New functions.
706 (ADD, ADDI, do_addiu, do_addu, BGEZAL, BGEZALL, BLTZAL, BLTZALL)
707 (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, do_mult, do_multu)
708 (do_sra, do_srav, do_srl, do_srlv, SUB, do_subu): Invoke
709 NotWordValue() to check for unpredictable inputs, then
710 Unpredictable() to handle them.
712 2002-02-24 Chris Demetriou <cgd@broadcom.com>
714 * mips.igen: Fix formatting of calls to Unpredictable().
716 2002-04-20 Andrew Cagney <ac131313@redhat.com>
718 * interp.c (sim_open): Revert previous change.
720 2002-04-18 Alexandre Oliva <aoliva@redhat.com>
722 * interp.c (sim_open): Disable chunk of code that wrote code in
723 vector table entries.
725 2002-03-19 Chris Demetriou <cgd@broadcom.com>
727 * cp1.c (FP_S_s, FP_D_s, FP_S_be, FP_D_be, FP_S_e, FP_D_e, FP_S_f)
728 (FP_D_f, FP_S_fb, FP_D_fb, FPINF_SINGLE, FPINF_DOUBLE): Remove
731 2002-03-19 Chris Demetriou <cgd@broadcom.com>
733 * cp1.c: Fix many formatting issues.
735 2002-03-19 Chris G. Demetriou <cgd@broadcom.com>
737 * cp1.c (fpu_format_name): New function to replace...
738 (DOFMT): This. Delete, and update all callers.
739 (fpu_rounding_mode_name): New function to replace...
740 (RMMODE): This. Delete, and update all callers.
742 2002-03-19 Chris G. Demetriou <cgd@broadcom.com>
744 * interp.c: Move FPU support routines from here to...
745 * cp1.c: Here. New file.
746 * Makefile.in (SIM_OBJS): Add cp1.o to object list.
749 2002-03-12 Chris Demetriou <cgd@broadcom.com>
751 * configure.in (mipsisa32*-*-*, mipsisa64*-*-*): New targets.
752 * mips.igen (mips32, mips64): New models, add to all instructions
753 and functions as appropriate.
754 (loadstore_ea, check_u64): New variant for model mips64.
755 (check_fmt_p): New variant for models mipsV and mips64, remove
756 mipsV model marking fro other variant.
759 (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, SLLb): New instructions
760 for mips32 and mips64.
761 (DCLO, DCLZ): New instructions for mips64.
763 2002-03-07 Chris Demetriou <cgd@broadcom.com>
765 * mips.igen (BREAK, LUI, ORI, SYSCALL, XORI): Print
766 immediate or code as a hex value with the "%#lx" format.
767 (ANDI): Likewise, and fix printed instruction name.
769 2002-03-05 Chris Demetriou <cgd@broadcom.com>
771 * sim-main.h (UndefinedResult, Unpredictable): New macros
772 which currently do nothing.
774 2002-03-05 Chris Demetriou <cgd@broadcom.com>
776 * sim-main.h (status_UX, status_SX, status_KX, status_TS)
777 (status_PX, status_MX, status_CU0, status_CU1, status_CU2)
778 (status_CU3): New definitions.
780 * sim-main.h (ExceptionCause): Add new values for MIPS32
781 and MIPS64: MDMX, MCheck, CacheErr. Update comments
782 for DebugBreakPoint and NMIReset to note their status in
784 (SignalExceptionMDMX, SignalExceptionWatch, SignalExceptionMCheck)
785 (SignalExceptionCacheErr): New exception macros.
787 2002-03-05 Chris Demetriou <cgd@broadcom.com>
789 * mips.igen (check_fpu): Enable check for coprocessor 1 usability.
790 * sim-main.h (COP_Usable): Define, but for now coprocessor 1
792 (SignalExceptionCoProcessorUnusable): Take as argument the
793 unusable coprocessor number.
795 2002-03-05 Chris Demetriou <cgd@broadcom.com>
797 * mips.igen: Fix formatting of all SignalException calls.
799 2002-03-05 Chris Demetriou <cgd@broadcom.com>
801 * sim-main.h (SIGNEXTEND): Remove.
803 2002-03-04 Chris Demetriou <cgd@broadcom.com>
805 * mips.igen: Remove gencode comment from top of file, fix
806 spelling in another comment.
808 2002-03-04 Chris Demetriou <cgd@broadcom.com>
810 * mips.igen (check_fmt, check_fmt_p): New functions to check
811 whether specific floating point formats are usable.
812 (ABS.fmt, ADD.fmt, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
813 (FLOOR.W.fmt, MOV.fmt, MUL.fmt, NEG.fmt, RECIP.fmt, ROUND.L.fmt)
814 (ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt, TRUNC.L.fmt, TRUNC.W):
815 Use the new functions.
816 (do_c_cond_fmt): Remove format checks...
817 (C.cond.fmta, C.cond.fmtb): And move them into all callers.
819 2002-03-03 Chris Demetriou <cgd@broadcom.com>
821 * mips.igen: Fix formatting of check_fpu calls.
823 2002-03-03 Chris Demetriou <cgd@broadcom.com>
825 * mips.igen (FLOOR.L.fmt): Store correct destination register.
827 2002-03-03 Chris Demetriou <cgd@broadcom.com>
829 * mips.igen: Remove whitespace at end of lines.
831 2002-03-02 Chris Demetriou <cgd@broadcom.com>
833 * mips.igen (loadstore_ea): New function to do effective
834 address calculations.
835 (do_load, do_load_left, do_load_right, LL, LDD, PREF, do_store,
836 do_store_left, do_store_right, SC, SCD, PREFX, SWC1, SWXC1,
837 CACHE): Use loadstore_ea to do effective address computations.
839 2002-03-02 Chris Demetriou <cgd@broadcom.com>
841 * interp.c (load_word): Use EXTEND32 rather than SIGNEXTEND.
842 * mips.igen (LL, CxC1, MxC1): Likewise.
844 2002-03-02 Chris Demetriou <cgd@broadcom.com>
846 * mips.igen (LL, LLD, PREF, SC, SCD, ABS.fmt, ADD.fmt, CEIL.L.fmt,
847 CEIL.W, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt,
848 FLOOR.L.fmt, FLOOR.W.fmt, MADD.D, MADD.S, MOV.fmt, MOVtf.fmt,
849 MSUB.D, MSUB.S, MUL.fmt, NEG.fmt, NMADD.D, NMADD.S, NMSUB.D,
850 NMSUB.S, PREFX, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt,
851 SQRT.fmt, SUB.fmt, SWC1, SWXC1, TRUNC.L.fmt, TRUNC.W, CACHE):
852 Don't split opcode fields by hand, use the opcode field values
855 2002-03-01 Chris Demetriou <cgd@broadcom.com>
857 * mips.igen (do_divu): Fix spacing.
859 * mips.igen (do_dsllv): Move to be right before DSLLV,
860 to match the rest of the do_<shift> functions.
862 2002-03-01 Chris Demetriou <cgd@broadcom.com>
864 * mips.igen (do_dsll, do_dsllv, DSLL32, do_dsra, DSRA32, do_dsrl,
865 DSRL32, do_dsrlv): Trace inputs and results.
867 2002-03-01 Chris Demetriou <cgd@broadcom.com>
869 * mips.igen (CACHE): Provide instruction-printing string.
871 * interp.c (signal_exception): Comment tokens after #endif.
873 2002-02-28 Chris Demetriou <cgd@broadcom.com>
875 * mips.igen (LWXC1): Mark with filter "64,f", rather than just "32".
876 (MOVtf, MxC1, MxC1, DMxC1, DMxC1, CxC1, CxC1, SQRT.fmt, MOV.fmt,
877 NEG.fmt, ROUND.L.fmt, TRUNC.L.fmt, CEIL.L.fmt, FLOOR.L.fmt,
878 ROUND.W.fmt, TRUNC.W, CEIL.W, FLOOR.W.fmt, RECIP.fmt, RSQRT.fmt,
879 CVT.S.fmt, CVT.D.fmt, CVT.W.fmt, CVT.L.fmt, MOVtf.fmt, C.cond.fmta,
880 C.cond.fmtb, SUB.fmt, MUL.fmt, DIV.fmt, MOVZ.fmt, MOVN.fmt, LDXC1,
881 SWXC1, SDXC1, MSUB.D, MSUB.S, NMADD.S, NMADD.D, NMSUB.S, NMSUB.D,
882 LWC1, SWC1): Add "f" to filter, since these are FP instructions.
884 2002-02-28 Chris Demetriou <cgd@broadcom.com>
886 * mips.igen (DSRA32, DSRAV): Fix order of arguments in
887 instruction-printing string.
888 (LWU): Use '64' as the filter flag.
890 2002-02-28 Chris Demetriou <cgd@broadcom.com>
892 * mips.igen (SDXC1): Fix instruction-printing string.
894 2002-02-28 Chris Demetriou <cgd@broadcom.com>
896 * mips.igen (LDC1, SDC1): Remove mipsI model, and mark with
899 2002-02-27 Chris Demetriou <cgd@broadcom.com>
901 * mips.igen (PREFX): This is a 64-bit instruction, use '64'
904 2002-02-27 Chris Demetriou <cgd@broadcom.com>
906 * mips.igen (PREFX): Tweak instruction opcode fields (i.e.,
907 add a comma) so that it more closely match the MIPS ISA
908 documentation opcode partitioning.
909 (PREF): Put useful names on opcode fields, and include
910 instruction-printing string.
912 2002-02-27 Chris Demetriou <cgd@broadcom.com>
914 * mips.igen (check_u64): New function which in the future will
915 check whether 64-bit instructions are usable and signal an
916 exception if not. Currently a no-op.
917 (DADD, DADDI, DADDIU, DADDU, DDIV, DDIVU, DMULT, DMULTU, DSLL,
918 DSLL32, DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB,
919 DSUBU, LD, LDL, LDR, LLD, LWU, SCD, SD, SDL, SDR, DMxC1, LDXC1,
920 LWXC1, SDXC1, SWXC1, DMFC0, DMTC0): Use check_u64.
922 * mips.igen (check_fpu): New function which in the future will
923 check whether FPU instructions are usable and signal an exception
924 if not. Currently a no-op.
925 (ABS.fmt, ADD.fmt, BC1a, BC1b, C.cond.fmta, C.cond.fmtb,
926 CEIL.L.fmt, CEIL.W, CxC1, CVT.D.fmt, CVT.L.fmt, CVT.S.fmt,
927 CVT.W.fmt, DIV.fmt, DMxC1, DMxC1, FLOOR.L.fmt, FLOOR.W.fmt, LDC1,
928 LDXC1, LWC1, LWXC1, MADD.D, MADD.S, MxC1, MOV.fmt, MOVtf,
929 MOVtf.fmt, MOVN.fmt, MOVZ.fmt, MSUB.D, MSUB.S, MUL.fmt, NEG.fmt,
930 NMADD.D, NMADD.S, NMSUB.D, NMSUB.S, RECIP.fmt, ROUND.L.fmt,
931 ROUND.W.fmt, RSQRT.fmt, SDC1, SDXC1, SQRT.fmt, SUB.fmt, SWC1,
932 SWXC1, TRUNC.L.fmt, TRUNC.W): Use check_fpu.
934 2002-02-27 Chris Demetriou <cgd@broadcom.com>
936 * mips.igen (do_load_left, do_load_right): Move to be immediately
938 (do_store_left, do_store_right): Move to be immediately following
941 2002-02-27 Chris Demetriou <cgd@broadcom.com>
943 * mips.igen (mipsV): New model name. Also, add it to
944 all instructions and functions where it is appropriate.
946 2002-02-18 Chris Demetriou <cgd@broadcom.com>
948 * mips.igen: For all functions and instructions, list model
949 names that support that instruction one per line.
951 2002-02-11 Chris Demetriou <cgd@broadcom.com>
953 * mips.igen: Add some additional comments about supported
954 models, and about which instructions go where.
955 (BC1b, MFC0, MTC0, RFE): Sort supported models in the same
956 order as is used in the rest of the file.
958 2002-02-11 Chris Demetriou <cgd@broadcom.com>
960 * mips.igen (ADD, ADDI, DADDI, DSUB, SUB): Add comment
961 indicating that ALU32_END or ALU64_END are there to check
963 (DADD): Likewise, but also remove previous comment about
966 2002-02-10 Chris Demetriou <cgd@broadcom.com>
968 * mips.igen (DDIV, DIV, DIVU, DMULT, DMULTU, DSLL, DSLL32,
969 DSLLV, DSRA, DSRA32, DSRAV, DSRL, DSRL32, DSRLV, DSUB, DSUBU,
970 JALR, JR, MOVN, MOVZ, MTLO, MULT, MULTU, SLL, SLLV, SLT, SLTU,
971 SRAV, SRLV, SUB, SUBU, SYNC, XOR, MOVtf, DI, DMFC0, DMTC0, EI,
972 ERET, RFE, TLBP, TLBR, TLBWI, TLBWR): Tweak instruction opcode
973 fields (i.e., add and move commas) so that they more closely
974 match the MIPS ISA documentation opcode partitioning.
976 2002-02-10 Chris Demetriou <cgd@broadcom.com>
978 * mips.igen (ADDI): Print immediate value.
980 (DADDIU, DSRAV, DSRLV): Print correct instruction name.
981 (SLL): Print "nop" specially, and don't run the code
982 that does the shift for the "nop" case.
984 2001-11-17 Fred Fish <fnf@redhat.com>
986 * sim-main.h (float_operation): Move enum declaration outside
987 of _sim_cpu struct declaration.
989 2001-04-12 Jim Blandy <jimb@redhat.com>
991 * mips.igen (CFC1, CTC1): Pass the correct register numbers to
992 PENDING_FILL. Use PENDING_SCHED directly to handle the pending
994 * sim-main.h (COCIDX): Remove definition; this isn't supported by
995 PENDING_FILL, and you can get the intended effect gracefully by
996 calling PENDING_SCHED directly.
998 2001-02-23 Ben Elliston <bje@redhat.com>
1000 * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
1001 already defined elsewhere.
1003 2001-02-19 Ben Elliston <bje@redhat.com>
1005 * sim-main.h (sim_monitor): Return an int.
1006 * interp.c (sim_monitor): Add return values.
1007 (signal_exception): Handle error conditions from sim_monitor.
1009 2001-02-08 Ben Elliston <bje@redhat.com>
1011 * sim-main.c (load_memory): Pass cia to sim_core_read* functions.
1012 (store_memory): Likewise, pass cia to sim_core_write*.
1014 2000-10-19 Frank Ch. Eigler <fche@redhat.com>
1016 On advice from Chris G. Demetriou <cgd@sibyte.com>:
1017 * sim-main.h (GPR_CLEAR): Remove unused alternative macro.
1019 Thu Jul 27 22:02:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
1021 From Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
1022 * Makefile.in: Don't delete *.igen when cleaning directory.
1024 Wed Jul 19 18:50:51 2000 Andrew Cagney <cagney@b1.cygnus.com>
1026 * m16.igen (break): Call SignalException not sim_engine_halt.
1028 Mon Jul 3 11:13:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
1030 From Jason Eckhardt:
1031 * mips.igen (MOVZ.fmt, MOVN.fmt): Move conditional on GPR[RT].
1033 Tue Jun 13 20:52:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
1035 * mips.igen (MxC1, DMxC1): Fix printf formatting.
1037 2000-05-24 Michael Hayes <mhayes@cygnus.com>
1039 * mips.igen (do_dmultx): Fix typo.
1041 Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
1043 * configure: Regenerated to track ../common/aclocal.m4 changes.
1045 Fri Apr 28 20:48:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1047 * mips.igen (DMxC1): Fix format arguments for sim_io_eprintf call.
1049 2000-04-12 Frank Ch. Eigler <fche@redhat.com>
1051 * sim-main.h (GPR_CLEAR): Define macro.
1053 Mon Apr 10 00:07:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
1055 * interp.c (decode_coproc): Output long using %lx and not %s.
1057 2000-03-21 Frank Ch. Eigler <fche@redhat.com>
1059 * interp.c (sim_open): Sort & extend dummy memory regions for
1060 --board=jmr3904 for eCos.
1062 2000-03-02 Frank Ch. Eigler <fche@redhat.com>
1064 * configure: Regenerated.
1066 Tue Feb 8 18:35:01 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
1068 * interp.c, mips.igen: all 5 DEADC0DE situations now have sim_io_eprintf
1069 calls, conditional on the simulator being in verbose mode.
1071 Fri Feb 4 09:45:15 2000 Donald Lindsay <dlindsay@cygnus.com>
1073 * sim-main.c (cache_op): Added case arm so that CACHE ops to a secondary
1074 cache don't get ReservedInstruction traps.
1076 1999-11-29 Mark Salter <msalter@cygnus.com>
1078 * dv-tx3904sio.c (tx3904sio_io_write_buffer): Use write value as a mask
1079 to clear status bits in sdisr register. This is how the hardware works.
1081 * interp.c (sim_open): Added more memory aliases for jmr3904 hardware
1082 being used by cygmon.
1084 1999-11-11 Andrew Haley <aph@cygnus.com>
1086 * interp.c (decode_coproc): Correctly handle DMFC0 and DMTC0
1089 Thu Sep 9 15:12:08 1999 Geoffrey Keating <geoffk@cygnus.com>
1091 * mips.igen (MULT): Correct previous mis-applied patch.
1093 Tue Sep 7 13:34:54 1999 Geoffrey Keating <geoffk@cygnus.com>
1095 * mips.igen (delayslot32): Handle sequence like
1096 mtc1 $at,$f12 ; jal fp_add ; mov.s $f13,$f12
1097 correctly by calling ENGINE_ISSUE_PREFIX_HOOK() before issue.
1098 (MULT): Actually pass the third register...
1100 1999-09-03 Mark Salter <msalter@cygnus.com>
1102 * interp.c (sim_open): Added more memory aliases for additional
1103 hardware being touched by cygmon on jmr3904 board.
1105 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1107 * configure: Regenerated to track ../common/aclocal.m4 changes.
1109 Tue Jul 27 16:36:51 1999 Andrew Cagney <cagney@amy.cygnus.com>
1111 * interp.c (sim_store_register): Handle case where client - GDB -
1112 specifies that a 4 byte register is 8 bytes in size.
1113 (sim_fetch_register): Ditto.
1115 1999-07-14 Frank Ch. Eigler <fche@cygnus.com>
1117 Implement "sim firmware" option, inspired by jimb's version of 1998-01.
1118 * interp.c (firmware_option_p): New global flag: "sim firmware" given.
1119 (idt_monitor_base): Base address for IDT monitor traps.
1120 (pmon_monitor_base): Ditto for PMON.
1121 (lsipmon_monitor_base): Ditto for LSI PMON.
1122 (MONITOR_BASE, MONITOR_SIZE): Removed macros.
1123 (mips_option): Add "firmware" option with new OPTION_FIRMWARE key.
1124 (sim_firmware_command): New function.
1125 (mips_option_handler): Call it for OPTION_FIRMWARE.
1126 (sim_open): Allocate memory for idt_monitor region. If "--board"
1127 option was given, add no monitor by default. Add BREAK hooks only if
1128 monitors are also there.
1130 Mon Jul 12 00:02:27 1999 Andrew Cagney <cagney@amy.cygnus.com>
1132 * interp.c (sim_monitor): Flush output before reading input.
1134 Sun Jul 11 19:28:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
1136 * tconfig.in (SIM_HANDLES_LMA): Always define.
1138 Thu Jul 8 16:06:59 1999 Andrew Cagney <cagney@b1.cygnus.com>
1140 From Mark Salter <msalter@cygnus.com>:
1141 * interp.c (BOARD_BSP): Define. Add to list of possible boards.
1142 (sim_open): Add setup for BSP board.
1144 Wed Jul 7 12:45:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
1146 * mips.igen (MULT, MULTU): Add syntax for two operand version.
1147 (DMFC0, DMTC0): Recognize. Call DecodeCoproc which will report
1148 them as unimplemented.
1150 1999-05-08 Felix Lee <flee@cygnus.com>
1152 * configure: Regenerated to track ../common/aclocal.m4 changes.
1154 1999-04-21 Frank Ch. Eigler <fche@cygnus.com>
1156 * mips.igen (bc0f): For the TX39 only, decode this as a no-op stub.
1158 Thu Apr 15 14:15:17 1999 Andrew Cagney <cagney@amy.cygnus.com>
1160 * configure.in: Any mips64vr5*-*-* target should have
1161 -DTARGET_ENABLE_FR=1.
1162 (default_endian): Any mips64vr*el-*-* target should default to
1164 * configure: Re-generate.
1166 1999-02-19 Gavin Romig-Koch <gavin@cygnus.com>
1168 * mips.igen (ldl): Extend from _16_, not 32.
1170 Wed Jan 27 18:51:38 1999 Andrew Cagney <cagney@chook.cygnus.com>
1172 * interp.c (sim_store_register): Force registers written to by GDB
1173 into an un-interpreted state.
1175 1999-02-05 Frank Ch. Eigler <fche@cygnus.com>
1177 * dv-tx3904sio.c (tx3904sio_tickle): After a polled I/O from the
1178 CPU, start periodic background I/O polls.
1179 (tx3904sio_poll): New function: periodic I/O poller.
1181 1998-12-30 Frank Ch. Eigler <fche@cygnus.com>
1183 * mips.igen (BREAK): Call signal_exception instead of sim_engine_halt.
1185 Tue Dec 29 16:03:53 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1187 * configure.in, configure (mips64vr5*-*-*): Added missing ;; in
1190 1998-12-29 Frank Ch. Eigler <fche@cygnus.com>
1192 * interp.c (sim_open): Allocate jm3904 memory in smaller chunks.
1193 (load_word): Call SIM_CORE_SIGNAL hook on error.
1194 (signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook before
1195 starting. For exception dispatching, pass PC instead of NULL_CIA.
1196 (decode_coproc): Use COP0_BADVADDR to store faulting address.
1197 * sim-main.h (COP0_BADVADDR): Define.
1198 (SIM_CORE_SIGNAL): Define hook to call mips_core_signal.
1199 (SIM_CPU_EXCEPTION*): Define hooks to call mips_cpu_exception*().
1200 (_sim_cpu): Add exc_* fields to store register value snapshots.
1201 * mips.igen (*): Replace memory-related SignalException* calls
1202 with references to SIM_CORE_SIGNAL hook.
1204 * dv-tx3904irc.c (tx3904irc_port_event): printf format warning
1206 * sim-main.c (*): Minor warning cleanups.
1208 1998-12-24 Gavin Romig-Koch <gavin@cygnus.com>
1210 * m16.igen (DADDIU5): Correct type-o.
1212 Mon Dec 21 10:34:48 1998 Andrew Cagney <cagney@chook>
1214 * mips.igen (do_ddiv, do_ddivu): Pacify GCC. Update hi/lo via tmp
1217 Wed Dec 16 18:20:28 1998 Andrew Cagney <cagney@chook>
1219 * Makefile.in (SIM_EXTRA_CFLAGS): No longer need to add .../newlib
1221 (interp.o): Add dependency on itable.h
1222 (oengine.c, gencode): Delete remaining references.
1223 (BUILT_SRC_FROM_GEN): Clean up.
1225 1998-12-16 Gavin Romig-Koch <gavin@cygnus.com>
1228 * Makefile.in (SIM_HACK_OBJ,HACK_OBJS,HACK_GEN_SRCS,libhack.a,
1229 tmp-hack,tmp-m32-hack,tmp-m16-hack,tmp-itable-hack,
1230 tmp-run-hack) : New.
1231 * m16.igen (LD,DADDIU,DADDUI5,DADJSP,DADDIUSP,DADDI,DADDU,DSUBU,
1232 DSLL,DSRL,DSRA,DSLLV,DSRAV,DMULT,DMULTU,DDIV,DDIVU,JALX32,JALX):
1233 Drop the "64" qualifier to get the HACK generator working.
1234 Use IMMEDIATE rather than IMMED. Use SHAMT rather than SHIFT.
1235 * mips.igen (do_daddiu,do_ddiv,do_divu): Remove the 64-only
1236 qualifier to get the hack generator working.
1237 (do_dsll,do_dsllv,do_dsra,do_dsrl,do_dsrlv): New.
1238 (DSLL): Use do_dsll.
1239 (DSLLV): Use do_dsllv.
1240 (DSRA): Use do_dsra.
1241 (DSRL): Use do_dsrl.
1242 (DSRLV): Use do_dsrlv.
1243 (BC1): Move *vr4100 to get the HACK generator working.
1244 (CxC1, DMxC1, MxC1,MACCU,MACCHI,MACCHIU): Rename to
1245 get the HACK generator working.
1246 (MACC) Rename to get the HACK generator working.
1247 (DMACC,MACCS,DMACCS): Add the 64.
1249 1998-12-12 Gavin Romig-Koch <gavin@cygnus.com>
1251 * mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts.
1252 * sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.
1254 1998-12-11 Gavin Romig-Koch <gavin@cygnus.com>
1256 * mips/interp.c (DEBUG): Cleanups.
1258 1998-12-10 Frank Ch. Eigler <fche@cygnus.com>
1260 * dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
1261 (tx3904sio_tickle): fflush after a stdout character output.
1263 1998-12-03 Frank Ch. Eigler <fche@cygnus.com>
1265 * interp.c (sim_close): Uninstall modules.
1267 Wed Nov 25 13:41:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
1269 * sim-main.h, interp.c (sim_monitor): Change to global
1272 Wed Nov 25 17:33:24 1998 Andrew Cagney <cagney@b1.cygnus.com>
1274 * configure.in (vr4100): Only include vr4100 instructions in
1276 * configure: Re-generate.
1277 * m16.igen (*): Tag all mips16 instructions as also being vr4100.
1279 Mon Nov 23 18:20:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
1281 * Makefile.in (SIM_CFLAGS): Do not define WITH_IGEN.
1282 * sim-main.h, sim-main.c, interp.c: Delete #if WITH_IGEN keeping
1285 * configure.in (sim_default_gen, sim_use_gen): Replace with
1287 (--enable-sim-igen): Delete config option. Always using IGEN.
1288 * configure: Re-generate.
1290 * Makefile.in (gencode): Kill, kill, kill.
1293 Mon Nov 23 18:07:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
1295 * configure.in: Configure mips64vr4100-elf nee mips64vr41* as a 64
1296 bit mips16 igen simulator.
1297 * configure: Re-generate.
1299 * mips.igen (check_div_hilo, check_mult_hilo, check_mf_hilo): Mark
1300 as part of vr4100 ISA.
1301 * vr.igen: Mark all instructions as 64 bit only.
1303 Mon Nov 23 17:07:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
1305 * interp.c (get_cell, sim_monitor, fetch_str, CoProcPresent):
1308 Mon Nov 23 13:23:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
1310 * configure.in: Configure mips-lsi-elf nee mips*lsi* as a
1311 mipsIII/mips16 igen simulator. Fix sim_gen VS sim_igen typos.
1312 * configure: Re-generate.
1314 * m16.igen (BREAK): Define breakpoint instruction.
1315 (JALX32): Mark instruction as mips16 and not r3900.
1316 * mips.igen (C.cond.fmt): Fix typo in instruction format.
1318 * sim-main.h (PENDING_FILL): Wrap C statements in do/while.
1320 Sat Nov 7 09:54:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
1322 * gencode.c (build_instruction - BREAK): For MIPS16, handle BREAK
1323 insn as a debug breakpoint.
1325 * sim-main.h (PENDING_SLOT_BIT): Fix, was incorrectly defined as
1327 (PENDING_SCHED): Clean up trace statement.
1328 (PENDING_SCHED): Increment PENDING_IN and PENDING_TOTAL.
1329 (PENDING_FILL): Delay write by only one cycle.
1330 (PENDING_FILL): For FSRs, write fmt_uninterpreted to FPR_STATE.
1332 * sim-main.c (pending_tick): Clean up trace statements. Add trace
1334 (pending_tick): Fix sizes in switch statements, 4 & 8 instead of
1336 (pending_tick): Move incrementing of index to FOR statement.
1337 (pending_tick): Only update PENDING_OUT after a write has occured.
1339 * configure.in: Add explicit mips-lsi-* target. Use gencode to
1341 * configure: Re-generate.
1343 * interp.c (sim_engine_run OLD): Delete explicit call to
1344 PENDING_TICK. Now called via ENGINE_ISSUE_PREFIX_HOOK.
1346 Sat Oct 30 09:49:10 1998 Frank Ch. Eigler <fche@cygnus.com>
1348 * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
1349 interrupt level number to match changed SignalExceptionInterrupt
1352 Fri Oct 9 18:02:25 1998 Doug Evans <devans@canuck.cygnus.com>
1354 * interp.c: #include "itable.h" if WITH_IGEN.
1355 (get_insn_name): New function.
1356 (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
1357 * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
1359 Mon Sep 14 12:36:44 1998 Frank Ch. Eigler <fche@cygnus.com>
1361 * configure: Rebuilt to inhale new common/aclocal.m4.
1363 Tue Sep 1 15:39:18 1998 Frank Ch. Eigler <fche@cygnus.com>
1365 * dv-tx3904sio.c: Include sim-assert.h.
1367 Tue Aug 25 12:49:46 1998 Frank Ch. Eigler <fche@cygnus.com>
1369 * dv-tx3904sio.c: New file: tx3904 serial I/O module.
1370 * configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
1371 Reorganize target-specific sim-hardware checks.
1372 * configure: rebuilt.
1373 * interp.c (sim_open): For tx39 target boards, set
1374 OPERATING_ENVIRONMENT, add tx3904sio devices.
1375 * tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
1376 ROM executables. Install dv-sockser into sim-modules list.
1378 * dv-tx3904irc.c: Compiler warning clean-up.
1379 * dv-tx3904tmr.c: Compiler warning clean-up. Remove particularly
1380 frequent hw-trace messages.
1382 Fri Jul 31 18:14:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
1384 * vr.igen (MulAcc): Identify as a vr4100 specific function.
1386 Sat Jul 25 16:03:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
1388 * Makefile.in (IGEN_INCLUDE): Add vr.igen.
1390 * vr.igen: New file.
1391 (MAC/MADD16, DMAC/DMADD16): Implement using code from gencode.c.
1392 * mips.igen: Define vr4100 model. Include vr.igen.
1393 Mon Jun 29 09:21:07 1998 Gavin Koch <gavin@cygnus.com>
1395 * mips.igen (check_mf_hilo): Correct check.
1397 Wed Jun 17 12:20:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
1399 * sim-main.h (interrupt_event): Add prototype.
1401 * dv-tx3904tmr.c (tx3904tmr_io_write_buffer): Delete unused
1402 register_ptr, register_value.
1403 (deliver_tx3904tmr_tick): Fix types passed to printf fmt.
1405 * sim-main.h (tracefh): Make extern.
1407 Tue Jun 16 14:39:00 1998 Frank Ch. Eigler <fche@cygnus.com>
1409 * dv-tx3904tmr.c: Deschedule timer event after dispatching.
1410 Reduce unnecessarily high timer event frequency.
1411 * dv-tx3904cpu.c: Ditto for interrupt event.
1413 Wed Jun 10 13:22:32 1998 Frank Ch. Eigler <fche@cygnus.com>
1415 * interp.c (decode_coproc): For TX39, add stub COP0 register #7,
1417 (interrupt_event): Made non-static.
1419 * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
1420 interchange of configuration values for external vs. internal
1423 Tue Jun 9 12:46:24 1998 Ian Carmichael <iancarm@cygnus.com>
1425 * mips.igen (BREAK): Moved code to here for
1426 simulator-reserved break instructions.
1427 * gencode.c (build_instruction): Ditto.
1428 * interp.c (signal_exception): Code moved from here. Non-
1429 reserved instructions now use exception vector, rather
1431 * sim-main.h: Moved magic constants to here.
1433 Tue Jun 9 12:29:50 1998 Frank Ch. Eigler <fche@cygnus.com>
1435 * dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
1436 register upon non-zero interrupt event level, clear upon zero
1438 * dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal
1439 by passing zero event value.
1440 (*_io_{read,write}_buffer): Endianness fixes.
1441 * dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes.
1442 (deliver_*_tick): Reduce sim event interval to 75% of count interval.
1444 * interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
1445 serial I/O and timer module at base address 0xFFFF0000.
1447 Tue Jun 9 11:52:29 1998 Gavin Koch <gavin@cygnus.com>
1449 * mips.igen (SWC1) : Correct the handling of ReverseEndian
1452 Tue Jun 9 11:40:57 1998 Gavin Koch <gavin@cygnus.com>
1454 * configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
1456 * configure: Update.
1458 Thu Jun 4 15:37:33 1998 Frank Ch. Eigler <fche@cygnus.com>
1460 * dv-tx3904tmr.c: New file - implements tx3904 timer.
1461 * dv-tx3904{irc,cpu}.c: Mild reformatting.
1462 * configure.in: Include tx3904tmr in hw_device list.
1463 * configure: Rebuilt.
1464 * interp.c (sim_open): Instantiate three timer instances.
1465 Fix address typo of tx3904irc instance.
1467 Tue Jun 2 15:48:02 1998 Ian Carmichael <iancarm@cygnus.com>
1469 * interp.c (signal_exception): SystemCall exception now uses
1470 the exception vector.
1472 Mon Jun 1 18:18:26 1998 Frank Ch. Eigler <fche@cygnus.com>
1474 * interp.c (decode_coproc): For TX39, add stub COP0 register #3,
1477 Fri May 29 11:40:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
1479 * configure.in (sim_igen_filter): Match mips*tx39 not mipst*tx39.
1481 Mon May 25 20:47:45 1998 Andrew Cagney <cagney@b1.cygnus.com>
1483 * dv-tx3904cpu.c, dv-tx3904irc.c: Rename *_callback to *_method.
1485 * dv-tx3904cpu.c, dv-tx3904irc.c: Include hw-main.h and
1486 sim-main.h. Declare a struct hw_descriptor instead of struct
1487 hw_device_descriptor.
1489 Mon May 25 12:41:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
1491 * mips.igen (do_store_left, do_load_left): Compute nr of left and
1492 right bits and then re-align left hand bytes to correct byte
1493 lanes. Fix incorrect computation in do_store_left when loading
1494 bytes from second word.
1496 Fri May 22 13:34:20 1998 Andrew Cagney <cagney@b1.cygnus.com>
1498 * configure.in (SIM_AC_OPTION_HARDWARE): Only enable when tx3904.
1499 * interp.c (sim_open): Only create a device tree when HW is
1502 * dv-tx3904irc.c (tx3904irc_finish): Pacify GCC.
1503 * interp.c (signal_exception): Ditto.
1505 Thu May 21 14:24:11 1998 Gavin Koch <gavin@cygnus.com>
1507 * gencode.c: Mark BEGEZALL as LIKELY.
1509 Thu May 21 18:57:19 1998 Andrew Cagney <cagney@b1.cygnus.com>
1511 * sim-main.h (ALU32_END): Sign extend 32 bit results.
1512 * mips.igen (ADD, SUB, ADDI, DADD, DSUB): Trace.
1514 Mon May 18 18:22:42 1998 Frank Ch. Eigler <fche@cygnus.com>
1516 * configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
1517 modules. Recognize TX39 target with "mips*tx39" pattern.
1518 * configure: Rebuilt.
1519 * sim-main.h (*): Added many macros defining bits in
1520 TX39 control registers.
1521 (SignalInterrupt): Send actual PC instead of NULL.
1522 (SignalNMIReset): New exception type.
1523 * interp.c (board): New variable for future use to identify
1524 a particular board being simulated.
1525 (mips_option_handler,mips_options): Added "--board" option.
1526 (interrupt_event): Send actual PC.
1527 (sim_open): Make memory layout conditional on board setting.
1528 (signal_exception): Initial implementation of hardware interrupt
1529 handling. Accept another break instruction variant for simulator
1531 (decode_coproc): Implement RFE instruction for TX39.
1532 (mips.igen): Decode RFE instruction as such.
1533 * configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
1534 * interp.c: Define "jmr3904" and "jmr3904debug" board types and
1535 bbegin to implement memory map.
1536 * dv-tx3904cpu.c: New file.
1537 * dv-tx3904irc.c: New file.
1539 Wed May 13 14:40:11 1998 Gavin Koch <gavin@cygnus.com>
1541 * mips.igen (check_mt_hilo): Create a separate r3900 version.
1543 Wed May 13 14:11:46 1998 Gavin Koch <gavin@cygnus.com>
1545 * tx.igen (madd,maddu): Replace calls to check_op_hilo
1546 with calls to check_div_hilo.
1548 Wed May 13 09:59:27 1998 Gavin Koch <gavin@cygnus.com>
1550 * mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo):
1551 Replace check_op_hilo with check_mult_hilo and check_div_hilo.
1552 Add special r3900 version of do_mult_hilo.
1553 (do_dmultx,do_mult,do_multu): Replace calls to check_op_hilo
1554 with calls to check_mult_hilo.
1555 (do_ddiv,do_ddivu,do_div,do_divu): Replace calls to check_op_hilo
1556 with calls to check_div_hilo.
1558 Tue May 12 15:22:11 1998 Andrew Cagney <cagney@b1.cygnus.com>
1560 * configure.in (SUBTARGET_R3900): Define for mipstx39 target.
1561 Document a replacement.
1563 Fri May 8 17:48:19 1998 Ian Carmichael <iancarm@cygnus.com>
1565 * interp.c (sim_monitor): Make mon_printf work.
1567 Wed May 6 19:42:19 1998 Doug Evans <devans@canuck.cygnus.com>
1569 * sim-main.h (INSN_NAME): New arg `cpu'.
1571 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1573 * configure: Regenerated to track ../common/aclocal.m4 changes.
1575 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1577 * configure: Regenerated to track ../common/aclocal.m4 changes.
1580 Sun Apr 26 15:20:01 1998 Tom Tromey <tromey@cygnus.com>
1582 * acconfig.h: New file.
1583 * configure.in: Reverted change of Apr 24; use sinclude again.
1585 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1587 * configure: Regenerated to track ../common/aclocal.m4 changes.
1590 Fri Apr 24 11:19:20 1998 Tom Tromey <tromey@cygnus.com>
1592 * configure.in: Don't call sinclude.
1594 Fri Apr 24 11:35:01 1998 Andrew Cagney <cagney@chook.cygnus.com>
1596 * mips.igen (do_store_left): Pass 0 not NULL to store_memory.
1598 Tue Apr 21 11:59:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
1600 * mips.igen (ERET): Implement.
1602 * interp.c (decode_coproc): Return sign-extended EPC.
1604 * mips.igen (ANDI, LUI, MFC0): Add tracing code.
1606 * interp.c (signal_exception): Do not ignore Trap.
1607 (signal_exception): On TRAP, restart at exception address.
1608 (HALT_INSTRUCTION, HALT_INSTRUCTION_MASK): Define.
1609 (signal_exception): Update.
1610 (sim_open): Patch V_COMMON interrupt vector with an abort sequence
1611 so that TRAP instructions are caught.
1613 Mon Apr 20 11:26:55 1998 Andrew Cagney <cagney@b1.cygnus.com>
1615 * sim-main.h (struct hilo_access, struct hilo_history): Define,
1616 contains HI/LO access history.
1617 (struct _sim_cpu): Make hiaccess and loaccess of type hilo_access.
1618 (HIACCESS, LOACCESS): Delete, replace with
1619 (HIHISTORY, LOHISTORY): New macros.
1620 (CHECKHILO): Delete all, moved to mips.igen
1622 * gencode.c (build_instruction): Do not generate checks for
1623 correct HI/LO register usage.
1625 * interp.c (old_engine_run): Delete checks for correct HI/LO
1628 * mips.igen (check_mt_hilo, check_mf_hilo, check_op_hilo,
1629 check_mf_cycles): New functions.
1630 (do_mfhi, do_mflo, "mthi", "mtlo", do_ddiv, do_ddivu, do_div,
1631 do_divu, domultx, do_mult, do_multu): Use.
1633 * tx.igen ("madd", "maddu"): Use.
1635 Wed Apr 15 18:31:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1637 * mips.igen (DSRAV): Use function do_dsrav.
1638 (SRAV): Use new function do_srav.
1640 * m16.igen (BEQZ, BNEZ): Compare GPR[TRX] not GPR[RX].
1641 (B): Sign extend 11 bit immediate.
1642 (EXT-B*): Shift 16 bit immediate left by 1.
1643 (ADDIU*): Don't sign extend immediate value.
1645 Wed Apr 15 10:32:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
1647 * m16run.c (sim_engine_run): Restore CIA after handling an event.
1649 * sim-main.h (DELAY_SLOT, NULLIFY_NEXT_INSTRUCTION): For IGEN, use
1652 * mips.igen (delayslot32, nullify_next_insn): New functions.
1653 (m16.igen): Always include.
1654 (do_*): Add more tracing.
1656 * m16.igen (delayslot16): Add NIA argument, could be called by a
1657 32 bit MIPS16 instruction.
1659 * interp.c (ifetch16): Move function from here.
1660 * sim-main.c (ifetch16): To here.
1662 * sim-main.c (ifetch16, ifetch32): Update to match current
1663 implementations of LH, LW.
1664 (signal_exception): Don't print out incorrect hex value of illegal
1667 Wed Apr 15 00:17:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1669 * m16run.c (sim_engine_run): Use IMEM16 and IMEM32 to fetch an
1672 * m16.igen: Implement MIPS16 instructions.
1674 * mips.igen (do_addiu, do_addu, do_and, do_daddiu, do_daddu,
1675 do_ddiv, do_ddivu, do_div, do_divu, do_dmultx, do_dmultu, do_srav,
1676 do_dsubu, do_mfhi, do_mflo, do_mult, do_multu, do_nor, do_or,
1677 do_sll, do_sllv, do_slt, do_slti, do_sltiu, do_sltu, do_sra,
1678 do_srl, do_srlv, do_subu, do_xor, do_xori): New functions. Move
1679 bodies of corresponding code from 32 bit insn to these. Also used
1680 by MIPS16 versions of functions.
1682 * sim-main.h (RAIDX, T8IDX, T8, SPIDX): Define.
1683 (IMEM16): Drop NR argument from macro.
1685 Sat Apr 4 22:39:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
1687 * Makefile.in (SIM_OBJS): Add sim-main.o.
1689 * sim-main.h (address_translation, load_memory, store_memory,
1690 cache_op, sync_operation, prefetch, ifetch32, pending_tick): Mark
1692 (pr_addr, pr_uword64): Declare.
1693 (sim-main.c): Include when H_REVEALS_MODULE_P.
1695 * interp.c (address_translation, load_memory, store_memory,
1696 cache_op, sync_operation, prefetch, ifetch32, pending_tick): Move
1698 * sim-main.c: To here. Fix compilation problems.
1700 * configure.in: Enable inlining.
1701 * configure: Re-config.
1703 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1705 * configure: Regenerated to track ../common/aclocal.m4 changes.
1707 Fri Apr 3 04:32:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
1709 * mips.igen: Include tx.igen.
1710 * Makefile.in (IGEN_INCLUDE): Add tx.igen.
1711 * tx.igen: New file, contains MADD and MADDU.
1713 * interp.c (load_memory): When shifting bytes, use LOADDRMASK not
1714 the hardwired constant `7'.
1715 (store_memory): Ditto.
1716 (LOADDRMASK): Move definition to sim-main.h.
1718 mips.igen (MTC0): Enable for r3900.
1721 mips.igen (do_load_byte): Delete.
1722 (do_load, do_store, do_load_left, do_load_write, do_store_left,
1723 do_store_right): New functions.
1724 (SW*, LW*, SD*, LD*, SH, LH, SB, LB): Use.
1726 configure.in: Let the tx39 use igen again.
1729 Thu Apr 2 10:59:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
1731 * interp.c (sim_monitor): get_mem_info returns a 4 byte quantity,
1732 not an address sized quantity. Return zero for cache sizes.
1734 Wed Apr 1 23:47:53 1998 Andrew Cagney <cagney@b1.cygnus.com>
1736 * mips.igen (r3900): r3900 does not support 64 bit integer
1739 Mon Mar 30 14:46:05 1998 Gavin Koch <gavin@cygnus.com>
1741 * configure.in (mipstx39*-*-*): Use gencode simulator rather
1743 * configure : Rebuild.
1745 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1747 * configure: Regenerated to track ../common/aclocal.m4 changes.
1749 Fri Mar 27 15:01:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
1751 * interp.c (mips_option_handler): Iterate over MAX_NR_PROCESSORS.
1753 Wed Mar 25 16:44:27 1998 Ian Carmichael <iancarm@cygnus.com>
1755 * configure: Regenerated to track ../common/aclocal.m4 changes.
1756 * config.in: Regenerated to track ../common/aclocal.m4 changes.
1758 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1760 * configure: Regenerated to track ../common/aclocal.m4 changes.
1762 Wed Mar 25 10:05:46 1998 Andrew Cagney <cagney@b1.cygnus.com>
1764 * interp.c (Max, Min): Comment out functions. Not yet used.
1766 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1768 * configure: Regenerated to track ../common/aclocal.m4 changes.
1770 Tue Mar 17 19:05:20 1998 Frank Ch. Eigler <fche@cygnus.com>
1772 * Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
1773 configurable settings for stand-alone simulator.
1775 * configure.in: Added X11 search, just in case.
1777 * configure: Regenerated.
1779 Wed Mar 11 14:09:10 1998 Andrew Cagney <cagney@b1.cygnus.com>
1781 * interp.c (sim_write, sim_read, load_memory, store_memory):
1782 Replace sim_core_*_map with read_map, write_map, exec_map resp.
1784 Tue Mar 3 13:58:43 1998 Andrew Cagney <cagney@b1.cygnus.com>
1786 * sim-main.h (GETFCC): Return an unsigned value.
1788 Tue Mar 3 13:21:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
1790 * mips.igen (DIV): Fix check for -1 / MIN_INT.
1791 (DADD): Result destination is RD not RT.
1793 Fri Feb 27 13:49:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
1795 * sim-main.h (HIACCESS, LOACCESS): Always define.
1797 * mdmx.igen (Maxi, Mini): Rename Max, Min.
1799 * interp.c (sim_info): Delete.
1801 Fri Feb 27 18:41:01 1998 Doug Evans <devans@canuck.cygnus.com>
1803 * interp.c (DECLARE_OPTION_HANDLER): Use it.
1804 (mips_option_handler): New argument `cpu'.
1805 (sim_open): Update call to sim_add_option_table.
1807 Wed Feb 25 18:56:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
1809 * mips.igen (CxC1): Add tracing.
1811 Fri Feb 20 17:43:21 1998 Andrew Cagney <cagney@b1.cygnus.com>
1813 * sim-main.h (Max, Min): Declare.
1815 * interp.c (Max, Min): New functions.
1817 * mips.igen (BC1): Add tracing.
1819 Thu Feb 19 14:50:00 1998 John Metzler <jmetzler@cygnus.com>
1821 * interp.c Added memory map for stack in vr4100
1823 Thu Feb 19 10:21:21 1998 Gavin Koch <gavin@cygnus.com>
1825 * interp.c (load_memory): Add missing "break"'s.
1827 Tue Feb 17 12:45:35 1998 Andrew Cagney <cagney@b1.cygnus.com>
1829 * interp.c (sim_store_register, sim_fetch_register): Pass in
1830 length parameter. Return -1.
1832 Tue Feb 10 11:57:40 1998 Ian Carmichael <iancarm@cygnus.com>
1834 * interp.c: Added hardware init hook, fixed warnings.
1836 Sat Feb 7 17:16:20 1998 Andrew Cagney <cagney@b1.cygnus.com>
1838 * Makefile.in (itable.h itable.c): Depend on SIM_@sim_gen@_ALL.
1840 Tue Feb 3 11:36:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
1842 * interp.c (ifetch16): New function.
1844 * sim-main.h (IMEM32): Rename IMEM.
1845 (IMEM16_IMMED): Define.
1847 (DELAY_SLOT): Update.
1849 * m16run.c (sim_engine_run): New file.
1851 * m16.igen: All instructions except LB.
1852 (LB): Call do_load_byte.
1853 * mips.igen (do_load_byte): New function.
1854 (LB): Call do_load_byte.
1856 * mips.igen: Move spec for insn bit size and high bit from here.
1857 * Makefile.in (tmp-igen, tmp-m16): To here.
1859 * m16.dc: New file, decode mips16 instructions.
1861 * Makefile.in (SIM_NO_ALL): Define.
1862 (tmp-m16): Generate both 16 bit and 32 bit simulator engines.
1864 Tue Feb 3 11:28:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
1866 * configure.in (mips_fpu_bitsize): For tx39, restrict floating
1867 point unit to 32 bit registers.
1868 * configure: Re-generate.
1870 Sun Feb 1 15:47:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
1872 * configure.in (sim_use_gen): Make IGEN the default simulator
1873 generator for generic 32 and 64 bit mips targets.
1874 * configure: Re-generate.
1876 Sun Feb 1 16:52:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
1878 * sim-main.h (SizeFGR): Determine from floating-point and not gpr
1881 * interp.c (sim_fetch_register, sim_store_register): Read/write
1882 FGR from correct location.
1883 (sim_open): Set size of FGR's according to
1884 WITH_TARGET_FLOATING_POINT_BITSIZE.
1886 * sim-main.h (FGR): Store floating point registers in a separate
1889 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1891 * configure: Regenerated to track ../common/aclocal.m4 changes.
1893 Tue Feb 3 00:10:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
1895 * interp.c (ColdReset): Call PENDING_INVALIDATE.
1897 * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Call PENDING_TICK.
1899 * interp.c (pending_tick): New function. Deliver pending writes.
1901 * sim-main.h (PENDING_FILL, PENDING_TICK, PENDING_SCHED,
1902 PENDING_BIT, PENDING_INVALIDATE): Re-write pipeline code so that
1903 it can handle mixed sized quantites and single bits.
1905 Mon Feb 2 17:43:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
1907 * interp.c (oengine.h): Do not include when building with IGEN.
1908 (sim_open): Replace GPRLEN by WITH_TARGET_WORD_BITSIZE.
1909 (sim_info): Ditto for PROCESSOR_64BIT.
1910 (sim_monitor): Replace ut_reg with unsigned_word.
1911 (*): Ditto for t_reg.
1912 (LOADDRMASK): Define.
1913 (sim_open): Remove defunct check that host FP is IEEE compliant,
1914 using software to emulate floating point.
1915 (value_fpr, ...): Always compile, was conditional on HASFPU.
1917 Sun Feb 1 11:15:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1919 * sim-main.h (sim_state): Make the cpu array MAX_NR_PROCESSORS in
1922 * interp.c (SD, CPU): Define.
1923 (mips_option_handler): Set flags in each CPU.
1924 (interrupt_event): Assume CPU 0 is the one being iterrupted.
1925 (sim_close): Do not clear STATE, deleted anyway.
1926 (sim_write, sim_read): Assume CPU zero's vm should be used for
1928 (sim_create_inferior): Set the PC for all processors.
1929 (sim_monitor, store_word, load_word, mips16_entry): Add cpu
1931 (mips16_entry): Pass correct nr of args to store_word, load_word.
1932 (ColdReset): Cold reset all cpu's.
1933 (signal_exception): Pass cpu to sim_monitor & mips16_entry.
1934 (sim_monitor, load_memory, store_memory, signal_exception): Use
1935 `CPU' instead of STATE_CPU.
1938 * sim-main.h: Replace uses of STATE_CPU with CPU. Replace sd with
1941 * sim-main.h (signal_exception): Add sim_cpu arg.
1942 (SignalException*): Pass both SD and CPU to signal_exception.
1943 * interp.c (signal_exception): Update.
1945 * sim-main.h (value_fpr, store_fpr, dotrace, ifetch32), interp.c:
1947 (sync_operation, prefetch, cache_op, store_memory, load_memory,
1948 address_translation): Ditto
1949 (decode_coproc, cop_lw, cop_ld, cop_sw, cop_sd): Ditto.
1951 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1953 * configure: Regenerated to track ../common/aclocal.m4 changes.
1955 Sat Jan 31 14:49:24 1998 Andrew Cagney <cagney@b1.cygnus.com>
1957 * interp.c (sim_engine_run): Add `nr_cpus' argument.
1959 * mips.igen (model): Map processor names onto BFD name.
1961 * sim-main.h (CPU_CIA): Delete.
1962 (SET_CIA, GET_CIA): Define
1964 Wed Jan 21 16:16:27 1998 Andrew Cagney <cagney@b1.cygnus.com>
1966 * sim-main.h (GPR_SET): Define, used by igen when zeroing a
1969 * configure.in (default_endian): Configure a big-endian simulator
1971 * configure: Re-generate.
1973 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1975 * configure: Regenerated to track ../common/aclocal.m4 changes.
1977 Mon Jan 5 20:38:54 1998 Mark Alexander <marka@cygnus.com>
1979 * interp.c (sim_monitor): Handle Densan monitor outbyte
1980 and inbyte functions.
1982 1997-12-29 Felix Lee <flee@cygnus.com>
1984 * interp.c (sim_engine_run): msvc cpp barfs on #if (a==b!=c).
1986 Wed Dec 17 14:48:20 1997 Jeffrey A Law (law@cygnus.com)
1988 * Makefile.in (tmp-igen): Arrange for $zero to always be
1989 reset to zero after every instruction.
1991 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1993 * configure: Regenerated to track ../common/aclocal.m4 changes.
1996 Wed Dec 10 17:10:45 1997 Jeffrey A Law (law@cygnus.com)
1998 * mips.igen (MSUB): Fix to work like MADD.
1999 * gencode.c (MSUB): Similarly.
2001 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
2003 * configure: Regenerated to track ../common/aclocal.m4 changes.
2005 Wed Nov 26 11:00:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
2007 * mips.igen (LWC1): Correct assembler - lwc1 not swc1.
2009 Sun Nov 23 01:45:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
2011 * sim-main.h (sim-fpu.h): Include.
2013 * interp.c (convert, SquareRoot, Recip, Divide, Multiply, Sub,
2014 Add, Negate, AbsoluteValue, Equal, Less, Infinity, NaN): Rewrite
2015 using host independant sim_fpu module.
2017 Thu Nov 20 19:56:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
2019 * interp.c (signal_exception): Report internal errors with SIGABRT
2022 * sim-main.h (C0_CONFIG): New register.
2023 (signal.h): No longer include.
2025 * interp.c (decode_coproc): Allow access C0_CONFIG to register.
2027 Tue Nov 18 15:33:48 1997 Doug Evans <devans@canuck.cygnus.com>
2029 * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
2031 Fri Nov 14 11:56:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
2033 * mips.igen: Tag vr5000 instructions.
2034 (ANDI): Was missing mipsIV model, fix assembler syntax.
2035 (do_c_cond_fmt): New function.
2036 (C.cond.fmt): Handle mips I-III which do not support CC field
2038 (bc1): Handle mips IV which do not have a delaed FCC separatly.
2039 (SDR): Mask paddr when BigEndianMem, not the converse as specified
2041 (DMULT, DMULTU): Force use of hosts 64bit multiplication. Handle
2042 vr5000 which saves LO in a GPR separatly.
2044 * configure.in (enable-sim-igen): For vr5000, select vr5000
2045 specific instructions.
2046 * configure: Re-generate.
2048 Wed Nov 12 14:42:52 1997 Andrew Cagney <cagney@b1.cygnus.com>
2050 * Makefile.in (SIM_OBJS): Add sim-fpu module.
2052 * interp.c (store_fpr), sim-main.h: Add separate fmt_uninterpreted_32 and
2053 fmt_uninterpreted_64 bit cases to switch. Convert to
2056 * sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Define,
2058 * mips.igen (SWR): Mask paddr when BigEndianMem, not the converse
2059 as specified in IV3.2 spec.
2060 (MTC1, DMTC1): Call StoreFPR to store the GPR in the FPR.
2062 Tue Nov 11 12:38:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
2064 * mips.igen: Delay slot branches add OFFSET to NIA not CIA.
2065 (MFC0, MTC0, SWC1, LWC1, SDC1, LDC1): Implement.
2066 (MTC1, MFC1, DMTC1, DMFC1, CFC1, CTC1): Implement separate non
2067 PENDING_FILL versions of instructions. Simplify.
2069 (MULT, MULTU): Implement separate RD==0 and RD!=0 versions of
2071 (BEQZ, ..., SLT, SLTI, TLT, TLE, TLI, ...): Explicitly cast GPR to
2073 (MTHI, MFHI): Disable code checking HI-LO.
2075 * sim-main.h (dotrace,tracefh), interp.c: Make dotrace & tracefh
2077 (NULLIFY_NEXT_INSTRUCTION): Call dotrace.
2079 Thu Nov 6 16:36:35 1997 Andrew Cagney <cagney@b1.cygnus.com>
2081 * gencode.c (build_mips16_operands): Replace IPC with cia.
2083 * interp.c (sim_monitor, signal_exception, cache_op, store_fpr,
2084 value_fpr, cop_ld, cop_lw, cop_sw, cop_sd, decode_coproc): Replace
2086 (UndefinedResult): Replace function with macro/function
2088 (sim_engine_run): Don't save PC in IPC.
2090 * sim-main.h (IPC): Delete.
2093 * interp.c (signal_exception, store_word, load_word,
2094 address_translation, load_memory, store_memory, cache_op,
2095 prefetch, sync_operation, ifetch, value_fpr, store_fpr, convert,
2096 cop_lw, cop_ld, cop_sw, cop_sd, decode_coproc, sim_monitor): Add
2097 current instruction address - cia - argument.
2098 (sim_read, sim_write): Call address_translation directly.
2099 (sim_engine_run): Rename variable vaddr to cia.
2100 (signal_exception): Pass cia to sim_monitor
2102 * sim-main.h (SignalException, LoadWord, StoreWord, CacheOp,
2103 Prefetch, SyncOperation, ValueFPR, StoreFPR, Convert, COP_LW,
2104 COP_LD, COP_SW, COP_SD, DecodeCoproc): Update.
2106 * sim-main.h (SignalExceptionSimulatorFault): Delete definition.
2107 * interp.c (sim_open): Replace SignalExceptionSimulatorFault with
2110 * interp.c (signal_exception): Pass restart address to
2113 * Makefile.in (semantics.o, engine.o, support.o, itable.o,
2114 idecode.o): Add dependency.
2116 * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESUME_HOOK):
2118 (DELAY_SLOT): Update NIA not PC with branch address.
2119 (NULLIFY_NEXT_INSTRUCTION): Set NIA to instruction after next.
2121 * mips.igen: Use CIA not PC in branch calculations.
2122 (illegal): Call SignalException.
2123 (BEQ, ADDIU): Fix assembler.
2125 Wed Nov 5 12:19:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
2127 * m16.igen (JALX): Was missing.
2129 * configure.in (enable-sim-igen): New configuration option.
2130 * configure: Re-generate.
2132 * sim-main.h (MAX_INSNS, INSN_NAME): Define.
2134 * interp.c (load_memory, store_memory): Delete parameter RAW.
2135 (sim_read, sim_write): Use sim_core_{read,write}_buffer directly
2136 bypassing {load,store}_memory.
2138 * sim-main.h (ByteSwapMem): Delete definition.
2140 * Makefile.in (SIM_OBJS): Add sim-memopt module.
2142 * interp.c (sim_do_command, sim_commands): Delete mips specific
2143 commands. Handled by module sim-options.
2145 * sim-main.h (SIM_HAVE_FLATMEM): Undefine, use sim-core.o module.
2146 (WITH_MODULO_MEMORY): Define.
2148 * interp.c (sim_info): Delete code printing memory size.
2150 * interp.c (mips_size): Nee sim_size, delete function.
2152 (monitor, monitor_base, monitor_size): Delete global variables.
2153 (sim_open, sim_close): Delete code creating monitor and other
2154 memory regions. Use sim-memopts module, via sim_do_commandf, to
2155 manage memory regions.
2156 (load_memory, store_memory): Use sim-core for memory model.
2158 * interp.c (address_translation): Delete all memory map code
2159 except line forcing 32 bit addresses.
2161 Wed Nov 5 11:21:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
2163 * sim-main.h (WITH_TRACE): Delete definition. Enables common
2166 * interp.c (logfh, logfile): Delete globals.
2167 (sim_open, sim_close): Delete code opening & closing log file.
2168 (mips_option_handler): Delete -l and -n options.
2169 (OPTION mips_options): Ditto.
2171 * interp.c (OPTION mips_options): Rename option trace to dinero.
2172 (mips_option_handler): Update.
2174 Wed Nov 5 09:35:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
2176 * interp.c (fetch_str): New function.
2177 (sim_monitor): Rewrite using sim_read & sim_write.
2178 (sim_open): Check magic number.
2179 (sim_open): Write monitor vectors into memory using sim_write.
2180 (MONITOR_BASE, MONITOR_SIZE, MEM_SIZE): Define.
2181 (sim_read, sim_write): Simplify - transfer data one byte at a
2183 (load_memory, store_memory): Clarify meaning of parameter RAW.
2185 * sim-main.h (isHOST): Defete definition.
2186 (isTARGET): Mark as depreciated.
2187 (address_translation): Delete parameter HOST.
2189 * interp.c (address_translation): Delete parameter HOST.
2191 Wed Oct 29 11:13:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
2195 * Makefile.in (IGEN_INCLUDE): Files included by mips.igen.
2196 (tmp-igen, tmp-m16): Depend on IGEN_INCLUDE.
2198 Tue Oct 28 11:06:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
2200 * mips.igen: Add model filter field to records.
2202 Mon Oct 27 17:53:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
2204 * Makefile.in (SIM_NO_CFLAGS): Define. Define WITH_IGEN=0.
2206 interp.c (sim_engine_run): Do not compile function sim_engine_run
2207 when WITH_IGEN == 1.
2209 * configure.in (sim_igen_flags, sim_m16_flags): Set according to
2210 target architecture.
2212 Makefile.in (tmp-igen, tmp-m16): Drop -F and -M options to
2213 igen. Replace with configuration variables sim_igen_flags /
2216 * m16.igen: New file. Copy mips16 insns here.
2217 * mips.igen: From here.
2219 Mon Oct 27 13:53:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
2221 * Makefile.in (SIM_NO_OBJ): Define, move SIM_M16_OBJ, SIM_IGEN_OBJ
2223 (tmp-igen, tmp-m16): Pass -I srcdir to igen.
2225 Sat Oct 25 16:51:40 1997 Gavin Koch <gavin@cygnus.com>
2227 * gencode.c (build_instruction): Follow sim_write's lead in using
2228 BigEndianMem instead of !ByteSwapMem.
2230 Fri Oct 24 17:41:49 1997 Andrew Cagney <cagney@b1.cygnus.com>
2232 * configure.in (sim_gen): Dependent on target, select type of
2233 generator. Always select old style generator.
2235 configure: Re-generate.
2237 Makefile.in (tmp-igen, tmp-m16, clean-m16, clean-igen): New
2239 (SIM_M16_CFLAGS, SIM_M16_ALL, SIM_M16_OBJ, BUILT_SRC_FROM_M16,
2240 SIM_IGEN_CFLAGS, SIM_IGEN_ALL, SIM_IGEN_OBJ, BUILT_SRC_FROM_IGEN,
2241 IGEN_TRACE, IGEN_INSN, IGEN_DC): Define
2242 (SIM_EXTRA_CFLAGS, SIM_EXTRA_ALL, SIM_OBJS): Add member
2243 SIM_@sim_gen@_*, set by autoconf.
2245 Wed Oct 22 12:52:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
2247 * sim-main.h (NULLIFY_NEXT_INSTRUCTION, DELAY_SLOT): Define.
2249 * interp.c (ColdReset): Remove #ifdef HASFPU, check
2250 CURRENT_FLOATING_POINT instead.
2252 * interp.c (ifetch32): New function. Fetch 32 bit instruction.
2253 (address_translation): Raise exception InstructionFetch when
2254 translation fails and isINSTRUCTION.
2256 * interp.c (sim_open, sim_write, sim_monitor, store_word,
2257 sim_engine_run): Change type of of vaddr and paddr to
2259 (address_translation, prefetch, load_memory, store_memory,
2260 cache_op): Change type of vAddr and pAddr to address_word.
2262 * gencode.c (build_instruction): Change type of vaddr and paddr to
2265 Mon Oct 20 15:29:04 1997 Andrew Cagney <cagney@b1.cygnus.com>
2267 * sim-main.h (ALU64_END, ALU32_END): Use ALU*_OVERFLOW_RESULT
2268 macro to obtain result of ALU op.
2270 Tue Oct 21 17:39:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
2272 * interp.c (sim_info): Call profile_print.
2274 Mon Oct 20 13:31:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
2276 * Makefile.in (SIM_OBJS): Add sim-profile.o module.
2278 * sim-main.h (WITH_PROFILE): Do not define, defined in
2279 common/sim-config.h. Use sim-profile module.
2280 (simPROFILE): Delete defintion.
2282 * interp.c (PROFILE): Delete definition.
2283 (mips_option_handler): Delete 'p', 'y' and 'x' profile options.
2284 (sim_close): Delete code writing profile histogram.
2285 (mips_set_profile, mips_set_profile_size, writeout16, writeout32):
2287 (sim_engine_run): Delete code profiling the PC.
2289 Mon Oct 20 13:31:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
2291 * sim-main.h (SIGNEXTEND): Force type of result to unsigned_word.
2293 * interp.c (sim_monitor): Make register pointers of type
2296 * sim-main.h: Make registers of type unsigned_word not
2299 Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
2301 * interp.c (sync_operation): Rename from SyncOperation, make
2302 global, add SD argument.
2303 (prefetch): Rename from Prefetch, make global, add SD argument.
2304 (decode_coproc): Make global.
2306 * sim-main.h (SyncOperation, DecodeCoproc, Pefetch): Define.
2308 * gencode.c (build_instruction): Generate DecodeCoproc not
2309 decode_coproc calls.
2311 * interp.c (SETFCC, GETFCC, PREVCOC1): Move to sim-main.h
2312 (SizeFGR): Move to sim-main.h
2313 (simHALTEX, simHALTIN, simTRACE, simPROFILE, simDELAYSLOT,
2314 simSIGINT, simJALDELAYSLOT): Move to sim-main.h
2315 (FP_FLAGS, FP_ENABLE, FP_CAUSE, IR, UF, OF, DZ, IO, UO): Move to
2317 (FP_FS, FP_MASK_RM, FP_SH_RM, FP_RM_NEAREST, FP_RM_TOPINF,
2318 FP_RM_TOMINF, GETRM): Move to sim-main.h.
2319 (Uncached, CachedNoncoherent, CachedCoherent, Cached,
2320 isINSTRUCTION, ..., AccessLength_BYTE, ...): Move to sim-main.h.
2321 (UserMode, BigEndianMem, ByteSwapMem, ReverseEndian,
2322 BigEndianCPU, status_KSU_mask, ...). Moved to sim-main.h
2324 * sim-main.h (ALU32_END, ALU64_END): Define. When overflow raise
2326 (sim-alu.h): Include.
2327 (NULLIFY_NIA, NULL_CIA, CPU_CIA): Define.
2328 (sim_cia): Typedef to instruction_address.
2330 Thu Oct 16 10:31:41 1997 Andrew Cagney <cagney@b1.cygnus.com>
2332 * Makefile.in (interp.o): Rename generated file engine.c to
2337 Thu Oct 16 10:31:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
2339 * gencode.c (build_instruction): Use FPR_STATE not fpr_state.
2341 Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
2343 * gencode.c (build_instruction): For "FPSQRT", output correct
2344 number of arguments to Recip.
2346 Tue Oct 14 17:38:18 1997 Andrew Cagney <cagney@b1.cygnus.com>
2348 * Makefile.in (interp.o): Depends on sim-main.h
2350 * interp.c (mips16_entry, ColdReset,dotrace): Add SD argument. Use GPR not registers.
2352 * sim-main.h (sim_cpu): Add registers, register_widths, fpr_state,
2353 ipc, dspc, pending_*, hiaccess, loaccess, state, dsstate fields.
2354 (REGISTERS, REGISTER_WIDTHS, FPR_STATE, IPC, DSPC, PENDING_*,
2355 STATE, DSSTATE): Define
2356 (GPR, FGRIDX, ..): Define.
2358 * interp.c (registers, register_widths, fpr_state, ipc, dspc,
2359 pending_*, hiaccess, loaccess, state, dsstate): Delete globals.
2360 (GPR, FGRIDX, ...): Delete macros.
2362 * interp.c: Update names to match defines from sim-main.h
2364 Tue Oct 14 15:11:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
2366 * interp.c (sim_monitor): Add SD argument.
2367 (sim_warning): Delete. Replace calls with calls to
2369 (sim_error): Delete. Replace calls with sim_io_error.
2370 (open_trace, writeout32, writeout16, getnum): Add SD argument.
2371 (mips_set_profile): Rename from sim_set_profile. Add SD argument.
2372 (mips_set_profile_size): Rename from sim_set_profile_size. Add SD
2374 (mips_size): Rename from sim_size. Add SD argument.
2376 * interp.c (simulator): Delete global variable.
2377 (callback): Delete global variable.
2378 (mips_option_handler, sim_open, sim_write, sim_read,
2379 sim_store_register, sim_fetch_register, sim_info, sim_do_command,
2380 sim_size,sim_monitor): Use sim_io_* not callback->*.
2381 (sim_open): ZALLOC simulator struct.
2382 (PROFILE): Do not define.
2384 Tue Oct 14 13:35:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
2386 * interp.c (sim_open), support.h: Replace CHECKSIM macro found in
2387 support.h with corresponding code.
2389 * sim-main.h (word64, uword64), support.h: Move definition to
2391 (WORD64LO, WORD64HI, SET64LO, SET64HI, WORD64, UWORD64): Ditto.
2394 * Makefile.in: Update dependencies
2395 * interp.c: Do not include.
2397 Tue Oct 14 13:35:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
2399 * interp.c (address_translation, load_memory, store_memory,
2400 cache_op): Rename to from AddressTranslation et.al., make global,
2403 * sim-main.h (AddressTranslation, LoadMemory, StoreMemory,
2406 * interp.c (SignalException): Rename to signal_exception, make
2409 * interp.c (Interrupt, ...): Move definitions to sim-main.h.
2411 * sim-main.h (SignalException, SignalExceptionInterrupt,
2412 SignalExceptionInstructionFetch, SignalExceptionAddressStore,
2413 SignalExceptionAddressLoad, SignalExceptionSimulatorFault,
2414 SignalExceptionIntegerOverflow, SignalExceptionCoProcessorUnusable):
2417 * interp.c, support.h: Use.
2419 Tue Oct 14 13:19:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
2421 * interp.c (ValueFPR, StoreFPR), sim-main.h: Make global, rename
2422 to value_fpr / store_fpr. Add SD argument.
2423 (NaN, Infinity, Less, Equal, AbsoluteValue, Negate, Add, Sub,
2424 Multiply, Divide, Recip, SquareRoot, Convert): Make global.
2426 * sim-main.h (ValueFPR, StoreFPR): Define.
2428 Tue Oct 14 13:06:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
2430 * interp.c (sim_engine_run): Check consistency between configure
2431 WITH_TARGET_WORD_BITSIZE and WITH_FLOATING_POINT and gensim GPRLEN
2434 * configure.in (mips_bitsize): Configure WITH_TARGET_WORD_BITSIZE.
2435 (mips_fpu): Configure WITH_FLOATING_POINT.
2436 (mips_endian): Configure WITH_TARGET_ENDIAN.
2437 * configure: Update.
2439 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
2441 * configure: Regenerated to track ../common/aclocal.m4 changes.
2443 Mon Sep 29 14:45:00 1997 Bob Manson <manson@charmed.cygnus.com>
2445 * configure: Regenerated.
2447 Fri Sep 26 12:48:18 1997 Mark Alexander <marka@cygnus.com>
2449 * interp.c: Allow Debug, DEPC, and EPC registers to be examined in GDB.
2451 Thu Sep 25 11:15:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
2453 * gencode.c (print_igen_insn_models): Assume certain architectures
2454 include all mips* instructions.
2455 (print_igen_insn_format): Use data_size==-1 as marker for MIPS16
2458 * Makefile.in (tmp.igen): Add target. Generate igen input from
2461 * gencode.c (FEATURE_IGEN): Define.
2462 (main): Add --igen option. Generate output in igen format.
2463 (process_instructions): Format output according to igen option.
2464 (print_igen_insn_format): New function.
2465 (print_igen_insn_models): New function.
2466 (process_instructions): Only issue warnings and ignore
2467 instructions when no FEATURE_IGEN.
2469 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
2471 * interp.c (COP_SD, COP_LD): Add UNUSED to pacify GCC for some
2474 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
2476 * configure: Regenerated to track ../common/aclocal.m4 changes.
2478 Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
2480 * Makefile.in (SIM_ALIGNMENT, SIM_ENDIAN, SIM_HOSTENDIAN,
2481 SIM_RESERVED_BITS): Delete, moved to common.
2482 (SIM_EXTRA_CFLAGS): Update.
2484 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
2486 * configure.in: Configure non-strict memory alignment.
2487 * configure: Regenerated to track ../common/aclocal.m4 changes.
2489 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
2491 * configure: Regenerated to track ../common/aclocal.m4 changes.
2493 Sat Sep 20 14:07:28 1997 Gavin Koch <gavin@cygnus.com>
2495 * gencode.c (SDBBP,DERET): Added (3900) insns.
2496 (RFE): Turn on for 3900.
2497 * interp.c (DebugBreakPoint,DEPC,Debug,Debug_*): Added.
2498 (dsstate): Made global.
2499 (SUBTARGET_R3900): Added.
2500 (CANCELDELAYSLOT): New.
2501 (SignalException): Ignore SystemCall rather than ignore and
2502 terminate. Add DebugBreakPoint handling.
2503 (decode_coproc): New insns RFE, DERET; and new registers Debug
2504 and DEPC protected by SUBTARGET_R3900.
2505 (sim_engine_run): Use CANCELDELAYSLOT rather than clearing
2507 * Makefile.in,configure.in: Add mips subtarget option.
2508 * configure: Update.
2510 Fri Sep 19 09:33:27 1997 Gavin Koch <gavin@cygnus.com>
2512 * gencode.c: Add r3900 (tx39).
2515 Tue Sep 16 15:52:04 1997 Gavin Koch <gavin@cygnus.com>
2517 * gencode.c (build_instruction): Don't need to subtract 4 for
2520 Tue Sep 16 11:32:28 1997 Gavin Koch <gavin@cygnus.com>
2522 * interp.c: Correct some HASFPU problems.
2524 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
2526 * configure: Regenerated to track ../common/aclocal.m4 changes.
2528 Fri Sep 12 12:01:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
2530 * interp.c (mips_options): Fix samples option short form, should
2533 Thu Sep 11 09:35:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
2535 * interp.c (sim_info): Enable info code. Was just returning.
2537 Tue Sep 9 17:30:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
2539 * interp.c (decode_coproc): Clarify warning about unsuported MTC0,
2542 Tue Sep 9 16:28:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
2544 * gencode.c (build_instruction): Use SIGNED64 for 64 bit
2546 (build_instruction): Ditto for LL.
2548 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
2550 * configure: Regenerated to track ../common/aclocal.m4 changes.
2552 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
2554 * configure: Regenerated to track ../common/aclocal.m4 changes.
2557 Wed Aug 27 14:12:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
2559 * interp.c (sim_open): Add call to sim_analyze_program, update
2562 Tue Aug 26 10:40:07 1997 Andrew Cagney <cagney@b1.cygnus.com>
2564 * interp.c (sim_kill): Delete.
2565 (sim_create_inferior): Add ABFD argument. Set PC from same.
2566 (sim_load): Move code initializing trap handlers from here.
2567 (sim_open): To here.
2568 (sim_load): Delete, use sim-hload.c.
2570 * Makefile.in (SIM_OBJS): Add sim-hload.o module.
2572 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
2574 * configure: Regenerated to track ../common/aclocal.m4 changes.
2577 Mon Aug 25 15:59:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
2579 * interp.c (sim_open): Add ABFD argument.
2580 (sim_load): Move call to sim_config from here.
2581 (sim_open): To here. Check return status.
2583 Fri Jul 25 15:00:45 1997 Gavin Koch <gavin@cygnus.com>
2585 * gencode.c (build_instruction): Two arg MADD should
2586 not assign result to $0.
2588 Thu Jun 26 12:13:17 1997 Angela Marie Thomas (angela@cygnus.com)
2590 * sim/mips/configure: Change default_sim_endian to 0 (bi-endian)
2591 * sim/mips/configure.in: Regenerate.
2593 Wed Jul 9 10:29:21 1997 Andrew Cagney <cagney@critters.cygnus.com>
2595 * interp.c (SUB_REG_UW, SUB_REG_SW, SUB_REG_*): Use more explicit
2596 signed8, unsigned8 et.al. types.
2598 * interp.c (SUB_REG_FETCH): Handle both little and big endian
2599 hosts when selecting subreg.
2601 Wed Jul 2 11:54:10 1997 Jeffrey A Law (law@cygnus.com)
2603 * interp.c (sim_engine_run): Reset the ZERO register to zero
2604 regardless of FEATURE_WARN_ZERO.
2605 * gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
2607 Wed Jun 4 10:43:14 1997 Andrew Cagney <cagney@b1.cygnus.com>
2609 * interp.c (decode_coproc): Implement MTC0 N, CAUSE.
2610 (SignalException): For BreakPoints ignore any mode bits and just
2612 (SignalException): Always set the CAUSE register.
2614 Tue Jun 3 05:00:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
2616 * interp.c (SignalException): Clear the simDELAYSLOT flag when an
2617 exception has been taken.
2619 * interp.c: Implement the ERET and mt/f sr instructions.
2621 Sat May 31 00:44:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
2623 * interp.c (SignalException): Don't bother restarting an
2626 Fri May 30 23:41:48 1997 Andrew Cagney <cagney@b1.cygnus.com>
2628 * interp.c (SignalException): Really take an interrupt.
2629 (interrupt_event): Only deliver interrupts when enabled.
2631 Tue May 27 20:08:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
2633 * interp.c (sim_info): Only print info when verbose.
2634 (sim_info) Use sim_io_printf for output.
2636 Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
2638 * interp.c (CoProcPresent): Add UNUSED attribute - not used by all
2641 Tue May 27 14:22:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
2643 * interp.c (sim_do_command): Check for common commands if a
2644 simulator specific command fails.
2646 Thu May 22 09:32:03 1997 Gavin Koch <gavin@cygnus.com>
2648 * interp.c (sim_engine_run): ifdef out uses of simSTOP, simSTEP
2649 and simBE when DEBUG is defined.
2651 Wed May 21 09:08:10 1997 Andrew Cagney <cagney@b1.cygnus.com>
2653 * interp.c (interrupt_event): New function. Pass exception event
2654 onto exception handler.
2656 * configure.in: Check for stdlib.h.
2657 * configure: Regenerate.
2659 * gencode.c (build_instruction): Add UNUSED attribute to tempS
2660 variable declaration.
2661 (build_instruction): Initialize memval1.
2662 (build_instruction): Add UNUSED attribute to byte, bigend,
2664 (build_operands): Ditto.
2666 * interp.c: Fix GCC warnings.
2667 (sim_get_quit_code): Delete.
2669 * configure.in: Add INLINE, ENDIAN, HOSTENDIAN and WARNINGS.
2670 * Makefile.in: Ditto.
2671 * configure: Re-generate.
2673 * Makefile.in (SIM_OBJS): Add sim-watch.o module.
2675 Tue May 20 15:08:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
2677 * interp.c (mips_option_handler): New function parse argumes using
2679 (myname): Replace with STATE_MY_NAME.
2680 (sim_open): Delete check for host endianness - performed by
2682 (simHOSTBE, simBE): Delete, replaced by sim-endian flags.
2683 (sim_open): Move much of the initialization from here.
2684 (sim_load): To here. After the image has been loaded and
2686 (sim_open): Move ColdReset from here.
2687 (sim_create_inferior): To here.
2688 (sim_open): Make FP check less dependant on host endianness.
2690 * Makefile.in (SIM_RUN_OBJS): Set to nrun.o - use new version or
2692 * interp.c (sim_set_callbacks): Delete.
2694 * interp.c (membank, membank_base, membank_size): Replace with
2695 STATE_MEMORY, STATE_MEM_SIZE, STATE_MEM_BASE.
2696 (sim_open): Remove call to callback->init. gdb/run do this.
2700 * sim-main.h (SIM_HAVE_FLATMEM): Define.
2702 * interp.c (big_endian_p): Delete, replaced by
2703 current_target_byte_order.
2705 Tue May 20 13:55:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
2707 * interp.c (host_read_long, host_read_word, host_swap_word,
2708 host_swap_long): Delete. Using common sim-endian.
2709 (sim_fetch_register, sim_store_register): Use H2T.
2710 (pipeline_ticks): Delete. Handled by sim-events.
2712 (sim_engine_run): Update.
2714 Tue May 20 13:42:03 1997 Andrew Cagney <cagney@b1.cygnus.com>
2716 * interp.c (sim_stop_reason): Move code determining simEXCEPTION
2718 (SignalException): To here. Signal using sim_engine_halt.
2719 (sim_stop_reason): Delete, moved to common.
2721 Tue May 20 10:19:48 1997 Andrew Cagney <cagney@b2.cygnus.com>
2723 * interp.c (sim_open): Add callback argument.
2724 (sim_set_callbacks): Delete SIM_DESC argument.
2727 Mon May 19 18:20:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
2729 * Makefile.in (SIM_OBJS): Add common modules.
2731 * interp.c (sim_set_callbacks): Also set SD callback.
2732 (set_endianness, xfer_*, swap_*): Delete.
2733 (host_read_word, host_read_long, host_swap_word, host_swap_long):
2734 Change to functions using sim-endian macros.
2735 (control_c, sim_stop): Delete, use common version.
2736 (simulate): Convert into.
2737 (sim_engine_run): This function.
2738 (sim_resume): Delete.
2740 * interp.c (simulation): New variable - the simulator object.
2741 (sim_kind): Delete global - merged into simulation.
2742 (sim_load): Cleanup. Move PC assignment from here.
2743 (sim_create_inferior): To here.
2745 * sim-main.h: New file.
2746 * interp.c (sim-main.h): Include.
2748 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
2750 * configure: Regenerated to track ../common/aclocal.m4 changes.
2752 Wed Apr 23 17:32:19 1997 Doug Evans <dje@canuck.cygnus.com>
2754 * tconfig.in (SIM_HAVE_BIENDIAN): Define.
2756 Mon Apr 21 17:16:13 1997 Gavin Koch <gavin@cygnus.com>
2758 * gencode.c (build_instruction): DIV instructions: check
2759 for division by zero and integer overflow before using
2760 host's division operation.
2762 Thu Apr 17 03:18:14 1997 Doug Evans <dje@canuck.cygnus.com>
2764 * Makefile.in (SIM_OBJS): Add sim-load.o.
2765 * interp.c: #include bfd.h.
2766 (target_byte_order): Delete.
2767 (sim_kind, myname, big_endian_p): New static locals.
2768 (sim_open): Set sim_kind, myname. Move call to set_endianness to
2769 after argument parsing. Recognize -E arg, set endianness accordingly.
2770 (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to
2771 load file into simulator. Set PC from bfd.
2772 (sim_create_inferior): Return SIM_RC. Delete arg start_address.
2773 (set_endianness): Use big_endian_p instead of target_byte_order.
2775 Wed Apr 16 17:55:37 1997 Andrew Cagney <cagney@b1.cygnus.com>
2777 * interp.c (sim_size): Delete prototype - conflicts with
2778 definition in remote-sim.h. Correct definition.
2780 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
2782 * configure: Regenerated to track ../common/aclocal.m4 changes.
2785 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
2787 * interp.c (sim_open): New arg `kind'.
2789 * configure: Regenerated to track ../common/aclocal.m4 changes.
2791 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
2793 * configure: Regenerated to track ../common/aclocal.m4 changes.
2795 Tue Mar 25 11:38:22 1997 Doug Evans <dje@canuck.cygnus.com>
2797 * interp.c (sim_open): Set optind to 0 before calling getopt.
2799 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
2801 * configure: Regenerated to track ../common/aclocal.m4 changes.
2803 Mon Mar 17 10:52:59 1997 Gavin Koch <gavin@cetus.cygnus.com>
2805 * interp.c : Replace uses of pr_addr with pr_uword64
2806 where the bit length is always 64 independent of SIM_ADDR.
2807 (pr_uword64) : added.
2809 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
2811 * configure: Re-generate.
2813 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
2815 * configure: Regenerate to track ../common/aclocal.m4 changes.
2817 Thu Mar 13 12:51:36 1997 Doug Evans <dje@canuck.cygnus.com>
2819 * interp.c (sim_open): New SIM_DESC result. Argument is now
2821 (other sim_*): New SIM_DESC argument.
2823 Mon Feb 24 22:47:14 1997 Dawn Perchik <dawn@cygnus.com>
2825 * interp.c: Fix printing of addresses for non-64-bit targets.
2826 (pr_addr): Add function to print address based on size.
2828 Wed Feb 19 14:42:09 1997 Mark Alexander <marka@cygnus.com>
2830 * interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
2832 Thu Feb 13 14:08:30 1997 Ian Lance Taylor <ian@cygnus.com>
2834 * gencode.c (build_mips16_operands): Correct computation of base
2835 address for extended PC relative instruction.
2837 Thu Feb 6 17:16:15 1997 Ian Lance Taylor <ian@cygnus.com>
2839 * interp.c (mips16_entry): Add support for floating point cases.
2840 (SignalException): Pass floating point cases to mips16_entry.
2841 (ValueFPR): Don't restrict fmt_single and fmt_word to even
2843 (StoreFPR): Likewise. Also, don't clobber fpr + 1 for fmt_single
2845 (COP_LW): Pass fmt_word rather than fmt_uninterpreted to StoreFPR,
2846 and then set the state to fmt_uninterpreted.
2847 (COP_SW): Temporarily set the state to fmt_word while calling
2850 Tue Feb 4 16:48:25 1997 Ian Lance Taylor <ian@cygnus.com>
2852 * gencode.c (build_instruction): The high order may be set in the
2853 comparison flags at any ISA level, not just ISA 4.
2855 Tue Feb 4 13:33:30 1997 Doug Evans <dje@canuck.cygnus.com>
2857 * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
2858 COMMON_{PRE,POST}_CONFIG_FRAG instead.
2859 * configure.in: sinclude ../common/aclocal.m4.
2860 * configure: Regenerated.
2862 Fri Jan 31 11:11:45 1997 Ian Lance Taylor <ian@cygnus.com>
2864 * configure: Rebuild after change to aclocal.m4.
2866 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
2868 * configure configure.in Makefile.in: Update to new configure
2869 scheme which is more compatible with WinGDB builds.
2870 * configure.in: Improve comment on how to run autoconf.
2871 * configure: Re-run autoconf to get new ../common/aclocal.m4.
2872 * Makefile.in: Use autoconf substitution to install common
2875 Wed Jan 8 12:39:03 1997 Jim Wilson <wilson@cygnus.com>
2877 * gencode.c (build_instruction): Use BigEndianCPU instead of
2880 Thu Jan 02 22:23:04 1997 Mark Alexander <marka@cygnus.com>
2882 * interp.c (sim_monitor): Make output to stdout visible in
2883 wingdb's I/O log window.
2885 Tue Dec 31 07:04:00 1996 Mark Alexander <marka@cygnus.com>
2887 * support.h: Undo previous change to SIGTRAP
2890 Mon Dec 30 17:36:06 1996 Ian Lance Taylor <ian@cygnus.com>
2892 * interp.c (store_word, load_word): New static functions.
2893 (mips16_entry): New static function.
2894 (SignalException): Look for mips16 entry and exit instructions.
2895 (simulate): Use the correct index when setting fpr_state after
2896 doing a pending move.
2898 Sun Dec 29 09:37:18 1996 Mark Alexander <marka@cygnus.com>
2900 * interp.c: Fix byte-swapping code throughout to work on
2901 both little- and big-endian hosts.
2903 Sun Dec 29 09:18:32 1996 Mark Alexander <marka@cygnus.com>
2905 * support.h: Make definitions of SIGTRAP and SIGQUIT consistent
2906 with gdb/config/i386/xm-windows.h.
2908 Fri Dec 27 22:48:51 1996 Mark Alexander <marka@cygnus.com>
2910 * gencode.c (build_instruction): Work around MSVC++ code gen bug
2911 that messes up arithmetic shifts.
2913 Fri Dec 20 11:04:05 1996 Stu Grossman (grossman@critters.cygnus.com)
2915 * support.h: Use _WIN32 instead of __WIN32__. Also add defs for
2916 SIGTRAP and SIGQUIT for _WIN32.
2918 Thu Dec 19 14:07:27 1996 Ian Lance Taylor <ian@cygnus.com>
2920 * gencode.c (build_instruction) [MUL]: Cast operands to word64, to
2921 force a 64 bit multiplication.
2922 (build_instruction) [OR]: In mips16 mode, don't do anything if the
2923 destination register is 0, since that is the default mips16 nop
2926 Mon Dec 16 14:59:38 1996 Ian Lance Taylor <ian@cygnus.com>
2928 * gencode.c (MIPS16_DECODE): SWRASP is I8, not RI.
2929 (build_endian_shift): Don't check proc64.
2930 (build_instruction): Always set memval to uword64. Cast op2 to
2931 uword64 when shifting it left in memory instructions. Always use
2932 the same code for stores--don't special case proc64.
2934 * gencode.c (build_mips16_operands): Fix base PC value for PC
2936 (build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
2938 * interp.c (simJALDELAYSLOT): Define.
2939 (JALDELAYSLOT): Define.
2940 (INDELAYSLOT, INJALDELAYSLOT): Define.
2941 (simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
2943 Tue Dec 24 22:11:20 1996 Angela Marie Thomas (angela@cygnus.com)
2945 * interp.c (sim_open): add flush_cache as a PMON routine
2946 (sim_monitor): handle flush_cache by ignoring it
2948 Wed Dec 11 13:53:51 1996 Jim Wilson <wilson@cygnus.com>
2950 * gencode.c (build_instruction): Use !ByteSwapMem instead of
2952 * interp.c (CONFIG, config_EP_{mask,shift,D,DxxDxx, config_BE): Delete.
2953 (BigEndianMem): Rename to ByteSwapMem and change sense.
2954 (BigEndianCPU, sim_write, LoadMemory, StoreMemory): Change
2955 BigEndianMem references to !ByteSwapMem.
2956 (set_endianness): New function, with prototype.
2957 (sim_open): Call set_endianness.
2958 (sim_info): Use simBE instead of BigEndianMem.
2959 (xfer_direct_word, xfer_direct_long, swap_direct_word,
2960 swap_direct_long, xfer_big_word, xfer_big_long, xfer_little_word,
2961 xfer_little_long, swap_word, swap_long): Delete unnecessary MSC_VER
2962 ifdefs, keeping the prototype declaration.
2963 (swap_word): Rewrite correctly.
2964 (ColdReset): Delete references to CONFIG. Delete endianness related
2965 code; moved to set_endianness.
2967 Tue Dec 10 11:32:04 1996 Jim Wilson <wilson@cygnus.com>
2969 * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits.
2970 * interp.c (CHECKHILO): Define away.
2971 (simSIGINT): New macro.
2972 (membank_size): Increase from 1MB to 2MB.
2973 (control_c): New function.
2974 (sim_resume): Rename parameter signal to signal_number. Add local
2975 variable prev. Call signal before and after simulate.
2976 (sim_stop_reason): Add simSIGINT support.
2977 (sim_warning, sim_error, dotrace, SignalException): Define as stdarg
2979 (sim_warning): Delete call to SignalException. Do call printf_filtered
2981 (AddressTranslation): Add #ifdef DEBUG around debugging message and
2982 a call to sim_warning.
2984 Wed Nov 27 11:53:50 1996 Ian Lance Taylor <ian@cygnus.com>
2986 * gencode.c (process_instructions): If ! proc64, skip DOUBLEWORD
2987 16 bit instructions.
2989 Tue Nov 26 11:53:12 1996 Ian Lance Taylor <ian@cygnus.com>
2991 Add support for mips16 (16 bit MIPS implementation):
2992 * gencode.c (inst_type): Add mips16 instruction encoding types.
2993 (GETDATASIZEINSN): Define.
2994 (MIPS_DECODE): Add REG flag to dsllv, dsrav, and dsrlv. Add
2995 jalx. Add LEFT flag to mfhi and mflo. Add RIGHT flag to mthi and
2997 (MIPS16_DECODE): New table, for mips16 instructions.
2998 (bitmap_val): New static function.
2999 (struct mips16_op): Define.
3000 (mips16_op_table): New table, for mips16 operands.
3001 (build_mips16_operands): New static function.
3002 (process_instructions): If PC is odd, decode a mips16
3003 instruction. Break out instruction handling into new
3004 build_instruction function.
3005 (build_instruction): New static function, broken out of
3006 process_instructions. Check modifiers rather than flags for SHIFT
3007 bit count and m[ft]{hi,lo} direction.
3008 (usage): Pass program name to fprintf.
3009 (main): Remove unused variable this_option_optind. Change
3010 ``*loptarg++'' to ``loptarg++''.
3011 (my_strtoul): Parenthesize && within ||.
3012 * interp.c (LoadMemory): Accept a halfword pAddr if vAddr is odd.
3013 (simulate): If PC is odd, fetch a 16 bit instruction, and
3014 increment PC by 2 rather than 4.
3015 * configure.in: Add case for mips16*-*-*.
3016 * configure: Rebuild.
3018 Fri Nov 22 08:49:36 1996 Mark Alexander <marka@cygnus.com>
3020 * interp.c: Allow -t to enable tracing in standalone simulator.
3021 Fix garbage output in trace file and error messages.
3023 Wed Nov 20 01:54:37 1996 Doug Evans <dje@canuck.cygnus.com>
3025 * Makefile.in: Delete stuff moved to ../common/Make-common.in.
3026 (SIM_{OBJS,EXTRA_CFLAGS,EXTRA_CLEAN}): Define.
3027 * configure.in: Simplify using macros in ../common/aclocal.m4.
3028 * configure: Regenerated.
3029 * tconfig.in: New file.
3031 Tue Nov 12 13:34:00 1996 Dawn Perchik <dawn@cygnus.com>
3033 * interp.c: Fix bugs in 64-bit port.
3034 Use ansi function declarations for msvc compiler.
3035 Initialize and test file pointer in trace code.
3036 Prevent duplicate definition of LAST_EMED_REGNUM.
3038 Tue Oct 15 11:07:06 1996 Mark Alexander <marka@cygnus.com>
3040 * interp.c (xfer_big_long): Prevent unwanted sign extension.
3042 Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>
3044 * interp.c (SignalException): Check for explicit terminating
3046 * gencode.c: Pass instruction value through SignalException()
3047 calls for Trap, Breakpoint and Syscall.
3049 Thu Sep 26 11:35:17 1996 James G. Smith <jsmith@cygnus.co.uk>
3051 * interp.c (SquareRoot): Add HAVE_SQRT check to ensure sqrt() is
3052 only used on those hosts that provide it.
3053 * configure.in: Add sqrt() to list of functions to be checked for.
3054 * config.in: Re-generated.
3055 * configure: Re-generated.
3057 Fri Sep 20 15:47:12 1996 Ian Lance Taylor <ian@cygnus.com>
3059 * gencode.c (process_instructions): Call build_endian_shift when
3060 expanding STORE RIGHT, to fix swr.
3061 * support.h (SIGNEXTEND): If the sign bit is not set, explicitly
3062 clear the high bits.
3063 * interp.c (Convert): Fix fmt_single to fmt_long to not truncate.
3064 Fix float to int conversions to produce signed values.
3066 Thu Sep 19 15:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
3068 * gencode.c (MIPS_DECODE): Set UNSIGNED for multu instruction.
3069 (process_instructions): Correct handling of nor instruction.
3070 Correct shift count for 32 bit shift instructions. Correct sign
3071 extension for arithmetic shifts to not shift the number of bits in
3072 the type. Fix 64 bit multiply high word calculation. Fix 32 bit
3073 unsigned multiply. Fix ldxc1 and friends to use coprocessor 1.
3075 * interp.c (CHECKHILO): Don't set HIACCESS, LOACCESS, or HLPC.
3076 It's OK to have a mult follow a mult. What's not OK is to have a
3077 mult follow an mfhi.
3078 (Convert): Comment out incorrect rounding code.
3080 Mon Sep 16 11:38:16 1996 James G. Smith <jsmith@cygnus.co.uk>
3082 * interp.c (sim_monitor): Improved monitor printf
3083 simulation. Tidied up simulator warnings, and added "--log" option
3084 for directing warning message output.
3085 * gencode.c: Use sim_warning() rather than WARNING macro.
3087 Thu Aug 22 15:03:12 1996 Ian Lance Taylor <ian@cygnus.com>
3089 * Makefile.in (gencode): Depend upon gencode.o, getopt.o, and
3090 getopt1.o, rather than on gencode.c. Link objects together.
3091 Don't link against -liberty.
3092 (gencode.o, getopt.o, getopt1.o): New targets.
3093 * gencode.c: Include <ctype.h> and "ansidecl.h".
3094 (AND): Undefine after including "ansidecl.h".
3095 (ULONG_MAX): Define if not defined.
3096 (OP_*): Don't define macros; now defined in opcode/mips.h.
3097 (main): Call my_strtoul rather than strtoul.
3098 (my_strtoul): New static function.
3100 Wed Jul 17 18:12:38 1996 Stu Grossman (grossman@critters.cygnus.com)
3102 * gencode.c (process_instructions): Generate word64 and uword64
3103 instead of `long long' and `unsigned long long' data types.
3104 * interp.c: #include sysdep.h to get signals, and define default
3106 * (Convert): Work around for Visual-C++ compiler bug with type
3108 * support.h: Make things compile under Visual-C++ by using
3109 __int64 instead of `long long'. Change many refs to long long
3110 into word64/uword64 typedefs.
3112 Wed Jun 26 12:24:55 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3114 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
3115 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
3117 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
3118 (AC_PROG_INSTALL): Added.
3119 (AC_PROG_CC): Moved to before configure.host call.
3120 * configure: Rebuilt.
3122 Wed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
3124 * configure.in: Define @SIMCONF@ depending on mips target.
3125 * configure: Rebuild.
3126 * Makefile.in (run): Add @SIMCONF@ to control simulator
3128 * gencode.c: Change LOADDRMASK to 64bit memory model only.
3129 * interp.c: Remove some debugging, provide more detailed error
3130 messages, update memory accesses to use LOADDRMASK.
3132 Mon Jun 3 11:55:03 1996 Ian Lance Taylor <ian@cygnus.com>
3134 * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,
3135 AC_CHECK_LIB, and AC_CHECK_FUNCS. Change AC_OUTPUT to set
3137 * configure: Rebuild.
3138 * config.in: New file, generated by autoheader.
3139 * interp.c: Include "config.h". Include <stdlib.h>, <string.h>,
3140 and <strings.h> if they exist. Replace #ifdef sun with #ifdef
3141 HAVE_ANINT and HAVE_AINT, as appropriate.
3142 * Makefile.in (run): Use @LIBS@ rather than -lm.
3143 (interp.o): Depend upon config.h.
3144 (Makefile): Just rebuild Makefile.
3145 (clean): Remove stamp-h.
3146 (mostlyclean): Make the same as clean, not as distclean.
3147 (config.h, stamp-h): New targets.
3149 Fri May 10 00:41:17 1996 James G. Smith <jsmith@cygnus.co.uk>
3151 * interp.c (ColdReset): Fix boolean test. Make all simulator
3154 Wed May 8 15:12:58 1996 James G. Smith <jsmith@cygnus.co.uk>
3156 * interp.c (xfer_direct_word, xfer_direct_long,
3157 swap_direct_word, swap_direct_long, xfer_big_word,
3158 xfer_big_long, xfer_little_word, xfer_little_long,
3159 swap_word,swap_long): Added.
3160 * interp.c (ColdReset): Provide function indirection to
3161 host<->simulated_target transfer routines.
3162 * interp.c (sim_store_register, sim_fetch_register): Updated to
3163 make use of indirected transfer routines.
3165 Fri Apr 19 15:48:24 1996 James G. Smith <jsmith@cygnus.co.uk>
3167 * gencode.c (process_instructions): Ensure FP ABS instruction
3169 * interp.c (AbsoluteValue): Add routine. Also provide simple PMON
3170 system call support.
3172 Wed Apr 10 09:51:38 1996 James G. Smith <jsmith@cygnus.co.uk>
3174 * interp.c (sim_do_command): Complain if callback structure not
3177 Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
3179 * interp.c (Convert): Provide round-to-nearest and round-to-zero
3180 support for Sun hosts.
3181 * Makefile.in (gencode): Ensure the host compiler and libraries
3182 used for cross-hosted build.
3184 Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
3186 * interp.c, gencode.c: Some more (TODO) tidying.
3188 Thu Mar 7 11:19:33 1996 James G. Smith <jsmith@cygnus.co.uk>
3190 * gencode.c, interp.c: Replaced explicit long long references with
3191 WORD64HI, WORD64LO, SET64HI and SET64LO macro calls.
3192 * support.h (SET64LO, SET64HI): Macros added.
3194 Wed Feb 21 12:16:21 1996 Ian Lance Taylor <ian@cygnus.com>
3196 * configure: Regenerate with autoconf 2.7.
3198 Tue Jan 30 08:48:18 1996 Fred Fish <fnf@cygnus.com>
3200 * interp.c (LoadMemory): Enclose text following #endif in /* */.
3201 * support.h: Remove superfluous "1" from #if.
3202 * support.h (CHECKSIM): Remove stray 'a' at end of line.
3204 Mon Dec 4 11:44:40 1995 Jamie Smith <jsmith@cygnus.com>
3206 * interp.c (StoreFPR): Control UndefinedResult() call on
3207 WARN_RESULT manifest.
3209 Fri Dec 1 16:37:19 1995 James G. Smith <jsmith@cygnus.co.uk>
3211 * gencode.c: Tidied instruction decoding, and added FP instruction
3214 * interp.c: Added dineroIII, and BSD profiling support. Also
3215 run-time FP handling.
3217 Sun Oct 22 00:57:18 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3219 * Changelog, Makefile.in, README.Cygnus, configure, configure.in,
3220 gencode.c, interp.c, support.h: created.