Frank Ch. Eigler
1ee7d2b1c8
* sky->devo merge, final part of sim merge
...
[ChangeLog.sky]
1998-12-08 Frank Ch. Eigler <fche@cygnus.com>
* sim-main.h (sim_state): Add multi-phase load tracking fields.
* sky-gdb.c (sky_option_handler): Add --load-next option handling.
* mips.igen (BREAK): Add multi-phase load and printf code handling.
1998-12-08 12:23:26 +00:00
Andrew Cagney
a6a5d34927
Fix --enable-build-warnings=-Werror failures.
...
v850/simops.c, d10v/simops.c, v850/Makefile.in, d10v/Makefile.in:
Include targ-vals.h instead of syscall.h. Replace SYS_* with
TARGET_SYS_*. Add dependency.
z8k/support.c: Include <errno.h>
v850/simops.c: Replace long with portable signed32.
mips/interp.c: Make sim_monitor global - needed by sky.
1998-11-25 09:58:04 +00:00
Andrew Cagney
baa1a48801
Explicitly tag vr41/mips16 instructions.
...
Update configure.in/configure.
1998-11-25 06:50:48 +00:00
Andrew Cagney
554eb429e4
gencode.c: Kill, Kill, Kill....
...
Remove last remenats of old gencode simulator.
1998-11-23 11:37:56 +00:00
Andrew Cagney
57791952b6
Configure mips64vr4100-elf nee mips64vr41* as a 64 bit mips16 igen simulator.
...
Fix problems: All vr.igen instructions are 64 bit.
1998-11-23 07:16:03 +00:00
Andrew Cagney
5a581ea612
Pacify GCC.
1998-11-23 06:10:01 +00:00
Andrew Cagney
ee562da4c4
Reconize target mips-tx19-elf
1998-11-23 06:06:12 +00:00
Andrew Cagney
a83d7d870f
Switch mips-lsi-elf mips16 simulator to igen (from gencode).
1998-11-23 05:50:21 +00:00
Andrew Cagney
821b702f92
* r5900.igen (CVT.W.S): Always round towards zero.
...
Update testsuite.
1998-11-21 03:31:30 +00:00
Andrew Cagney
d1cbd70abb
Add configury for mips-lsi-elf target (32 bit MIPS16).
...
Fix numerous problems with PENDING_* code.
In old gencode simulator, don't double tick each cycle.
Add BREAK instruction to MIPS16 gencode simulator.
1998-11-12 06:42:34 +00:00
Andrew Cagney
7d88afe63e
div(-0) sets both I/SI and D/SD (PR16522)
1998-11-11 08:18:55 +00:00
Frank Ch. Eigler
210a903baf
* build fix
...
Thu Nov 5 10:29:42 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
* r5900.igen (r59fp_opdiv): Correct erroneous FGR[FD] reference.
1998-11-05 09:42:06 +00:00
Andrew Cagney
dd0f610960
PR 16522
...
Fix RSQRT.S instruction, add test case.
1998-11-05 09:42:05 +00:00
Frank Ch. Eigler
fd0e83b604
* adding missing ChangeLog header line
1998-11-02 11:51:27 +00:00
Frank Ch. Eigler
0ec51df9ef
* build fix for tx39 sim; caused by sky->devo merge
...
* dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Add dummy
interrupt level number to match changed SignalExceptionInterrupt
macro.
1998-10-30 09:49:18 +00:00
Frank Ch. Eigler
fd6e6422c8
* sky->devo merge, continued -- left out the r5900 TLB last time!
...
* includes a small PR 17224 tweak
1998-10-29 13:44:37 +00:00
Frank Ch. Eigler
3ac7980b23
* Fixes for PR 18015, from customer.
...
Thu Oct 29 11:06:30 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
* r5900.igen: Fix PSRLVW, MULTU1, PADSBH instructions,
as per customer patch.
1998-10-29 09:30:11 +00:00
Andrew Cagney
b9a9cde40b
Unify (well almost) --enable-build-warnings configuration option
...
across GDB and SIM directories.
1998-10-28 02:01:32 +00:00
Frank Ch. Eigler
fda83b6795
* MONSTER sky -> devo merge
...
* ChangeLog / ChangeLog.sky entries were merged with original time stamps;
a few were moved between the files
1998-10-27 12:48:08 +00:00
Doug Evans
3b5f425750
* interp.c: #include "itable.h" if WITH_IGEN.
...
(get_insn_name): New function.
(sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
* sim-main.h (MAX_INSNS,INSN_NAME): Delete.
1998-10-10 01:07:15 +00:00
Doug Evans
4d87923eb3
* r5900.igen (plzcw): Make `i' signed.
...
PR 17191.
1998-09-10 19:00:46 +00:00
Ron Unrau
323f833daf
Branch merge for GDB:
...
* sim-main.h: track COP0 registers
* interp.c (sim_{fetch,store}_register): read/write COP0 registers
* sky-gdb.[ch]: add sim pipeorder command
1998-09-09 17:30:31 +00:00
Frank Ch. Eigler
9ade226a42
* Patch for PR 17142, brought over from sky branch.
...
Fri Sep 4 10:37:57 1998 Frank Ch. Eigler <fche@cygnus.com>
* r5900.igen (mtsab): Correct typo in input register.
* sim-main.h (TMP_*): New macros for accessing local 128-bit
temporary for multimedia instructions.
* r5900.igen (*): Convert most instructions to use new TMP
macros to store output result during computation.
1998-09-08 11:09:45 +00:00
Frank Ch. Eigler
78b871ec81
* Build fixes for tx39 sim hosted on strange Linux boxen.
...
[common/ChangeLog]
Tue Sep 1 15:36:52 1998 Frank Ch. Eigler <fche@cygnus.com>
* sim-config.h: Remove reference to linux kernel header.
[mips/ChangeLog]
Tue Sep 1 15:39:18 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904sio.c: Include sim-assert.h.
1998-09-01 13:19:57 +00:00
Ken Raeburn
83e29d5263
Change sanitization of vrXXXX to cygnus, so redact might work on it.
...
This means using keep-vr4320 without keep-cygnus probably won't work.
1998-08-26 17:29:06 +00:00
Frank Ch. Eigler
36e838d13b
* eCos tx3904sio sim - devo part 2/2
...
Tue Aug 25 12:49:46 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904sio.c: New file: tx3904 serial I/O module.
* configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
Reorganize target-specific sim-hardware checks.
* configure: rebuilt.
* interp.c (sim_open): For tx39 target boards, set
OPERATING_ENVIRONMENT, add tx3904sio devices.
* tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
ROM executables. Install dv-sockser into sim-modules list.
* dv-tx3904irc.c: Compiler warning clean-up.
* dv-tx3904tmr.c: Compiler warning clean-up. Remove particularly
frequent hw-trace messages.
1998-08-25 14:16:58 +00:00
Ken Raeburn
aeeb756dee
fix broken sanitization
1998-08-18 18:58:10 +00:00
Ken Raeburn
3d759c53c9
sanitize-vr5400 -> sanitize-cygnus, for 98r2
1998-08-12 10:50:35 +00:00
Ron Unrau
d333eeedde
* sim-main.h: track COP2 register definitions, define VIO_BASE
...
* interp.c (sim_{fetch,store}_register): read/write VU0/1 control regs
* sky-gdb.c: use VIO_BASE
* sky-pke.h: move GDB_COMM area
1998-08-06 20:02:47 +00:00
Ron Unrau
b8140a08bf
* sim-main.h: shadow NUM_CORE_REGS from tm-txvu.h
...
* interp.c: use NUM_CORE_REGS
* sky-gdb.c (set_fifo_breakpoints): use VIF interrupt bit for break
* sky-pke.c (pke_issue): use interrupt bit for break points
1998-07-31 22:02:12 +00:00
Jeff Holcomb
acf38b4e4a
fix sanitization
1998-07-31 05:23:28 +00:00
Jeff Law
e1160daac2
Fix sanitize misspellings.
1998-07-29 18:28:29 +00:00
Andrew Cagney
60f9cd07d0
For vr* processors start using vr.igen.
...
Sanitize out README.Cygnus.
1998-07-25 07:49:29 +00:00
Andrew Cagney
e1b20d3048
Add new file vr.igen which is a merge of vr5400.igen and vr4320.igen.
...
Hack sanitize so that it doesn't sanitize vrXXX when either of
keep-vr5400 or keep-vr4320 are specified.
Move two basic vr4100 instructions from mips.igen to vr.igen.
1998-07-25 06:45:18 +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
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
Frank Ch. Eigler
56b6d49ae0
* Bringing over SKY PKE disassembler feature from sky branch.
1998-06-25 11:41:20 +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
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
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
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
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
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
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
James Lemke
05faca8731
Implement CPCOND0 and insns BC0F/BC0FL/BC0T/BC0TL.
1998-06-15 17:36:23 +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