diff options
author | Frank Ch. Eigler <fche@redhat.com> | 1998-03-03 00:00:09 +0000 |
---|---|---|
committer | Frank Ch. Eigler <fche@redhat.com> | 1998-03-03 00:00:09 +0000 |
commit | f62dff78f9ef063c09f07522ae669b942ccf0643 (patch) | |
tree | d3254b68171e4dfe17fc9b6d8ba604f408f7b76b /sim | |
parent | 48c7100eba5f923214c607e2e5413b6af823dd4a (diff) | |
download | gdb-f62dff78f9ef063c09f07522ae669b942ccf0643.zip gdb-f62dff78f9ef063c09f07522ae669b942ccf0643.tar.gz gdb-f62dff78f9ef063c09f07522ae669b942ccf0643.tar.bz2 |
* Continuing PKE sim unit tests. Found little bugs in VU instead.
* sky-vu1.c (vu1_io_write_register_window): Make CIA (pc) write
effective by updating more registers.
* sky-libvpe.c: Updated to match earlier VU state-change code.
* sky-vpe.h: Removed unused globals from declarations.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/mips/sky-vu1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/mips/sky-vu1.c b/sim/mips/sky-vu1.c index 40ddb03..8ad0ac7 100644 --- a/sim/mips/sky-vu1.c +++ b/sim/mips/sky-vu1.c @@ -121,7 +121,7 @@ vu1_io_write_register_window(device *me, vu1_state.junk._TOP = T2H_4(*(int*)source); return nr_bytes; } else if (addr == VU1_CIA) { - vu1_state.junk._vpepc = T2H_4(*(int*)source); + vu1_state.junk.pc = vu1_state.junk._vpepc = T2H_4(*(int*)source); vu1_state.runState = VU_RUN; vu1_state.junk.eflag = 0; vu1_state.junk.peflag = 0; |