aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-02-20* PKE sim unit testing continuing. The DIRECT and MPG instructionsFrank Ch. Eigler1-28/+53
were hammered in today's runs. Work is beginning in endian-proofing the code. * sky-pke.c (pke1_issue): Issue on correct PKE device. (pke_io_write_buffer, pke_code_mpg, pke_code_unpack): Perform more endian conversions. (pke_code_mpg, pke_code_direct): Add operand alignment assertions. (pke_code_mpg): Correct VU stall checks. Correct VU opcode transfer ordering. (pke_code_direct): Correct typos in DIRECT operand accessing. (pke_code_unpack): Correct conditional sign-extension handling. * sky-gpuif.c (gif_io_read_buffer, gif_io_write_buffer): Correct assertion polarity. (gif_read_tag): Disable faulty DMA-tag testing code.
1998-02-20fix typoMichael Meissner1-30/+40
1998-02-20Fixed UNLOCK test.Nick Clifton1-0/+1
1998-02-20Fixed MVFC test.Nick Clifton1-0/+1
1998-02-20Fix REMU test.Nick Clifton1-0/+2
1998-02-20More instruction tests.Nick Clifton1-1/+16
1998-02-20Last of the instruction tests.Nick Clifton2-0/+37
1998-02-20Implement sim_fpu_is() and sim_fpu_cmp(). Note problem with detectingAndrew Cagney2-428/+1936
denorms.
1998-02-20Backout of revision 1.35. Abort may be valid operation.Andrew Cagney1-3/+14
1998-02-20More instruction tests.Nick Clifton4-0/+60
1998-02-20* Continuing unit testing of PKE simulator. It now successfully matchesFrank Ch. Eigler2-155/+210
the SCEI PKE simulator's output on its own test sample (tsv432.in). * sky-pke.h (PKE_MEM_READ, PKE_MEM_WRITE, PKE_REG_MASK_SET): Add trace file records. * sky-pke.c: (pke_track_write): Removed function. Replaced with in-line modifications to VU tracking tables. (pke_attach): Attach VU tracking tables. Use line buffering on trace files. (pke_issue): Spit out additional trace records. (pke_pc_operand_bits): Correct bitfield masking error. (*): Replace sim_read/write with kludge PKE_MEM_READ/WRITE throughout. (pke_code_unpack): Correct numerous small bugs in operand decoding etc.
1998-02-20 * m32r.c (do_lock,do_unlock): Delete.Doug Evans14-1656/+2284
* cpu.[ch],decode.[ch],extract.c,model.c: Regenerate. * sem.c,sem-switch.c: Regenerate. * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate.
1998-02-20Yet more tests of m32r instructionsNick Clifton1-0/+7
1998-02-19Even more instruction testsNick Clifton5-8/+96
1998-02-19Test even more instructions.Nick Clifton1-0/+21
1998-02-19test 32 bit BCL instruction.Nick Clifton1-8/+9
1998-02-19Fall back from using igen to using gencode for the mips64vr4100 becauseJohn Metzler1-0/+10
igen is not ready yet.
1998-02-19Add more tests.Nick Clifton1-0/+6
1998-02-19Added a couple of tests.Nick Clifton2-1/+22
1998-02-19 * interp.c (load_memory): Add missing "break"'s.Gavin Romig-Koch2-6/+25
1998-02-18* Started PKE sim unit testing. A number of minor errors were corrected.Frank Ch. Eigler2-89/+183
A few PKE instructions even run correctly! Next missing function of interest: FIFO pruning. * sky-pke.c (pke_issue): Take extra SIM_DESC argument. (pke_attach): Attach correct PKE0/PKE1 device. Open trace file if VIF{0,1}_TRACE_FILE env. var. is defined. (pke_io_write_buffer): Classify words in FIFO quadword. Use kludgey sim_core routines to access DMA registers. (pke_pc_advance): Add PKEcode classification. Correct DMA tag skipping. Emit trace records. (pke_pc_fifo): Add PKEcode operand classification. (pke_check_stall): Perform stall checks against updated register scheme. (pke_code_unpack): Correct operand-count calculation. (pke_code_stmask): Correct instruction skipping. * sky-pke.h (PKE_MEM_WRITE, PKE_MEM_READ): New kludge macros. (BIT_MASK_BTW): Corrected off-by-one error. (enum wordclass): Classify words in a FIFO quadword. * sky-dma.c (dma_io_read_buffer): Correct address checking assertions. * sky-engine.c (engine_run): Pass along SIM_DESC to PKE instruction issue code.
1998-02-18Delete rac-d,rac-ds,rach-d,rach-ds, they're aliases.Doug Evans5-48/+0
1998-02-18.Sanitize for devo/sim/testsuite/sim/m32r.Doug Evans1-0/+217
1998-02-18 * simops.c (multiply instructions): Cast input operands to aJeff Law1-17/+20
signed64/unsigned64 type as appropriate.
1998-02-18DMA define names changed (SRCADDR -> MADR).James Lemke1-1/+1
1998-02-18Extend sim-trace.[hc] to include a generic set of macro's for tracingAndrew Cagney3-76/+813
ALU/... inputs/outputs. Base implementation on original v850 code. Update igen to generate code interfacing with newer sim-trace.[hc].
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