Search
lxdream.org :: lxdream/test/testsort.data
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 (13 years ago)
permissions -rw-r--r--
last change Initial implementation for sort-dma channel
file annotate diff log raw
nkeynes@753
     1
#
nkeynes@753
     2
# Sort DMA tests
nkeynes@753
     3
#
nkeynes@753
     4
[1.1 Single object]
nkeynes@753
     5
sortconf = 00000001 00000001
nkeynes@753
     6
sorttab = 00000000
nkeynes@753
     7
input =
nkeynes@753
     8
80800002 E0000000 2083242D 00000000 00000000 00000000 00000006 00000002
nkeynes@753
     9
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    10
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
    11
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
    12
F0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    13
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
    14
output =
nkeynes@753
    15
E0A00000 2083242D 00000000 
nkeynes@753
    16
0.0      0.1      0.2      FF00FF00
nkeynes@753
    17
15.2     0.3      0.4      FF0000FF
nkeynes@753
    18
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
    19
E0A00000 2083242D 00000000 
nkeynes@753
    20
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
    21
15.2     0.3      0.4      FF0000FF
nkeynes@753
    22
0.4      17.3     0.6      FF00FF00
nkeynes@753
    23
tile 1 =
nkeynes@753
    24
82204000
nkeynes@753
    25
nkeynes@753
    26
[1.2 Two objects]
nkeynes@753
    27
sortconf = 00000001 00000001
nkeynes@753
    28
sorttab = 00000005 00000002
nkeynes@753
    29
input =
nkeynes@753
    30
80800002 E0000000 2083242D 00000000 00000000 00000000 00000005 00000001
nkeynes@753
    31
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    32
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
    33
F0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
    34
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
    35
80800002 E0000000 2083242D 00000000 00000000 00000000 00000004 00000000
nkeynes@753
    36
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
    37
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
    38
F0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    39
output =
nkeynes@753
    40
E0A00000 2083242D 00000000 
nkeynes@753
    41
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
    42
15.2     0.3      0.4      FF0000FF
nkeynes@753
    43
0.4      17.3     0.6      FF00FF00
nkeynes@753
    44
E0A00000 2083242D 00000000 
nkeynes@753
    45
0.0      0.1      0.2      FF00FF00
nkeynes@753
    46
15.2     0.3      0.4      FF0000FF
nkeynes@753
    47
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
    48
tile 1 =
nkeynes@753
    49
82204000
nkeynes@753
    50
nkeynes@753
    51
[1.3 Two single lists]
nkeynes@753
    52
sortconf = 00000001 00000001
nkeynes@753
    53
sorttab = 00000000 00000004 00000002
nkeynes@753
    54
input =
nkeynes@753
    55
80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000001
nkeynes@753
    56
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
    57
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    58
F0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
    59
80800002 E0000000 2083422D 00000000 00000000 00000000 00000005 00000001
nkeynes@753
    60
E0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    61
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
    62
F0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
    63
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
    64
output =
nkeynes@753
    65
E0A00000 2083422D 00000000 
nkeynes@753
    66
15.2     0.3      0.4      FF0000FF
nkeynes@753
    67
0.0      0.1      0.2      FF00FF00
nkeynes@753
    68
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
    69
E0A00000 2083422D 00000000 
nkeynes@753
    70
0.4      17.3     0.6      FF00FF00
nkeynes@753
    71
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
    72
15.2     0.3      0.4      FF0000FF
nkeynes@753
    73
tile 1 =
nkeynes@753
    74
82204000
nkeynes@753
    75
nkeynes@753
    76
[1.4 Repeating a list]
nkeynes@753
    77
sortconf = 00000001 00000001
nkeynes@753
    78
sorttab = 00000004 00000004 00000008
nkeynes@753
    79
input =
nkeynes@753
    80
80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000001
nkeynes@753
    81
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
    82
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    83
F0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
    84
80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000000
nkeynes@753
    85
E0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
    86
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
    87
F0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
    88
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
    89
80800002 00000000 00000000 00000000 00000000 00000000 00000001 00000002
nkeynes@753
    90
nkeynes@753
    91
output =
nkeynes@753
    92
E0A00000 2083422D 00000000 
nkeynes@753
    93
0.4      17.3     0.6      FF00FF00
nkeynes@753
    94
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
    95
15.2     0.3      0.4      FF0000FF
nkeynes@753
    96
E0A00000 2083422D 00000000 
nkeynes@753
    97
15.2     0.3      0.4      FF0000FF
nkeynes@753
    98
0.0      0.1      0.2      FF00FF00
nkeynes@753
    99
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   100
E0A00000 2083422D 00000000 
nkeynes@753
   101
0.4      17.3     0.6      FF00FF00
nkeynes@753
   102
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   103
15.2     0.3      0.4      FF0000FF
nkeynes@753
   104
E0A00000 2083422D 00000000 
nkeynes@753
   105
15.2     0.3      0.4      FF0000FF
nkeynes@753
   106
0.0      0.1      0.2      FF00FF00
nkeynes@753
   107
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   108
tile 1 =
nkeynes@753
   109
86204000
nkeynes@753
   110
nkeynes@753
   111
[1.5 Empty list]
nkeynes@753
   112
sortconf = 00000001 00000001
nkeynes@753
   113
sorttab = 00000002
nkeynes@753
   114
input =
nkeynes@753
   115
80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000000
nkeynes@753
   116
F0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   117
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   118
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   119
00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000002
nkeynes@753
   120
output =
nkeynes@753
   121
