aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
AgeCommit message (Collapse)AuthorFilesLines
1998-06-16 * support for the --sky-debug, sky-debug-file optionsPatrick Macdonald2-46/+108
* support for the --log, --log-file options * GIF disassembly * please view ChangeLog.Sky for details
1998-06-16 * sky-pke.c(read_pke_pc): return source address of current pcRon Unrau4-8/+52
* sky-pke.c(read_pke_pcx): return index of current pc * sky-pke.h: export read_pke_pcx * interp.c(sim_fetch_registers): read pke pc/pcx * sky-libvpe.c: track name change from GDB * sim-main.h: add vif memory based pc - extend gdb comm area for fifo breakpoints - define SIM_ENGINE_RESTART_HOOK * sky-gdb.c: add support for VIF breakpoints
1998-06-16* ECC (tx39) and sky changes.Frank Ch. Eigler3-20/+62
[ChangeLog] 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
1998-06-16Fix unresolved external error for sky_cpcond0 on non-SKY builds.James Lemke1-0/+8
1998-06-16* Implement remaining bits in VPU_STAT, CMSAR0, CMSAR1, FBRST. Fix COP2 ↵Ian Carmichael2-16/+3
interface * to VI registers (CFC2/CTC2). * * Modified Files: * ChangeLog.sky interp.c sim-main.c sky-pke.h sky-vu.c sky-vu.h
1998-06-15Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.James Lemke1-0/+32
1998-06-14 * sky-engine.c: Set ordering of device issues to match enumerated typeRon Unrau1-7/+7
txvu_cpu_context (sim-main.h tm-txvu.h). This also allowed the issue structure to be simplified to an array of functions.
1998-06-12 * interp.c: added call to sky_command_options_end() to closePatrick Macdonald1-1/+8
any open file handles before exiting * sky-gpuif.[c|h]: add disassembly on the fly code, log and log file option support * sky-gdb.[c|h] (sky_command_options_close()): new function, added some body to the log and log file option sections
1998-06-11* Moving some sky-specific ChangeLog entries into ChangeLog.skyFrank Ch. Eigler1-8/+0
1998-06-10* Support for sky hardware interrupts. The sky-dma cannot triggerFrank Ch. Eigler3-3/+28
interrupts properly yet (jlemke TODO). 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 start-sanitize-sky * sky-device.c (sky_signal_interrupt): New function to generate interrupt event. * sky-device.h: Declare it. * sky-dma.c (check_int1): Call it. * sky-pke.c (pke_begin_interrupt_stall): Call it. end-sanitize-sky
1998-06-10 * Updated several files to place all sky specific runtime optionsPatrick Macdonald2-99/+11
in sky-gdb.c. * Added two new runtime options --sky-debug and --screen-refresh * ChangeLog.sky contains a detailed description of the mods
1998-06-10* Typo fix for tx3904tmr use of configuration parameters.Frank Ch. Eigler1-3/+3
(ChangeLog entry coming later.)
1998-06-09* Handle 10 and 20-bit versions of Break instruction. Move handlingIan Carmichael1-0/+10
* of special values from signal_exception() in interp.c into mips.igen. * * Modified: ChangeLog gencode.c interp.c mips.igen sim-main.h
1998-06-09* Updates to tx3904 peripheral simulations for ECC.Frank Ch. Eigler4-34/+73
Tue Jun 9 12:29:50 1998 Frank Ch. Eigler <fche@cygnus.com> * dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE register upon non-zero interrupt event level, clear upon zero event value. * dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal by passing zero event value. (*_io_{read,write}_buffer): Endianness fixes. * dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes. (deliver_*_tick): Reduce sim event interval to 75% of count interval. * interp.c (sim_open): Added jmr3904pal board type that adds PAL-based serial I/O and timer module at base address 0xFFFF0000.
1998-06-09* Handle 10 and 20-bit versions of Break instruction. Move handlingIan Carmichael4-45/+68
* of special values from signal_exception() in interp.c into mips.igen. * * Modified: gencode.c interp.c mips.igen sim-main.h
1998-06-09 * mips.igen (SWC1) : Correct the handling of ReverseEndianGavin Romig-Koch2-6/+11
and BigEndianCPU.
1998-06-09 * configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mipsGavin Romig-Koch2-1/+7
parts. * configure: Update.
1998-06-04Added support for the VU insn D (debug) & T (trace) bits.James Lemke1-3/+9
1998-06-04* Early check-in of tx3904 timer sim implementation for ECC.Frank Ch. Eigler8-28/+734
It is not yet properly tested. Thu Jun 4 15:37:33 1998 Frank Ch. Eigler <fche@cygnus.com> * dv-tx3904tmr.c: New file - implements tx3904 timer. * dv-tx3904{irc,cpu}.c: Mild reformatting. * configure.in: Include tx3904tmr in hw_device list. * configure: Rebuilt. * interp.c (sim_open): Instantiate three timer instances. Fix address typo of tx3904irc instance.
1998-06-04The r5900 doesn't have HI/LO DIV/MUL register problems. HobbleAndrew Cagney2-27/+130
checks on hi/lo usage but retain functions so that they can be used for HI/LO stall counting code.
1998-06-02* Move the sanitize comments to the right place.Ian Carmichael1-4/+4
1998-06-02* SYSCALL now uses exception vector.Ian Carmichael3-36/+75
* SKY: New memory mapping rules for k1seg, k0seg. * Modified Files: ChangeLog.sky ChangeLog interp.c sim-main.c
1998-06-01* Small TX39-only patch for ECC.Frank Ch. Eigler2-5/+19
Mon Jun 1 18:18:26 1998 Frank Ch. Eigler <fche@cygnus.com> * interp.c (decode_coproc): For TX39, add stub COP0 register #3, to allay warnings.
1998-06-01 * r5900.igen (rsqrt.s): Update based on r5900 ISA manual version 2.1.Jeff Law1-0/+7
(sqrt.s): Likewise.
1998-05-29Match mips*tx39 not mipst*tx39.Andrew Cagney3-205/+205
1998-05-25Fix mips SWL on 64bit ISA when 32 bit word appears in second half ofAndrew Cagney1-0/+7
64 bit bus. Test.
1998-05-24 * Initial support for "sim list vif[01]"Ron Unrau1-1/+1
1998-05-22Only enable H/W on some mips targets.Andrew Cagney3-8/+20
Move common hw-obj to Make-common Pacify GCC
1998-05-22Sanity clauseAndrew Cagney1-2/+2
1998-05-21gencode.c: Mark BEGEZALL as LIKELY.Gavin Romig-Koch2-1/+5
1998-05-21 * interp.c: modified name of GIF devicePatrick Macdonald1-3/+3
* sky-gpuif.[ch]: IMT burst support and queue manipulation ( see ChangeLog.sky for complete details ) * sky-gs.c: modified name of GIF device
1998-05-21Fix sign extension on 32 bit add/sub instructions.Andrew Cagney2-18/+47
1998-05-21* interp.c (sim_fetch_register): Convert internal r5900 regs toAndrew Cagney2-1/+10
target byte order
1998-05-18* Monster patch - may destablize MIPS sims for a little while.Frank Ch. Eigler9-192/+1271
* Followup patch for SCEI PR 15853 * First check-in of TX3904 interrupt controller devices for ECC. [sanitized] * First implementation of MIPS hardware interrupt emulation. Mon May 18 18:22:42 1998 Frank Ch. Eigler <fche@cygnus.com> * configure.in (SIM_AC_OPTION_HARDWARE): Added common hardware modules. Recognize TX39 target with "mips*tx39" pattern. * configure: Rebuilt. * sim-main.h (*): Added many macros defining bits in TX39 control registers. (SignalInterrupt): Send actual PC instead of NULL. (SignalNMIReset): New exception type. * interp.c (board): New variable for future use to identify a particular board being simulated. (mips_option_handler,mips_options): Added "--board" option. (interrupt_event): Send actual PC. (sim_open): Make memory layout conditional on board setting. (signal_exception): Initial implementation of hardware interrupt handling. Accept another break instruction variant for simulator 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
1998-05-13 * r5900.igen: Replace the calls and the definition of theGavin Romig-Koch1-0/+6
function check_op_hilo_hi1lo1 with the pair check_mult_hilo_hi1lo1 and check_mult_hilo_hi1lo1.
1998-05-13 * tx.igen (madd,maddu): Replace calls to check_op_hiloGavin Romig-Koch1-0/+5
with calls to check_div_hilo.
1998-05-13 * mips/mips.igen (check_op_hilo,check_mult_hilo,check_div_hilo):Gavin Romig-Koch2-9/+59
Replace check_op_hilo with check_mult_hilo and check_div_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 with calls to check_div_hilo.
1998-05-12* configure.in (SUBTARGET_R3900): Define for mipstx39 target.Andrew Cagney2-0/+15
Document a replacement.
1998-05-11* Fixing typo that caused infinite loop upon PKE MPG.Frank Ch. Eigler1-3/+4
1998-05-07 * Roll Alpha modifications into devo for sky-gpuif*/ sky-gs*/ interp.cPatrick Macdonald1-0/+52
* Complete and informative details can be found in ChangeLog.sky
1998-05-07* Changes to sky PKE sim to calculate word-precision source-addressesFrank Ch. Eigler1-5/+21
for VU memory tracking tables. Thu May 7 12:15:41 1998 Frank Ch. Eigler <fche@cygnus.com> * sky-pke.c (pke_pcrel_operand_bits): Compute word-resolution source address for UNPACK into VU MEM. (pke_code_mpg): Ditto for MPG into VU uMEM.
1998-05-07Initial Breakpoint support:Ron Unrau1-2/+4
* sim-main.h: (struct _sim_cpu): add cur_device field. Define cur_device values, breakpoint value, and SIM_ENGINE_HALT_HOOK * interp.c (sim_open): initialize cur_device * sky-engine.c (engine_run): use cur_device to set current_cpu * sky-libvpe.c (vpecallms_cycle): add check for breakpoint * sky-hardware.h: delete NUMBER_CPUS * sky-hardware.c (attach_devices): create a memory mapped comm area for GDB/SIM interactions misc: * sky-vu.c ({read,write}_vu_misc_reg): do default behavior for unknown regs instead of sim_io_error. MP reg is float (was missing cast).
1998-05-07 * sim-main.h (INSN_NAME): New arg `cpu'.Doug Evans2-2/+33
1998-04-29 * sim-main.h, sky-libvpe.c: r59fp_op* functions were called withJames Lemke1-11/+12
1st parm of wrong type. Converted remaining "/" to "FDiv". * interp.c: Make "--float-type host" the default.
1998-04-29Tue Apr 28 18:28:58 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer1-0/+4
* common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define AM_CYGWIN32 and AM_EXEEXT. * common/Make-common.in: set EXEEXT, add missing EXEEXTs to run and install-common rules. * common/configure: regenerate And update all subdirectory ChangeLogs and configure files.
1998-04-26 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey5-138/+166
* config.in: Ditto. * acconfig.h: New file. * configure.in: Reverted change of Apr 24; use sinclude again.
1998-04-24 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey3-58/+1797
* config.in: Ditto. * configure.in: Don't call sinclude.
1998-04-24* mips.igen (do_store_left): Pass 0 not NULL to store_memory.Andrew Cagney1-0/+4
1998-04-22Move target specific stuff from sim/common/sim-base.h to sim/mips/sim-main.hJames Lemke1-0/+11
1998-04-21r5900.igen, sim-main.h, sky-libvpe.c: Add run-time option --float-typeJames Lemke1-0/+19