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
Patrick Macdonald
ff94f10401
* interp.c: added call to sky_command_options_end() to close
...
any open file handles before exiting
* sky-gpuif.[c|h]: add disassembly on the fly code, log and log
file option support
* sky-gdb.[c|h] (sky_command_options_close()): new function, added
some body to the log and log file option sections
1998-06-12 18:58:26 +00:00
Frank Ch. Eigler
95caab7df2
* Moving some sky-specific ChangeLog entries into ChangeLog.sky
1998-06-11 13:50:28 +00:00
Frank Ch. Eigler
b879096335
* Support for sky hardware interrupts. The sky-dma cannot trigger
...
interrupts properly yet (jlemke TODO).
Wed Jun 10 13:22:32 1998 Frank Ch. Eigler <fche@cygnus.com>
* interp.c (decode_coproc): For TX39, add stub COP0 register #7 ,
to allay warnings.
(interrupt_event): Made non-static.
start-sanitize-tx3904
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Correct accidental
interchange of configuration values for external vs. internal
clock dividers.
end-sanitize-tx3904
start-sanitize-sky
* sky-device.c (sky_signal_interrupt): New function to generate
interrupt event.
* sky-device.h: Declare it.
* sky-dma.c (check_int1): Call it.
* sky-pke.c (pke_begin_interrupt_stall): Call it.
end-sanitize-sky
1998-06-10 17:07:10 +00:00
Patrick Macdonald
a4377bf7bd
* Updated several files to place all sky specific runtime options
...
in sky-gdb.c.
* Added two new runtime options --sky-debug and --screen-refresh
* ChangeLog.sky contains a detailed description of the mods
1998-06-10 17:07:09 +00:00
Frank Ch. Eigler
e1b5df344e
* Typo fix for tx3904tmr use of configuration parameters.
...
(ChangeLog entry coming later.)
1998-06-10 08:58:42 +00:00
Ian Carmichael
0001bce1f8
* Handle 10 and 20-bit versions of Break instruction. Move handling
...
* of special values from signal_exception() in interp.c into mips.igen.
*
* Modified: ChangeLog gencode.c interp.c mips.igen sim-main.h
1998-06-09 22:11:24 +00:00
Frank Ch. Eigler
cc9bc93202
* Updates to tx3904 peripheral simulations for ECC.
...
Tue Jun 9 12:29:50 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904cpu.c (deliver_*_interrupt,*_port_event): Set the CAUSE
register upon non-zero interrupt event level, clear upon zero
event value.
* dv-tx3904irc.c (*_port_event): Handle deactivated interrupt signal
by passing zero event value.
(*_io_{read,write}_buffer): Endianness fixes.
* dv-tx3904tmr.c (*_io_{read,write}_buffer): Endianness fixes.
(deliver_*_tick): Reduce sim event interval to 75% of count interval.
* interp.c (sim_open): Added jmr3904pal board type that adds PAL-based
serial I/O and timer module at base address 0xFFFF0000.
1998-06-09 16:54:09 +00:00
Ian Carmichael
895a7dc2aa
* Handle 10 and 20-bit versions of Break instruction. Move handling
...
* of special values from signal_exception() in interp.c into mips.igen.
*
* Modified: gencode.c interp.c mips.igen sim-main.h
1998-06-09 16:54:08 +00:00
Gavin Romig-Koch
2b5d87dfa4
* mips.igen (SWC1) : Correct the handling of ReverseEndian
...
and BigEndianCPU.
1998-06-09 15:54:05 +00:00
Gavin Romig-Koch
55ad270f9a
* configure.in (mips_fpu_bitsize) : Set this correctly for 32-bit mips
...
parts.
* configure: Update.
1998-06-09 15:42:04 +00:00
James Lemke
037f29c526
Added support for the VU insn D (debug) & T (trace) bits.
1998-06-04 20:50:55 +00:00
Frank Ch. Eigler
da040f2a6c
* Early check-in of tx3904 timer sim implementation for ECC.
...
It is not yet properly tested.
Thu Jun 4 15:37:33 1998 Frank Ch. Eigler <fche@cygnus.com>
* dv-tx3904tmr.c: New file - implements tx3904 timer.
* dv-tx3904{irc,cpu}.c: Mild reformatting.
* configure.in: Include tx3904tmr in hw_device list.
* configure: Rebuilt.
* interp.c (sim_open): Instantiate three timer instances.
Fix address typo of tx3904irc instance.
1998-06-04 12:43:45 +00:00
Andrew Cagney
0e797366ef
The r5900 doesn't have HI/LO DIV/MUL register problems. Hobble
...
checks on hi/lo usage but retain functions so that they can be used
for HI/LO stall counting code.
1998-06-04 08:46:56 +00:00
Ian Carmichael
4979c0a271
* Move the sanitize comments to the right place.
1998-06-02 21:04:49 +00:00
Ian Carmichael
8e3a0b599f
* SYSCALL now uses exception vector.
...
* SKY: New memory mapping rules for k1seg, k0seg.
* Modified Files: ChangeLog.sky ChangeLog interp.c sim-main.c
1998-06-02 19:53:36 +00:00
Frank Ch. Eigler
29b5afe9af
* Small TX39-only patch for ECC.
...
Mon Jun 1 18:18:26 1998 Frank Ch. Eigler <fche@cygnus.com>
* interp.c (decode_coproc): For TX39, add stub COP0 register #3 ,
to allay warnings.
1998-06-01 16:29:43 +00:00
Jeff Law
fb0ea2b9e1
* r5900.igen (rsqrt.s): Update based on r5900 ISA manual version 2.1.
...
(sqrt.s): Likewise.
1998-06-01 16:29:42 +00:00
Andrew Cagney
df26156d68
Match mips*tx39 not mipst*tx39.
1998-05-29 01:42:20 +00:00
Andrew Cagney
ce82378189
Fix mips SWL on 64bit ISA when 32 bit word appears in second half of
...
64 bit bus.
Test.
1998-05-25 05:48:34 +00:00
Ron Unrau
aa81c3ca99
* Initial support for "sim list vif[01]"
1998-05-24 13:06:09 +00:00
Andrew Cagney
f872d0d643
Only enable H/W on some mips targets.
...
Move common hw-obj to Make-common
Pacify GCC
1998-05-22 05:23:04 +00:00
Andrew Cagney
32d41f6ddb
Sanity clause
1998-05-22 02:08:26 +00:00
Gavin Romig-Koch
5e34097b8b
gencode.c: Mark BEGEZALL as LIKELY.
1998-05-21 18:26:38 +00:00
Patrick Macdonald
fab0ee0d0b
* interp.c: modified name of GIF device
...
* sky-gpuif.[ch]: IMT burst support and queue manipulation ( see
ChangeLog.sky for complete details )
* sky-gs.c: modified name of GIF device
1998-05-21 15:41:35 +00:00