aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-02-18 * Makefile.in (M32R_OBJS): Add cpu.o.Doug Evans5-834/+1317
(cpu.o): Add rule for. (NL_TARGET): Define. * configure.in: Add AC_CHECK_PROG(SCHEME). * cpu.c: New file. * cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. * sem-switch.c,sem.c: Regenerate. * mloop.in (execute): Update call to semantic fn. (M32RX_OBJS): Add cpux.o. (cpux.o): Add rule for. cpux.c: New file. * cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate. * m32rx.c (m32rx_h_accums_{get,set}): Rewrite. (m32rx_h_cr_{get,set}): New functions. (m32rx_h_accums_{get,set}): New functions. * mloopx.in: Rewrite main loop. * m32r.c (do_trap): Move from here. * sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support. (sim_create_inferior): Use h_pc_set. (h_pc_{get,set}): New functions. (h_gr_{get,set}): New functions. (syscall_{read,write}_mem): New functions. * sim-main.h (h_{gr,pc}_{get,set}): Declare.
1998-02-18 * Make-common.in (CGEN_MAIN_SCM): Update.Doug Evans1-0/+3
* aclocal.m4 (USE_MAINTAINER_MODE): New variable.
1998-02-18 * cgen-sim.h (SEMANTIC_CACHE_FN): Delete.Doug Evans1-0/+10
(SEMANTIC_FN): Rewrite declaration. (DECODE): Update type of semantic_fast member. ({EX,SEM}_FN_NAME): Have only one version. * cgen.sh: Support building cpu.c. * sim-base.h (sim_state_base): Delete conditionals surrounding member scache_size.
1998-02-17* XGKICK now uses memory-based GIF fifo.Ian Carmichael1-1/+1
1998-02-17keep config, lib, sim.Doug Evans1-0/+3
1998-02-17 * config/default.exp: New file.Doug Evans1-0/+4
* lib/sim-defs.exp: New file. * sim/m32r/*: m32r dejagnu simulator testsuite.
1998-02-17keep m32rDoug Evans1-0/+32
1998-02-17m32r simulator testsuiteDoug Evans94-0/+1212
1998-02-17 * Makefile.in (build_alias): Define.Doug Evans3-3/+229
(arch): Define. (RUNTEST_FOR_TARGET): Delete. (RUNTEST): Fix. (SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define. (check): Depend on site.exp. (site.exp): New target. (cgen): New target. * configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen. (arch): Define from target_cpu. * configure: Regenerate.
1998-02-17Better tracing for conditional branchesMichael Meissner4-12/+92
1998-02-17For sim_fetch_register / sim_store_register: Add LENGTH parameter,Andrew Cagney9-141/+238
return actual size of register, 0 if not applicable, -1 of legacy implementation.
1998-02-16* Added VU0_CIA register #define.Ian Carmichael1-1/+2
1998-02-16* Add magic VU1_CIA register.Ian Carmichael2-10/+27
1998-02-16* Partially implement new VPE_STAT register.Ian Carmichael3-12/+25
1998-02-16configure: rerun autoconfRon Unrau1-0/+2
interp.c: shield dummy vu registers with -DTARGET_SKY
1998-02-16Implement "dbt" and "rtd" instructions.Andrew Cagney2-15/+40
Import fixes to dmap_addr() from mitsu branch.
1998-02-15Test the RDT and DBT instructions.Andrew Cagney2-0/+51
1998-02-15configure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.Ron Unrau2-2/+88
sim-main.h: Define regs for sky if -DTARGET_SKY interp.c: Initial register upload/download support for sky.
1998-02-14* Vu1 state moved to struct. Host-target endian twiddling. Misc other fixes.Ian Carmichael1-34/+29
1998-02-14TIC80 uses little endian doubles, not big endianMichael Meissner2-2/+5
1998-02-13- PKE simulation almost finished. Needed enhancements:Frank Ch. Eigler2-161/+214
* trace file generation * FIFO pruning - PKE functions still missing due to external dependencies: * interrupt to 5900 (igen?) * VU busy checking (sky-vu / coprocessor registers) * PATH3 masking (sky-gpuif / covert control interface)
1998-02-13Pass floating point structure address instead of the structure itselfMichael Meissner3-32/+40
1998-02-13First functional drop of the gpuif code plus modifications toPatrick Macdonald1-1/+1
non-gpuif code to allow sky sim to build with --enable-sim-warnings
1998-02-13Implement separate user (SPU) and interrupt (SPI) stack pointers.Andrew Cagney3-0/+15
1998-02-13Test switching between SPI/SPU.Andrew Cagney4-0/+29
1998-02-13Beginnings of m32r simulator testsuite.Doug Evans8-0/+1182
1998-02-13Keep m32r-elf.Doug Evans1-0/+1
1998-02-12 * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now.Doug Evans2-3/+5
1998-02-12 * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate.Doug Evans12-540/+2291
* cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate.
1998-02-11Update DMA register addressesJames Lemke1-2/+2
1998-02-11* sim-load.c (sim_load_file): Print LMA/VMA according to valueAndrew Cagney1-0/+11
used.
1998-02-11- PKE simulation code almost complete. Still missing:Frank Ch. Eigler2-811/+1046
* handling of super duper packed UNPACK arguments * skipping of in-progress instruction on break/stop * interrupt generation to 5900 * PATH2/PATH3 status checking & masking * ability to write to FIFO one word (instead of quadword) at a time
1998-02-11Update tests to match recently modified ABIAndrew Cagney2-16/+46
1998-02-11Don't abort() when system call is unknown.Andrew Cagney2-1/+4
1998-02-11Ensure zero-hardwired bits in DPSW remain zero.Andrew Cagney3-4/+77
1998-02-10* Many changes to make sky sim build with --enable-sim-warnings.Ian Carmichael6-27/+34
1998-02-10D10v memory map changed. Update.Andrew Cagney1-136/+173
Initialize IMAP/DMAP registers to hardware reset value.
1998-02-10 * decode.c, sem.c: Regenerate.Doug Evans2-293/+344
start-sanitize-m32rx * cpux.h, decodex.c, readx.c, semx.c: Regenerate. * m32rx.c (m32rx_h_accums_set): New function. (m32rx_model_mark_[gs]et_h_gr): New function. * mloopx.in: Rewrite. * Makefile.in (mloopx.o): Build with -parallel. * sim-main.h (_sim_cpu): Delete member `par_exec'. * tconfig.in (WITH_SEM_SWITCH_FULL): Define as 0 for m32rx. end-sanitize-m32rx
1998-02-10 (PAREXEC): Renamed from PARALLEL_EXEC. All uses updated.Doug Evans1-0/+2
(SEMANTIC{,_CACHE}_FN): Fix return type.
1998-02-10 * cgen-sim.h (DECODE): Always use switch for `read' for now.Doug Evans2-8/+5
* cgen.sh (decode): Add s/@arch@/$arch/. * genmloop.sh (@cpu@_engine_run): Delete `current_state'. (engine_resume): Likewise. Make `engine' volatile. Save copy of cpu pointer in volatile object. Initialize read switch if -parallel.
1998-02-10* Make it so vu.bin is an optional file.Ian Carmichael1-7/+6
1998-02-09* Add hardware_init hook.Ian Carmichael2-1/+14
1998-02-09 * genmloop.sh (@cpu@_engine_run): Delete `current_state'.Doug Evans2-64/+355
(engine_resume): Likewise. Make `engine' volatile. Save copy of cpu pointer in volatile object.
1998-02-07Fix double dependency for itable.[hc]. Was causing both the mips16 and theAndrew Cagney1-0/+4
normal mips simulators to be built.
1998-02-07- Added almost all code needed for PKE0/1 simulation. ConsidersFrank Ch. Eigler2-95/+1457
clarifications given in SCEI question/answer batches #1 and #2.
1998-02-06sky sanitizationDoug Evans1-0/+30
1998-02-06 * Makefile.in (SIM_SKY_OBJS,MIPS_EXTRA_OBJS): New vars.Doug Evans3-55/+92
(SIM_OBJS): Add $(MIPS_EXTRA_OBJS). * configure.in: Set mips_extra_objs to sky files if mips64r59*-sky-*. * configure: Regenerated.
1998-02-06Prepend sky- to sky header file names.Doug Evans1-1/+1
1998-02-06Second pass at moving sky files into mips dir,Doug Evans4-8/+8
prepend sky- to all #include's of sky headers.
1998-02-06delete txvu/dvp/sky stuff, lives in mips dir now, configured withDoug Evans2-43/+0
mips64r5900-sky-elf.