X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fmips%2FChangeLog;h=ddfd7c2f481721b9a113d21894cce2545a3d49db;hb=9c082ca86eb4262078f359850ae4466856f156a1;hp=275624976818bd46943e885c4fa6482d201a8a72;hpb=3a2b820ef3ce74e14b7d5f1e67a8c1d99d6a9870;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 2756249768..ddfd7c2f48 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,4 +1,554 @@ +2011-10-17 Mike Frysinger + + * configure.ac: Change include to common/acinclude.m4. + +2011-10-17 Mike Frysinger + + * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER + call. Replace common.m4 include with SIM_AC_COMMON. + * configure: Regenerate. + +2011-07-08 Hans-Peter Nilsson + + * Makefile.in ($(SIM_MULTI_OBJ)): Depend on sim-main.h + $(SIM_EXTRA_DEPS). + (tmp-mach-multi): Exit early when igen fails. + +2011-07-05 Mike Frysinger + + * interp.c (sim_do_command): Delete. + +2011-02-14 Mike Frysinger + + * dv-tx3904sio.c (tx3904sio_fifo_push): Change zfree to free. + (tx3904sio_fifo_reset): Likewise. + * interp.c (sim_monitor): Likewise. + +2010-04-14 Mike Frysinger + + * interp.c (sim_write): Add const to buffer arg. + +2010-01-18 Masaki Muranaka (tiny change) + + * interp.c: Don't include sysdep.h + +2010-01-09 Ralf Wildenhues + + * configure: Regenerate. + +2009-08-22 Ralf Wildenhues + + * config.in: Regenerate. + * configure: Likewise. + + * configure: Regenerate. + +2008-07-11 Hans-Peter Nilsson + + * configure: Regenerate to track ../common/common.m4 changes. + * config.in: Ditto. + +2008-06-06 Vladimir Prus + Daniel Jacobowitz + Joseph Myers + + * configure: Regenerate. + +2007-10-22 Richard Sandiford + + * mips.igen (check_fmt_p): Provide a separate mips32r2 definition + that unconditionally allows fmt_ps. + (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, CVT.S.PU) + (FLOOR.L.fmt, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt) + (PLL.PS, PLU.PS, PUL.PS, PUU.PS, ROUND.L.fmt, TRUNC.L.fmt): Change + filter from 64,f to 32,f. + (PREFX): Change filter from 64 to 32. + (LDXC1, LUXC1): Provide separate mips32r2 implementations + that use do_load_double instead of do_load. Make both LUXC1 + versions unpredictable if SizeFGR () != 64. + (SDXC1, SUXC1): Extend to mips32r2, using do_store_double + instead of do_store. Remove unused variable. Make both SUXC1 + versions unpredictable if SizeFGR () != 64. + +2007-10-07 Richard Sandiford + + * mips.igen (ll): Fix mask for WITH_TARGET_WORD_BITSIZE == 32. + (sc, swxc1): Likewise. Also fix big-endian and reverse-endian + shifts for that case. + +2007-09-04 Nick Clifton + + * interp.c (options enum): Add OPTION_INFO_MEMORY. + (display_mem_info): New static variable. + (mips_option_handler): Handle OPTION_INFO_MEMORY. + (mips_options): Add info-memory and memory-info. + (sim_open): After processing the command line and board + specification, check display_mem_info. If it is set then + call the real handler for the --memory-info command line + switch. + +2007-08-24 Joel Brobecker + + * configure.ac: Change license of multi-run.c to GPL version 3. + * configure: Regenerate. + +2007-06-28 Richard Sandiford + + * configure.ac, configure: Revert last patch. + +2007-06-26 Richard Sandiford + + * configure.ac (sim_mipsisa3264_configs): New variable. + (mipsis32*-*-, mipsisa32r2*-*-*, mips64*-*-*, mips64r2*-*-*): Make + every configuration support all four targets, using the triplet to + determine the default. + * configure: Regenerate. + +2007-06-25 Richard Sandiford + + * Makefile.in (m16run.o): New rule. + +2007-05-15 Thiemo Seufer + + * mips3264r2.igen (DSHD): Fix compile warning. + +2007-05-14 Thiemo Seufer + + * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, + CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt, + NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS, + RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support + for mips32r2. + +2007-03-01 Thiemo Seufer + + * mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32 + and mips64. + +2007-02-20 Thiemo Seufer + + * dsp.igen: Update copyright notice. + * dsp2.igen: Fix copyright notice. + +2007-02-20 Thiemo Seufer + Chao-Ying Fu + + * Makefile.in (IGEN_INCLUDE): Add dsp2.igen. + * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*): + Add dsp2 to sim_igen_machine. + * configure: Regenerate. + * dsp.igen (do_ph_op): Add MUL support when op = 2. + (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph. + (mulq_rs.ph): Use do_ph_mulq. + (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen. + * mips.igen: Add dsp2 model and include dsp2.igen. + (MFHI, MFLO, MTHI, MTLO): Extend these instructions for + for *mips32r2, *mips64r2, *dsp. + (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions + for *mips32r2, *mips64r2, *dsp2. + * dsp2.igen: New file for MIPS DSP REV 2 ASE. + +2007-02-19 Thiemo Seufer + Nigel Stephens + + * mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2 + jumps with hazard barrier. + +2007-02-19 Thiemo Seufer + Nigel Stephens + + * interp.c (sim_monitor): Flush stdout and stderr file descriptors + after each call to sim_io_write. + +2007-02-19 Thiemo Seufer + Nigel Stephens + + * interp.c (ColdReset): Set CP0 Config0 to reflect the address size + supported by this simulator. + (decode_coproc): Recognise additional CP0 Config registers + correctly. + +2007-02-19 Thiemo Seufer + Nigel Stephens + David Ung + + * cp1.c (value_fpr): Don't inherit existing FPR_STATE for + uninterpreted formats. If fmt is one of the uninterpreted types + don't update the FPR_STATE. Handle fmt_uninterpreted_32 like + fmt_word, and fmt_uninterpreted_64 like fmt_long. + (store_fpr): When writing an invalid odd register, set the + matching even register to fmt_unknown, not the following register. + * interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to + the the memory window at offset 0 set by --memory-size command + line option. + (sim_store_register): Handle storing 4 bytes to an 8 byte floating + point register. + (sim_fetch_register): Likewise for reading 4 bytes from an 8 byte + register. + (sim_monitor): When returning the memory size to the MIPS + application, use the value in STATE_MEM_SIZE, not an arbitrary + hardcoded value. + (cop_lw): Don' mess around with FPR_STATE, just pass + fmt_uninterpreted_32 to StoreFPR. + (cop_sw): Similarly. + (cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted. + (cop_sd): Similarly. + * mips.igen (not_word_value): Single version for mips32, mips64 + and mips16. + +2007-02-19 Thiemo Seufer + Nigel Stephens + + * interp.c (MEM_SIZE): Increase default memory size from 2 to 8 + MBytes. + +2007-02-17 Thiemo Seufer + + * configure.ac (mips*-sde-elf*): Move in front of generic machine + configuration. + * configure: Regenerate. + +2007-02-17 Thiemo Seufer + + * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*): + Add mdmx to sim_igen_machine. + (mipsisa64*-*-*): Likewise. Remove dsp. + (mipsisa32*-*-*): Remove dsp. + * configure: Regenerate. + +2007-02-13 Thiemo Seufer + + * configure.ac: Add mips*-sde-elf* target. + * configure: Regenerate. + +2006-12-21 Hans-Peter Nilsson + + * acconfig.h: Remove. + * config.in, configure: Regenerate. + +2006-11-07 Thiemo Seufer + + * dsp.igen (do_w_op): Fix compiler warning. + +2006-08-29 Thiemo Seufer + David Ung + + * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to + sim_igen_machine. + * configure: Regenerate. + * mips.igen (model): Add smartmips. + (MADDU): Increment ACX if carry. + (do_mult): Clear ACX. + (ROR,RORV): Add smartmips. + (include): Include smartmips.igen. + * sim-main.h (ACX): Set to REGISTERS[89]. + * smartmips.igen: New file. + +2006-08-29 Thiemo Seufer + David Ung + + * Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and + mips3264r2.igen. Add missing dependency rules. + * m16e.igen: Support for mips16e save/restore instructions. + +2006-06-13 Richard Earnshaw + + * configure: Regenerated. + +2006-06-05 Daniel Jacobowitz + + * configure: Regenerated. + +2006-05-31 Daniel Jacobowitz + + * configure: Regenerated. + +2006-05-15 Chao-ying Fu + + * dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions. + +2006-04-18 Nick Clifton + + * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break + statement. + +2006-03-29 Hans-Peter Nilsson + + * configure: Regenerate. + +2005-12-14 Chao-ying Fu + + * Makefile.in (SIM_OBJS): Add dsp.o. + (dsp.o): New dependency. + (IGEN_INCLUDE): Add dsp.igen. + * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*, + mipsisa64*-*-*): Add dsp to sim_igen_machine. + * configure: Regenerate. + * mips.igen: Add dsp model and include dsp.igen. + (MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2, + because these instructions are extended in DSP ASE. + * sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of + adding 6 DSP accumulator registers and 1 DSP control register. + (AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX, + AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT, + DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK, + DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK, + DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK, + DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK, + DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6, + DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK, + DSPCR_CCOND_SMASK): New define. + (DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators. + * dsp.c, dsp.igen: New files for MIPS DSP ASE. + +2005-07-08 Ian Lance Taylor + + * tconfig.in (SIM_QUIET_NAN_NEGATED): Define. + +2005-06-16 David Ung + Nigel Stephens + + * mips.igen: New mips16e model and include m16e.igen. + (check_u64): Add mips16e tag. + * m16e.igen: New file for MIPS16e instructions. + * configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*, + mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e + models. + * configure: Regenerate. + +2005-05-26 David Ung + + * mips.igen (mips32r2, mips64r2): New ISA models. Add new model + tags to all instructions which are applicable to the new ISAs. + (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from + vr.igen. + * mips3264r2.igen: New file for MIPS 32/64 revision 2 specific + instructions. + * vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move + to mips.igen. + * configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets. + * configure: Regenerate. + +2005-03-23 Mark Kettenis + + * configure: Regenerate. + +2005-01-14 Andrew Cagney + + * configure.ac: Sinclude aclocal.m4 before common.m4. Add + explicit call to AC_CONFIG_HEADER. + * configure: Regenerate. + +2005-01-12 Andrew Cagney + + * configure.ac: Update to use ../common/common.m4. + * configure: Re-generate. + +2005-01-11 Andrew Cagney + + * configure: Regenerated to track ../common/aclocal.m4 changes. + +2005-01-07 Andrew Cagney + + * configure.ac: Rename configure.in, require autoconf 2.59. + * configure: Re-generate. + +2004-12-08 Hans-Peter Nilsson + + * configure: Regenerate for ../common/aclocal.m4 update. + +2004-09-24 Monika Chaddha + + Committed by Andrew Cagney. + * m16.igen (CMP, CMPI): Fix assembler. + +2004-08-18 Chris Demetriou + + * configure.in (mipsisa64sb1*-*-*): Add mips3d to sim_igen_machine. + * configure: Regenerate. + +2004-06-25 Chris Demetriou + + * configure.in (sim_m16_machine): Include mipsIII. + * configure: Regenerate. + +2004-05-11 Maciej W. Rozycki + + * mips/interp.c (decode_coproc): Sign-extend the address retrieved + from COP0_BADVADDR. + * mips/sim-main.h (COP0_BADVADDR): Remove a cast. + +2004-04-10 Chris Demetriou + + * sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New. + +2004-04-09 Chris Demetriou + + * mips.igen (check_fmt): Remove. + (ABS.fmt, ADD.fmt, C.cond.fmta, C.cond.fmtb, CEIL.L.fmt, CEIL.W) + (CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt, FLOOR.L.fmt) + (FLOOR.W.fmt, MADD.fmt, MOV.fmt, MOVtf.fmt, MOVN.fmt, MOVZ.fmt) + (MSUB.fmt, MUL.fmt, NEG.fmt, NMADD.fmt, NMSUB.fmt, RECIP.fmt) + (ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt) + (TRUNC.L.fmt, TRUNC.W): Explicitly specify allowed FPU formats. + (check_fmt_p, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt) + (FLOOR.W.fmt, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt) + (SQRT.fmt, TRUNC.L.fmt, TRUNC.W): Remove all uses of check_fmt. + (C.cnd.fmta): Remove incorrect call to check_fmt_p. + +2004-04-09 Chris Demetriou + + * sb1.igen (check_sbx): New function. + (PABSDIFF.fmt, PABSDIFC.fmt, PAVG.fmt): Use check_sbx. + +2004-03-29 Chris Demetriou + Richard Sandiford + + * sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD) + (MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New. + * mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide + separate implementations for mipsIV and mipsV. Use new macros to + determine whether the restrictions apply. + +2004-01-19 Chris Demetriou + + * mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo) + (check_mult_hilo): Improve comments. + (check_div_hilo): Likewise. Also, fork off a new version + to handle mips32/mips64 (since there are no hazards to check + in MIPS32/MIPS64). + +2003-06-17 Richard Sandiford + + * mips.igen (do_dmultx): Fix check for negative operands. + +2003-05-16 Ian Lance Taylor + + * Makefile.in (SHELL): Make sure this is defined. + (various): Use $(SHELL) whenever we invoke move-if-change. + +2003-05-03 Chris Demetriou + + * cp1.c: Tweak attribution slightly. + * cp1.h: Likewise. + * mdmx.c: Likewise. + * mdmx.igen: Likewise. + * mips3d.igen: Likewise. + * sb1.igen: Likewise. + +2003-04-15 Richard Sandiford + + * vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of + unsigned operands. + +2003-02-27 Andrew Cagney + + * interp.c (sim_open): Rename _bfd to bfd. + (sim_create_inferior): Ditto. + +2003-01-14 Chris Demetriou + + * mips.igen (LUXC1, SUXC1): New, for mipsV and mips64. + +2003-01-14 Chris Demetriou + + * mips.igen (EI, DI): Remove. + +2003-01-05 Richard Sandiford + + * Makefile.in (tmp-run-multi): Fix mips16 filter. + +2003-01-04 Richard Sandiford + Andrew Cagney + Gavin Romig-Koch + Graydon Hoare + Aldy Hernandez + Dave Brolley + Chris Demetriou + + * configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1. + (sim_mach_default): New variable. + (mips64vr-*-*, mips64vrel-*-*): New configurations. + Add a new simulator generator, MULTI. + * configure: Regenerate. + * Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables. + (multi-run.o): New dependency. + (SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables. + (tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules. + (tmp-multi): Combine them. + (BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi. + (clean-extra): Remove sources in BUILT_SRC_FROM_MULTI. + (distclean-extra): New rule. + * sim-main.h: Include bfd.h. + (MIPS_MACH): New macro. + * mips.igen (vr4120, vr5400, vr5500): New models. + (clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500. + * vr.igen: Replace with new version. + +2003-01-04 Chris Demetriou + + * configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1). + * configure: Regenerate. + +2002-12-31 Chris Demetriou + + * sim-main.h (check_branch_bug, mark_branch_bug): Remove. + * mips.igen: Remove all invocations of check_branch_bug and + mark_branch_bug. + +2002-12-16 Chris Demetriou + + * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h". + +2002-07-30 Chris Demetriou + + * mips.igen (do_load_double, do_store_double): New functions. + (LDC1, SDC1): Rename to... + (LDC1b, SDC1b): respectively. + (LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support. + +2002-07-29 Michael Snyder + + * cp1.c (fp_recip2): Modify initialization expression so that + GCC will recognize it as constant. + +2002-06-18 Chris Demetriou + + * mdmx.c (SD_): Delete. + (Unpredictable): Re-define, for now, to directly invoke + unpredictable_action(). + (mdmx_acc_op): Fix error in .ob immediate handling. + +2002-06-18 Andrew Cagney + + * interp.c (sim_firmware_command): Initialize `address'. + +2002-06-16 Andrew Cagney + + * configure: Regenerated to track ../common/aclocal.m4 changes. + +2002-06-14 Chris Demetriou + Ed Satterthwaite + + * mips3d.igen: New file which contains MIPS-3D ASE instructions. + * Makefile.in (IGEN_INCLUDE): Add mips3d.igen. + * mips.igen: Include mips3d.igen. + (mips3d): New model name for MIPS-3D ASE instructions. + (CVT.W.fmt): Don't use this instruction for word (source) format + instructions. + * cp1.c (fp_binary_r, fp_add_r, fp_mul_r, fpu_inv1, fpu_inv1_32) + (fpu_inv1_64, fp_recip1, fp_recip2, fpu_inv_sqrt1, fpu_inv_sqrt1_32) + (fpu_inv_sqrt1_64, fp_rsqrt1, fp_rsqrt2): New functions. + (NR_FRAC_GUARD, IMPLICIT_1): New macros. + * sim-main.h (fmt_pw, CompareAbs, AddR, MultiplyR, Recip1, Recip2) + (RSquareRoot1, RSquareRoot2): New macros. + (fp_add_r, fp_mul_r, fp_recip1, fp_recip2, fp_rsqrt1) + (fp_rsqrt2): New functions. + * configure.in: Add MIPS-3D support to mipsisa64 simulator. + * configure: Regenerate. + 2002-06-13 Chris Demetriou + Ed Satterthwaite * cp1.c (FP_PS_upper, FP_PS_lower, FP_PS_cat, FPQNaN_PS): New macros. (value_fpr, store_fpr, fp_cmp, fp_unary, fp_binary, fp_mac)