From e5cccb7177d39504e889ea7430598187d476a24a Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 9 Apr 1998 20:31:18 +0000 Subject: [PATCH] * Added one PKE test after finding unexpected #### for a block of code in gcov output. --- sim/testsuite/sky/ChangeLog | 4 ++++ sim/testsuite/sky/t-pke3.trc | 40 ++++++++++++++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog index 9f88f7eef2c..c622d9e350a 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 + + * t-pke3.trc: Additional test for MASK=0 MODE=2 UNPACK. + Thu Apr 9 13:03:54 1998 Jillian Ye * 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 0039e636216..9d72faa3a8e 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 -- 2.30.2