-start-sanitize-r5900
-Wed Nov 11 16:53:57 1998 Andrew Cagney <cagney@b1.cygnus.com>
+Tue Sep 7 13:34:54 1999 Geoffrey Keating <geoffk@cygnus.com>
- * r5900.igen (RSQRT): Set both I/SI and D/SD when div-0.
+ * mips.igen (delayslot32): Handle sequence like
+ mtc1 $at,$f12 ; jal fp_add ; mov.s $f13,$f12
+ correctly by calling ENGINE_ISSUE_PREFIX_HOOK() before issue.
+ (MULT): Actually pass the third register...
-Thu Nov 5 10:29:42 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
+1999-09-03 Mark Salter <msalter@cygnus.com>
- * r5900.igen (r59fp_opdiv): Correct erroneous FGR[FD] reference.
+ * interp.c (sim_open): Added more memory aliases for additional
+ hardware being touched by cygmon on jmr3904 board.
-Thu Nov 5 19:40:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
+Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
- * r5900.igen (DIV): Do not clear clear SO/SU when already set.
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
- * r5900.igen (RSQRT.S): Do not compute 1/srqt(abs(T)) when T
- negative, compute S/sqrt(abs(T)) instead. Correctly set FCSR
- bits.
+Tue Jul 27 16:36:51 1999 Andrew Cagney <cagney@amy.cygnus.com>
- * r5900.igen (RSQRT.S): Handle overflow/underflow better. Check
- sign of FT not FS.
- (r59fp_store): Clarify "bad value" abort messages.
+ * 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 <fche@cygnus.com>
-end-sanitize-r5900
-start-sanitize-tx3904
-Sat Oct 30 09:49:10 1998 Frank Ch. Eigler <fche@cygnus.com>
+ Implement "sim firmware" option, inspired by jimb's version of 1998-01.
+ * interp.c (firmware_option_p): New global flag: "sim firmware" given.
+ (idt_monitor_base): Base address for IDT monitor traps.
+ (pmon_monitor_base): Ditto for PMON.
+ (lsipmon_monitor_base): Ditto for LSI PMON.
+ (MONITOR_BASE, MONITOR_SIZE): Removed macros.
+ (mips_option): Add "firmware" option with new OPTION_FIRMWARE key.
+ (sim_firmware_command): New function.
+ (mips_option_handler): Call it for OPTION_FIRMWARE.
+ (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 <cagney@amy.cygnus.com>
- * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
- interrupt level number to match changed SignalExceptionInterrupt
- macro.
+ * interp.c (sim_monitor): Flush output before reading input.
-end-sanitize-tx3904
-start-sanitize-sky
-Thu Oct 29 12:47:46 1998 Frank Ch. Eigler <fche@cygnus.com>
+Sun Jul 11 19:28:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
- * sim-main.c (tlb_try_match): Include physical address in
- scratchpad non-mapping warning.
+ * tconfig.in (SIM_HANDLES_LMA): Always define.
-end-sanitize-sky
-start-sanitize-r5900
-Thu Oct 29 11:06:30 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
+Thu Jul 8 16:06:59 1999 Andrew Cagney <cagney@b1.cygnus.com>
- * r5900.igen: Fix PSRLVW, MULTU1, PADSBH instructions,
- as per customer patch.
+ From Mark Salter <msalter@cygnus.com>:
+ * interp.c (BOARD_BSP): Define. Add to list of possible boards.
+ (sim_open): Add setup for BSP board.
-end-sanitize-r5900
-Fri Oct 9 18:02:25 1998 Doug Evans <devans@canuck.cygnus.com>
+Wed Jul 7 12:45:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
- * interp.c: #include "itable.h" if WITH_IGEN.
- (get_insn_name): New function.
- (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
- * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
+ * mips.igen (MULT, MULTU): Add syntax for two operand version.
+ (DMFC0, DMTC0): Recognize. Call DecodeCoproc which will report
+ them as unimplemented.
-start-sanitize-sky
-Tue Sep 22 10:35:37 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * sim-main.c (tlb_try_match): Specially match virtual
- pages mapped to scratchpad RAM, an unimplemented feature.
+1999-05-08 Felix Lee <flee@cygnus.com>
+
+ * configure: Regenerated to track ../common/aclocal.m4 changes.
+
+1999-04-21 Frank Ch. Eigler <fche@cygnus.com>
-end-sanitize-sky
-start-sanitize-r5900
-Fri Sep 18 11:31:16 1998 Frank Ch. Eigler <fche@cygnus.com>
+ * mips.igen (bc0f): For the TX39 only, decode this as a no-op stub.
- * r5900.igen (prot3w): Correct rotation sequence; patch
- from customer.
+Thu Apr 15 14:15:17 1999 Andrew Cagney <cagney@amy.cygnus.com>
-end-sanitize-r5900
-Mon Sep 14 12:36:44 1998 Frank Ch. Eigler <fche@cygnus.com>
+ * configure.in: Any mips64vr5*-*-* target should have
+ -DTARGET_ENABLE_FR=1.
+ (default_endian): Any mips64vr*el-*-* target should default to
+ LITTLE_ENDIAN.
+ * configure: Re-generate.
- * configure: Rebuilt to inhale new common/aclocal.m4.
+1999-02-19 Gavin Romig-Koch <gavin@cygnus.com>
+
+ * mips.igen (ldl): Extend from _16_, not 32.
+
+Wed Jan 27 18:51:38 1999 Andrew Cagney <cagney@chook.cygnus.com>
+
+ * interp.c (sim_store_register): Force registers written to by GDB
+ into an un-interpreted state.
+
+1999-02-05 Frank Ch. Eigler <fche@cygnus.com>
+
+ * 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.
+
+1998-12-30 Frank Ch. Eigler <fche@cygnus.com>
+
+ * mips.igen (BREAK): Call signal_exception instead of sim_engine_halt.
+
+Tue Dec 29 16:03:53 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * configure.in, configure (mips64vr5*-*-*): Added missing ;; in
+ case statement.
+
+1998-12-29 Frank Ch. Eigler <fche@cygnus.com>
+
+ * 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_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.
+ * 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 <gavin@cygnus.com>
+
+ * m16.igen (DADDIU5): Correct type-o.
+
+Mon Dec 21 10:34:48 1998 Andrew Cagney <cagney@chook>
+
+ * mips.igen (do_ddiv, do_ddivu): Pacify GCC. Update hi/lo via tmp
+ variables.
+
+Wed Dec 16 18:20:28 1998 Andrew Cagney <cagney@chook>
+
+ * Makefile.in (SIM_EXTRA_CFLAGS): No longer need to add .../newlib
+ to include path.
+ (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 <gavin@cygnus.com>
+
+ * 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):
+ 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
+ qualifier to get the hack generator working.
+ (do_dsll,do_dsllv,do_dsra,do_dsrl,do_dsrlv): New.
+ (DSLL): Use do_dsll.
+ (DSLLV): Use do_dsllv.
+ (DSRA): Use do_dsra.
+ (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
+ 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 <gavin@cygnus.com>
+
+ * 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 <gavin@cygnus.com>
+
+ * mips/interp.c (DEBUG): Cleanups.
+
+1998-12-10 Frank Ch. Eigler <fche@cygnus.com>
+
+ * dv-tx3904sio.c (tx3904sio_io_read_buffer): Endianness fixes.
+ (tx3904sio_tickle): fflush after a stdout character output.
+
+1998-12-03 Frank Ch. Eigler <fche@cygnus.com>
+
+ * interp.c (sim_close): Uninstall modules.
+
+Wed Nov 25 13:41:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * sim-main.h, interp.c (sim_monitor): Change to global
+ function.
+
+Wed Nov 25 17:33:24 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure.in (vr4100): Only include vr4100 instructions in
+ simulator.
+ * configure: Re-generate.
+ * m16.igen (*): Tag all mips16 instructions as also being vr4100.
+
+Mon Nov 23 18:20:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * Makefile.in (SIM_CFLAGS): Do not define WITH_IGEN.
+ * sim-main.h, sim-main.c, interp.c: Delete #if WITH_IGEN keeping
+ true alternative.
+
+ * configure.in (sim_default_gen, sim_use_gen): Replace with
+ 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 <cagney@b1.cygnus.com>
+
+ * configure.in: Configure mips64vr4100-elf nee mips64vr41* as a 64
+ bit mips16 igen simulator.
+ * configure: Re-generate.
+
+ * mips.igen (check_div_hilo, check_mult_hilo, check_mf_hilo): Mark
+ as part of vr4100 ISA.
+ * vr.igen: Mark all instructions as 64 bit only.
+
+Mon Nov 23 17:07:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * interp.c (get_cell, sim_monitor, fetch_str, CoProcPresent):
+ Pacify GCC.
+
+Mon Nov 23 13:23:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * configure.in: Configure mips-lsi-elf nee mips*lsi* as a
+ mipsIII/mips16 igen simulator. Fix sim_gen VS sim_igen typos.
+ * configure: Re-generate.
+
+ * m16.igen (BREAK): Define breakpoint instruction.
+ (JALX32): Mark instruction as mips16 and not r3900.
+ * mips.igen (C.cond.fmt): Fix typo in instruction format.
-start-sanitize-r5900
-Thu Sep 10 11:50:54 1998 Doug Evans <devans@canuck.cygnus.com>
+ * sim-main.h (PENDING_FILL): Wrap C statements in do/while.
- * r5900.igen (plzcw): Make `i' signed.
+Sat Nov 7 09:54:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
-Wed Sep 9 15:02:10 1998 Doug Evans <devans@canuck.cygnus.com>
-
- * sim-main.h (COP0_COUNT,COP0_COMPARE,status_IM7): New macros.
- * sky-engine.c (cpu_issue): Increment COP0_COUNT and signal an
- interrupt if == COP0_COMPARE and interrupt masks/enables allow it.
- * interp.c (signal_exception, sky version): Handle INT 2.
+ * gencode.c (build_instruction - BREAK): For MIPS16, handle BREAK
+ insn as a debug breakpoint.
+
+ * sim-main.h (PENDING_SLOT_BIT): Fix, was incorrectly defined as
+ pending.slot_size.
+ (PENDING_SCHED): Clean up trace statement.
+ (PENDING_SCHED): Increment PENDING_IN and PENDING_TOTAL.
+ (PENDING_FILL): Delay write by only one cycle.
+ (PENDING_FILL): For FSRs, write fmt_uninterpreted to FPR_STATE.
+
+ * sim-main.c (pending_tick): Clean up trace statements. Add trace
+ of pending writes.
+ (pending_tick): Fix sizes in switch statements, 4 & 8 instead of
+ 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 <fche@cygnus.com>
-Wed Sep 9 11:28:20 1998 Ron Unrau <runrau@cygnus.com>
+ * dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
+ interrupt level number to match changed SignalExceptionInterrupt
+ macro.
- * sim-main.h: track COP0 registers
- * interp.c (sim_{fetch,store}_register): read/write COP0 registers
+Fri Oct 9 18:02:25 1998 Doug Evans <devans@canuck.cygnus.com>
-Fri Sep 4 10:37:57 1998 Frank Ch. Eigler <fche@cygnus.com>
+ * interp.c: #include "itable.h" if WITH_IGEN.
+ (get_insn_name): New function.
+ (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
+ * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
- * r5900.igen (mtsab): Correct typo in input register.
+Mon Sep 14 12:36:44 1998 Frank Ch. Eigler <fche@cygnus.com>
- * sim-main.h (TMP_*): New macros for accessing local 128-bit
- temporary for multimedia instructions.
- * r5900.igen (*): Convert most instructions to use new TMP
- macros to store output result during computation.
+ * configure: Rebuilt to inhale new common/aclocal.m4.
-end-sanitize-r5900
-start-sanitize-tx3904
Tue Sep 1 15:39:18 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904sio.c: Include sim-assert.h.
* dv-tx3904tmr.c: Compiler warning clean-up. Remove particularly
frequent hw-trace messages.
-end-sanitize-tx3904
-start-sanitize-sky
-Tue Aug 11 13:52:16 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (signal_exception): Set IP3 bit in CAUSE on
- sky interrupt.
-
-end-sanitize-sky
Fri Jul 31 18:14:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
* vr.igen (MulAcc): Identify as a vr4100 specific function.
* vr.igen: New file.
(MAC/MADD16, DMAC/DMADD16): Implement using code from gencode.c.
* mips.igen: Define vr4100 model. Include vr.igen.
-start-sanitize-cygnus
- * vr5400.igen: Move instructions to vr.igen
- * Makefile.in (IGEN_INCLUDE): Remove vr5400.igen.
-end-sanitize-cygnus
-start-sanitize-vr4320
- * vr4320.igen: Move instructions to vr.igen.
- * Makefile.in (IGEN_INCLUDE): Remove vr5320.igen.
-
-end-sanitize-vr4320
-start-sanitize-sky
-Fri Jul 24 16:01:03 1998 Ian Carmichael <iancarm@cygnus.com>
-
- * interp.c (MONITOR_SIZE): Make 1MB monitor for SKY.
- * mips.igen (BREAK): Fix 0xffff2 monitor call. Slightly less
- confusing message if not enough --load-next options appear.
-
- * sky-pke.h (VUx_MEMx_SRCADDR_START): Move to 0x19800000 range.
- * sim-main.c (GDB_COMM_AREA): Move to 0x19810000.
- * sky-gdb.c (init_fifo_bp_cache): Use VIO_BASE when reading GDB area.
- (resume_handler): Same.
- (suspend_handler): Same.
-
-Wed Jul 22 13:04:13 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * mips.igen (break): Implement LOAD_INSTRUCTION ("break 0xffff1")
- to trigger multi-phase load.
-
- * sim-main.c: Include sim-assert.h for ASSERT macro.
- * sim-main.h (PRINTF_INSTRUCTION): Correct bit pattern for
- "break 0xffff2".
-
-Tue Jul 21 18:37:36 1998 Ian Carmichael <iancarm@cygnus.com>
-
- MMU support.
- * interp.c (sim_open): Initialize TLB.
- * interp.c (signal_exceptions): New 5900 handling.
- * r5900.igen (TLBWR, TLBWI, TLBR, TLBP): Make these work.
- * sim-main.c (tlb_try_match, tlb_lookup): New functions.
- (address_translation): Use the TLB.
- * sim-main.h (r4000_tlb_entry_t): New type.
- (TLB_*): New constants.
- (COP0_*): New register names.
-
- Sky character I/O device.
- * sky-psio.c: New file.
- * sky-psio.h: New file.
- * Makefile.in: Add sky-psio.o.
-
-end-sanitize-sky
-start-sanitize-r5900
-Tue Jul 14 16:10:45 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * r5900.igen (r59fp_overflow): Replace argument ANS with argument
- SIGN_P.
- (r59fp_zero): Ditto.
- (r59fp_store): Update calls.
- (DIV.S): Compute 0/0 sign from inputs. Ditto for X/0.
-
-end-sanitize-r5900
-start-sanitize-branchbug4011
-Mon Jun 29 09:31:27 1998 Gavin Koch <gavin@cygnus.com>
-
- * interp.c (OPTION_BRANCH_BUG_4011): Add.
- (mips_option_handler): Handle OPTION_BRANCH_BUG_4011.
- (mips_options): Define the option.
- * mips.igen (check_4011_branch_bug): New.
- (mark_4011_branch_bug): New.
- (all branch insn): Call mark_branch_bug, and check_branch_bug.
- * sim-main.h (branchbug4011_option, branchbug4011_last_target,
- branchbug4011_last_cia, BRANCHBUG4011_OPTION,
- BRANCHBUG4011_LAST_TARGET, BRANCHBUG4011_LAST_CIA,
- check_branch_bug, mark_branch_bug): Define.
-
-end-sanitize-branchbug4011
Mon Jun 29 09:21:07 1998 Gavin Koch <gavin@cygnus.com>
* mips.igen (check_mf_hilo): Correct check.
-start-sanitize-r5900
-Fri Jun 19 14:44:46 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * sim-main.h (NR_COP0_GPR, COP0_GPR, cop0_gpr, NR_COP0_BP,
- COP0_BP, cop0_bp, NR_COP0_P, COP0_P, cop0_p): Add 32 COP0 general
- purpose registers, add 8 COP0 break-point registers, add 64 COP0
- performance registers.
-
- * interp.c (decode_coproc): Accept any MTC0/MFC0, MTBP/MFBP, MTP*
- MFP* instructions. Just transfer value to/from corresponding
- register.
-
- * r5900.igen (BC0F, BC0FL, BC0T, BC0TL): Implement, assume COP0
- status is always true.
- (CACHE, TLBP, TPGWI, TLBWR): Treat as NOP.
- (EI, DI): Set/clear Status-EIE bit.
-
-end-sanitize-r5900
-start-sanitize-sky
-Fri Jun 19 14:44:46 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * mips.igen (BC0F, BC0FL, BC0T, BC0TL): Move to sky code to
- r5900.igen.
-
-end-sanitize-sky
Wed Jun 17 12:20:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
-start-sanitize-sky
- * sky-vu.c (vu0_read_cop2_register, vu0_write_cop2_register): Call
- ASSERT not assert.
- * sky-gdb.c: Include "sim-assert.h".
-
-end-sanitize-sky
* sim-main.h (interrupt_event): Add prototype.
-start-sanitize-tx3904
* dv-tx3904tmr.c (tx3904tmr_io_write_buffer): Delete unused
register_ptr, register_value.
(deliver_tx3904tmr_tick): Fix types passed to printf fmt.
-end-sanitize-tx3904
* sim-main.h (tracefh): Make extern.
-start-sanitize-tx3904
Tue Jun 16 14:39:00 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904tmr.c: Deschedule timer event after dispatching.
Reduce unnecessarily high timer event frequency.
* dv-tx3904cpu.c: Ditto for interrupt event.
-end-sanitize-tx3904
-start-sanitize-sky
-Tue Jun 16 14:12:09 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Removed COP2 branches.
- * r5900.igen: Moved COP2 branch instructions here.
- * mips.igen: Restricted COPz == COP2 bit pattern to
- exclude COP2 branches.
-
-end-sanitize-sky
Wed Jun 10 13:22:32 1998 Frank Ch. Eigler <fche@cygnus.com>
* interp.c (decode_coproc): For TX39, add stub COP0 register #7,
to allay warnings.
(interrupt_event): Made non-static.
-start-sanitize-tx3904
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
interchange of configuration values for external vs. internal
clock dividers.
-end-sanitize-tx3904
Tue Jun 9 12:46:24 1998 Ian Carmichael <iancarm@cygnus.com>
than halting sim.
* sim-main.h: Moved magic constants to here.
-start-sanitize-tx3904
Tue Jun 9 12:29:50 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
* interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
serial I/O and timer module at base address 0xFFFF0000.
-end-sanitize-tx3904
Tue Jun 9 11:52:29 1998 Gavin Koch <gavin@cygnus.com>
* mips.igen (SWC1) : Correct the handling of ReverseEndian
parts.
* configure: Update.
-start-sanitize-tx3904
Thu Jun 4 15:37:33 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904tmr.c: New file - implements tx3904 timer.
* interp.c (sim_open): Instantiate three timer instances.
Fix address typo of tx3904irc instance.
-end-sanitize-tx3904
-start-sanitize-r5900
-Thu Jun 4 16:47:27 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * mips.igen (check_mt_hilo): 2.1 of r5900 spec stalls for HILO.
- Select corresponding check_mt_hilo function.
- (check_mult_hilo, check_div_hilo, check_mf_hilo, check_mt_hilo):
- Ditto.
-
- * r5900.igen (check_mult_hilo_hi1lo1, check_div_hilo_hi1lo1): Mark
- as r5900 specific.
-
-end-sanitize-r5900
Tue Jun 2 15:48:02 1998 Ian Carmichael <iancarm@cygnus.com>
* interp.c (signal_exception): SystemCall exception now uses
* interp.c (decode_coproc): For TX39, add stub COP0 register #3,
to allay warnings.
-start-sanitize-r5900
-Mon Jun 1 10:28:25 1998 Jeffrey A Law (law@cygnus.com)
-
- * r5900.igen (rsqrt.s): Update based on r5900 ISA manual version 2.1.
- (sqrt.s): Likewise.
-
-end-sanitize-r5900
Fri May 29 11:40:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (sim_igen_filter): Match mips*tx39 not mipst*tx39.
-start-sanitize-tx3904
Mon May 25 20:47:45 1998 Andrew Cagney <cagney@b1.cygnus.com>
* dv-tx3904cpu.c, dv-tx3904irc.c: Rename *_callback to *_method.
sim-main.h. Declare a struct hw_descriptor instead of struct
hw_device_descriptor.
-end-sanitize-tx3904
Mon May 25 12:41:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
* mips.igen (do_store_left, do_load_left): Compute nr of left and
lanes. Fix incorrect computation in do_store_left when loading
bytes from second word.
-start-sanitize-tx3904
Fri May 22 13:34:20 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (SIM_AC_OPTION_HARDWARE): Only enable when tx3904.
* dv-tx3904irc.c (tx3904irc_finish): Pacify GCC.
* interp.c (signal_exception): Ditto.
-end-sanitize-tx3904
Thu May 21 14:24:11 1998 Gavin Koch <gavin@cygnus.com>
* gencode.c: Mark BEGEZALL as LIKELY.
* sim-main.h (ALU32_END): Sign extend 32 bit results.
* mips.igen (ADD, SUB, ADDI, DADD, DSUB): Trace.
-start-sanitize-r5900
-Thu May 21 17:15:39 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * interp.c (sim_fetch_register): Convert internal r5900 regs to
- target byte order
-
-end-sanitize-r5900
Mon May 18 18:22:42 1998 Frank Ch. Eigler <fche@cygnus.com>
* configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware
exit.
(decode_coproc): Implement RFE instruction for TX39.
(mips.igen): Decode RFE instruction as such.
-start-sanitize-tx3904
* configure.in (tx3904cpu,tx3904irc): Added devices for tx3904.
* interp.c: Define "jmr3904" and "jmr3904debug" board types and
bbegin to implement memory map.
* dv-tx3904cpu.c: New file.
* dv-tx3904irc.c: New file.
-end-sanitize-tx3904
Wed May 13 14:40:11 1998 Gavin Koch <gavin@cygnus.com>
* mips.igen (check_mt_hilo): Create a separate r3900 version.
-start-sanitize-r5900
-Wed May 13 14:27:53 1998 Gavin Koch <gavin@cygnus.com>
-
- * r5900.igen: Replace the calls and the definition of the
- function check_op_hilo_hi1lo1 with the pair
- check_mult_hilo_hi1lo1 and check_mult_hilo_hi1lo1.
-
-end-sanitize-r5900
Wed May 13 14:11:46 1998 Gavin Koch <gavin@cygnus.com>
* tx.igen (madd,maddu): Replace calls to check_op_hilo
* sim-main.h (INSN_NAME): New arg `cpu'.
-start-sanitize-sky
-Thu Apr 30 18:51:26 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * sky-libvpe.c (FMAdd, FMSub): Replace r59fp_op3 call with
- r59fp_mula.
-
-end-sanitize-sky
-start-sanitize-r5900
-Wed Apr 29 22:54:45 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * sim-main.h (R5900_FP_MAX, R5900_FP_MIN): Define.
- * r5900.igen (r59fp_overflow): Use.
-
- * r5900.igen (r59fp_op3): Rename to
- (r59fp_mula): This, delete opm argument.
- (MADD.S, MADDA.S, MSUB.S, MSUBS.S): Update.
- (r59fp_mula): Overflowing product propogates through to result.
- (r59fp_mula): ACC to the MAX propogates to result.
- (r59fp_mula): Underflow during multiply only sets SU.
-
-end-sanitize-r5900
Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
(struct _sim_cpu): Make hiaccess and loaccess of type hilo_access.
(HIACCESS, LOACCESS): Delete, replace with
(HIHISTORY, LOHISTORY): New macros.
- (start-sanitize-r5900):
- (struct sim_5900_cpu): Make hi1access, lo1access of type
- hilo_access.
- (HI1ACCESS, LO1ACCESS): Delete, replace with
- (HI1HISTORY, LO1HISTORY): New macros.
- (end-sanitize-r5900):
(CHECKHILO): Delete all, moved to mips.igen
* gencode.c (build_instruction): Do not generate checks for
do_divu, domultx, do_mult, do_multu): Use.
* tx.igen ("madd", "maddu"): Use.
- (start-sanitize-r5900):
-
- r5900.igen: Update all HI/LO checks.
- ("mfhi1", "mflo1", "mthi1", "mthi1", "pmfhi", "pmflo", "pmfhl",
- "pmthi", "pmtlo", "mpthl"): Check MF/MT HI/LO.
- ("mult1", "div1", "divu1", "multu1", "madd1", "maddu1", "pdivbw",
- "pdivuw", "pdivw", "phmaddh", "phmsubh", "pmaddh", "madduw",
- "pmaddw", "pmsubh", "pmsubw", "pmulth", "pmultuw", "pmultw"):
- Check HI/LO op.
- (end-sanitize-r5900):
-
-start-sanitize-sky
-Mon Apr 20 18:39:47 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Correct CMFC2/QMTC2
- GPR access.
-
- * r5900.igen (LQ,SQ): Use a pair of 64-bit accesses
- instead of a single 128-bit access.
-
-end-sanitize-sky
-start-sanitize-sky
-Fri Apr 17 14:50:39 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * r5900.igen (COP_[LS]Q): Transfer COP2 quadwords.
- * interp.c (cop_[ls]q): Fixes corresponding to above.
-end-sanitize-sky
-start-sanitize-sky
-Thu Apr 16 15:24:14 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Adapt COP2 micro interlock to
- clarified specs. Reset "M" bit; exit also on "E" bit.
-
-end-sanitize-sky
-start-sanitize-r5900
-Thu Apr 16 10:40:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * r5900.igen (CFC1, CTC1): Implement R5900 specific version.
- * mips.igen (CFC1, CTC1): R5900 des not use generic version.
-
- * r5900.igen (r59fp_unpack): New function.
- (r59fp_op1, r59fp_op2, r59fp_op3, C.cond.S, CVT.S.W, DIV.S,
- RSQRT.S, SQRT.S): Use.
- (r59fp_zero): New function.
- (r59fp_overflow): Generate r5900 specific overflow value.
- (r59fp_store): Re-write, overflow to MAX_R5900_FP value, underflow
- to zero.
- (CVT.S.W, CVT.W.S): Exchange implementations.
-
- * sim-main.h (R5900_EXPMAX, R5900_EXPMIN, R5900_EXPBIAS): Defile.
-
-end-sanitize-r5900
-start-sanitize-tx19
-Thu Apr 16 09:14:44 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * configure.in (tx19, sim_use_gen): Switch to igen.
- * configure: Re-build.
-
-end-sanitize-tx19
-start-sanitize-sky
-Wed Apr 15 12:41:18 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Make COP2 branch code compile after
- igen signature changes.
-
-end-sanitize-sky
Wed Apr 15 18:31:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
* mips.igen (DSRAV): Use function do_dsrav.
* m16run.c (sim_engine_run): Restore CIA after handling an event.
-start-sanitize-tx19
- * mips.igen (mtc0): Valid tx19 instruction.
-
-end-sanitize-tx19
* sim-main.h (DELAY_SLOT, NULLIFY_NEXT_INSTRUCTION): For IGEN, use
functions.
* sim-main.h (RAIDX, T8IDX, T8, SPIDX): Define.
(IMEM16): Drop NR argument from macro.
-start-sanitize-sky
-Mon Apr 13 16:28:52 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Add proper 1000000 bit-string at top
- of VU lower instruction.
-
-end-sanitize-sky
-start-sanitize-sky
-Thu Apr 9 16:38:23 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * r5900.igen (LQC,SQC): Adapted code to DOUBLEWORD accesses
- instead of QUADWORD.
-
- * sim-main.h: Removed attempt at allowing 128-bit access.
-
-end-sanitize-sky
-start-sanitize-sky
-Wed Apr 8 18:12:13 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * Makefile.in (SIM_SKY_OBJS): Added sky-vudis.o.
-
- * interp.c (decode_coproc): Refer to VU CIA as a "special"
- register, not as a "misc" register. Aha. Add activity
- assertions after VCALLMS* instructions.
-
-end-sanitize-sky
-start-sanitize-sky
-Tue Apr 7 18:32:49 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Do not apply superfluous E (end) flag
- to upper code of generated VU instruction.
-
-end-sanitize-sky
-start-sanitize-sky
-Mon Apr 6 19:55:56 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (cop_[ls]q): Replaced stub with proper COP2 code.
-
- * sim-main.h (LOADADDRMASK): Redefine to allow 128-bit accesses
- for TARGET_SKY.
-
- * r5900.igen (SQC2): Thinko.
-
-end-sanitize-sky
-start-sanitize-sky
-Sun Apr 5 12:05:44 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (*): Adapt code to merged VU device & state structs.
- (decode_coproc): Execute COP2 each macroinstruction without
- pipelining, by stepping VU to completion state. Adapted to
- read_vu_*_reg style of register access.
-
- * mips.igen ([SL]QC2): Removed these COP2 instructions.
-
- * r5900.igen ([SL]QC2): Transplanted these COP2 instructions here.
-
- * sim-main.h (cop_[ls]q): Enclosed in TARGET_SKY guards.
-
-end-sanitize-sky
Sat Apr 4 22:39:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (SIM_OBJS): Add sim-main.o.
* mips.igen (r3900): r3900 does not support 64 bit integer
operations.
-start-sanitize-sky
-Wed Apr 1 08:20:31 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * mips.igen (SQC2/LQC2): Make bodies sky-target-only also.
-
-end-sanitize-sky
-start-sanitize-sky
-Mon Mar 30 18:41:43 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Continuing COP2 work.
- (cop_[ls]q): Make sky-target-only.
-
- * sim-main.h (COP_[LS]Q): Make sky-target-only.
-end-sanitize-sky
Mon Mar 30 14:46:05 1998 Gavin Koch <gavin@cygnus.com>
* configure.in (mipstx39*-*-*): Use gencode simulator rather
than igen one.
* configure : Rebuild.
-start-sanitize-sky
-Sun Mar 29 17:50:11 Frank Ch. Eigler <fche@cygnus.com>
-
- * interp.c (decode_coproc): Added a missing TARGET_SKY check
- around COP2 implementation skeleton.
-
-end-sanitize-sky
-start-sanitize-sky
-Fri Mar 27 16:19:29 1998 Frank Ch. Eigler <fche@cygnus.com>
-
- * Makefile.in (SIM_SKY_OBJS): Replaced sky-vu[01].o with sky-vu.o.
-
- * interp.c (sim_{load,store}_register): Use new vu[01]_device
- static to access VU registers.
- (decode_coproc): Added skeleton of sky COP2 (VU) instruction
- decoding. Work in progress.
-
- * mips.igen (LDCzz, SDCzz): Removed *5900 case for this
- overlapping/redundant bit pattern.
- (LQC2, SQC2): Added *5900 COP2 instruction skeleta. Work in
- progress.
-
- * sim-main.h (status_CU[012]): Added COP[n]-enabled flags for
- status register.
-
- * interp.c (cop_lq, cop_sq): New functions for future 128-bit
- access to coprocessor registers.
-
- * sim-main.h (COP_LQ, COP_SQ): New macro front-ends for above.
-end-sanitize-sky
Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
* interp.c (Max, Min): Comment out functions. Not yet used.
-start-sanitize-vr4320
-Wed Mar 25 10:04:13 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * vr4320.igen (DCLZ): Pacify GCC, 64 bit arg, int format.
-
-end-sanitize-vr4320
Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
* Makefile.in (MIPS_EXTRA_LIBS, SIM_EXTRA_LIBS): Added
configurable settings for stand-alone simulator.
-start-sanitize-sky
- * configure.in: Added --with-sim-gpu2 option to specify path of
- sky GPU2 library. Triggers -DSKY_GPU2 for sky-gpuif.c, and
- links/compiles stand-alone simulator with this library.
-
- * interp.c (MEM_SIZE): Increased default sky memory size to 16MB.
-end-sanitize-sky
* configure.in: Added X11 search, just in case.
* configure: Regenerated.
* interp.c (sim_write, sim_read, load_memory, store_memory):
Replace sim_core_*_map with read_map, write_map, exec_map resp.
-start-sanitize-vr4320
-Tue Mar 10 10:32:22 1998 Gavin Koch <gavin@cygnus.com>
-
- * vr4320.igen (clz,dclz) : Added.
- (dmac): Replaced 99, with LO.
-
-end-sanitize-vr4320
-start-sanitize-cygnus
-Fri Mar 6 08:30:58 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * mdmx.igen (SHFL.REPA.fmt, SHFL.REPB.fmt): Fix bit fields.
-
-end-sanitize-cygnus
-start-sanitize-vr4320
-Tue Mar 3 11:56:29 1998 Gavin Koch <gavin@cygnus.com>
-
- * vr4320.igen: New file.
- * Makefile.in (vr4320.igen) : Added.
- * configure.in (mips64vr4320-*-*): Added.
- * configure : Rebuilt.
- * mips.igen : Correct the bfd-names in the mips-ISA model entries.
- Add the vr4320 model entry and mark the vr4320 insn as necessary.
-
-end-sanitize-vr4320
Tue Mar 3 13:58:43 1998 Andrew Cagney <cagney@b1.cygnus.com>
* sim-main.h (GETFCC): Return an unsigned value.
-start-sanitize-r5900
- * r5900.igen: Use an unsigned array index variable `i'.
- (QFSRV): Ditto for variable bytes.
-
-end-sanitize-r5900
Tue Mar 3 13:21:37 1998 Andrew Cagney <cagney@b1.cygnus.com>
* mips.igen (DIV): Fix check for -1 / MIN_INT.
(DADD): Result destination is RD not RT.
-start-sanitize-r5900
- * r5900.igen (DIV1): Fix check for -1 / MIN_INT.
- (DIVU1): Don't check for MIN_INT / -1 as performing unsigned
- divide.
-
-end-sanitize-r5900
Fri Feb 27 13:49:49 1998 Andrew Cagney <cagney@b1.cygnus.com>
* sim-main.h (HIACCESS, LOACCESS): Always define.
* mips.igen (CxC1): Add tracing.
-start-sanitize-r5900
-Wed Feb 25 13:59:03 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * r5900.igen (StoreFP): Delete.
- (r59fp_store, r59fp_overflow, r59fp_op1, r59fp_op2, r59fp_op3):
- New functions.
- (rsqrt.s, sqrt.s): Implement.
- (r59cond): New function.
- (C.COND.S): Call r59cond in assembler line.
- (cvt.w.s, cvt.s.w): Implement.
-
- * mips.igen (rsqrt.fmt, sqrt.fmt, cvt.*.*): Remove from r5900
- instruction set.
-
- * sim-main.h: Define an enum of r5900 FCSR bit fields.
-
-end-sanitize-r5900
-start-sanitize-r5900
-Tue Feb 24 14:44:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * r5900.igen: Add tracing to all p* instructions.
-
-Tue Feb 24 02:47:33 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * interp.c (sim_store_register, sim_fetch_register): Pull swifty
- to get gdb talking to re-aranged sim_cpu register structure.
-
-end-sanitize-r5900
Fri Feb 20 17:43:21 1998 Andrew Cagney <cagney@b1.cygnus.com>
* sim-main.h (Max, Min): Declare.
* mips.igen (BC1): Add tracing.
-start-sanitize-cygnus
-Fri Feb 20 16:27:17 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * mdmx.igen: Tag all functions as requiring either with mdmx or
- vr5400 processor.
-
-end-sanitize-cygnus
-start-sanitize-r5900
-Fri Feb 20 15:55:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * configure.in (SIM_AC_OPTION_FLOAT): For r5900, set FP bit size
- to 32.
- (SIM_AC_OPTION_BITSIZE): For r5900, set nr address bits to 32.
-
- * mips.igen (C.cond.fmt, ..): Not part of r5900 insn set.
-
- * r5900.igen: Rewrite.
-
- * sim-main.h: Move r5900 registers to a separate _sim_r5900_cpu
- struct.
- (GPR_SB, GPR_SH, GPR_SW, GPR_SD, GPR_UB, GPR_UH, GPR_UW, GPR_UD):
- Define in terms of GPR/GPR1 instead of REGISTERS/REGISTERS.1
-
-end-sanitize-r5900
Thu Feb 19 14:50:00 1998 John Metzler <jmetzler@cygnus.com>
* interp.c Added memory map for stack in vr4100
* Makefile.in (SIM_NO_ALL): Define.
(tmp-m16): Generate both 16 bit and 32 bit simulator engines.
-start-sanitize-tx19
- * m16.igen: Mark all mips16 insns as being part of the tx19 insn
- set.
-
-end-sanitize-tx19
Tue Feb 3 11:28:00 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (mips_fpu_bitsize): For tx39, restrict floating
* configure: Regenerated to track ../common/aclocal.m4 changes.
-start-sanitize-cygnus
- * mdmx.igen: Mark all instructions as 64bit/fp specific.
-
-end-sanitize-cygnus
Tue Feb 3 00:10:50 1998 Andrew Cagney <cagney@b1.cygnus.com>
* interp.c (ColdReset): Call PENDING_INVALIDATE.
address_translation): Ditto
(decode_coproc, cop_lw, cop_ld, cop_sw, cop_sd): Ditto.
-start-sanitize-cygnus
- * mdmx.igen (get_scale): Pass CPU_ to semantic_illegal instead of
- `sd'.
- (ByteAlign): Use StoreFPR, pass args in correct order.
-
-end-sanitize-cygnus
-start-sanitize-r5900
-Sun Feb 1 10:59:55 1998 Andrew Cagney <cagney@b1.cygnus.com>
-
- * configure.in (sim_igen_filter): For r5900, configure as SMP.
-
-end-sanitize-r5900
Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Sat Jan 31 14:49:24 1998 Andrew Cagney <cagney@b1.cygnus.com>
-start-sanitize-r5900
- * configure.in (sim_igen_filter): For r5900, use igen.
- * configure: Re-generate.
-
-end-sanitize-r5900
* interp.c (sim_engine_run): Add `nr_cpus' argument.
* mips.igen (model): Map processor names onto BFD name.
* configure: Regenerated to track ../common/aclocal.m4 changes.
* config.in: Ditto.
-start-sanitize-cygnus
-Sat Dec 13 15:18:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * vr5400.igen (Low32Bits, High32Bits): Sign extend extracted 32
- bit values.
-
-Fri Dec 12 12:26:07 1997 Jeffrey A Law (law@cygnus.com)
-
- * configure.in (sim_igen_filter): Multi-sim vr5000 - vr5000 or
- vr5400 with the vr5000 as the default.
-
-end-sanitize-cygnus
Wed Dec 10 17:10:45 1997 Jeffrey A Law (law@cygnus.com)
* mips.igen (MSUB): Fix to work like MADD.
* gencode.c (MSUB): Similarly.
-start-sanitize-cygnus
-Tue Dec 9 12:02:12 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * configure.in (sim_igen_filter): Multi-sim vr5400 - vr5000 or
- vr5400.
-
-end-sanitize-cygnus
Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
* mips.igen (LWC1): Correct assembler - lwc1 not swc1.
-start-sanitize-cygnus
- * mdmx.igen (value_vr): Correct sim_io_eprintf format argument.
- (value_cc, store_cc): Implement.
-
- * sim-main.h: Add 8*3*8 bit accumulator.
-
- * vr5400.igen: Move mdmx instructins from here
- * mdmx.igen: To here - new file. Add/fix missing instructions.
- * mips.igen: Include mdmx.igen.
- * Makefile.in (IGEN_INCLUDE): Add mdmx.igen.
-
-end-sanitize-cygnus
Sun Nov 23 01:45:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
* sim-main.h (sim-fpu.h): Include.
* mips.igen: Delay slot branches add OFFSET to NIA not CIA.
(MFC0, MTC0, SWC1, LWC1, SDC1, LDC1): Implement.
- (start-sanitize-r5900):
- (LWXC1, SWXC1): Delete from r5900 instruction set.
- (end-sanitize-r5900):
(MTC1, MFC1, DMTC1, DMFC1, CFC1, CTC1): Implement separate non
PENDING_FILL versions of instructions. Simplify.
(X): New function.
* sim-main.h (IPC): Delete.
- start-sanitize-cygnus
- * vr5400.igen (vr): Add missing cia argument to value_fpr.
- (do_select): Rename function select.
- end-sanitize-cygnus
* interp.c (signal_exception, store_word, load_word,
address_translation, load_memory, store_memory, cache_op,
* interp.c (address_translation): Delete parameter HOST.
-start-sanitize-tx49
-Wed Oct 29 14:21:32 1997 Gavin Koch <gavin@cygnus.com>
-
- * gencode.c: Add tx49 configury and insns.
- * configure.in: Add tx49 configury.
- * configure: Update.
-
-end-sanitize-tx49
Wed Oct 29 11:13:56 1997 Andrew Cagney <cagney@b1.cygnus.com>
* mips.igen:
igen. Replace with configuration variables sim_igen_flags /
sim_m16_flags.
- start-sanitize-r5900
- * r5900.igen: New file. Copy r5900 insns here.
- end-sanitize-r5900
- start-sanitize-cygnus
- * vr5400.igen: New file.
- end-sanitize-cygnus
* m16.igen: New file. Copy mips16 insns here.
* mips.igen: From here.
Mon Oct 27 13:53:59 1997 Andrew Cagney <cagney@b1.cygnus.com>
- start-sanitize-cygnus
- * mips.igen: Tag all mipsIV instructions with vr5400 model.
-
- * configure.in: Add mips64vr5400 target.
- * configure: Re-generate.
-
- end-sanitize-cygnus
* Makefile.in (SIM_NO_OBJ): Define, move SIM_M16_OBJ, SIM_IGEN_OBJ
to top.
(tmp-igen, tmp-m16): Pass -I srcdir to igen.
Thu Oct 16 10:31:39 1997 Andrew Cagney <cagney@b1.cygnus.com>
-start-sanitize-r5900
- * sim-main.h (BYTES_IN_MMI_REGS, ..., SUB_REG_FETCH, ..., GPR_SB,
- ...): Move to sim-main.h
-
-end-sanitize-r5900
* interp.c (sync_operation): Rename from SyncOperation, make
global, add SD argument.
(prefetch): Rename from Prefetch, make global, add SD argument.
* configure: Regenerated to track ../common/aclocal.m4 changes.
-start-sanitize-r5900
-Mon Aug 25 19:11:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * interp.c (MAX_REG): Allow up-to 128 registers.
- (LO1, HI1): Define value that matches REGISTER_NAMES in gdb.
- (REGISTER_SA): Ditto.
- (sim_open): Initialize register_widths for r5900 specific
- registers.
- (sim_fetch_register, sim_store_register): Check for request of
- r5900 specific SA register. Check for request for hi 64 bits of
- r5900 specific registers.
-
-end-sanitize-r5900
Mon Sep 29 14:45:00 1997 Bob Manson <manson@charmed.cygnus.com>
* configure: Regenerated.
* gencode.c: Add r3900 (tx39).
-start-sanitize-tx19
- * gencode.c: Fix some configuration problems by improving
- the relationship between tx19 and tx39.
-end-sanitize-tx19
Tue Sep 16 15:52:04 1997 Gavin Koch <gavin@cygnus.com>
constants.
(build_instruction): Ditto for LL.
-start-sanitize-tx19
-Sun Sep 7 16:05:46 1997 Gavin Koch <gavin@cygnus.com>
-
- * mips/configure.in, mips/gencode: Add tx19/r1900.
-
-end-sanitize-tx19
Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
* configure: Regenerated to track ../common/aclocal.m4 changes.
-start-sanitize-r5900
-Mon Sep 1 18:43:30 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * gencode.c (build_instruction): For "pabsw" and "pabsh", check
- for overflow due to ABS of MININT, set result to MAXINT.
- (build_instruction): For "psrlvw", signextend bit 31.
-
-end-sanitize-r5900
Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
(sim_load): Move call to sim_config from here.
(sim_open): To here. Check return status.
-start-sanitize-r5900
- * gencode.c (build_instruction): Do not define x8000000000000000,
- x7FFFFFFFFFFFFFFF, or xFFFFFFFF80000000.
-
-end-sanitize-r5900
-start-sanitize-r5900
-Mon Jul 28 19:49:29 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * gencode.c (build_instruction): For "pdivw", "pdivbw" and
- "pdivuw" check for overflow due to signed divide by -1.
-
-end-sanitize-r5900
Fri Jul 25 15:00:45 1997 Gavin Koch <gavin@cygnus.com>
* gencode.c (build_instruction): Two arg MADD should
not assign result to $0.
-start-sanitize-r5900
-Thu Jul 10 11:58:48 1997 Andrew Cagney <cagney@critters.cygnus.com>
-
- * gencode.c (build_instruction): For "ppac5" use unsigned
- arrithmetic so that the sign bit doesn't smear when right shifted.
- (build_instruction): For "pdiv" perform sign extension when
- storing results in HI and LO.
- (build_instructions): For "pdiv" and "pdivbw" check for
- divide-by-zero.
- (build_instruction): For "pmfhl.slw" update hi part of dest
- register as well as low part.
- (build_instruction): For "pmfhl" portably handle long long values.
- (build_instruction): For "pmfhl.sh" correctly negative values.
- Store half words 2 and three in the correct place.
- (build_instruction): For "psllvw", sign extend value after shift.
-
-end-sanitize-r5900
Thu Jun 26 12:13:17 1997 Angela Marie Thomas (angela@cygnus.com)
* sim/mips/configure: Change default_sim_endian to 0 (bi-endian)
* interp.c (SUB_REG_UW, SUB_REG_SW, SUB_REG_*): Use more explicit
signed8, unsigned8 et.al. types.
-start-sanitize-r5900
- * gencode.c (build_instruction): For PMULTU* do not sign extend
- registers. Make generated code easier to debug.
-
-end-sanitize-r5900
* interp.c (SUB_REG_FETCH): Handle both little and big endian
hosts when selecting subreg.
-start-sanitize-r5900
-Tue Jul 8 18:07:20 1997 Andrew Cagney <cagney@andros.cygnus.com>
-
- * gencode.c (type_for_data_len): For 32bit operations concerned
- with overflow, perform op using 64bits.
- (build_instruction): For PADD, always compute operation using type
- returned by type_for_data_len.
- (build_instruction): For PSUBU, when overflow, saturate to zero as
- actually underflow.
-
-end-sanitize-r5900
Wed Jul 2 11:54:10 1997 Jeffrey A Law (law@cygnus.com)
-start-sanitize-r5900
- * gencode.c (build_instruction): Handle "pext5" according to
- version 1.95 of the r5900 ISA.
-
- * gencode.c (build_instruction): Handle "ppac5" according to
- version 1.95 of the r5900 ISA.
-
-end-sanitize-r5900
* interp.c (sim_engine_run): Reset the ZERO register to zero
regardless of FEATURE_WARN_ZERO.
* gencode.c (FEATURE_WARNINGS): Remove FEATURE_WARN_ZERO.
* interp.c: Implement the ERET and mt/f sr instructions.
-start-sanitize-r5900
-Mon Jun 2 23:28:19 1997 Andrew Cagney <cagney@b1.cygnus.com>
-
- * gencode.c (build_instruction): For paddu, extract unsigned
- sub-fields.
-
- * gencode.c (build_instruction): Saturate padds instead of padd
- instructions.
-
-end-sanitize-r5900
Sat May 31 00:44:16 1997 Andrew Cagney <cagney@b1.cygnus.com>
* interp.c (SignalException): Don't bother restarting an
in argv form.
(other sim_*): New SIM_DESC argument.
-start-sanitize-r5900
-Wed Feb 26 18:32:21 1997 Gavin Koch <gavin@cygnus.com>
-
- * gencode.c (POP_AND,POP_OR,POP_NOR,POP_XOR):
- Change values to avoid overloading DOUBLEWORD which is tested
- for all insns.
- * gencode.c: reinstate "offending code".
-
-end-sanitize-r5900
Mon Feb 24 22:47:14 1997 Dawn Perchik <dawn@cygnus.com>
* interp.c: Fix printing of addresses for non-64-bit targets.
(pr_addr): Add function to print address based on size.
-start-sanitize-r5900
- * gencode.c: #ifdef out offending code until a permanent fix
- can be added. Code is causing build errors for non-5900 mips targets.
-end-sanitize-r5900
-
-start-sanitize-r5900
-Thu Feb 20 10:40:24 1997 Gavin Koch <gavin@cetus.cygnus.com>
- * gencode.c (process_instructions): Correct test for ISA dependent
- architecture bits in isa field of MIPS_DECODE.
-
-end-sanitize-r5900
Wed Feb 19 14:42:09 1997 Mark Alexander <marka@cygnus.com>
* interp.c (simopen): Add support for LSI MiniRISC PMON vectors.
-start-sanitize-r5900
-Tue Feb 18 17:03:47 1997 Gavin Koch <gavin@cygnus.com>
-
- * gencode.c (MIPS_DECODE): Correct instruction feature flags for
- PMADDUW.
-
-end-sanitize-r5900
Thu Feb 13 14:08:30 1997 Ian Lance Taylor <ian@cygnus.com>
* gencode.c (build_mips16_operands): Correct computation of base
address for extended PC relative instruction.
-start-sanitize-r5900
-Fri Feb 7 11:12:44 1997 Gavin Koch <gavin@cygnus.com>
-
- * Makefile.in, configure, configure.in, gencode.c,
- interp.c, support.h: add r5900.
-
-end-sanitize-r5900
Thu Feb 6 17:16:15 1997 Ian Lance Taylor <ian@cygnus.com>
* interp.c (mips16_entry): Add support for floating point cases.