* R5900 COP2 function nearly complete. PKE sim now aware of new GPUIF
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 5 Apr 1998 16:40:03 +0000 (16:40 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Sun, 5 Apr 1998 16:40:03 +0000 (16:40 +0000)
commitebcfd86a2ee6c08419b951d8176febaf683e9726
tree92f401845f64b64f89c24b7f80fa881ca601c9c0
parentd61cc1d4b1bd12d088aef46e97d6f79cf6b3dfb1
* R5900 COP2 function nearly complete.  PKE sim now aware of new GPUIF
  masking facility for PATH3 transfers.

[ChangeLog.sky]

Sun Apr  5 12:11:45 1998  Frank Ch. Eigler  <fche@cygnus.com>

* sky-libvpe.c (exec-inst): Added "M" bit detection for upper
  instruction.

* sky-pke.c (pke_check_stall): Added more assertions.
(pke_code_mskpath3): Use new GPUIF M3P control register.

* sky-pke.h (VU[01]_CIA): New macros that give VU CIA
  pseudo-register addresses.

* sky-vu.h (vu_device, VectorUnitState): Merged structs.
(VectorUnitState.mflag): New field.
(VU_REG_{CMSAR0,CMSAR1,FBRST}) Added missing control registers.

* sky-vu.c (vu0_busy): New function.
(vu0_q_busy): New function.
(vu0_macro_issue): New function.
(vu0_micro_interlock_released): New function.
(vu0_busy_in_{micro,macro}_mode): Deleted stubs.
(vu0_macro_hazard_check): Deleted stubs.
(vu_attach): Adapted code to merged device & state struct.
(read_vu_special_reg): Compute VBS0/VBS1 bits in STAT register.

[ChangeLog]
start-sanitize-sky
Sun Apr  5 12:05:44 1998  Frank Ch. Eigler  <fche@cygnus.com>

* interp.c (*): Adapt code to merged VU device & state structs.
(decode_coproc): Execute COP2 each macroinstruction without
  pipelining, by stepping VU to completion state.  Adapted to
read_vu_*_reg style of register access.

* mips.igen ([SL]QC2): Removed these COP2 instructions.

* r5900.igen ([SL]QC2): Transplanted these COP2 instructions here.

* sim-main.h (cop_[ls]q): Enclosed in TARGET_SKY guards.

end-sanitize-sky
sim/mips/ChangeLog
sim/mips/interp.c
sim/mips/mips.igen
sim/mips/sim-main.h
sim/mips/sky-pke.c
sim/mips/sky-pke.h