aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-05-29Match mips*tx39 not mipst*tx39.Andrew Cagney3-205/+205
1998-05-25Pull in preliminary versions of hw instances and handles from ../ppcAndrew Cagney5-0/+746
1998-05-25Make hw-main.h the main header file for H/W devices. Like sim-main.hAndrew Cagney7-102/+150
Update dv-*.c Replace *_callback with more correct. *_method. Update dv-*.c
1998-05-25Add files hw-alloc.[hc] (mising from last CI)Andrew Cagney7-33/+185
Move set_* macro's from hw-base to hw-device.
1998-05-25Initialize/destory hw-properties within the hw-device.Andrew Cagney4-0/+29
1998-05-25Split out hw-alloc code. Add constructor and destructor for hw-alloc.Andrew Cagney7-126/+83
1998-05-25Split out hw-event code. Clean up interface. Update all users.Andrew Cagney14-108/+276
1998-05-25Clean up create/delete of hw-portsAndrew Cagney5-55/+532
1998-05-25* hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): DropAndrew Cagney3-129/+51
PROCESSOR and CIA arguments.
1998-05-25De-sanitize simulator hw.Andrew Cagney3-77/+0
1998-05-25Fix mips SWL on 64bit ISA when 32 bit word appears in second half ofAndrew Cagney8-0/+666
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 Cagney9-125/+170
Move common hw-obj to Make-common Pacify GCC
1998-05-22Sanity clauseAndrew Cagney1-2/+2
1998-05-22Back out of hw-main _callback -> _descriptor changesAndrew Cagney3-18/+12
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 Cagney8-74/+470
1998-05-21* interp.c (sim_fetch_register): Convert internal r5900 regs toAndrew Cagney2-1/+10
target byte order
1998-05-21* sim-hw.c: Include ctype.h.Andrew Cagney3-1/+583
(do_hw_poll_read): Do not assume EAGAIN.
1998-05-20c_gen.pl: Added subroutine "print_comment"Jillian Ye2-28/+57
and on/off option for "src line #"
1998-05-20 * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro.Doug Evans1-0/+6
* mloopx.in (extract): Set abuf.addr for proper fill nop counting. (execute): Count parallel insns. * sim-if.c (print_m32r_misc_cpu): Print count. * sim-main.h (M32R_MISC_PROFILE): New member parallel_count.
1998-05-20 * cgen-trace.c (first_insn_p): New static local.Doug Evans1-0/+16
(trace_insn_init): Set it. (trace_insn_fini): Use TRACE_PREFIX. (trace_insn): Rewrite to use trace_prefix. * sim-trace.c (trace_prefix): Don't print filename arg if NULL. Adjust width accordingly. * sim-profile.h (PROFILE_DATA): New member profile_any_p. (PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros. (PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros. (PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify. (PROFILE_COUNT_CORE): Simplify. * sim-profile.c (profile_option_handler): Compute profile_any_p.
1998-05-20 Zero bottom two bits of pc in jmp,jl insns.Doug Evans2-2/+10
* sem.c,sem-switch.c: Regenerate. * semx.c: Regenerate.
1998-05-20 * cgen-ops.h (ADDCFSI): Fix typo.Doug Evans1-0/+4
1998-05-19 * sim-if.c (do_trap): Treat traps 2-15 as hardware does.Doug Evans2-2/+8
1998-05-18 * sim/sky/sky.ld: Delete file.Doug Evans1-0/+6
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-17 * cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.Doug Evans1-0/+3
* genmloop.sh: Use them rather than static locals.
1998-05-16 * erc32.c (close_port): Don't close stdin; it kills GDB.Doug Evans1-0/+8
(byte_swap_words): New function. * sis.h: (byte_swap_words): Declare. * interf.c (run_sim): Always fetch instructions as big-endian. * sis.c (run_sim): Ditto. Move this c/l entry from ../ChangeLog.
1998-05-16 * sim-if.c (sim_stop): Update call to @cpu@_engine_stop.Doug Evans2-126/+137
(sim_sync_stop): New function.
1998-05-16 * sim-engine.c (sim_engine_set_run_state): New function.Doug Evans2-28/+51
* sim-engine.h (sim_engine_set_run_state): Declare. * genmloop.sh (pending_reason,pending_sigrc): New static locals. (@cpu@_engine_stop): New args reason,sigrc. All callers updated. (engine_resume): Reorganize. Allow synchronous exit from main loop.
1998-05-16 * sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.Doug Evans3-0/+51
* sim/m32r/misc.exp: Ditto.
1998-05-15 * Makefile.in (devices.o): Add dependencies.Doug Evans5-384/+709
* arch.h,cpu.c,cpu.h,cpuall.h: Regenerate. * sem-switch.c,sem.c: Regenerate. * mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}. * cpux.c,cpux.h,modelx.c,semx.c: Regenerate. * m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions. * mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}.
1998-05-15 * cgen-trace.c (trace_insn_init): New arg first_p.Doug Evans3-5/+15
All callers updated. (trace_insn_fini): New arg last_p. All callers updated. * cgen-trace.h (trace_insn_init,trace_insn_fini): Update. (TRACE_INSN_INIT,TRACE_INSN_FINI): Update. * genmloop.sh (engine_resume): Update.
1998-05-15Run ranlib on installed copy of libsim.a.Joyce Janczyn2-1/+7
1998-05-15Install libsim.a $(exec_prefix)/lib/lib[target]-sim.a as part of install-sim.Joyce Janczyn2-17/+70
1998-05-15 * sis.h (uint64, int64): Define.Mark Alexander1-0/+13
* exec.c (SDIV, SDIVCC, UDIV, UDIVCC): Define new opcodes. * (mul64): Simplify calculation of negative result. * (div64): New helper function for 64-bit division. * (dispatch_instruction): Add emulation of SDIV, SDIVCC, UDIV, and UDIVCC.
1998-05-15Tweak last entry.Doug Evans1-1/+1
1998-05-15 * config/default.exp (CC,SIM): Delete.Doug Evans1-1/+6
* sky-defs.tcl (LDSCRIPT,SIM): Delete. (run_trc_test): Use sim_compile, sim_run. Only delete temp files if testcase passed. (run_brn_test): Ditto.
1998-05-14 * sim/sky/sky.exp: Add runtest_file_p support. Don't printDoug Evans1-0/+6
unsupported message if not sky. * sim/sky/sky_sce.exp: Likewise.
1998-05-14 * lib/sim-defs.exp (sim_run): Fix handling of output redirection.Doug Evans1-0/+11
New arg prog_opts. All callers updated.
1998-05-14More test cases.Andrew Cagney8-2/+215
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-08 * lib/sim-defs.exp (sim_version): Simplify.Doug Evans2-0/+232
(sim_run): Implement. (run_sim_test): Use sim_run. (sim_compile): New proc.
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