aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-12-31* sky test case updates for MTIR insn PRFrank Ch. Eigler1-0/+5
1998-12-31 Frank Ch. Eigler <fche@cygnus.com> * sim/sky/t-cop2.s: Adjust vmtir instruction tests for new syntax. * sim/sky/t-cop2.vuexpect: Matching changes.
1998-12-31 * sim/sky/sky-defs.tcl: various changes for remote host testing.Felix Lee1-0/+57
* sim/sky/mload.exp: ditto. * sim/sky/sky_sce.exp: ditto. * sim/sky/sky_sce_accurate.exp: ditto. * sim/sky/sky_sce_fast.exp: ditto. * sim/sky/mload.exp: mark as unresolved on error.
1998-12-30* resolution of eCos-vs.-sky merge conflict!Frank Ch. Eigler2-1/+17
[ChangeLog] 1998-12-30 Frank Ch. Eigler <fche@cygnus.com> * mips.igen (BREAK): Call signal_exception instead of sim_engine_halt. start-sanitize-sky * interp.c (signal_exception): Call SIM_CPU_EXCEPTION_TRIGGER hook. Call sim_engine_halt on BreakPoint. end-sanitize-sky [ChangeLog.sky] 1998-12-30 Frank Ch. Eigler <fche@cygnus.com> * sky-gdb.c (sky_sim_engine_halt): Do not set CIA here.
1998-12-30Tue Dec 29 16:03:53 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>Stan Shebs2-1/+6
* configure.in, configure (mips64vr5*-*-*): Added missing ;; in case statement. (actually a sanitize-cygnus mistake, but Rainer doesn't know that)
1998-12-30* build / debug improvements for gx JIT sim prototypeFrank Ch. Eigler4-3/+23
1998-12-30* eCos->devo merge; tx3904 sanitize tags removedFrank Ch. Eigler6-382/+362
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-30* ChangeLog tweakFrank Ch. Eigler1-3/+3
1998-12-30* eCos->devo merge; am30 sanitization tags removedFrank Ch. Eigler3-115/+255
1998-12-29 Frank Ch. Eigler <fche@cygnus.com> * Makefile.in (WITH_COMMON_OBJS): Build also dv-sockser.o. * interp.c (sim_open): Add stub mn103002 cache control memory regions. Set OPERATING_ENVIRONMENT on "stdeval1" board. (mn10300_core_signal): New function to intercept memory errors. (program_interrupt): New function to dispatch to exception vector (mn10300_exception_*): New functions to snapshot pre/post exception state. * sim-main.h (SIM_CORE_SIGNAL): Define hook - call mn10300_core_signal. (SIM_ENGINE_HALT_HOOK): Do nothing. (SIM_CPU_EXCEPTION*): Define hooks to call mn10300_cpu_exception*(). (_sim_cpu): Add exc_* fields to store register value snapshots. * dv-mn103ser.c (*): Support dv-sockser backend for UART I/O. Various endianness and warning fixes. * mn10300.igen (illegal): Call program_interrupt on error. (break): Call program_interrupt on breakpoint Several changes from <janczyn@cygnus.com> and <cagney@cygnus.com> merged in: * dv-mn103int.c (mn103int_ioctl): New function for NMI generation. (mn103int_finish): Install it as ioctl handler. * dv-mn103tim.c: Support timer 6 specially. Endianness fixes.
1998-12-30* eCos->devo mergeFrank Ch. Eigler2-52/+179
1998-12-24 Frank Ch. Eigler <fche@cygnus.com> * dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms. * nrun.c (main): Remain in simulation loop for traps and exceptions when in operating environment mode. (ui_loop_hook): New stub hook for standalone use. * sim-events.c (sim_events_process): Call ui_loop_hook periodically on CYGWIN host. * sim-reason.c (sim_stop_reason): Return host signal numbers to gdb on sim_stopped and sim_signalled cases. * sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND hook just before longjmp. * sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME hook just before sim_engine_run. * sim-n-core.h (sim_core_trace_M): Allay const warning. * sim-trace.h (trace_generic): Ditto. * sim-trace.c (trace_generic): Ditto.
1998-12-24m16.igen (DADDIU5): Correct type-o.Gavin Romig-Koch1-0/+26
1998-12-18New testcase.Dave Brolley1-0/+34
1998-12-18Fri Dec 18 17:09:34 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley20-0/+699
* sim/fr30/ldres.cgs: New testcase. * sim/fr30/stres.cgs: New testcase. * sim/fr30/copop.cgs: New testcase. * sim/fr30/copld.cgs: New testcase. * sim/fr30/copst.cgs: New testcase. * sim/fr30/copsv.cgs: New testcase. * sim/fr30/nop.cgs: New testcase. * sim/fr30/andccr.cgs: New testcase. * sim/fr30/orccr.cgs: New testcase. * sim/fr30/addsp.cgs: New testcase. * sim/fr30/stilm.cgs: New testcase. * sim/fr30/extsb.cgs: New testcase. * sim/fr30/extub.cgs: New testcase. * sim/fr30/extsh.cgs: New testcase. * sim/fr30/extuh.cgs: New testcase. * sim/fr30/enter.cgs: New testcase. * sim/fr30/leave.cgs: New testcase. * sim/fr30/xchb.cgs: New testcase. * sim/fr30/dmovb.cgs: New testcase. * sim/fr30/dmov.cgs: New testcase. * sim/fr30/dmovh.cgs: New testcase.
1998-12-17Thu Dec 17 17:18:43 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley18-0/+1837
* sim/fr30/testutils.inc (take_branch{_d},no_branch{_d}): New macros. * sim/fr30/ret.cgs: Add tests fir ret:d. * sim/fr30/inte.cgs: New testcase. * sim/fr30/reti.cgs: New testcase. * sim/fr30/bra.cgs: New testcase. * sim/fr30/bno.cgs: New testcase. * sim/fr30/beq.cgs: New testcase. * sim/fr30/bne.cgs: New testcase. * sim/fr30/bc.cgs: New testcase. * sim/fr30/bnc.cgs: New testcase. * sim/fr30/bn.cgs: New testcase. * sim/fr30/bp.cgs: New testcase. * sim/fr30/bv.cgs: New testcase. * sim/fr30/bnv.cgs: New testcase. * sim/fr30/blt.cgs: New testcase. * sim/fr30/bge.cgs: New testcase. * sim/fr30/ble.cgs: New testcase. * sim/fr30/bgt.cgs: New testcase. * sim/fr30/bls.cgs: New testcase. * sim/fr30/bhi.cgs: New testcase.
1998-12-17More sce_testNN cases updated, pr 18402.Doug Evans1-1/+13
1998-12-17 * sim/sky/sce_test58.vuasm: Update syntax of MTIR insn.Doug Evans1-0/+13
PR 18402
1998-12-16* Sanitization fixes to retain new files.Frank Ch. Eigler1-0/+2
1998-12-16New 'hack' generatorGavin Romig-Koch3-36/+246
1998-12-16vr4run.c, keep-if vr4xxxFelix Lee1-0/+7
1998-12-15missing *vr4320:Gavin Romig-Koch2-0/+9
1998-12-15 * configure.in: --enable-cgen-maint support moved to common/aclocal.m4.Doug Evans1-33/+2
(SIM_AC_OPTION_ALIGNMENT): Make strict. * configure: Regenerate. * sem-switch.c,sem.c,semx-switch.c: Regenerate. * sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define. * traps.c (m32r_core_signal): Handle --environment=operating.
1998-12-14 * sim/m32r/uread16.ms: New testcase.Doug Evans6-0/+81
* sim/m32r/uread32.ms: New testcase. * sim/m32r/uwrite16.ms: New testcase. * sim/m32r/uwrite32.ms: New testcase.
1998-12-14 * sim/fr30/hello.ms: Add trailing \n to expected output.Doug Evans1-0/+5
* sim/m32r/hello.ms: Ditto. * sim/m32r/hw-trap.ms: Ditto.
1998-12-14lib/sim-defs.exp (sim_run): Look for board_info sim,options.Doug Evans1-0/+1
1998-12-14 * lib/sim-defs.exp (run_sim_test): New option xerror, for expectedDoug Evans1-0/+6
errors. Translate \n sequences in expected output to newline char. (slurp_options): Make parentheses optional.
1998-12-141998-12-14 Dave Brolley <brolley@cygnus.com>Dave Brolley10-0/+745
* sim/fr30/call.cgs: Test ret here as well. * sim/fr30/ld.cgs: Remove bogus comment. * sim/fr30/testutils.inc (save_rp,restore_rp): New macros. * sim/fr30/div.ms: New testcase. * sim/fr30/st.cgs: New testcase. * sim/fr30/sth.cgs: New testcase. * sim/fr30/stb.cgs: New testcase. * sim/fr30/mov.cgs: New testcase. * sim/fr30/jmp.cgs: New testcase. * sim/fr30/ret.cgs: New testcase. * sim/fr30/int.cgs: New testcase.
1998-12-145xxx and elGavin Romig-Koch3-55/+62
1998-12-13for bfd:Gavin Romig-Koch6-77/+756
* archures.c,bfd-in2.h (bfd_mach_mips4121): New. * cpu-mips.c: Added vr4121. * elf32-mips.c (elf_mips_mach): Same. (_bfd_mips_elf_final_write_processing): Same. for gas: * config/tc-mips.c (mips_4121): New. (md_begin,mips_ip,md_longopts,md_parse_option): Add vr4121. for gcc: * config/mips/mips.c (override_options): Add vr4121. * config/mips/t-vr4xxx (MULTILIB_MATCHES): Same. for include/elf: * mips.h (E_MIPS_MACH_4121): New. for include/opcode: * mips.h (INSN_4121): New. for opcodes: * mips-dis.c (set_mips_isa_type): Add bfd_mach_mips4121. (_print_insn_mips): Same. * mips-opc.c: Add vr4121. for sim/mips: * configure.in,mips.igen,vr.igen: Add vr4121. * configure: Rebuilt.
1998-12-12 * configure.in (mips64vr4xxx): Enable TARGET_ENABLE_FR.Gavin Romig-Koch4-257/+236
Set mips_fpu, and mips_fpu_bitsize. Set sim_gen, and sim_igen_machine. * configure: Rebuild. * mips.igen (BC1): Renamed to BC1a and BC1b to avoid conflicts. * sim-main.h (SizeFGR): Handle TARGET_ENABLE_FR.
1998-12-11Cleanups.Gavin Romig-Koch1-0/+4
1998-12-11Compare with ZERO not NULL.Andrew Cagney1-0/+5
1998-12-10Thu Dec 10 18:46:25 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley8-0/+428
* sim/fr30/div0s.cgs: New testcase. * sim/fr30/div0u.cgs: New testcase. * sim/fr30/div1.cgs: New testcase. * sim/fr30/div2.cgs: New testcase. * sim/fr30/div3.cgs: New testcase. * sim/fr30/div4s.cgs: New testcase. * sim/fr30/testutils.inc (mvi_h_dr,set_dbits,test_dbits): New Macros.
1998-12-10Fixes.Jeff Law1-0/+1
1998-12-10* Fix for endianness bugs in tx39 sio sim.Frank Ch. Eigler1-0/+7
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-10Add missing sanitize markers.Jeff Law1-0/+10
1998-12-10Include "sim-assert.h".Andrew Cagney1-0/+5
1998-12-09 * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate.Doug Evans4-61/+66
* cpux.h,decodex.c,semx-switch.c: Regenerate.
1998-12-09* sim-if.c: Include string.h or strings.h if present.Doug Evans1-0/+4
1998-12-09 * cgen-scache.c (scache_flush): Delete unused locals i,sc.Doug Evans1-0/+1
1998-12-09* sim-trace.c: Include stdlib.h if present.Doug Evans1-1/+1
1998-12-09* sim-arange.c: Include libiberty.h, and stdlib.h if present.Doug Evans2-0/+7
1998-12-09 * dv-sockser.c: Include unistd.h if present.Doug Evans1-1/+6
(dv_sockser_init): Add missing arg to call to sim_io_eprintf.
1998-12-09i960 simulator.Jim Wilson2-0/+2
* configure.in (i960-*-*): Add. * configure: Rebuild.
1998-12-09Add i960 support to sim/common.Jim Wilson1-0/+5
* gennltvals.sh: Add i960. * nltvals.def: Rebuild.
1998-12-09Fixes.Jeff Law1-3/+0
1998-12-08Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley1-0/+4
* sim/fr30/testutils.inc (set_s_user): Correct Mask. (set_s_system): Correct Mask. * sim/fr30/ld.cgs (ld): Move previously failing test back into place. * sim/fr30/ldm0.cgs: New testcase. * sim/fr30/ldm1.cgs: New testcase. * sim/fr30/stm0.cgs: New testcase. * sim/fr30/stm1.cgs: New testcase.
1998-12-08Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley4-0/+317
* sim/fr30/ldm0.cgs: New testcase. * sim/fr30/ldm1.cgs: New testcase. * sim/fr30/stm0.cgs: New testcase. * sim/fr30/stm1.cgs: New testcase.
1998-12-08Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>Dave Brolley3-8/+26
* sim/fr30/testutils.inc (set_s_user): Correct Mask. (set_s_system): Correct Mask. * sim/fr30/ld.cgs (ld): Move previously failing test back into place.
1998-12-08* sky->devo merge, final part of sim mergeFrank Ch. Eigler2-31/+223
[ChangeLog.sky] 1998-12-08 Frank Ch. Eigler <fche@cygnus.com> * sim-main.h (sim_state): Add multi-phase load tracking fields. * sky-gdb.c (sky_option_handler): Add --load-next option handling. * mips.igen (BREAK): Add multi-phase load and printf code handling.
1998-12-08* Test case for PR 18452.Frank Ch. Eigler1-0/+1
1998-12-08 Frank Ch. Eigler <fche@cygnus.com> * do-2wordops.S: New test for double-word load-like operations.
1998-12-05* gxtool silence tweakFrank Ch. Eigler1-1/+1