Search
lxdream.org :: lxdream/test/testsort.data :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/testsort.data
changeset 753:1fe39c3a9bbc
author nkeynes
date Sun Jul 20 11:36:48 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Initial implementation for sort-dma channel
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/testsort.data Sun Jul 20 11:36:48 2008 +0000
1.3 @@ -0,0 +1,233 @@
1.4 +#
1.5 +# Sort DMA tests
1.6 +#
1.7 +[1.1 Single object]
1.8 +sortconf = 00000001 00000001
1.9 +sorttab = 00000000
1.10 +input =
1.11 +80800002 E0000000 2083242D 00000000 00000000 00000000 00000006 00000002
1.12 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.13 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.14 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.15 +F0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.16 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.17 +output =
1.18 +E0A00000 2083242D 00000000
1.19 +0.0 0.1 0.2 FF00FF00
1.20 +15.2 0.3 0.4 FF0000FF
1.21 +15.8 15.9 0.5 FFFFFFFF
1.22 +E0A00000 2083242D 00000000
1.23 +15.8 15.9 0.5 FFFFFFFF
1.24 +15.2 0.3 0.4 FF0000FF
1.25 +0.4 17.3 0.6 FF00FF00
1.26 +tile 1 =
1.27 +82204000
1.28 +
1.29 +[1.2 Two objects]
1.30 +sortconf = 00000001 00000001
1.31 +sorttab = 00000005 00000002
1.32 +input =
1.33 +80800002 E0000000 2083242D 00000000 00000000 00000000 00000005 00000001
1.34 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.35 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.36 +F0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.37 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.38 +80800002 E0000000 2083242D 00000000 00000000 00000000 00000004 00000000
1.39 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.40 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.41 +F0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.42 +output =
1.43 +E0A00000 2083242D 00000000
1.44 +15.8 15.9 0.5 FFFFFFFF
1.45 +15.2 0.3 0.4 FF0000FF
1.46 +0.4 17.3 0.6 FF00FF00
1.47 +E0A00000 2083242D 00000000
1.48 +0.0 0.1 0.2 FF00FF00
1.49 +15.2 0.3 0.4 FF0000FF
1.50 +15.8 15.9 0.5 FFFFFFFF
1.51 +tile 1 =
1.52 +82204000
1.53 +
1.54 +[1.3 Two single lists]
1.55 +sortconf = 00000001 00000001
1.56 +sorttab = 00000000 00000004 00000002
1.57 +input =
1.58 +80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000001
1.59 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.60 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.61 +F0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.62 +80800002 E0000000 2083422D 00000000 00000000 00000000 00000005 00000001
1.63 +E0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.64 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.65 +F0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.66 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.67 +output =
1.68 +E0A00000 2083422D 00000000
1.69 +15.2 0.3 0.4 FF0000FF
1.70 +0.0 0.1 0.2 FF00FF00
1.71 +15.8 15.9 0.5 FFFFFFFF
1.72 +E0A00000 2083422D 00000000
1.73 +0.4 17.3 0.6 FF00FF00
1.74 +15.8 15.9 0.5 FFFFFFFF
1.75 +15.2 0.3 0.4 FF0000FF
1.76 +tile 1 =
1.77 +82204000
1.78 +
1.79 +[1.4 Repeating a list]
1.80 +sortconf = 00000001 00000001
1.81 +sorttab = 00000004 00000004 00000008
1.82 +input =
1.83 +80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000001
1.84 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.85 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.86 +F0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.87 +80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000000
1.88 +E0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.89 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.90 +F0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.91 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.92 +80800002 00000000 00000000 00000000 00000000 00000000 00000001 00000002
1.93 +
1.94 +output =
1.95 +E0A00000 2083422D 00000000
1.96 +0.4 17.3 0.6 FF00FF00
1.97 +15.8 15.9 0.5 FFFFFFFF
1.98 +15.2 0.3 0.4 FF0000FF
1.99 +E0A00000 2083422D 00000000
1.100 +15.2 0.3 0.4 FF0000FF
1.101 +0.0 0.1 0.2 FF00FF00
1.102 +15.8 15.9 0.5 FFFFFFFF
1.103 +E0A00000 2083422D 00000000
1.104 +0.4 17.3 0.6 FF00FF00
1.105 +15.8 15.9 0.5 FFFFFFFF
1.106 +15.2 0.3 0.4 FF0000FF
1.107 +E0A00000 2083422D 00000000
1.108 +15.2 0.3 0.4 FF0000FF
1.109 +0.0 0.1 0.2 FF00FF00
1.110 +15.8 15.9 0.5 FFFFFFFF
1.111 +tile 1 =
1.112 +86204000
1.113 +
1.114 +[1.5 Empty list]
1.115 +sortconf = 00000001 00000001
1.116 +sorttab = 00000002
1.117 +input =
1.118 +80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000000
1.119 +F0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.120 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.121 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.122 +00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000002
1.123 +output =
1.124 +
1.125 +[1.6 Multiple params]
1.126 +sortconf = 00000001 00000001
1.127 +sorttab = 00000000
1.128 +input =
1.129 +20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
1.130 +20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
1.131 +20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
1.132 +80800002 E0000000 2083242D 00000000 00000000 00000000 00000008 00000002
1.133 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.134 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.135 +F0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.136 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.137 +output =
1.138 +E0A00000 2083242D 00000000
1.139 +0.0 0.1 0.2 FF00FF00
1.140 +15.2 0.3 0.4 FF0000FF
1.141 +15.8 15.9 0.5 FFFFFFFF
1.142 +tile 1 =
1.143 +80204000
1.144 +
1.145 +[1.7 Too many params]
1.146 +sortconf = 00000001 00000001
1.147 +sorttab = 00000000
1.148 +error = 1F 5C
1.149 +input =
1.150 +20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
1.151 +20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
1.152 +20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
1.153 +20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
1.154 +80800002 E0000000 2083422D 00000000 00000000 00000000 0000000A 00000002
1.155 +E0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.156 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.157 +F0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.158 +00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000002
1.159 +output =
1.160 +
1.161 +[1.8 16-bit table]
1.162 +sortconf = 00000000 00000001
1.163 +sorttab = 00040000 00000002
1.164 +input =
1.165 +80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000001
1.166 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.167 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.168 +F0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.169 +80800002 E0000000 2083422D 00000000 00000000 00000000 00000005 00000001
1.170 +E0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.171 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.172 +F0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.173 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.174 +output =
1.175 +E0A00000 2083422D 00000000
1.176 +15.2 0.3 0.4 FF0000FF
1.177 +0.0 0.1 0.2 FF00FF00
1.178 +15.8 15.9 0.5 FFFFFFFF
1.179 +E0A00000 2083422D 00000000
1.180 +0.4 17.3 0.6 FF00FF00
1.181 +15.8 15.9 0.5 FFFFFFFF
1.182 +15.2 0.3 0.4 FF0000FF
1.183 +tile 1 =
1.184 +82204000
1.185 +
1.186 +[1.9 Byte-size offsets]
1.187 +sortconf = 00000001 00000000
1.188 +sorttab = 000000C0 00000002
1.189 +input =
1.190 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.191 +80800002 E0000000 2083242D 00000000 00000000 00000000 00000005 00000001
1.192 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.193 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.194 +F0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.195 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.196 +80800002 E0000000 2083242D 00000000 00000000 00000000 00000004 00000020
1.197 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.198 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.199 +F0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.200 +output =
1.201 +E0A00000 2083242D 00000000
1.202 +15.8 15.9 0.5 FFFFFFFF
1.203 +15.2 0.3 0.4 FF0000FF
1.204 +0.4 17.3 0.6 FF00FF00
1.205 +E0A00000 2083242D 00000000
1.206 +0.0 0.1 0.2 FF00FF00
1.207 +15.2 0.3 0.4 FF0000FF
1.208 +15.8 15.9 0.5 FFFFFFFF
1.209 +tile 1 =
1.210 +82204000
1.211 +
1.212 +[1.10 Word masks]
1.213 +sortconf = 00000001 00000001
1.214 +sorttab = F8000005 F8000002 00000005 00000002
1.215 +input =
1.216 +80800002 E0000000 2083242D 00000000 00000000 00000000 FFFFFF05 F8000001
1.217 +E0000000 0.0 0.1 0.2 00000000 00000000 FF00FF00 FE010203
1.218 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.219 +F0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.220 +00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1.221 +80800002 E0000000 2083242D 00000000 00000000 00000000 01010104 F8000000
1.222 +E0000000 15.8 15.9 0.5 00000000 00000000 FFFFFFFF FB0A0B0C
1.223 +E0000000 15.2 0.3 0.4 00000000 00000000 FF0000FF FD040506
1.224 +F0000000 0.4 17.3 0.6 00000000 00000000 FF00FF00 FE010203
1.225 +output =
1.226 +E0A00000 2083242D 00000000
1.227 +15.8 15.9 0.5 FFFFFFFF
1.228 +15.2 0.3 0.4 FF0000FF
1.229 +0.4 17.3 0.6 FF00FF00
1.230 +E0A00000 2083242D 00000000
1.231 +0.0 0.1 0.2 FF00FF00
1.232 +15.2 0.3 0.4 FF0000FF
1.233 +15.8 15.9 0.5 FFFFFFFF
1.234 +tile 1 =
1.235 +82204000
1.236 +
.