* R5900 COP2 sim testing in progress. The majority of instructions actually
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 7 Apr 1998 22:47:53 +0000 (22:47 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 7 Apr 1998 22:47:53 +0000 (22:47 +0000)
commit174ff2242bac23a45001276b0629413bd166bf6e
tree72b17b9d94c734a3f739aa6297d9eb0dcc3b7470
parent0dee6af2994fadd9f240eea6c8ceda6c969f919f
* R5900 COP2 sim testing in progress.  The majority of instructions actually
  work!

[ChangeLog.sky]

* sky-vu.h (vu_device): Represent "macro instruction just stuffed
  into fetch buffer" condition with new "m" bit.  Rename old "m" to
  "l".

* sky-libvpe.c (indebug): Save snapshot of environment value;
  workaround for suspected memory corruption.
(fetch_inst): Respect new "m" macro-instruction flag for reporting
  successful fetch to caller.
(exec_inst): Disassemble instruction here instead of fetch time.
   Renamed old "m" -> "l" flag in VU state to track interlock
  release.
(vpecallms_cycle): Call exec_inst only if fetch_inst did some
  work.

* sky-vu.c (vu_attach, vu[01]_device): Revamped initialization to
  ensure complete clear of tail part of struct at attach time.
(vu0_busy): Fix thinko.
(vu0_macro_issue): Adapt to new "l" flag.
(vu0_micro_interlock_released): Ditto.
  (write_vu_special_reg): Ditto.
(read_vu_special_reg): Compute VBS0/VBS1 bits more explicitly.
   The other VU status bits are not yet computed.

[ChangeLog]

* interp.c (decode_coproc): Do not apply superfluous E (end) flag
  to upper code of generated VU instruction.
sim/mips/ChangeLog
sim/mips/interp.c