aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>1998-03-02 23:57:35 +0000
committerFrank Ch. Eigler <fche@redhat.com>1998-03-02 23:57:35 +0000
commit48c7100eba5f923214c607e2e5413b6af823dd4a (patch)
tree48251e468d152df484e068f3e683417fdf5fe740 /sim
parent6cc922a988f2516823ed2fd47eafcb9b161fb3de (diff)
downloadgdb-48c7100eba5f923214c607e2e5413b6af823dd4a.zip
gdb-48c7100eba5f923214c607e2e5413b6af823dd4a.tar.gz
gdb-48c7100eba5f923214c607e2e5413b6af823dd4a.tar.bz2
* Added more PKE unit tests. Coverage now at 90%.
* t-pke3.trc: Added FLUSH* / PKEMS* tests.
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/sky/ChangeLog4
-rw-r--r--sim/testsuite/sky/t-pke3.trc43
2 files changed, 46 insertions, 1 deletions
diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog
index d22bffd..4892bae 100644
--- a/sim/testsuite/sky/ChangeLog
+++ b/sim/testsuite/sky/ChangeLog
@@ -1,3 +1,7 @@
+Mon Mar 2 18:54:26 1998 Frank Ch. Eigler <fche@cygnus.com>
+
+ * t-pke3.trc: Added FLUSH* / PKEMS* tests.
+
Fri Feb 27 16:53:29 1998 Frank Ch. Eigler <fche@cygnus.com>
* Makefile.in (*): Changes now allow test case srcdir != objdir.
diff --git a/sim/testsuite/sky/t-pke3.trc b/sim/testsuite/sky/t-pke3.trc
index 4dd3711..ca906aa 100644
--- a/sim/testsuite/sky/t-pke3.trc
+++ b/sim/testsuite/sky/t-pke3.trc
@@ -431,4 +431,45 @@
! 0x10003d50 0x00000000
! 0x10003d60 0x00000000
! 0x10003d70 0x00000000
-# \ No newline at end of file
+#
+#
+# ---- FLUSH/FLUSHE/FLUSHA & CALL/CALLF/CONT ----
+#
+# Load a bunch of NOP[e]/NOP instructions into the VU
+# 0x000002ff_8000033c == NOP NOP
+# 0x400002ff_8000033c == NOP[e] NOP
+# MPG 10 instructions
+1 0x4a0a0000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x000002ff_8000033c_000002ff_8000033c 0x00000000 ....
+1 0x000002ff_8000033c_000002ff_8000033c 0x00000000 ....
+1 0x000002ff_8000033c_400002ff_8000033c 0x00000000 ....
+1 0x400002ff_8000033c_000002ff_8000033c 0x00000000 ....
+1 0x400002ff_8000033c_000002ff_8000033c 0x00000000 ....
+# Start VU; FLUSH
+1 0x10000000_14000000_00000000_00000000 0x00000000 PPPP
+# Send a few more NOPs to let VU get to first END
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+# Assert VU is in idle state
+? 0x110073d0 0x00000000 0x00000200
+# Resume/run/run/resume to check stall logic in PKEMSCNT/PKEMSCALF/PKEMSCAL
+1 0x13000000_14000000_11000000_15000000 0x00000000 PPPP
+1 0x00000000_15000000_14000000_17000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
+# Assert VU is in idle state
+? 0x110073d0 0x00000000 0x00000200
+