aboutsummaryrefslogtreecommitdiff
path: root/sim
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*** empty log message ***Jillian Ye1-0/+5
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* sky testsuite fixesFrank Ch. Eigler1-0/+15
Tue Jun 16 09:03:37 1998 Frank Ch. Eigler <fche@cygnus.com> * t-cop2.s: Reorder instruction blocks to prevent "Out of bounds" messages during test execution. Added dummy branch labels for BC2* instructions. * t-cop2.brn: Use --sky-debug option instead of env var. * t-cop2.vuexpect: Updated for with new disassembly format. * sky_sce_fast.exp: Don't compare GIF outputs for --float-type=fast. * sce_test{17,33,49}.dvpasm: Use ".DmaPackVif 1" option to exercise assembler / PKE. * rw-vureg.c: Cast memcpy operand to allay warning.
1998-06-16cangelog entries moved here from sim/sky/ChangeLogDoug Evans1-0/+55
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-16Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+4
* dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or reset) are not enabled on reset.
1998-06-15Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.James Lemke1-0/+32
1998-06-14Updates to dv-mn103iop.c, dv-mn103ser.c and inter.cJoyce Janczyn1-0/+5
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-13 * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,Doug Evans2-1/+200
load_stall,biggest_cycles. * m32r.c (m32r_model_mark_get_h_gr): Update. (m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns. (m32r_model_record_cti,m32r_model_record_cycles): New functions. * mloop.in: Call cycle init/update fns. * model.c: Regenerate. * m32rx.c (m32rx_model_mark_get_h_gr): Update. * mloopx.in: Call cycle init/update fns. * modelx.c: Regenerate.
1998-06-13 * cgen-trace.c (trace_insn_fini): Redo cycle handling.Doug Evans1-0/+6
* sim-profile.h (PROFILE_DATA): Rename cycle handling members. * sim-profile.c (profile_print_model): Update.
1998-06-13 * gennltvals.def (m32r): Use common syscall.h now.Doug Evans3-21/+57
(mn10300): Add entry. * nltvals.def: Regenerate.
1998-06-12Fri June 12 16:24:00 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+6
* dv-mn103iop.c: New file for handling am32 io ports. * configure.in: Add mn103iop to hw_device list. * configure: Re-generate. * interp.c (sim_open): Create io port device.
1998-06-12Add dv-mn103iop.Joyce Janczyn1-1/+1
1998-06-12 * sim-engine.c (sim_engine_get_run_state): New function.Doug Evans1-0/+5
* sim-engine.h (sim_engine_get_run_state): Declare it.
1998-06-12New file for handling mn1030002 io ports.Joyce Janczyn1-0/+514
1998-06-12Add dv-mn103iop.c to list of files to sanitize out.Joyce Janczyn1-1/+1
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-12 * Makefile.in (stamp-{arch,cpu,decode}): Pass CGEN_FLAGS_TO_PASSDoug Evans1-0/+8
to recursive makes. (stamp-{xcpu,xdecode}): Ditto.
1998-06-12 * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,Doug Evans1-0/+4
which is now a list of options controlling the behaviour of sim_run. * sim/sky/sky-defs.tcl (run_trc_test): Update to new way of environment variables to sim_run.
1998-06-12 * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,Doug Evans1-4/+32
which is now a list of options controlling the behaviour of sim_run.
1998-06-11 * sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags.Doug Evans1-1/+1
1998-06-11 * sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg toDoug Evans1-0/+3
sim_compile.
1998-06-11(sim_compile): Tweak output text.Doug Evans1-1/+1
1998-06-11 * sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.Doug Evans1-0/+3
(VU0_MEM1_SIZE): New macro.
1998-06-11 * sim/sky/vu01reg-main.c: New file.Doug Evans1-0/+6
* sim/sky/vu01reg.dvpasm: New file. * sim/sky/vu01reg.brn: New file.
1998-06-11* Moving some sky-specific ChangeLog entries into ChangeLog.skyFrank Ch. Eigler1-8/+0
1998-06-11 * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.Doug Evans3-167/+205
* sim-core.c (sim_core_signal): Make extern, always define.
1998-06-11Regenerate, gets a_m32r_trap -> m32r_trap renaming.Doug Evans1-1/+1
1998-06-11 * m32r-sim.h (m32r_trap): Declare.Doug Evans2-0/+4
1998-06-11 * Makefile.in (SIM_OBJS): Add traps.oDoug Evans1-1/+4
1998-06-11 * traps.c: New file. Trap support moved here from sim-if.c.Doug Evans5-11/+379
* Makefile.in (SIM_OBJS): Add traps.o * sim-if.c: Don't include targ-vals.h. (sim_engine_illegal_insn): Moved to traps.c * sim-main.h (SIM_CORE_SIGNAL): Define. (m32r_core_signal): Declare. * devices.c (device_io_read_buffer): Handle cache purging via MCCR register. * m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h. (PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros. (TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.
1998-06-11Regenerate. Updates from cgen for better VoidMode handling.Doug Evans5-72/+72
1998-06-10 * Make-common.in (CGEN_FLAGS_TO_PASS): New variable.Doug Evans1-0/+6
* cgen-ops.h (ANDIF): New macro. (ANDIF[BQHSD]I): Delete.
1998-06-10Wed June 10 14:34:00 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn2-2/+12
* dv-mn103int.c (external_group): Use enumerated types to access correct group addresses. * dv-mn103tim.c (do_counter_event): Underflow of cascaded timer triggers an interrupt on the higher-numbered timer's port.
1998-06-10* SKY hardware interrupt tests.Frank Ch. Eigler1-0/+10
Wed Jun 10 15:56:10 1998 Frank Ch. Eigler <fche@cygnus.com> * sim/sky/t-int.c: New file to test sky hardware interrupts. * sim/sky/t-int-handler.s: New file for null interrupt handler. * sim/sky/t-int.brn: New file to build new test.
1998-06-10 * sim/m32r/addx.cgs: Add another test.Doug Evans3-0/+49
* sim/m32r/jmp.cgs: Add another test. * sim/m32r/bra8-2.cgs: New testcase. * sim/m32r/hello.ms: Run on m32rx too.
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 * sim/sky/dma.h: New file.Doug Evans1-0/+9
* sim/sky/vif.h: New file. * sim/sky/vu.h: New file. * sim/sky/sce_main.c: Move magic numbers to .h files.
1998-06-09sky.ld: Remove big endian stuff in OUTPUT_FORMATJames Lemke2-1/+5
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.