X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=sim%2Fmips%2FChangeLog;h=12c8b6cbc1c1ca5e165c31cac6e47d8698b45fc1;hb=2e3d4f4d5d386995e99d035354a9e411d1dc0331;hp=b6e956eac672e0e7abe164006c1dded35437f6ab;hpb=14fb6c5a50336c2fc6cb6db8057efa613154f4f8;p=thirdparty%2Fbinutils-gdb.git diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index b6e956eac67..12c8b6cbc1c 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,6 +1,577 @@ +2016-01-06 Mike Frysinger + + * interp.c (sim_open): Mark argv const. + (sim_create_inferior): Mark argv and env const. + +2016-01-04 Mike Frysinger + + * configure: Regenerate. + +2016-01-03 Mike Frysinger + + * interp.c (sim_open): Update sim_parse_args comment. + +2016-01-03 Mike Frysinger + + * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. + * configure: Regenerate. + +2016-01-02 Mike Frysinger + + * configure.ac (mips_endian): Change LITTLE_ENDIAN to LITTLE. + (default_endian): Likewise. Change BIG_ENDIAN to BIG. + * configure: Regenerate. + * sim-main.h (BigEndianMem): Change BIG_ENDIAN to BFD_ENDIAN_BIG. + +2016-01-02 Mike Frysinger + + * dv-tx3904cpu.c (CPU, SD): Delete. + +2015-12-30 Mike Frysinger + + * wrapper.c (mips_reg_store, mips_reg_fetch): Define. + (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. + (sim_store_register): Rename to ... + (mips_reg_store): ... this. Delete local cpu var. + Update sim_io_eprintf calls. + (sim_fetch_register): Rename to ... + (mips_reg_fetch): ... this. Delete local cpu var. + Update sim_io_eprintf calls. + +2015-12-27 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-hload.o. + +2015-12-26 Mike Frysinger + + * config.in, configure: Regenerate. + +2015-12-26 Mike Frysinger + + * interp.c (sim_write, sim_read): Delete. + (store_word): Delete call to AddressTranslation and set paddr=vaddr. + (load_word): Likewise. + * micromips.igen (cache): Likewise. + * mips.igen (do_ll, do_lld, do_sc, do_scd, do_suxc1_32, do_swc1, + do_swxc1, cache, do_load, do_load_left, do_load_right, do_store, + do_store_left, do_store_right, do_load_double, do_store_double): + Likewise. + (do_pref): Delete call to AddressTranslation and stub out Prefetch. + (do_prefx): Likewise. + * sim-main.c (address_translation, prefetch): Delete. + (ifetch32, ifetch16): Delete call to AddressTranslation and set + paddr=vaddr. + * sim-main.h (Uncached, CachedNoncoherent, CachedCoherent, Cached, + address_translation, AddressTranslation, prefetch, Prefetch): Delete. + (LoadMemory, StoreMemory): Delete CCA arg. + +2015-12-24 Mike Frysinger + + * configure.ac (SIM_SUBTARGET): Drop -DTARGET_TX3904=1. + * configure: Regenerated. + +2015-12-24 Mike Frysinger + + * sim-main.h (SIM_QUIET_NAN_NEGATED): Move from tconfig.h. + * tconfig.h: Delete. + +2015-12-24 Mike Frysinger + + * tconfig.h (SIM_HANDLES_LMA): Delete. + +2015-12-24 Mike Frysinger + + * sim-main.h (WITH_WATCHPOINTS): Delete. + +2015-12-24 Mike Frysinger + + * interp.c [SIM_HAVE_FLATMEM] (sim_open): Delete flatmem code. + +2015-12-24 Mike Frysinger + + * tconfig.h (SIM_HAVE_SIMCACHE): Delete. + +2015-12-15 Dominik Vogt + + * micromips.igen (process_isa_mode): Fix left shift of negative + value. + +2015-11-17 Mike Frysinger + + * sim-main.h (WITH_MODULO_MEMORY): Delete. + +2015-11-15 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. + +2015-11-14 Mike Frysinger + + * interp.c (sim_close): Rename to ... + (mips_sim_close): ... this. Delete calls to sim_module_uninstall and + sim_io_shutdown. + * sim-main.h (mips_sim_close): Declare. + (SIM_CLOSE_HOOK): Define. + +2015-09-25 Andrew Bennett + Ali Lown + + * Makefile.in (tmp-micromips): New rule. + (tmp-mach-multi): Add support for micromips. + * configure.ac (mips*-sde-elf* | mips*-mti-elf*): Made a multi sim + that works for both mips64 and micromips64. + (mipsisa32r2*-*-*): Made a multi sim that works for mips32 and + micromips32. + Add build support for micromips. + * dsp.igen (do_ph_s_absq, do_w_s_absq, do_qb_s_absq, do_addsc, + do_addwc, do_bitrev, do_extpv, do_extrv, do_extrv_s_h, do_insv, + do_lxx do_modsub, do_mthlip, do_mulsaq_s_w_ph, do_ph_packrl, do_qb_pick + do_ph_pick, do_qb_ph_precequ, do_qb_ph_preceu, do_w_preceq + do_w_ph_precrq, do_ph_qb_precrq, do_w_ph_rs_precrq do_qb_w_raddu, + do_rddsp, do_repl, do_shilov, do_ph_shl, do_qb_shl do_w_s_shllv, + do_ph_shrlv, do_w_r_shrav, do_wrdsp, do_qb_shrav, do_append, + do_balign, do_ph_w_mulsa, do_ph_qb_precr, do_prepend): New functions. + Refactored instruction code to use these functions. + * dsp2.igen: Refactored instruction code to use the new functions. + * interp.c (decode_coproc): Refactored to work with any instruction + encoding. + (isa_mode): New variable + (RSVD_INSTRUCTION): Changed to 0x00000039. + * m16.igen (BREAK16): Refactored instruction to use do_break16. + (JALX32): Add mips32, mips64, mips32r2 and mips64r2 models. + * micromips.dc: New file. + * micromips.igen: New file. + * micromips16.dc: New file. + * micromipsdsp.igen: New file. + * micromipsrun.c: New file. + * mips.igen (do_swc1): Changed to work with any instruction encoding. + (do_add do_addi do_andi do_dadd do_daddi do_dsll32 do_dsra32 + do_dsrl32, do_dsub, do_break, do_break16, do_clo, do_clz, do_dclo, + do_dclz, do_lb, do_lh, do_lwr, do_lwl, do_lwc, do_lw, do_lwu, do_lhu, + do_ldc, do_lbu, do_ll, do_lld, do_lui, do_madd, do_dsp_madd, do_maddu, + do_dsp_maddu, do_dsp_mfhi, do_dsp_mflo, do_movn, do_movz, do_msub, + do_dsp_msub, do_msubu, do_dsp_msubu, do_mthi, do_dsp_mthi, do_mtlo, + do_dsp_mtlo, do_mul, do_dsp_mult, do_dsp_multu, do_pref, do_sc, + do_scd, do_sub, do_sw, do_teq, do_teqi, do_tge, do_tgei, do_tgeiu, + do_tgeu, do_tlt do_tlti, do_tltiu, do_tltu, do_tne, do_tnei, do_abs_fmt, + do_add_fmt, do_alnv_ps, do_c_cond_fmt, do_ceil_fmt, do_cfc1, do_ctc1, + do_cvt_d_fmt, do_cvt_l_fmt, do_cvt_ps_s, do_cvt_s_fmt, do_cvt_s_pl, + do_cvt_s_pu, do_cvt_w_fmt, do_div_fmt, do_dmfc1b, do_dmtc1b, do_floor_fmt, + do_luxc1_32, do_luxc1_64, do_lwc1, do_lwxc1, do_madd_fmt, do_mfc1b, + do_mov_fmt, do_movtf, do_movtf_fmt, do_movn_fmt, do_movz_fmt, do_msub_fmt, + do_mtc1b, do_mul_fmt, do_neg_fmt, do_nmadd_fmt, do_nmsub_fmt, do_pll_ps, + do_plu_ps, do_pul_ps, do_puu_ps, do_recip_fmt, do_round_fmt, do_rsqrt_fmt, + do_prefx, do_sdc1, do_suxc1_32, do_suxc1_64, do_sqrt_fmt, do_sub_fmt, + do_swc1, do_swxc1, do_trunc_fmt): New functions, refactored from existing + instructions. + Refactored instruction code to use these functions. + (RSVD): Changed to use new reserved instruction. + (loadstore_ea, not_word_value, unpredictable, check_mt_hilo, + check_mf_hilo, check_mult_hilo, check_div_hilo, check_u64, do_luxc1_32, + do_sdc1, do_suxc1_32, check_fmt_p, check_fpu, do_load_double, + do_store_double): Added micromips32 and micromips64 models. + Added include for micromips.igen and micromipsdsp.igen + Add micromips32 and micromips64 models. + (DecodeCoproc): Updated to use new macro definition. + * mips3264r2.igen (do_dsbh, do_dshd, do_dext, do_dextm, do_dextu, do_di, + do_dins, do_dinsm, do_ei, do_ext, do_mfhc1, do_mthc1, do_ins, do_dinsu, + do_seb, do_seh do_rdhwr, do_wsbh): New functions. + Refactored instruction code to use these functions. + * sim-main.h (CP0_operation): New enum. + (DecodeCoproc): Updated macro. + (IMEM32_MICROMIPS, IMEM16_MICROMIPS, MICROMIPS_MINOR_OPCODE, + MICROMIPS_DELAYSLOT_SIZE_ANY, MICROMIPS_DELAYSLOT_SIZE_16, + MICROMIPS_DELAYSLOT_SIZE_32, ISA_MODE_MIPS32 and + ISA_MODE_MICROMIPS): New defines. + (sim_state): Add isa_mode field. + +2015-06-23 Mike Frysinger + + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * configure.ac: Change configure.in to configure.ac. + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * configure: Regenerate. + +2015-06-12 Mike Frysinger + + * interp.c [TRACE]: Delete. + (TRACE): Change to WITH_TRACE_ANY_P. + [!WITH_TRACE_ANY_P] (open_trace): Define. + (mips_option_handler, open_trace, sim_close, dotrace): + Change defined(TRACE) to WITH_TRACE_ANY_P. + (sim_open): Delete TRACE ifdef check. + * sim-main.c (load_memory): Delete TRACE ifdef check. + (store_memory): Likewise. + * sim-main.h [WITH_TRACE_ANY_P] (dotrace, tracefh): Protect decls. + [!WITH_TRACE_ANY_P] (dotrace): Define. + +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete + comments. + +2015-04-18 Mike Frysinger + + * sim-main.h (SIM_CPU): Delete. + +2015-04-18 Mike Frysinger + + * sim-main.h (sim_cia): Delete. + +2015-04-17 Mike Frysinger + + * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Change CIA_GET to + PU_PC_GET. + * interp.c (interrupt_event): Change CIA_GET to CPU_PC_GET. + (sim_create_inferior): Change CIA_SET to CPU_PC_SET. + * m16run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and + CIA_SET to CPU_PC_SET. + * sim-main.h (CIA_GET, CIA_SET): Delete. + +2015-04-15 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-cpu.o. + * sim-main.h (STATE_CPU): Delete. + +2015-04-13 Mike Frysinger + + * configure: Regenerate. + +2015-04-13 Mike Frysinger + + * Makefile.in (SIM_OBJS): Add sim-cpu.o. + * interp.c (mips_pc_get, mips_pc_set): New functions. + (sim_open): Declare new local var i. Call sim_cpu_alloc_all. + Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. + (sim_pc_get): Delete. + * sim-main.h (SIM_CPU): Define. + (struct sim_state): Change cpu to an array of pointers. + (STATE_CPU): Drop &. + +2015-04-13 Mike Frysinger + + * interp.c (mips_option_handler, open_trace, sim_close, + sim_write, sim_read, sim_store_register, sim_fetch_register, + sim_create_inferior, pr_addr, pr_uword64): Convert old style + prototypes. + (sim_open): Convert old style prototype. Change casts with + sim_write to unsigned char *. + (fetch_str): Change null to unsigned char, and change cast to + unsigned char *. + (sim_monitor): Change c & ch to unsigned char. Change cast to + unsigned char *. + +2015-04-12 Mike Frysinger + + * Makefile.in (SIM_OBJS): Move interp.o to the start of the list. + +2015-04-06 Mike Frysinger + + * Makefile.in (SIM_OBJS): Delete sim-engine.o. + +2015-04-01 Mike Frysinger + + * tconfig.h (SIM_HAVE_PROFILE): Delete. + +2015-03-31 Mike Frysinger + + * config.in, configure: Regenerate. + +2015-03-24 Mike Frysinger + + * interp.c (sim_pc_get): New function. + +2015-03-24 Mike Frysinger + + * sim-main.h (SIM_HAVE_BIENDIAN): Delete. + * tconfig.h (SIM_HAVE_BIENDIAN): Delete. + +2015-03-24 Mike Frysinger + + * configure: Regenerate. + +2015-03-23 Mike Frysinger + + * configure: Regenerate. + +2015-03-23 Mike Frysinger + + * configure: Regenerate. + * configure.ac (mips_extra_objs): Delete. + * Makefile.in (MIPS_EXTRA_OBJS): Delete. + (SIM_OBJS): Delete MIPS_EXTRA_OBJS. + +2015-03-23 Mike Frysinger + + * configure: Regenerate. + * configure.ac: Delete sim_hw checks for dv-sockser. + +2015-03-16 Mike Frysinger + + * config.in, configure: Regenerate. + * tconfig.in: Rename file ... + * tconfig.h: ... here. + +2015-03-15 Mike Frysinger + + * tconfig.in: Delete includes. + [HAVE_DV_SOCKSER]: Delete. + +2015-03-14 Mike Frysinger + + * Makefile.in (SIM_RUN_OBJS): Delete. + +2015-03-14 Mike Frysinger + + * configure.ac (AC_CHECK_HEADERS): Delete. + * aclocal.m4, configure: Regenerate. + +2014-08-19 Alan Modra + + * configure: Regenerate. + +2014-08-15 Roland McGrath + + * configure: Regenerate. + * config.in: Regenerate. + +2014-03-04 Mike Frysinger + + * configure: Regenerate. + +2013-09-23 Alan Modra + + * configure: Regenerate. + +2013-06-03 Mike Frysinger + + * aclocal.m4, configure: Regenerate. + +2013-05-10 Freddie Chopin + + * configure: Rebuild. + +2013-03-26 Mike Frysinger + + * configure: Regenerate. + +2013-03-23 Joel Sherrill + + * configure.ac: Address use of dv-sockser.o. + * tconfig.in: Conditionalize use of dv_sockser_install. + * configure: Regenerated. + * config.in: Regenerated. + +2012-10-04 Chao-ying Fu + Steve Ellcey + + * mips/mips3264r2.igen (rdhwr): New. + +2012-09-03 Joel Sherrill + + * configure.ac: Always link against dv-sockser.o. + * configure: Regenerate. + +2012-06-15 Joel Brobecker + + * config.in, configure: Regenerate. + +2012-05-18 Nick Clifton + + PR 14072 + * interp.c: Include config.h before system header files. + +2012-03-24 Mike Frysinger + + * aclocal.m4, config.in, configure: Regenerate. + +2011-12-03 Mike Frysinger + + * aclocal.m4: New file. + * configure: Regenerate. + +2011-10-19 Mike Frysinger + + * configure: Regenerate after common/acinclude.m4 update. + +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 + 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 @@ -27,7 +598,7 @@ and mips16. 2007-02-19 Thiemo Seufer - Nigel Stephens + Nigel Stephens * interp.c (MEM_SIZE): Increase default memory size from 2 to 8 MBytes. @@ -61,7 +632,7 @@ * dsp.igen (do_w_op): Fix compiler warning. 2006-08-29 Thiemo Seufer - David Ung + David Ung * configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to sim_igen_machine. @@ -70,12 +641,12 @@ (MADDU): Increment ACX if carry. (do_mult): Clear ACX. (ROR,RORV): Add smartmips. - (include): Include smartmips.igen. + (include): Include smartmips.igen. * sim-main.h (ACX): Set to REGISTERS[89]. * smartmips.igen: New file. 2006-08-29 Thiemo Seufer - David Ung + David Ung * Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and mips3264r2.igen. Add missing dependency rules. @@ -136,29 +707,29 @@ * 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. + 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. + 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. @@ -188,7 +759,7 @@ * configure: Regenerate for ../common/aclocal.m4 update. 2004-09-24 Monika Chaddha - + Committed by Andrew Cagney. * m16.igen (CMP, CMPI): Fix assembler. @@ -204,7 +775,7 @@ 2004-05-11 Maciej W. Rozycki - * mips/interp.c (decode_coproc): Sign-extend the address retrieved + * mips/interp.c (decode_coproc): Sign-extend the address retrieved from COP0_BADVADDR. * mips/sim-main.h (COP0_BADVADDR): Remove a cast. @@ -328,7 +899,7 @@ 2002-12-16 Chris Demetriou - * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h". + * tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h". 2002-07-30 Chris Demetriou @@ -358,14 +929,14 @@ * configure: Regenerated to track ../common/aclocal.m4 changes. 2002-06-14 Chris Demetriou - Ed Satterthwaite + 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. + 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. @@ -378,7 +949,7 @@ * configure: Regenerate. 2002-06-13 Chris Demetriou - Ed Satterthwaite + 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) @@ -418,7 +989,7 @@ * interp.c: Include "gdb/callback.h" and "gdb/remote-sim.h". 2002-06-07 Chris Demetriou - Ed Satterthwaite + Ed Satterthwaite * cp1.c (inner_mac, fp_mac, inner_rsqrt, fp_inv_sqrt) (fp_rsqrt, fp_madd, fp_msub, fp_nmadd, fp_nmsub): New functions. @@ -437,7 +1008,7 @@ (NMSUB.fmt): New instruction. 2002-06-07 Chris Demetriou - Ed Satterthwaite + Ed Satterthwaite * cp1.c: Fix more comment spelling and formatting. (value_fcr, store_fcr): Use fenr_FS rather than hard-coding value. @@ -462,7 +1033,7 @@ (value_fpr): Reformat switch statement. 2002-06-06 Chris Demetriou - Ed Satterthwaite + Ed Satterthwaite * cp1.h: New file. * sim-main.h: Include cp1.h. @@ -484,8 +1055,8 @@ (CFC1a, CFC1b, CFC1c, CTC1a, CTC1b, CTC1c): New instructions. (DMxC1): Remove, replace with... (DMFC1a, DMFC1b, DMTC1a, DMTC1b): New instructions. - (MxC1): Remove, replace with... - (MFC1a, MFC1b, MTC1a, MTC1b): New instructions. + (MxC1): Remove, replace with... + (MFC1a, MFC1b, MTC1a, MTC1b): New instructions. 2002-06-04 Chris Demetriou @@ -502,7 +1073,7 @@ * cp1.c: Add an FSF Copyright notice to this file. 2002-06-04 Chris Demetriou - Ed Satterthwaite + Ed Satterthwaite * cp1.c (Infinity): Remove. * sim-main.h (Infinity): Likewise. @@ -517,7 +1088,7 @@ (AbsoluteValue, Negate, Add, Sub, Multiply, Divide) (Recip, SquareRoot): Replace prototypes with #defines which invoke the functions above. - + 2002-06-03 Chris Demetriou * sim-main.h (Nan, Infinity, Less, Equal, AbsoluteValue, Negate) @@ -548,7 +1119,7 @@ (FPQNaN_DOUBLE, FPQNaN_LONG): Generate using UNSIGNED64. 2002-06-03 Chris Demetriou - Ed Satterthwaite + Ed Satterthwaite * configure.in (mipsisa64sb1*-*-*): New target for supporting Broadcom SiByte SB-1 processor configurations. @@ -570,7 +1141,7 @@ * Makefile.in (IGEN_INCLUDE): Add mdmx.igen. 2002-06-02 Chris Demetriou - Ed Satterthwaite + Ed Satterthwaite * mips.igen (mdmx): New (pseudo-)model. * mdmx.c, mdmx.igen: New files. @@ -781,12 +1352,12 @@ 2002-02-28 Chris Demetriou * mips.igen (LWXC1): Mark with filter "64,f", rather than just "32". - (MOVtf, MxC1, MxC1, DMxC1, DMxC1, CxC1, CxC1, SQRT.fmt, MOV.fmt, - NEG.fmt, ROUND.L.fmt, TRUNC.L.fmt, CEIL.L.fmt, FLOOR.L.fmt, - ROUND.W.fmt, TRUNC.W, CEIL.W, FLOOR.W.fmt, RECIP.fmt, RSQRT.fmt, - CVT.S.fmt, CVT.D.fmt, CVT.W.fmt, CVT.L.fmt, MOVtf.fmt, C.cond.fmta, - C.cond.fmtb, SUB.fmt, MUL.fmt, DIV.fmt, MOVZ.fmt, MOVN.fmt, LDXC1, - SWXC1, SDXC1, MSUB.D, MSUB.S, NMADD.S, NMADD.D, NMSUB.S, NMSUB.D, + (MOVtf, MxC1, MxC1, DMxC1, DMxC1, CxC1, CxC1, SQRT.fmt, MOV.fmt, + NEG.fmt, ROUND.L.fmt, TRUNC.L.fmt, CEIL.L.fmt, FLOOR.L.fmt, + ROUND.W.fmt, TRUNC.W, CEIL.W, FLOOR.W.fmt, RECIP.fmt, RSQRT.fmt, + CVT.S.fmt, CVT.D.fmt, CVT.W.fmt, CVT.L.fmt, MOVtf.fmt, C.cond.fmta, + C.cond.fmtb, SUB.fmt, MUL.fmt, DIV.fmt, MOVZ.fmt, MOVN.fmt, LDXC1, + SWXC1, SDXC1, MSUB.D, MSUB.S, NMADD.S, NMADD.D, NMSUB.S, NMSUB.D, LWC1, SWC1): Add "f" to filter, since these are FP instructions. 2002-02-28 Chris Demetriou @@ -883,11 +1454,11 @@ 2002-02-10 Chris Demetriou - * mips.igen (ADDI): Print immediate value. - (BREAK): Print code. - (DADDIU, DSRAV, DSRLV): Print correct instruction name. - (SLL): Print "nop" specially, and don't run the code - that does the shift for the "nop" case. + * mips.igen (ADDI): Print immediate value. + (BREAK): Print code. + (DADDIU, DSRAV, DSRLV): Print correct instruction name. + (SLL): Print "nop" specially, and don't run the code + that does the shift for the "nop" case. 2001-11-17 Fred Fish @@ -1019,7 +1590,7 @@ Tue Jul 27 16:36:51 1999 Andrew Cagney * interp.c (sim_store_register): Handle case where client - GDB - specifies that a 4 byte register is 8 bytes in size. (sim_fetch_register): Ditto. - + 1999-07-14 Frank Ch. Eigler Implement "sim firmware" option, inspired by jimb's version of 1998-01. @@ -1034,7 +1605,7 @@ Tue Jul 27 16:36:51 1999 Andrew Cagney (sim_open): Allocate memory for idt_monitor region. If "--board" option was given, add no monitor by default. Add BREAK hooks only if monitors are also there. - + Mon Jul 12 00:02:27 1999 Andrew Cagney * interp.c (sim_monitor): Flush output before reading input. @@ -1058,7 +1629,7 @@ Wed Jul 7 12:45:58 1999 Andrew Cagney 1999-05-08 Felix Lee * configure: Regenerated to track ../common/aclocal.m4 changes. - + 1999-04-21 Frank Ch. Eigler * mips.igen (bc0f): For the TX39 only, decode this as a no-op stub. @@ -1084,35 +1655,35 @@ Wed Jan 27 18:51:38 1999 Andrew Cagney * dv-tx3904sio.c (tx3904sio_tickle): After a polled I/O from the CPU, start periodic background I/O polls. - (tx3904sio_poll): New function: periodic I/O poller. + (tx3904sio_poll): New function: periodic I/O poller. 1998-12-30 Frank Ch. Eigler * mips.igen (BREAK): Call signal_exception instead of sim_engine_halt. - + Tue Dec 29 16:03:53 1998 Rainer Orth * configure.in, configure (mips64vr5*-*-*): Added missing ;; in case statement. 1998-12-29 Frank Ch. Eigler - - * interp.c (sim_open): Allocate jm3904 memory in smaller chunks. + + * interp.c (sim_open): Allocate jm3904 memory in smaller chunks. (load_word): Call SIM_CORE_SIGNAL hook on error. (signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook before starting. For exception dispatching, pass PC instead of NULL_CIA. (decode_coproc): Use COP0_BADVADDR to store faulting address. - * sim-main.h (COP0_BADVADDR): Define. + * sim-main.h (COP0_BADVADDR): Define. (SIM_CORE_SIGNAL): Define hook to call mips_core_signal. (SIM_CPU_EXCEPTION*): Define hooks to call mips_cpu_exception*(). - (_sim_cpu): Add exc_* fields to store register value snapshots. + (_sim_cpu): Add exc_* fields to store register value snapshots. * mips.igen (*): Replace memory-related SignalException* calls with references to SIM_CORE_SIGNAL hook. - + * dv-tx3904irc.c (tx3904irc_port_event): printf format warning fix. * sim-main.c (*): Minor warning cleanups. - + 1998-12-24 Gavin Romig-Koch * m16.igen (DADDIU5): Correct type-o. @@ -1129,15 +1700,15 @@ Wed Dec 16 18:20:28 1998 Andrew Cagney (interp.o): Add dependency on itable.h (oengine.c, gencode): Delete remaining references. (BUILT_SRC_FROM_GEN): Clean up. - + 1998-12-16 Gavin Romig-Koch - + * vr4run.c: New. * Makefile.in (SIM_HACK_OBJ,HACK_OBJS,HACK_GEN_SRCS,libhack.a, tmp-hack,tmp-m32-hack,tmp-m16-hack,tmp-itable-hack, tmp-run-hack) : New. * m16.igen (LD,DADDIU,DADDUI5,DADJSP,DADDIUSP,DADDI,DADDU,DSUBU, - DSLL,DSRL,DSRA,DSLLV,DSRAV,DMULT,DMULTU,DDIV,DDIVU,JALX32,JALX): + DSLL,DSRL,DSRA,DSLLV,DSRAV,DMULT,DMULTU,DDIV,DDIVU,JALX32,JALX): Drop the "64" qualifier to get the HACK generator working. Use IMMEDIATE rather than IMMED. Use SHAMT rather than SHIFT. * mips.igen (do_daddiu,do_ddiv,do_divu): Remove the 64-only @@ -1149,16 +1720,16 @@ Wed Dec 16 18:20:28 1998 Andrew Cagney (DSRL): Use do_dsrl. (DSRLV): Use do_dsrlv. (BC1): Move *vr4100 to get the HACK generator working. - (CxC1, DMxC1, MxC1,MACCU,MACCHI,MACCHIU): Rename to + (CxC1, DMxC1, MxC1,MACCU,MACCHI,MACCHIU): Rename to get the HACK generator working. (MACC) Rename to get the HACK generator working. (DMACC,MACCS,DMACCS): Add the 64. - + 1998-12-12 Gavin Romig-Koch * mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts. * sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR. - + 1998-12-11 Gavin Romig-Koch * mips/interp.c (DEBUG): Cleanups. @@ -1167,7 +1738,7 @@ Wed Dec 16 18:20:28 1998 Andrew Cagney * dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes. (tx3904sio_tickle): fflush after a stdout character output. - + 1998-12-03 Frank Ch. Eigler * interp.c (sim_close): Uninstall modules. @@ -1194,10 +1765,10 @@ Mon Nov 23 18:20:36 1998 Andrew Cagney sim_gen. (--enable-sim-igen): Delete config option. Always using IGEN. * configure: Re-generate. - + * Makefile.in (gencode): Kill, kill, kill. * gencode.c: Ditto. - + Mon Nov 23 18:07:36 1998 Andrew Cagney * configure.in: Configure mips64vr4100-elf nee mips64vr41* as a 64 @@ -1243,14 +1814,14 @@ Sat Nov 7 09:54:38 1998 Andrew Cagney 32 & 64. (pending_tick): Move incrementing of index to FOR statement. (pending_tick): Only update PENDING_OUT after a write has occured. - + * configure.in: Add explicit mips-lsi-* target. Use gencode to build simulator. * configure: Re-generate. - + * interp.c (sim_engine_run OLD): Delete explicit call to PENDING_TICK. Now called via ENGINE_ISSUE_PREFIX_HOOK. - + Sat Oct 30 09:49:10 1998 Frank Ch. Eigler * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy @@ -1282,7 +1853,7 @@ Tue Aug 25 12:49:46 1998 Frank Ch. Eigler OPERATING_ENVIRONMENT, add tx3904sio devices. * tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading ROM executables. Install dv-sockser into sim-modules list. - + * dv-tx3904irc.c: Compiler warning clean-up. * dv-tx3904tmr.c: Compiler warning clean-up. Remove particularly frequent hw-trace messages. @@ -1315,26 +1886,26 @@ Wed Jun 17 12:20:49 1998 Andrew Cagney Tue Jun 16 14:39:00 1998 Frank Ch. Eigler * dv-tx3904tmr.c: Deschedule timer event after dispatching. - Reduce unnecessarily high timer event frequency. + Reduce unnecessarily high timer event frequency. * dv-tx3904cpu.c: Ditto for interrupt event. - + Wed Jun 10 13:22:32 1998 Frank Ch. Eigler * interp.c (decode_coproc): For TX39, add stub COP0 register #7, to allay warnings. (interrupt_event): Made non-static. - + * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental interchange of configuration values for external vs. internal clock dividers. - + Tue Jun 9 12:46:24 1998 Ian Carmichael - * mips.igen (BREAK): Moved code to here for + * mips.igen (BREAK): Moved code to here for simulator-reserved break instructions. * gencode.c (build_instruction): Ditto. * interp.c (signal_exception): Code moved from here. Non- - reserved instructions now use exception vector, rather + reserved instructions now use exception vector, rather than halting sim. * sim-main.h: Moved magic constants to here. @@ -1351,10 +1922,10 @@ Tue Jun 9 12:29:50 1998 Frank Ch. Eigler * interp.c (sim_open): Added jmr3904pal board type that adds PAL-based serial I/O and timer module at base address 0xFFFF0000. - + Tue Jun 9 11:52:29 1998 Gavin Koch - * mips.igen (SWC1) : Correct the handling of ReverseEndian + * mips.igen (SWC1) : Correct the handling of ReverseEndian and BigEndianCPU. Tue Jun 9 11:40:57 1998 Gavin Koch @@ -1418,7 +1989,7 @@ Thu May 21 18:57:19 1998 Andrew Cagney * sim-main.h (ALU32_END): Sign extend 32 bit results. * mips.igen (ADD, SUB, ADDI, DADD, DSUB): Trace. - + Mon May 18 18:22:42 1998 Frank Ch. Eigler * configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware @@ -1457,7 +2028,7 @@ Wed May 13 09:59:27 1998 Gavin Koch * mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo): Replace check_op_hilo with check_mult_hilo and check_div_hilo. - Add special r3900 version of do_mult_hilo. + Add special r3900 version of do_mult_hilo. (do_dmultx,do_mult,do_multu): Replace calls to check_op_hilo with calls to check_mult_hilo. (do_ddiv,do_ddivu,do_div,do_divu): Replace calls to check_op_hilo @@ -1478,7 +2049,7 @@ Wed May 6 19:42:19 1998 Doug Evans Tue Apr 28 18:33:31 1998 Geoffrey Noer - * configure: Regenerated to track ../common/aclocal.m4 changes. + * configure: Regenerated to track ../common/aclocal.m4 changes. Sun Apr 26 15:31:55 1998 Tom Tromey @@ -1526,7 +2097,7 @@ Mon Apr 20 11:26:55 1998 Andrew Cagney (HIACCESS, LOACCESS): Delete, replace with (HIHISTORY, LOHISTORY): New macros. (CHECKHILO): Delete all, moved to mips.igen - + * gencode.c (build_instruction): Do not generate checks for correct HI/LO register usage. @@ -1539,7 +2110,7 @@ Mon Apr 20 11:26:55 1998 Andrew Cagney do_divu, domultx, do_mult, do_multu): Use. * tx.igen ("madd", "maddu"): Use. - + Wed Apr 15 18:31:54 1998 Andrew Cagney * mips.igen (DSRAV): Use function do_dsrav. @@ -1563,10 +2134,10 @@ Wed Apr 15 10:32:15 1998 Andrew Cagney * m16.igen (delayslot16): Add NIA argument, could be called by a 32 bit MIPS16 instruction. - + * interp.c (ifetch16): Move function from here. * sim-main.c (ifetch16): To here. - + * sim-main.c (ifetch16, ifetch32): Update to match current implementations of LH, LW. (signal_exception): Don't print out incorrect hex value of illegal @@ -1578,7 +2149,7 @@ Wed Apr 15 00:17:25 1998 Andrew Cagney instruction. * m16.igen: Implement MIPS16 instructions. - + * mips.igen (do_addiu, do_addu, do_and, do_daddiu, do_daddu, do_ddiv, do_ddivu, do_div, do_divu, do_dmultx, do_dmultu, do_srav, do_dsubu, do_mfhi, do_mflo, do_mult, do_multu, do_nor, do_or, @@ -1586,7 +2157,7 @@ Wed Apr 15 00:17:25 1998 Andrew Cagney do_srl, do_srlv, do_subu, do_xor, do_xori): New functions. Move bodies of corresponding code from 32 bit insn to these. Also used by MIPS16 versions of functions. - + * sim-main.h (RAIDX, T8IDX, T8, SPIDX): Define. (IMEM16): Drop NR argument from macro. @@ -1599,12 +2170,12 @@ Sat Apr 4 22:39:50 1998 Andrew Cagney as INLINE_SIM_MAIN. (pr_addr, pr_uword64): Declare. (sim-main.c): Include when H_REVEALS_MODULE_P. - + * interp.c (address_translation, load_memory, store_memory, cache_op, sync_operation, prefetch, ifetch32, pending_tick): Move from here. * sim-main.c: To here. Fix compilation problems. - + * configure.in: Enable inlining. * configure: Re-config. @@ -1633,7 +2204,7 @@ Fri Apr 3 04:32:35 1998 Andrew Cagney configure.in: Let the tx39 use igen again. configure: Update. - + Thu Apr 2 10:59:39 1998 Andrew Cagney * interp.c (sim_monitor): get_mem_info returns a 4 byte quantity, @@ -1649,7 +2220,7 @@ Mon Mar 30 14:46:05 1998 Gavin Koch * configure.in (mipstx39*-*-*): Use gencode simulator rather than igen one. * configure : Rebuild. - + Fri Mar 27 16:15:52 1998 Andrew Cagney * configure: Regenerated to track ../common/aclocal.m4 changes. @@ -1679,9 +2250,9 @@ Tue Mar 17 19:05:20 1998 Frank Ch. Eigler * Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added configurable settings for stand-alone simulator. - + * configure.in: Added X11 search, just in case. - + * configure: Regenerated. Wed Mar 11 14:09:10 1998 Andrew Cagney @@ -1723,11 +2294,11 @@ Fri Feb 20 17:43:21 1998 Andrew Cagney * interp.c (Max, Min): New functions. * mips.igen (BC1): Add tracing. - + Thu Feb 19 14:50:00 1998 John Metzler - + * interp.c Added memory map for stack in vr4100 - + Thu Feb 19 10:21:21 1998 Gavin Koch * interp.c (load_memory): Add missing "break"'s. @@ -1753,9 +2324,9 @@ Tue Feb 3 11:36:02 1998 Andrew Cagney (IMEM16_IMMED): Define. (IMEM16): Define. (DELAY_SLOT): Update. - + * m16run.c (sim_engine_run): New file. - + * m16.igen: All instructions except LB. (LB): Call do_load_byte. * mips.igen (do_load_byte): New function. @@ -1790,7 +2361,7 @@ Sun Feb 1 16:52:37 1998 Andrew Cagney FGR from correct location. (sim_open): Set size of FGR's according to WITH_TARGET_FLOATING_POINT_BITSIZE. - + * sim-main.h (FGR): Store floating point registers in a separate array. @@ -1809,7 +2380,7 @@ Tue Feb 3 00:10:50 1998 Andrew Cagney * sim-main.h (PENDING_FILL, PENDING_TICK, PENDING_SCHED, PENDING_BIT, PENDING_INVALIDATE): Re-write pipeline code so that it can handle mixed sized quantites and single bits. - + Mon Feb 2 17:43:15 1998 Andrew Cagney * interp.c (oengine.h): Do not include when building with IGEN. @@ -1845,17 +2416,17 @@ Sun Feb 1 11:15:29 1998 Andrew Cagney * sim-main.h: Replace uses of STATE_CPU with CPU. Replace sd with SD or CPU_. - + * sim-main.h (signal_exception): Add sim_cpu arg. (SignalException*): Pass both SD and CPU to signal_exception. * interp.c (signal_exception): Update. - + * sim-main.h (value_fpr, store_fpr, dotrace, ifetch32), interp.c: Ditto (sync_operation, prefetch, cache_op, store_memory, load_memory, address_translation): Ditto (decode_coproc, cop_lw, cop_ld, cop_sw, cop_sd): Ditto. - + Sat Jan 31 18:15:41 1998 Andrew Cagney * configure: Regenerated to track ../common/aclocal.m4 changes. @@ -1864,7 +2435,7 @@ Sat Jan 31 14:49:24 1998 Andrew Cagney * interp.c (sim_engine_run): Add `nr_cpus' argument. - * mips.igen (model): Map processor names onto BFD name. + * mips.igen (model): Map processor names onto BFD name. * sim-main.h (CPU_CIA): Delete. (SET_CIA, GET_CIA): Define @@ -1877,7 +2448,7 @@ Wed Jan 21 16:16:27 1998 Andrew Cagney * configure.in (default_endian): Configure a big-endian simulator by default. * configure: Re-generate. - + Mon Jan 19 22:26:29 1998 Doug Evans * configure: Regenerated to track ../common/aclocal.m4 changes. @@ -1948,11 +2519,11 @@ Fri Nov 14 11:56:48 1997 Andrew Cagney in IV3.2 spec. (DMULT, DMULTU): Force use of hosts 64bit multiplication. Handle vr5000 which saves LO in a GPR separatly. - + * configure.in (enable-sim-igen): For vr5000, select vr5000 specific instructions. * configure: Re-generate. - + Wed Nov 12 14:42:52 1997 Andrew Cagney * Makefile.in (SIM_OBJS): Add sim-fpu module. @@ -1979,7 +2550,7 @@ Tue Nov 11 12:38:23 1997 Andrew Cagney (BEQZ, ..., SLT, SLTI, TLT, TLE, TLI, ...): Explicitly cast GPR to a signed value. (MTHI, MFHI): Disable code checking HI-LO. - + * sim-main.h (dotrace,tracefh), interp.c: Make dotrace & tracefh global. (NULLIFY_NEXT_INSTRUCTION): Call dotrace. @@ -2006,7 +2577,7 @@ Thu Nov 6 16:36:35 1997 Andrew Cagney (sim_read, sim_write): Call address_translation directly. (sim_engine_run): Rename variable vaddr to cia. (signal_exception): Pass cia to sim_monitor - + * sim-main.h (SignalException, LoadWord, StoreWord, CacheOp, Prefetch, SyncOperation, ValueFPR, StoreFPR, Convert, COP_LW, COP_LD, COP_SW, COP_SD, DecodeCoproc): Update. @@ -2014,7 +2585,7 @@ Thu Nov 6 16:36:35 1997 Andrew Cagney * sim-main.h (SignalExceptionSimulatorFault): Delete definition. * interp.c (sim_open): Replace SignalExceptionSimulatorFault with SIM_ASSERT. - + * interp.c (signal_exception): Pass restart address to sim_engine_restart. @@ -2036,7 +2607,7 @@ Wed Nov 5 12:19:56 1997 Andrew Cagney * configure.in (enable-sim-igen): New configuration option. * configure: Re-generate. - + * sim-main.h (MAX_INSNS, INSN_NAME): Define. * interp.c (load_memory, store_memory): Delete parameter RAW. @@ -2049,7 +2620,7 @@ Wed Nov 5 12:19:56 1997 Andrew Cagney * interp.c (sim_do_command, sim_commands): Delete mips specific commands. Handled by module sim-options. - + * sim-main.h (SIM_HAVE_FLATMEM): Undefine, use sim-core.o module. (WITH_MODULO_MEMORY): Define. @@ -2062,7 +2633,7 @@ Wed Nov 5 12:19:56 1997 Andrew Cagney memory regions. Use sim-memopts module, via sim_do_commandf, to manage memory regions. (load_memory, store_memory): Use sim-core for memory model. - + * interp.c (address_translation): Delete all memory map code except line forcing 32 bit addresses. @@ -2098,7 +2669,7 @@ Wed Nov 5 09:35:59 1997 Andrew Cagney Wed Oct 29 11:13:56 1997 Andrew Cagney - * mips.igen: + * mips.igen: * Makefile.in (IGEN_INCLUDE): Files included by mips.igen. (tmp-igen, tmp-m16): Depend on IGEN_INCLUDE. @@ -2110,7 +2681,7 @@ Tue Oct 28 11:06:47 1997 Andrew Cagney Mon Oct 27 17:53:59 1997 Andrew Cagney * Makefile.in (SIM_NO_CFLAGS): Define. Define WITH_IGEN=0. - + interp.c (sim_engine_run): Do not compile function sim_engine_run when WITH_IGEN == 1. @@ -2149,7 +2720,7 @@ Fri Oct 24 17:41:49 1997 Andrew Cagney IGEN_TRACE, IGEN_INSN, IGEN_DC): Define (SIM_EXTRA_CFLAGS, SIM_EXTRA_ALL, SIM_OBJS): Add member SIM_@sim_gen@_*, set by autoconf. - + Wed Oct 22 12:52:06 1997 Andrew Cagney * sim-main.h (NULLIFY_NEXT_INSTRUCTION, DELAY_SLOT): Define. @@ -2160,7 +2731,7 @@ Wed Oct 22 12:52:06 1997 Andrew Cagney * interp.c (ifetch32): New function. Fetch 32 bit instruction. (address_translation): Raise exception InstructionFetch when translation fails and isINSTRUCTION. - + * interp.c (sim_open, sim_write, sim_monitor, store_word, sim_engine_run): Change type of of vaddr and paddr to address_word. @@ -2228,29 +2799,29 @@ Thu Oct 16 10:31:39 1997 Andrew Cagney isINSTRUCTION, ..., AccessLength_BYTE, ...): Move to sim-main.h. (UserMode, BigEndianMem, ByteSwapMem, ReverseEndian, BigEndianCPU, status_KSU_mask, ...). Moved to sim-main.h - + * sim-main.h (ALU32_END, ALU64_END): Define. When overflow raise exception. (sim-alu.h): Include. (NULLIFY_NIA, NULL_CIA, CPU_CIA): Define. (sim_cia): Typedef to instruction_address. - + Thu Oct 16 10:31:41 1997 Andrew Cagney * Makefile.in (interp.o): Rename generated file engine.c to oengine.c. - + * interp.c: Update. - + Thu Oct 16 10:31:40 1997 Andrew Cagney * gencode.c (build_instruction): Use FPR_STATE not fpr_state. - + Thu Oct 16 10:31:39 1997 Andrew Cagney * gencode.c (build_instruction): For "FPSQRT", output correct number of arguments to Recip. - + Tue Oct 14 17:38:18 1997 Andrew Cagney * Makefile.in (interp.o): Depends on sim-main.h @@ -2266,9 +2837,9 @@ Tue Oct 14 17:38:18 1997 Andrew Cagney * interp.c (registers, register_widths, fpr_state, ipc, dspc, pending_*, hiaccess, loaccess, state, dsstate): Delete globals. (GPR, FGRIDX, ...): Delete macros. - + * interp.c: Update names to match defines from sim-main.h - + Tue Oct 14 15:11:45 1997 Andrew Cagney * interp.c (sim_monitor): Add SD argument. @@ -2301,29 +2872,29 @@ Tue Oct 14 13:35:48 1997 Andrew Cagney * support.h: Delete * Makefile.in: Update dependencies * interp.c: Do not include. - + Tue Oct 14 13:35:48 1997 Andrew Cagney * interp.c (address_translation, load_memory, store_memory, cache_op): Rename to from AddressTranslation et.al., make global, add SD argument - + * sim-main.h (AddressTranslation, LoadMemory, StoreMemory, CacheOp): Define. - + * interp.c (SignalException): Rename to signal_exception, make global. * interp.c (Interrupt, ...): Move definitions to sim-main.h. - + * sim-main.h (SignalException, SignalExceptionInterrupt, SignalExceptionInstructionFetch, SignalExceptionAddressStore, SignalExceptionAddressLoad, SignalExceptionSimulatorFault, SignalExceptionIntegerOverflow, SignalExceptionCoProcessorUnusable): Define. - + * interp.c, support.h: Use. - + Tue Oct 14 13:19:20 1997 Andrew Cagney * interp.c (ValueFPR, StoreFPR), sim-main.h: Make global, rename @@ -2332,7 +2903,7 @@ Tue Oct 14 13:19:20 1997 Andrew Cagney Multiply, Divide, Recip, SquareRoot, Convert): Make global. * sim-main.h (ValueFPR, StoreFPR): Define. - + Tue Oct 14 13:06:55 1997 Andrew Cagney * interp.c (sim_engine_run): Check consistency between configure @@ -2340,7 +2911,7 @@ Tue Oct 14 13:06:55 1997 Andrew Cagney and HASFPU. * configure.in (mips_bitsize): Configure WITH_TARGET_WORD_BITSIZE. - (mips_fpu): Configure WITH_FLOATING_POINT. + (mips_fpu): Configure WITH_FLOATING_POINT. (mips_endian): Configure WITH_TARGET_ENDIAN. * configure: Update. @@ -2388,7 +2959,7 @@ Tue Sep 23 10:19:51 1997 Andrew Cagney * Makefile.in (SIM_ALIGNMENT, SIM_ENDIAN, SIM_HOSTENDIAN, SIM_RESERVED_BITS): Delete, moved to common. (SIM_EXTRA_CFLAGS): Update. - + Mon Sep 22 11:46:20 1997 Andrew Cagney * configure.in: Configure non-strict memory alignment. @@ -2413,12 +2984,12 @@ Sat Sep 20 14:07:28 1997 Gavin Koch (sim_engine_run): Use CANCELDELAYSLOT rather than clearing bits explicitly. * Makefile.in,configure.in: Add mips subtarget option. - * configure: Update. + * configure: Update. Fri Sep 19 09:33:27 1997 Gavin Koch * gencode.c: Add r3900 (tx39). - + Tue Sep 16 15:52:04 1997 Gavin Koch @@ -2489,10 +3060,10 @@ Mon Aug 25 15:59:48 1997 Andrew Cagney (sim_open): To here. Check return status. Fri Jul 25 15:00:45 1997 Gavin Koch - + * gencode.c (build_instruction): Two arg MADD should not assign result to $0. - + Thu Jun 26 12:13:17 1997 Angela Marie Thomas (angela@cygnus.com) * sim/mips/configure: Change default_sim_endian to 0 (bi-endian) @@ -2540,7 +3111,7 @@ Tue May 27 20:08:06 1997 Andrew Cagney * interp.c (sim_info): Only print info when verbose. (sim_info) Use sim_io_printf for output. - + Tue May 27 14:22:23 1997 Andrew Cagney * interp.c (CoProcPresent): Add UNUSED attribute - not used by all @@ -2577,7 +3148,7 @@ Wed May 21 09:08:10 1997 Andrew Cagney * configure.in: Add INLINE, ENDIAN, HOSTENDIAN and WARNINGS. * Makefile.in: Ditto. * configure: Re-generate. - + * Makefile.in (SIM_OBJS): Add sim-watch.o module. Tue May 20 15:08:56 1997 Andrew Cagney @@ -2625,7 +3196,7 @@ Tue May 20 13:42:03 1997 Andrew Cagney reason from here. (SignalException): To here. Signal using sim_engine_halt. (sim_stop_reason): Delete, moved to common. - + Tue May 20 10:19:48 1997 Andrew Cagney * interp.c (sim_open): Add callback argument. @@ -2644,7 +3215,7 @@ Mon May 19 18:20:38 1997 Andrew Cagney (simulate): Convert into. (sim_engine_run): This function. (sim_resume): Delete. - + * interp.c (simulation): New variable - the simulator object. (sim_kind): Delete global - merged into simulation. (sim_load): Cleanup. Move PC assignment from here. @@ -2652,7 +3223,7 @@ Mon May 19 18:20:38 1997 Andrew Cagney * sim-main.h: New file. * interp.c (sim-main.h): Include. - + Thu Apr 24 00:39:51 1997 Doug Evans * configure: Regenerated to track ../common/aclocal.m4 changes. @@ -2663,8 +3234,8 @@ Wed Apr 23 17:32:19 1997 Doug Evans Mon Apr 21 17:16:13 1997 Gavin Koch - * gencode.c (build_instruction): DIV instructions: check - for division by zero and integer overflow before using + * gencode.c (build_instruction): DIV instructions: check + for division by zero and integer overflow before using host's division operation. Thu Apr 17 03:18:14 1997 Doug Evans @@ -2871,7 +3442,7 @@ Wed Dec 11 13:53:51 1996 Jim Wilson (swap_word): Rewrite correctly. (ColdReset): Delete references to CONFIG. Delete endianness related code; moved to set_endianness. - + Tue Dec 10 11:32:04 1996 Jim Wilson * gencode.c (build_instruction, case JUMP): Truncate PC to 32 bits. @@ -3019,14 +3590,14 @@ Wed Jul 17 18:12:38 1996 Stu Grossman (grossman@critters.cygnus.com) Wed Jun 26 12:24:55 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, - INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. - (docdir): Removed. - * configure.in (AC_PREREQ): autoconf 2.5 or higher. - (AC_PROG_INSTALL): Added. + * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir, + INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. + (docdir): Removed. + * configure.in (AC_PREREQ): autoconf 2.5 or higher. + (AC_PROG_INSTALL): Added. (AC_PROG_CC): Moved to before configure.host call. - * configure: Rebuilt. - + * configure: Rebuilt. + Wed Jun 5 08:28:13 1996 James G. Smith * configure.in: Define @SIMCONF@ depending on mips target. @@ -3036,7 +3607,7 @@ Wed Jun 5 08:28:13 1996 James G. Smith * gencode.c: Change LOADDRMASK to 64bit memory model only. * interp.c: Remove some debugging, provide more detailed error messages, update memory accesses to use LOADDRMASK. - + Mon Jun 3 11:55:03 1996 Ian Lance Taylor * configure.in: Add calls to AC_CONFIG_HEADER, AC_CHECK_HEADERS,