* Inserted skeleton of R5900 COP2 simulation. Merged old vu[01].[ch] code
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 27 Mar 1998 22:00:56 +0000 (22:00 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 27 Mar 1998 22:00:56 +0000 (22:00 +0000)
commit15232df4a3afdcfd6552502231f10d87c7f90266
treed31fd67df9975ba198497b06d0b1b9f814f79272
parentc8e8b829fe142206338f0365ffb3330f7c63b1e4
* Inserted skeleton of R5900 COP2 simulation.  Merged old vu[01].[ch] code
  into single PKE-style vu.[ch].

[ChangeLog]

Fri Mar 27 16:19:29 1998  Frank Ch. Eigler  <fche@cygnus.com>

start-sanitize-sky
* Makefile.in (SIM_SKY_OBJS): Replaced sky-vu[01].o with sky-vu.o.

* interp.c (sim_{load,store}_register): Use new vu[01]_device
  static to access VU registers.
(decode_coproc): Added skeleton of sky COP2 (VU) instruction
  decoding.  Work in progress.

* mips.igen (LDCzz, SDCzz): Removed *5900 case for this
  overlapping/redundant bit pattern.
(LQC2, SQC2): Added *5900 COP2 instruction skeleta.  Work in
progress.

* sim-main.h (status_CU[012]): Added COP[n]-enabled flags for
  status register.

end-sanitize-sky

* interp.c (cop_lq, cop_sq): New functions for future 128-bit
  access to coprocessor registers.

* sim-main.h (COP_LQ, COP_SQ): New macro front-ends for above.

[ChangeLog.sky]

* sky-engine.c (engine_run): Adapted from vu[01] -> vu merge.

* sky-hardware.c (register_devices): Ditto

* sky-pke.c (pke_fifo_*): Made these functions private again, now
  that the GPUIF code does not use them.

* sky-pke.h (pke_fifo_*): Removed newly private declarations.

* sky-vu.c (*): Major rework: merge of old sky-vu0.c and
  sky-vu1.c.  Management of two VU devices parallels two PKEs.
Work in progress.

* sky-vu.h (*): Other half of merge.
(vu_device): New struct, parallel to pke_device.
12 files changed:
sim/mips/.Sanitize
sim/mips/ChangeLog
sim/mips/Makefile.in
sim/mips/interp.c
sim/mips/mips.igen
sim/mips/sim-main.h
sim/mips/sky-pke.c
sim/mips/sky-pke.h
sim/mips/sky-vu0.c [deleted file]
sim/mips/sky-vu0.h [deleted file]
sim/mips/sky-vu1.c [deleted file]
sim/mips/sky-vu1.h [deleted file]