aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>1998-04-09 20:31:18 +0000
committerFrank Ch. Eigler <fche@redhat.com>1998-04-09 20:31:18 +0000
commite5cccb7177d39504e889ea7430598187d476a24a (patch)
treea312893a0e313b108b1bb1e3376da4c97d40bd77 /sim
parent40c99833c75fb03d368d94027a2b2c0b18b47c15 (diff)
downloadgdb-e5cccb7177d39504e889ea7430598187d476a24a.zip
gdb-e5cccb7177d39504e889ea7430598187d476a24a.tar.gz
gdb-e5cccb7177d39504e889ea7430598187d476a24a.tar.bz2
* Added one PKE test after finding unexpected #### for a block of
code in gcov output.
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/sky/ChangeLog4
-rw-r--r--sim/testsuite/sky/t-pke3.trc40
2 files changed, 42 insertions, 2 deletions
diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog
index 9f88f7e..c622d9e 100644
--- a/sim/testsuite/sky/ChangeLog
+++ b/sim/testsuite/sky/ChangeLog
@@ -1,3 +1,7 @@
+Thu Apr 9 16:26:17 1998 Frank Ch. Eigler <fche@cygnus.com>
+
+ * t-pke3.trc: Additional test for MASK=0 MODE=2 UNPACK.
+
Thu Apr 9 13:03:54 1998 Jillian Ye <jillian@cygnus.com>
* c_gen.pl: Added handling for data from GIF PATH1/2/3 FIFO.
diff --git a/sim/testsuite/sky/t-pke3.trc b/sim/testsuite/sky/t-pke3.trc
index 0039e63..9d72faa 100644
--- a/sim/testsuite/sky/t-pke3.trc
+++ b/sim/testsuite/sky/t-pke3.trc
@@ -515,7 +515,7 @@
? 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 0x14000000_15000000_10000000_17000000 0x00000000 PPPP
1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP
@@ -690,7 +690,7 @@
# Preset VU0 data memory to funky words
# Set registers COL / ROW / MASK=10 for rows>0 / MODE=2 / CYCLE=0001
0 0xaaffaa00_20000000_05000002_01000001 0x00000000 .PPP
-# STROW: initial values for accumulator
+# STROW: increment
0 0x30000000_00000000_00000000_00000000 0x00000000 PPPP
0 0x00000040_00000030_00000020_00000010 0x00000000 ....
# STCOL: initial values for accumulator
@@ -723,6 +723,42 @@
? 0x11004058 0x00004000 0xffffffff
? 0x1100405c 0x00004000 0xffffffff
#
+#
+# UNPACK with MASK=0 & MODE=2 processing
+# [test.unpack.nomask] [test.unpack.mode.2] [test.unpack.cycle.0.1]
+#
+# RESET PKE0
+! 0x10003810 0x00000001
+#
+# Preset VU0 data memory to funky words
+# Set registers COL / ROW / MODE=2 / CYCLE=0101
+0 0x00000000_00000000_05000002_01000101 0x00000000 PPPP
+# STROW: initial values for accumulator
+0 0x30000000_00000000_00000000_00000000 0x00000000 PPPP
+0 0x00000040_00000030_00000020_00000010 0x00000000 ....
+# Unpack 4 V1_8 vectors
+0 0x10080402_62040010_00000000_00000000 0x00000000 .PPP
+# Confirm appropriate values filled: ROW0 - 1
+? 0x11004100 0x00000012 0xffffffff
+? 0x11004104 0x00000022 0xffffffff
+? 0x11004108 0x00000032 0xffffffff
+? 0x1100410c 0x00000042 0xffffffff
+#
+? 0x11004110 0x00000016 0xffffffff
+? 0x11004114 0x00000026 0xffffffff
+? 0x11004118 0x00000036 0xffffffff
+? 0x1100411c 0x00000046 0xffffffff
+#
+? 0x11004120 0x0000001e 0xffffffff
+? 0x11004124 0x0000002e 0xffffffff
+? 0x11004128 0x0000003e 0xffffffff
+? 0x1100412c 0x0000004e 0xffffffff
+#
+? 0x11004130 0x0000002e 0xffffffff
+? 0x11004134 0x0000003e 0xffffffff
+? 0x11004138 0x0000004e 0xffffffff
+? 0x1100413c 0x0000005e 0xffffffff
+#
# Set registers ROW / MASK / MODE=1 / CYCLE=0101
0 0x00000000_20000000_05000001_01000101 0x00000000 .PPP
# STROW: initial values for accumulator