Jeff Law
135431cd7e
* Makefile.in: Use multi-sim to support both a mn10300 and am33
...
simulator.
1998-07-06 21:57:22 +00:00
Jeff Law
658fb0c743
* sim-bits.h (EXTEND24): Define.
1998-07-06 21:55:37 +00:00
Jeff Law
3e75ff7efd
* am33.igen: Add many more am33 instructions.
1998-07-06 21:41:06 +00:00
Doug Evans
039fa2c847
* cgen-sim.h (CPU_SCACHE): Make size unsigned.
...
(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-03 00:14:49 +00:00
James Lemke
0a3ec14442
Add a test case for PR16213.
1998-07-02 20:20:32 +00:00
Doug Evans
1148b104ae
* Makefile.in: cgen_maint -> CGEN_MAINT.
...
* 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-02 01:42:38 +00:00
Doug Evans
6de2add29f
* Make-common.in (SCHEME,SCHEMEFLAGS): Delete.
...
(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-01 23:47:50 +00:00
Jeff Law
ee61616c43
Tweak.
1998-07-01 23:15:55 +00:00
Jeff Law
0f7d73858c
* am33.igen: New file with some am33 support.
...
Checking in work-to-date.
1998-07-01 23:13:14 +00:00
Jeff Law
de2adf7070
* mn10300_sim.h (FETCH24): Define.
...
* mn10300_sim.h: Add defines for some registers found on the AM33.
1998-07-01 23:11:59 +00:00
Doug Evans
8686807e30
* sim/m32r/hw-trap.ms: New testcase.
1998-07-01 22:57:07 +00:00
Doug Evans
9ae0ae657f
* sim/sky/vureloc{.brn,-main.c,.dvpasm}: New files.
1998-07-01 21:37:10 +00:00
Jeff Law
a6cbaa652a
* mn10300_sim.h: Include bfd.h
...
(struct state): Add more room for processor specific registers.
start-sanitize-am33
(REG_E0): Define.
end-sanitize-am33
1998-06-30 17:28:54 +00:00
Gavin Romig-Koch
46eb9e5a57
* interp.c (OPTION_BRANCH_BUG_4011): Add.
...
(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 13:30:01 +00:00
Gavin Romig-Koch
aaa2c9082c
* mips.igen (check_mf_hilo): Correct check.
1998-06-29 13:22:31 +00:00
Michael Meissner
16a88df71e
Do not try to include sys/mount.h anymore
1998-06-26 18:22:48 +00:00
Patrick Macdonald
80b86d36b3
* sky-pke.c (pke_issue): use default trace file name if the
...
--log-file option not used
1998-06-25 18:58:10 +00:00
Joyce Janczyn
5eb78d70cc
Thu Jun 25 10:12:03 1998 Joyce Janczyn <janczyn@cygnus.com>
...
* 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 14:17:47 +00:00
Frank Ch. Eigler
56b6d49ae0
* Bringing over SKY PKE disassembler feature from sky branch.
1998-06-25 11:41:20 +00:00
Frank Ch. Eigler
dcf63a62ea
* Bringing sky pke disasm from sky branch.
1998-06-25 11:35:43 +00:00
James Lemke
7e3459149e
* sim/sky/t-int.c, sim/sky/t-int-handler.c:
...
Testcase errors: two in the former file, one in the latter.
1998-06-24 22:19:38 +00:00
James Lemke
2a7392656c
Updated sim/sky/t-dma.c: It missed check-in earlier today.
1998-06-24 21:55:45 +00:00
James Lemke
b8f4ecc8d6
Updated sim/sky/t-dma.{brn|dmaexpect} because a warning msg being checked
...
for, contains an address that differs between -mhard-float and -msoft-float.
1998-06-24 16:02:01 +00:00
Jillian Ye
f915cc9125
configure.in: Add -lXext to mips_extra_libs
1998-06-23 17:59:31 +00:00
Patrick Macdonald
f439ad5f17
* sky-dma.h, sky-gpuif.[c|h], sky-gs.h, sky-pke.[c|h],
...
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-22 15:08:58 +00:00
Jillian Ye
f4f78bcc9c
Remove the directory, all sky sim testcases are now in sim/sky/
1998-06-19 20:26:23 +00:00
Joyce Janczyn
0df90cd8e4
Fri Jun 19 11:59:26 1998 Joyce Janczyn <janczyn@cygnus.com>
...
* interp.c (board): Rename am32 to stdeval1 as this is the name
consistently used to refer to the mn1030002 board.
1998-06-19 16:02:51 +00:00
Joyce Janczyn
f0ce242fcd
Thu June 18 14:37:14 1998 Joyce Janczyn <janczyn@cygnus.com>
...
* interp.c (sim_open): Fix typo in address of EXTMD register
(0x34000280, not 0x3400280).
1998-06-18 18:43:11 +00:00
Frank Ch. Eigler
5630c289dc
* Adapt to changed R5900 SQC2 opcode.
...
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-18 15:11:28 +00:00
release
c773c22617
fix sanitization; add t-ldl.s t-ldr.s t-lwl.s t-lwr.s t-sdr.s t-sub.s t-swl.s t-swr.s
1998-06-18 06:52:03 +00:00
Patrick Macdonald
be53145e44
* second phase of the --sky-debug, --sky-debug-file stuff
...
* only outstanding issue is vu0/vu1 to file (phase 3_
* please see ChangeLog.sky for complete details
1998-06-18 00:28:06 +00:00
Jeff Law
7c8a2969e6
* simops.c (syscall): Handle change in opcode # for syscall.
...
* mn10300.igen (syscall): Likewise.
1998-06-18 00:03:00 +00:00
Patrick Macdonald
c0e7453d60
* sky-pke.h: PKE_REG_SET_MASK / PKE_MEM_WRITE macros updated
...
to check/open the debug trace file
1998-06-17 14:54:11 +00:00
Andrew Cagney
67574b9cea
Re-do sim-inline's handling of external functions and variables so
...
that there really is only one instance of them.
1998-06-17 07:42:53 +00:00
Jillian Ye
419997a6d4
*** empty log message ***
1998-06-16 22:39:28 +00:00
Patrick Macdonald
7159249bbc
* support for the --sky-debug, sky-debug-file options
...
* support for the --log, --log-file options
* GIF disassembly
* please view ChangeLog.Sky for details
1998-06-16 21:02:33 +00:00
Ron Unrau
2905d173c5
* sky-pke.c(read_pke_pc): return source address of current pc
...
* 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 20:30:20 +00:00
Jillian Ye
d80e0c96ef
*** empty log message ***
1998-06-16 19:47:31 +00:00
Frank Ch. Eigler
702968c54b
* ECC (tx39) and sky changes.
...
[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-16 18:13:47 +00:00
James Lemke
1106213c56
Fix unresolved external error for sky_cpcond0 on non-SKY builds.
1998-06-16 18:13:46 +00:00
Frank Ch. Eigler
a2d12e4971
* sky testsuite fixes
...
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.
1998-06-16 16:53:49 +00:00
Doug Evans
1a1f786125
cangelog entries moved here from sim/sky/ChangeLog
1998-06-16 16:53:48 +00:00
Ian Carmichael
8ea23ea4bb
* Implement remaining bits in VPU_STAT, CMSAR0, CMSAR1, FBRST. Fix COP2 interface
...
* to VI registers (CFC2/CTC2).
*
* Modified Files:
* ChangeLog.sky interp.c sim-main.c sky-pke.h sky-vu.c sky-vu.h
1998-06-16 16:02:04 +00:00
Joyce Janczyn
f14defcc75
Tue June 16 09:36:21 1998 Joyce Janczyn <janczyn@cygnus.com>
...
* dv-mn103int.c (mn103int_finish): Regular interrupts (not NMI or
reset) are not enabled on reset.
1998-06-16 13:43:34 +00:00
James Lemke
05faca8731
Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.
1998-06-15 17:36:23 +00:00
Joyce Janczyn
2a62f119fa
Updates to dv-mn103iop.c, dv-mn103ser.c and inter.c
1998-06-14 21:19:53 +00:00
Ron Unrau
f083fff397
* sky-engine.c: Set ordering of device issues to match enumerated type
...
txvu_cpu_context (sim-main.h tm-txvu.h). This also allowed the issue
structure to be simplified to an array of functions.
1998-06-14 17:01:02 +00:00
Doug Evans
b4cbaee405
* m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall,
...
load_stall,biggest_cycles.
* m32r.c (m32r_model_mark_get_h_gr): Update.
(m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns.
(m32r_model_record_cti,m32r_model_record_cycles): New functions.
* mloop.in: Call cycle init/update fns.
* model.c: Regenerate.
* m32rx.c (m32rx_model_mark_get_h_gr): Update.
* mloopx.in: Call cycle init/update fns.
* modelx.c: Regenerate.
1998-06-13 14:56:28 +00:00
Doug Evans
403bed787e
* cgen-trace.c (trace_insn_fini): Redo cycle handling.
...
* sim-profile.h (PROFILE_DATA): Rename cycle handling members.
* sim-profile.c (profile_print_model): Update.
1998-06-13 14:47:51 +00:00
Doug Evans
af2b0c8593
* gennltvals.def (m32r): Use common syscall.h now.
...
(mn10300): Add entry.
* nltvals.def: Regenerate.
1998-06-13 01:39:44 +00:00