aboutsummaryrefslogtreecommitdiff
path: root/sim/mips
AgeCommit message (Collapse)AuthorFilesLines
1998-02-24Add tracing to r5900 p* instructions.Andrew Cagney1-0/+4
1998-02-24* PKE sim unit testing continuing. Starting to run milestone sample.Frank Ch. Eigler2-86/+102
* sky-pke.h (PKE_MEM_READ): Removed "read" entry from FIFO trace. * sky-pke.c (pke_attach): Set trace file to line buffering iff open. (pke_io_read_buffer, pke_io_write_buffer): Handle erroneous reads/writes by zero-padding. (pke_io_write_buffer): Switch to more bit-field definition macros. (pke_issue): Remove "stalled" entry from FIFO trace. (pke_pc_advance): Correct logic for DMA-tag-skipping, PKEcode classification. (pke_code_mskpath3): Sketch of possible PATH3 masking method. (pke_code_mpg): Keep order of lower/upper VU words as supplied. (pke_code_unpack): Logic change for wl/cl/num unpacking. Weird.
1998-02-23Make it compile again for -DTARGET_SKYRon Unrau1-32/+33
1998-02-23sim-main.h: Re-arange r5900 registers so that they have their ownAndrew Cagney7-261/+628
little struct. interp.c: Update. Also add floating point Max/Min functions. mips.igen: Remove r5900 tag from any floating point instructions. r5900.igen: Rewrite. Implement *all* floating point insns (except ld/st). r5400.igen: Tag mdmx functions as being mdmx specific.
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-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-19Fall back from using igen to using gencode for the mips64vr4100 becauseJohn Metzler1-0/+10
igen is not ready yet.
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-18DMA define names changed (SRCADDR -> MADR).James Lemke1-1/+1
1998-02-17* XGKICK now uses memory-based GIF fifo.Ian Carmichael1-1/+1
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-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-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-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-11Update DMA register addressesJames Lemke1-2/+2
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-10* Many changes to make sky sim build with --enable-sim-warnings.Ian Carmichael6-27/+34
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-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-06First pass at moving sky stuff from ../txvu to mips dir.Doug Evans7-0/+923
1998-02-05New files, update .SanitizeAndrew Cagney2-0/+16
1998-02-03IGEN - Replace IMEM (IMEM_IMMED) macro with IMEM<insn-size> macro,Andrew Cagney5-73/+216
update v850, tic80 and mips simulators. IGEN - Prepend prefix to more generated symbols and macros (idecode_issue, instruction_word). IGEN - Add -Wnowith option to supress warnings about word size inflicts in input files. MIPS - Clean up Makefile.in, m16.igen, m16.dc (new), m16run.c (new) so that a mips16 simulator built using IGEN can be compiled.
1998-02-02Make IGEN the generator for all but mips16 simulators.Andrew Cagney1-5/+17
Clean up botched merge in interp.c:sim_open().
1998-02-02Add support for configuring the size of the floating point unit (fp_word).Andrew Cagney3-19/+81
For mips, move fp_registers into a separate array of type fp_word[].
1998-02-02Rewrite the mipsI/II/III pending-slot code.Andrew Cagney3-109/+163
1998-02-02Always compile FP code (test for FP at run-time).Andrew Cagney2-129/+102
Remove dependance of interp.c on gencode.c's output.
1998-02-01mips: Add multi-processor support for r5900. Others might work.Andrew Cagney6-324/+460
common, igen: Fix MP related bugs.
1998-01-31Add config support for the size of the target address and OF cell.Andrew Cagney2-24/+53
1998-01-31mips - for r5900 generate igen simulator.Andrew Cagney3-9/+16
igen - stop crash when simulator isn't multi-sim'ed
1998-01-31igen: Fix SMP simulator generator support.Andrew Cagney3-4/+16
Use the bfd-processor name in the sim-engine switch. Add nr_cpus argument to sim_engine_run. tic80, v850, d30v, mips, common: Update mips: Fill in bfd-processor field of model records so that they match ../bfd/archures.
1998-01-21Use macro GPR_SET(N,VAL) to clear zero registers.Andrew Cagney4-73/+85
1998-01-20* aclocal.m4: Recognize --enable-maintainer-mode.Doug Evans2-47/+73
*/configure: Regenerated.
1998-01-16Document existence of old (gencode) and new (igen) MIPS ISA simulators.Andrew Cagney1-0/+39
1998-01-05 * interp.c (sim_monitor): Handle Densan monitor outbyteMark Alexander2-0/+13
and inbyte functions.
1997-12-29 * interp.c (sim_engine_run): msvc cpp barfs on #if (a==b!=c).Felix Lee2-284/+284
1997-12-15In nrun.c, look for sigaction & SA_RESTART. When both present,Andrew Cagney1-0/+5
install cntrl-c (SIGINT) handler with no SA_RESTART bit set.
1997-12-13For MADD et.al. instructions sign extend 32 bit result assigned to aAndrew Cagney2-2/+9
register.
1997-12-12 * configure.in (sim_igen_filter): Multi-sim vr5000 - vr5000 orJeff Law3-43/+55
vr5400 with the vr5000 as the default.
1997-12-11 * mips.igen (MSUB): Fix to work like MADD.Jeff Law3-568/+476
* gencode.c (MSUB): Similarly.