aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
1998-07-14fix sanitization; add trap.SJeff Holcomb1-0/+1
1998-07-14Fix goof.Jeff Law1-3/+3
1998-07-09 * am33.igen: Fix Z bit for remaining addc/subc instructions.Jeff Law2-40/+53
Do not sign extend immediate for mov imm,XRn. More random mul, mac & div fixes. Remove some unused variables. Sign extend 24bit displacement in memory addresses. Whee, more fixes.
1998-07-09 * mn10300.igen: Fix Z bit for addc and subc instructions.Jeff Law2-21/+36
Minor fixes in multiply/divide patterns. start-sanitize-am33 * am33.igen: Fix Z bit for addc Rm,Rn and subc Rm,Rn. Various fixes to 2 register multiply, divide and mac instructions. Set Z,N correctly for sat16. Sign extend 24 bit immediate for add, and sub instructions. * am33.igen: Add remaining non-DSP instructions. end-sanitize-am33
1998-07-09 * am33.igen: Add remaining non-DSP instructions.Jeff Law2-20/+690
Lots of work still remains. PSW handing is probably broken badly and the mul/mac classes of instructions are probably not handled correctly.
1998-07-09 * am33.igen (translate_rreg): New function. Use it as appropriate.Jeff Law2-2335/+374
1998-07-08 * am33.igen: More am33 instructions. Fix "div".Jeff Law2-88/+1626
1998-07-08Add a printf fmt style version of sim_events_schedule.Andrew Cagney1-0/+15
This allows the caller to specify extra trace information that is only evaluated when tracing is enabled.
1998-07-06 * mn10300.igen: Add am33 support.Jeff Law2-446/+1365
1998-07-06 * Makefile.in: Use multi-sim to support both a mn10300 and am33Jeff Law2-1/+4
simulator.
1998-07-06 * sim-bits.h (EXTEND24): Define.Jeff Law2-0/+6
1998-07-06 * am33.igen: Add many more am33 instructions.Jeff Law2-84/+1933
1998-07-03 * cgen-sim.h (CPU_SCACHE): Make size unsigned.Doug Evans1-0/+8
(CPU_SCACHE_HASH_MASK): New macro. (SCACHE_HASH_PC): Rewrite. * genmloop.sh (engine_resume_{full,fast}): Move some of hash computation out of main loop.
1998-07-02Add a test case for PR16213.James Lemke1-1/+6
1998-07-02 * Makefile.in: cgen_maint -> CGEN_MAINT.Doug Evans4-396/+762
* configure.in: AC_SUBST cgen,cgendir. No longer look for guile. * configure: Regenerate. * arch.c,arch.h,cpuall.h: Regenerate. * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. * sem-switch.c,sem.c: Regenerate. * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate. * semx.c: Regenerate. * mloopx.in (icount): Moved here from genmloop.sh.
1998-07-01 * Make-common.in (SCHEME,SCHEMEFLAGS): Delete.Doug Evans3-70/+66
(CGENDIR,CGEN): New variables. (CGEN_VERBOSE): Renamed to CGENFLAGS. (cgen-arch,cgen-cpu,cgen-decode): Update. (CGEN_CPU_WRITE): New variable. (CGEN_CPU_SEMSW): -W -> -X. (CGEN_FLAGS_TO_PASS): Delete SCHEME. Add CGEN,CGENFLAGS. * cgen.sh: Delete args scheme,schemeflags. New arg cgen. * cgen-sim.h (RECORD_IADDR): Delete. * cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types. * genmloop.sh (engine_resume_{full,fast}): Delete icount.
1998-07-01Tweak.Jeff Law1-1/+14
1998-07-01 * am33.igen: New file with some am33 support.Jeff Law3-1/+2344
Checking in work-to-date.
1998-07-01 * mn10300_sim.h (FETCH24): Define.Jeff Law1-0/+7
* mn10300_sim.h: Add defines for some registers found on the AM33.
1998-07-01* sim/m32r/hw-trap.ms: New testcase.Doug Evans3-1/+36
1998-07-01 * sim/sky/vureloc{.brn,-main.c,.dvpasm}: New files.Doug Evans1-0/+6
1998-06-30 * mn10300_sim.h: Include bfd.hJeff Law3-10/+57
(struct state): Add more room for processor specific registers. start-sanitize-am33 (REG_E0): Define. end-sanitize-am33
1998-06-29 * interp.c (OPTION_BRANCH_BUG_4011): Add.Gavin Romig-Koch2-2/+66
(mips_option_handler): Handle OPTION_BRANCH_BUG_4011. (mips_options): Define the option. * mips.igen (check_4011_branch_bug): New. (mark_4011_branch_bug): New. (all branch insn): Call mark_branch_bug, and check_branch_bug. * sim-main.h (branchbug4011_option, branchbug4011_last_target, branchbug4011_last_cia, BRANCHBUG4011_OPTION, BRANCHBUG4011_LAST_TARGET, BRANCHBUG4011_LAST_CIA, check_branch_bug, mark_branch_bug): Define.
1998-06-29 * mips.igen (check_mf_hilo): Correct check.Gavin Romig-Koch2-104/+52
1998-06-26Do not try to include sys/mount.h anymoreMichael Meissner2-1/+21
1998-06-25 * sky-pke.c (pke_issue): use default trace file name if thePatrick Macdonald1-2/+14
--log-file option not used
1998-06-25Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn1-0/+12
* dv-mn103tim.c: Include sim-assert.h * dv-mn103ser.c (do_polling_event): Check for incoming data on serial line and schedule next polling event. (read_status_reg): schedule events to check for incoming data on serial line and issue interrupt if necessary.
1998-06-25* Bringing over SKY PKE disassembler feature from sky branch.Frank Ch. Eigler2-42/+394
1998-06-25* Bringing sky pke disasm from sky branch.Frank Ch. Eigler1-1/+5
1998-06-24* sim/sky/t-int.c, sim/sky/t-int-handler.c:James Lemke1-0/+5
Testcase errors: two in the former file, one in the latter.
1998-06-24Updated sim/sky/t-dma.c: It missed check-in earlier today.James Lemke1-0/+4
1998-06-24Updated sim/sky/t-dma.{brn|dmaexpect} because a warning msg being checkedJames Lemke1-0/+18
for, contains an address that differs between -mhard-float and -msoft-float.
1998-06-23configure.in: Add -lXext to mips_extra_libsJillian Ye1-1/+1
1998-06-22 * sky-dma.h, sky-gpuif.[c|h], sky-gs.h, sky-pke.[c|h],Patrick Macdonald2-3/+3
sky-vu.h: use _IOLBF on debug files, _IOFBF on trace files * sky-gdb.[c|h] (sky_open_file()): add buffer mode to parameter list
1998-06-19Remove the directory, all sky sim testcases are now in sim/sky/Jillian Ye223-805766/+0
1998-06-19Fri Jun 19 11:59:26 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn2-1/+6
* interp.c (board): Rename am32 to stdeval1 as this is the name consistently used to refer to the mn1030002 board.
1998-06-18Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>Joyce Janczyn2-3/+19
* interp.c (sim_open): Fix typo in address of EXTMD register (0x34000280, not 0x3400280).
1998-06-18* Adapt to changed R5900 SQC2 opcode.Frank Ch. Eigler1-19/+46
Thu Jun 18 17:48:01 1998 Frank Ch. Eigler <fche@cygnus.com> * mips.igen (SDC2): Removed R5900 alternative. * r5900.igen (SQC2): Updated bit pattern to match changed R5900 specs.
1998-06-18fix sanitization; add t-ldl.s t-ldr.s t-lwl.s t-lwr.s t-sdr.s t-sub.s ↵release1-0/+8
t-swl.s t-swr.s
1998-06-18 * second phase of the --sky-debug, --sky-debug-file stuffPatrick Macdonald2-510/+504
* only outstanding issue is vu0/vu1 to file (phase 3_ * please see ChangeLog.sky for complete details
1998-06-18 * simops.c (syscall): Handle change in opcode # for syscall.Jeff Law1-1/+1
* mn10300.igen (syscall): Likewise.
1998-06-17 * sky-pke.h: PKE_REG_SET_MASK / PKE_MEM_WRITE macros updatedPatrick Macdonald1-26/+43
to check/open the debug trace file
1998-06-17Re-do sim-inline's handling of external functions and variables soAndrew Cagney1-0/+18
that there really is only one instance of them.
1998-06-16*** empty log message ***Jillian Ye1-0/+6
1998-06-16 * support for the --sky-debug, sky-debug-file optionsPatrick Macdonald2-46/+108
* support for the --log, --log-file options * GIF disassembly * please view ChangeLog.Sky for details
1998-06-16 * sky-pke.c(read_pke_pc): return source address of current pcRon Unrau4-8/+52
* sky-pke.c(read_pke_pcx): return index of current pc * sky-pke.h: export read_pke_pcx * interp.c(sim_fetch_registers): read pke pc/pcx * sky-libvpe.c: track name change from GDB * sim-main.h: add vif memory based pc - extend gdb comm area for fifo breakpoints - define SIM_ENGINE_RESTART_HOOK * sky-gdb.c: add support for VIF breakpoints
1998-06-16*** empty log message ***Jillian Ye1-0/+5
1998-06-16* ECC (tx39) and sky changes.Frank Ch. Eigler3-20/+62
[ChangeLog] start-sanitize-tx3904 Tue Jun 16 14:39:00 1998 Frank Ch. Eigler <fche@cygnus.com> * dv-tx3904tmr.c: Deschedule timer event after dispatching. Reduce unnecessarily high timer event frequency. * dv-tx3904cpu.c: Ditto for interrupt event. end-sanitize-tx3904 start-sanitize-sky Tue Jun 16 14:12:09 1998 Frank Ch. Eigler <fche@cygnus.com> * interp.c (decode_coproc): Removed COP2 branches. * r5900.igen: Moved COP2 branch instructions here. * mips.igen: Restricted COPz == COP2 bit pattern to exclude COP2 branches. end-sanitize-sky
1998-06-16Fix unresolved external error for sky_cpcond0 on non-SKY builds.James Lemke1-0/+8
1998-06-16* sky testsuite fixesFrank Ch. Eigler1-0/+15
Tue Jun 16 09:03:37 1998 Frank Ch. Eigler <fche@cygnus.com> * t-cop2.s: Reorder instruction blocks to prevent "Out of bounds" messages during test execution. Added dummy branch labels for BC2* instructions. * t-cop2.brn: Use --sky-debug option instead of env var. * t-cop2.vuexpect: Updated for with new disassembly format. * sky_sce_fast.exp: Don't compare GIF outputs for --float-type=fast. * sce_test{17,33,49}.dvpasm: Use ".DmaPackVif 1" option to exercise assembler / PKE. * rw-vureg.c: Cast memcpy operand to allay warning.