nkeynes@753
   122
[1.6 Multiple params]
nkeynes@753
   123
sortconf = 00000001 00000001
nkeynes@753
   124
sorttab = 00000000
nkeynes@753
   125
input =
nkeynes@753
   126
20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
nkeynes@753
   127
20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
nkeynes@753
   128
20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
nkeynes@753
   129
80800002 E0000000 2083242D 00000000 00000000 00000000 00000008 00000002
nkeynes@753
   130
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   131
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   132
F0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   133
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
   134
output =
nkeynes@753
   135
E0A00000 2083242D 00000000 
nkeynes@753
   136
0.0      0.1      0.2      FF00FF00
nkeynes@753
   137
15.2     0.3      0.4      FF0000FF
nkeynes@753
   138
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   139
tile 1 =
nkeynes@753
   140
80204000
nkeynes@753
   141
nkeynes@753
   142
[1.7 Too many params]
nkeynes@753
   143
sortconf = 00000001 00000001
nkeynes@753
   144
sorttab = 00000000
nkeynes@753
   145
error = 1F 5C
nkeynes@753
   146
input =
nkeynes@753
   147
20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
nkeynes@753
   148
20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
nkeynes@753
   149
20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
nkeynes@753
   150
20000000 00000000 00000000 00000000 00000000 00000000 0000000E 0000000E
nkeynes@753
   151
80800002 E0000000 2083422D 00000000 00000000 00000000 0000000A 00000002
nkeynes@753
   152
E0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   153
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   154
F0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   155
00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000002
nkeynes@753
   156
output =
nkeynes@753
   157
nkeynes@753
   158
[1.8 16-bit table]
nkeynes@753
   159
sortconf = 00000000 00000001
nkeynes@753
   160
sorttab = 00040000 00000002
nkeynes@753
   161
input =
nkeynes@753
   162
80800002 E0000000 2083422D 00000000 00000000 00000000 00000004 00000001
nkeynes@753
   163
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   164
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   165
F0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   166
80800002 E0000000 2083422D 00000000 00000000 00000000 00000005 00000001
nkeynes@753
   167
E0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   168
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   169
F0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   170
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
   171
output =
nkeynes@753
   172
E0A00000 2083422D 00000000 
nkeynes@753
   173
15.2     0.3      0.4      FF0000FF
nkeynes@753
   174
0.0      0.1      0.2      FF00FF00
nkeynes@753
   175
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   176
E0A00000 2083422D 00000000 
nkeynes@753
   177
0.4      17.3     0.6      FF00FF00
nkeynes@753
   178
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   179
15.2     0.3      0.4      FF0000FF
nkeynes@753
   180
tile 1 =
nkeynes@753
   181
82204000
nkeynes@753
   182
nkeynes@753
   183
[1.9 Byte-size offsets]
nkeynes@753
   184
sortconf = 00000001 00000000
nkeynes@753
   185
sorttab = 000000C0 00000002
nkeynes@753
   186
input =
nkeynes@753
   187
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
   188
80800002 E0000000 2083242D 00000000 00000000 00000000 00000005 00000001
nkeynes@753
   189
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   190
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   191
F0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   192
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
   193
80800002 E0000000 2083242D 00000000 00000000 00000000 00000004 00000020
nkeynes@753
   194
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   195
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   196
F0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   197
output =
nkeynes@753
   198
E0A00000 2083242D 00000000 
nkeynes@753
   199
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   200
15.2     0.3      0.4      FF0000FF
nkeynes@753
   201
0.4      17.3     0.6      FF00FF00
nkeynes@753
   202
E0A00000 2083242D 00000000 
nkeynes@753
   203
0.0      0.1      0.2      FF00FF00
nkeynes@753
   204
15.2     0.3      0.4      FF0000FF
nkeynes@753
   205
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   206
tile 1 =
nkeynes@753
   207
82204000
nkeynes@753
   208
nkeynes@753
   209
[1.10 Word masks]
nkeynes@753
   210
sortconf = 00000001 00000001
nkeynes@753
   211
sorttab = F8000005 F8000002 00000005 00000002
nkeynes@753
   212
input =
nkeynes@753
   213
80800002 E0000000 2083242D 00000000 00000000 00000000 FFFFFF05 F8000001
nkeynes@753
   214
E0000000 0.0      0.1      0.2      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   215
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   216
F0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   217
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
nkeynes@753
   218
80800002 E0000000 2083242D 00000000 00000000 00000000 01010104 F8000000
nkeynes@753
   219
E0000000 15.8     15.9     0.5      00000000 00000000 FFFFFFFF FB0A0B0C
nkeynes@753
   220
E0000000 15.2     0.3      0.4      00000000 00000000 FF0000FF FD040506
nkeynes@753
   221
F0000000 0.4      17.3     0.6      00000000 00000000 FF00FF00 FE010203
nkeynes@753
   222
output =
nkeynes@753
   223
E0A00000 2083242D 00000000 
nkeynes@753
   224
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   225
15.2     0.3      0.4      FF0000FF
nkeynes@753
   226
0.4      17.3     0.6      FF00FF00
nkeynes@753
   227
E0A00000 2083242D 00000000 
nkeynes@753
   228
0.0      0.1      0.2      FF00FF00
nkeynes@753
   229
15.2     0.3      0.4      FF0000FF
nkeynes@753
   230
15.8     15.9     0.5      FFFFFFFF
nkeynes@753
   231
tile 1 =
nkeynes@753
   232
82204000
nkeynes@753
   233
.