diff options
author | ran | 2016-03-29 06:52:24 -0500 |
---|---|---|
committer | ran | 2016-03-29 06:52:24 -0500 |
commit | 63ef5cf2efbb8103ab88670ec4ecf231e2c98566 (patch) | |
tree | 2f6e01f4ac4b991f142288df9609ec5d57a4360e | |
parent | 98a58144465b9c0342cf2f27dfb1b7a9ba459eff (diff) | |
download | c55x-benchmarks-63ef5cf2efbb8103ab88670ec4ecf231e2c98566.tar.gz c55x-benchmarks-63ef5cf2efbb8103ab88670ec4ecf231e2c98566.tar.xz c55x-benchmarks-63ef5cf2efbb8103ab88670ec4ecf231e2c98566.zip |
directory structure 3-29-16
120 files changed, 32278 insertions, 0 deletions
diff --git a/dsplib_benchmarks/cfft1/CFFT_T.C b/dsplib_benchmarks/cfft1/CFFT_T.C new file mode 100644 index 0000000..acbca93 --- /dev/null +++ b/dsplib_benchmarks/cfft1/CFFT_T.C | |||
@@ -0,0 +1,331 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | |||
36 | |||
37 | #include <stdlib.h> | ||
38 | #include <math.h> | ||
39 | #include "tms320.h" | ||
40 | #include <stdio.h> | ||
41 | #include <dsplib.h> | ||
42 | #include <time.h> | ||
43 | |||
44 | #define NUMBER_OF_ITERATIONS 1000000l | ||
45 | #define FFT_HARDWARE 1 | ||
46 | //#include "t1_SCALE.h" | ||
47 | //#include "t2_SCALE.h" //16 | ||
48 | //#include "t3_SCALE.h" //32 | ||
49 | //#include "t4_SCALE.h" //64 | ||
50 | //#include "t5_SCALE.h" //128 | ||
51 | #include "t6_SCALE.h" //256 | ||
52 | //#include "t7_SCALE.h" //512 | ||
53 | //#include "t8_SCALE.h" //1024 | ||
54 | //#include "t2_NOSCALE.h" | ||
55 | //#include "t3_NOSCALE.h" | ||
56 | //#include "t4_NOSCALE.h" | ||
57 | //#include "t5_NOSCALE.h" | ||
58 | //#include "t6_NOSCALE.h" | ||
59 | //#include "t7_NOSCALE.h" | ||
60 | //#include "t8_NOSCALE.h" | ||
61 | |||
62 | |||
63 | //#include "hwafft.h" | ||
64 | |||
65 | #ifndef SCALING | ||
66 | #define SCALING 0 | ||
67 | #endif | ||
68 | |||
69 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
70 | |||
71 | short eflag = PASS; | ||
72 | |||
73 | //////////////////////////////////////////////// | ||
74 | long *data; | ||
75 | long *data_br; | ||
76 | unsigned short fft_flag = 0 ; //0 ->fft 1 ->ifft | ||
77 | unsigned short scale_flag= 0; //0 -> scaling 1-> no scalling | ||
78 | DATA *result ; | ||
79 | unsigned short sel_out; | ||
80 | |||
81 | short compare_flag ; | ||
82 | int i ; | ||
83 | int nx ; | ||
84 | long iterations1 ; | ||
85 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff , total3_t ; | ||
86 | long (*fp) (DATA , DATA , unsigned short , unsigned short ); | ||
87 | |||
88 | |||
89 | |||
90 | |||
91 | |||
92 | |||
93 | #if FFT_HARDWARE // when it is 1, we use the hardware FFT | ||
94 | |||
95 | void main() | ||
96 | { | ||
97 | |||
98 | short xx,yy ; | ||
99 | short maxError ; | ||
100 | nx = NX ; | ||
101 | |||
102 | t1 = clock() ; | ||
103 | t2 = clock() ; | ||
104 | diff = t2 - t1 ; /// overhead of calling | ||
105 | |||
106 | |||
107 | *(volatile ioport unsigned short *)0x0001 = 0x000E; | ||
108 | asm(" idle"); | ||
109 | asm (" nop ") ; | ||
110 | asm (" nop ") ; | ||
111 | asm (" nop ") ; | ||
112 | |||
113 | t1 = clock() ; | ||
114 | hwafft_br(x, x_br, nx) ; | ||
115 | |||
116 | t2 = clock() ; | ||
117 | total1_t = (double) (t2 - t1-diff) ; | ||
118 | printf(" Using bit reversal Number of elements is %d \n",nx ) ; | ||
119 | printf("Bit reversal accelerator time (in cycles) %ld \n", total1_t) ; | ||
120 | |||
121 | // for (i=0; i<2*nx; i++) | ||
122 | // x_br[i] = x[i] ; | ||
123 | #if SCALING | ||
124 | scale_flag = 0; | ||
125 | #else | ||
126 | scale_flag = 1; | ||
127 | #endif | ||
128 | |||
129 | |||
130 | if (nx == 8) | ||
131 | { | ||
132 | t1 = clock() ; | ||
133 | |||
134 | sel_out =hwafft_8pts(x_br, scratch, fft_flag, scale_flag ); | ||
135 | |||
136 | t2 = clock() ; | ||
137 | } | ||
138 | |||
139 | if (nx == 16) | ||
140 | { | ||
141 | t1 = clock() ; | ||
142 | |||
143 | sel_out =hwafft_16pts(x_br, scratch, fft_flag, scale_flag ); | ||
144 | |||
145 | t2 = clock() ; | ||
146 | } | ||
147 | |||
148 | if (nx == 32) | ||
149 | { | ||
150 | t1 = clock() ; | ||
151 | |||
152 | sel_out =hwafft_32pts(x_br, scratch, fft_flag, scale_flag ); | ||
153 | |||
154 | t2 = clock() ; | ||
155 | } | ||
156 | if (nx == 64) | ||
157 | { | ||
158 | t1 = clock() ; | ||
159 | |||
160 | sel_out =hwafft_64pts(x_br, scratch, fft_flag, scale_flag ); | ||
161 | |||
162 | t2 = clock() ; | ||
163 | } | ||
164 | if (nx == 128) | ||
165 | { | ||
166 | t1 = clock() ; | ||
167 | |||
168 | sel_out =hwafft_128pts(x_br, scratch, fft_flag, scale_flag ); | ||
169 | |||
170 | t2 = clock() ; | ||
171 | } | ||
172 | if (nx == 256) | ||
173 | { | ||
174 | t1 = clock() ; | ||
175 | |||
176 | sel_out =hwafft_256pts(x_br, scratch, fft_flag, scale_flag ); | ||
177 | |||
178 | t2 = clock() ; | ||
179 | } | ||
180 | if (nx == 512) | ||
181 | { | ||
182 | t1 = clock() ; | ||
183 | |||
184 | sel_out =hwafft_512pts(x_br, scratch, fft_flag, scale_flag ); | ||
185 | |||
186 | t2 = clock() ; | ||
187 | } | ||
188 | if (nx == 1024) | ||
189 | { | ||
190 | t1 = clock() ; | ||
191 | |||
192 | sel_out =hwafft_1024pts(x_br, scratch, fft_flag, scale_flag ); | ||
193 | |||
194 | t2 = clock() ; | ||
195 | } | ||
196 | |||
197 | |||
198 | |||
199 | |||
200 | |||
201 | |||
202 | |||
203 | |||
204 | |||
205 | if (sel_out == 0) | ||
206 | { | ||
207 | result = x_br; | ||
208 | } | ||
209 | else | ||
210 | |||
211 | { | ||
212 | result = scratch; | ||
213 | } | ||
214 | |||
215 | |||
216 | total1_t = (double) (t2 - t1-diff) ; | ||
217 | printf(" Complex FFT number of elements is %d \n", nx) ; | ||
218 | printf("fft time (in cycles) %ld \n", total1_t) ; | ||
219 | |||
220 | maxError = 0 ; | ||
221 | for (i=0; i<2*nx; i++) | ||
222 | { | ||
223 | |||
224 | xx = result[i] - rtest[i] ; | ||
225 | yy = abs(xx) ; | ||
226 | if (yy > maxError) maxError = yy ; | ||
227 | } | ||
228 | |||
229 | |||
230 | printf(" max Error = %d \n", maxError) ; | ||
231 | |||
232 | |||
233 | // test | ||
234 | eflag = test(result, rtest, NX, MAXERROR); | ||
235 | |||
236 | if(eflag != PASS) | ||
237 | { | ||
238 | exit(-1); | ||
239 | } | ||
240 | |||
241 | |||
242 | |||
243 | |||
244 | printf(" number of errors %d \n", compare_flag) ; | ||
245 | |||
246 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
247 | |||
248 | { | ||
249 | sel_out =hwafft_16pts(x_br, scratch, fft_flag, scale_flag ); | ||
250 | } | ||
251 | |||
252 | |||
253 | printf("Done with %ld iteration \n",iterations1 ); | ||
254 | |||
255 | |||
256 | |||
257 | return; | ||
258 | } | ||
259 | |||
260 | |||
261 | |||
262 | |||
263 | |||
264 | |||
265 | |||
266 | #else | ||
267 | |||
268 | void main() | ||
269 | { | ||
270 | |||
271 | |||
272 | int nx ; | ||
273 | long iterations1 ; | ||
274 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
275 | |||
276 | t1 = clock() ; | ||
277 | t2 = clock() ; | ||
278 | diff = t2 - t1 ; /// overhead of calling | ||
279 | t1 = clock() ; | ||
280 | // compute | ||
281 | #if SCALING | ||
282 | cfft(x, NX, SCALE); | ||
283 | #else | ||
284 | cfft(x, NX, NOSCALE); | ||
285 | #endif | ||
286 | nx = NX ; | ||
287 | t2 = clock() ; | ||
288 | total1_t = (double) (t2 - t1-diff) ; | ||
289 | printf(" Complex FFT number of elements is %d \n",nx ) ; | ||
290 | printf("fft time (in cycles) %ld \n", total1_t) ; | ||
291 | t11 = clock() ; | ||
292 | |||
293 | cbrev(x, x, NX); | ||
294 | |||
295 | t22 = clock() ; | ||
296 | total2_t = (double) (t22 - t11- diff) ; | ||
297 | |||
298 | printf("bit reverse time (in cycles) %ld \n", total2_t) ; ; | ||
299 | |||
300 | // test | ||
301 | eflag = test(x, rtest, NX, MAXERROR); | ||
302 | |||
303 | if(eflag != PASS) | ||
304 | { | ||
305 | exit(-1); | ||
306 | } | ||
307 | |||
308 | |||
309 | |||
310 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
311 | |||
312 | { | ||
313 | |||
314 | #if SCALING | ||
315 | cfft(x, NX, SCALE); | ||
316 | #else | ||
317 | cfft(x, NX, NOSCALE); | ||
318 | #endif | ||
319 | |||
320 | } | ||
321 | |||
322 | |||
323 | printf("Done with %ld iteration \n",iterations1 ); | ||
324 | |||
325 | |||
326 | |||
327 | return; | ||
328 | } | ||
329 | |||
330 | |||
331 | #endif | ||
diff --git a/dsplib_benchmarks/cfft1/TEST.C b/dsplib_benchmarks/cfft1/TEST.C new file mode 100644 index 0000000..908c3b6 --- /dev/null +++ b/dsplib_benchmarks/cfft1/TEST.C | |||
@@ -0,0 +1,96 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <stdlib.h> | ||
45 | #include <math.h> | ||
46 | #include "tms320.h" | ||
47 | #include <stdio.h> | ||
48 | #include <dsplib.h> | ||
49 | #include <time.h> | ||
50 | |||
51 | #include <tms320.h> | ||
52 | |||
53 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
54 | |||
55 | { | ||
56 | short i; | ||
57 | short eflag = PASS; // error flag or index into r vector where error | ||
58 | DATA elevel = 0; // error level at failing eflag index location | ||
59 | DATA emax = 0; // max error level detected across when NOERROR | ||
60 | |||
61 | for (i=0;i<n;i++) | ||
62 | { | ||
63 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
64 | { | ||
65 | eflag =i; // if error --> eflag = index and emax= max error | ||
66 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
67 | break; | ||
68 | } | ||
69 | else | ||
70 | if (elevel>emax) emax = elevel; | ||
71 | } | ||
72 | // Pass to Host: eflag and emax | ||
73 | return(eflag); | ||
74 | } | ||
75 | |||
76 | short compare(DATA *r, DATA *rtest, short n) | ||
77 | |||
78 | { | ||
79 | short i; | ||
80 | short yy,xx ; | ||
81 | short maxError = 0 ; | ||
82 | |||
83 | for (i=0;i<n;i++) | ||
84 | { | ||
85 | yy = rtest[i] - r[i] ; | ||
86 | xx = abs(yy) ; | ||
87 | if ( xx > maxError) | ||
88 | { | ||
89 | maxError = xx ; | ||
90 | // printf(" i %d rtest %d r %d \n",i,rtest[i], r[i]) ; | ||
91 | } | ||
92 | |||
93 | } | ||
94 | |||
95 | return(maxError); | ||
96 | } | ||
diff --git a/dsplib_benchmarks/cfft1/fft5535.cmd b/dsplib_benchmarks/cfft1/fft5535.cmd new file mode 100644 index 0000000..e58ef68 --- /dev/null +++ b/dsplib_benchmarks/cfft1/fft5535.cmd | |||
@@ -0,0 +1,96 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | |||
46 | PAGE 1: | ||
47 | |||
48 | IOPORT (RWI) : origin = 0x000000, length = 0x020000 | ||
49 | } | ||
50 | |||
51 | |||
52 | SECTIONS | ||
53 | { | ||
54 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
55 | .cinit : {} > SARAM01 PAGE 0 | ||
56 | .text : {} > SARAM01 PAGE 0 | ||
57 | isrs : {} > SARAM2 PAGE 0 | ||
58 | |||
59 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
60 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
61 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
62 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
63 | .bss : {} > SARAM15 PAGE 0 /* force .bss to not be on Page 0 */ | ||
64 | .const : {} > DARAM1 PAGE 0 | ||
65 | |||
66 | .coeffs : {} > DARAM2 PAGE 0 | ||
67 | .dbuffer : {} > DARAM3 PAGE 0 | ||
68 | files : {} > DARAM2 PAGE 0 /* User-defined sections */ | ||
69 | statvar : {} > DARAM2 PAGE 0 | ||
70 | statarry : {} > DARAM2 PAGE 0 | ||
71 | tempvar : {} > DARAM2 PAGE 0 | ||
72 | temparry : {} > DARAM2 PAGE 0 | ||
73 | .cio : {} > DARAM2 PAGE 0 | ||
74 | |||
75 | |||
76 | .fftcode : {} > SARAM2 PAGE 0 /* FFT-specific sections */ | ||
77 | .test : {} > DARAM2 PAGE 0 | ||
78 | .twiddle : {} > SARAM3 PAGE 0, align(2048) | ||
79 | .input : {} > DARAM3 PAGE 0, align(4) /* this is due to long-word data memory access */ | ||
80 | .ioport : {} > IOPORT PAGE 1 | ||
81 | |||
82 | } | ||
83 | |||
84 | // VC5505 (PG1.4) HWAFFT Routines ROM Addresses: | ||
85 | |||
86 | _hwafft_br = 0x00fefe9c; | ||
87 | _hwafft_8pts = 0x00fefeb0; | ||
88 | _hwafft_16pts = 0x00feff9f; | ||
89 | _hwafft_32pts = 0x00ff00f5; | ||
90 | _hwafft_64pts = 0x00ff03fe; | ||
91 | _hwafft_128pts = 0x00ff0593; | ||
92 | _hwafft_256pts = 0x00ff07a4; | ||
93 | _hwafft_512pts = 0x00ff09a2; | ||
94 | _hwafft_1024pts = 0x00ff0c1c; | ||
95 | |||
96 | |||
diff --git a/dsplib_benchmarks/cfft1/t1_SCALE.h b/dsplib_benchmarks/cfft1/t1_SCALE.h new file mode 100644 index 0000000..9958810 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t1_SCALE.h | |||
@@ -0,0 +1,74 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 8 | ||
37 | #define FNAME "t1" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | #pragma DATA_SECTION (x_br,".input") | ||
41 | #pragma DATA_ALIGN (x_br, 2048) | ||
42 | DATA x_br[2*NX] ; | ||
43 | |||
44 | #pragma DATA_SECTION (scratch,".input") | ||
45 | #pragma DATA_ALIGN (scratch, 2048) | ||
46 | DATA scratch[2*NX] ; | ||
47 | #pragma DATA_SECTION (x,".input") | ||
48 | |||
49 | DATA x[2*NX] ={ | ||
50 | 25635, 18304, /* 0 */ | ||
51 | -15313, -3150, /* 1 */ | ||
52 | 6084, 6574, /* 2 */ | ||
53 | -799, 16626, /* 3 */ | ||
54 | 22285, 24023, /* 4 */ | ||
55 | 14926, 13566, /* 5 */ | ||
56 | -2480, -18438, /* 6 */ | ||
57 | -27423, -5371, /* 7 */ | ||
58 | }; | ||
59 | |||
60 | #pragma DATA_SECTION (rtest,".test") | ||
61 | |||
62 | DATA rtest[2*NX] ={ | ||
63 | 2865, 6517, /* 0 */ | ||
64 | -1015, -4888, /* 1 */ | ||
65 | 5434, 3294, /* 2 */ | ||
66 | 2785, 4096, /* 3 */ | ||
67 | 10016, 1098, /* 4 */ | ||
68 | 8104, 1316, /* 5 */ | ||
69 | 5644, 10253, /* 6 */ | ||
70 | -8201, -3386, /* 7 */ | ||
71 | }; | ||
72 | |||
73 | DATA error; | ||
74 | |||
diff --git a/dsplib_benchmarks/cfft1/t2_NOSCALE.h b/dsplib_benchmarks/cfft1/t2_NOSCALE.h new file mode 100644 index 0000000..ce3b0a0 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t2_NOSCALE.h | |||
@@ -0,0 +1,89 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 64 | ||
39 | #pragma DATA_SECTION (x_br,".input") | ||
40 | #pragma DATA_ALIGN (x_br, 2048) | ||
41 | DATA x_br[2*NX] ; | ||
42 | |||
43 | #pragma DATA_SECTION (scratch,".input") | ||
44 | #pragma DATA_ALIGN (scratch, 2048) | ||
45 | DATA scratch[2*NX] ; | ||
46 | #pragma DATA_SECTION (x,".input") | ||
47 | |||
48 | DATA x[2*NX] ={ | ||
49 | 921, 891, /* 0 */ | ||
50 | -551, 853, /* 1 */ | ||
51 | 218, -184, /* 2 */ | ||
52 | -29, 806, /* 3 */ | ||
53 | 801, -906, /* 4 */ | ||
54 | 536, -302, /* 5 */ | ||
55 | -90, 641, /* 6 */ | ||
56 | -987, -1004, /* 7 */ | ||
57 | 658, -740, /* 8 */ | ||
58 | -114, -609, /* 9 */ | ||
59 | 236, -617, /* 10 */ | ||
60 | 597, 212, /* 11 */ | ||
61 | 863, -467, /* 12 */ | ||
62 | 487, -617, /* 13 */ | ||
63 | -663, -993, /* 14 */ | ||
64 | -194, 505, /* 15 */ | ||
65 | }; | ||
66 | |||
67 | #pragma DATA_SECTION (rtest,".test") | ||
68 | |||
69 | DATA rtest[2*NX] ={ | ||
70 | 2698, -2525, /* 0 */ | ||
71 | 1760, 4307, /* 1 */ | ||
72 | -1070, 24, /* 2 */ | ||
73 | 2951, 3820, /* 3 */ | ||
74 | 2348, -1039, /* 4 */ | ||
75 | -2370, 2971, /* 5 */ | ||
76 | 4689, 2939, /* 6 */ | ||
77 | -426, -735, /* 7 */ | ||
78 | 3197, -2219, /* 8 */ | ||
79 | -24, -3405, /* 9 */ | ||
80 | 0, 609, /* 10 */ | ||
81 | 2213, 228, /* 11 */ | ||
82 | 4735, 903, /* 12 */ | ||
83 | -68, 2900, /* 13 */ | ||
84 | -3961, 2523, /* 14 */ | ||
85 | -1930, 2960, /* 15 */ | ||
86 | }; | ||
87 | |||
88 | DATA error; | ||
89 | |||
diff --git a/dsplib_benchmarks/cfft1/t2_SCALE.h b/dsplib_benchmarks/cfft1/t2_SCALE.h new file mode 100644 index 0000000..b668bd2 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t2_SCALE.h | |||
@@ -0,0 +1,91 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | #pragma DATA_SECTION (x_br,".input") | ||
41 | #pragma DATA_ALIGN (x_br, 2048) | ||
42 | DATA x_br[2*NX] ; | ||
43 | |||
44 | #pragma DATA_SECTION (scratch,".input") | ||
45 | #pragma DATA_ALIGN (scratch, 2048) | ||
46 | DATA scratch[2*NX] ; | ||
47 | #pragma DATA_SECTION (x,".input") | ||
48 | #pragma DATA_ALIGN (x, 2048) | ||
49 | |||
50 | DATA x[2*NX] ={ | ||
51 | 23773, -2998, /* 0 */ | ||
52 | 22759, 23573, /* 1 */ | ||
53 | -4899, -1857, /* 2 */ | ||
54 | 21490, -4442, /* 3 */ | ||
55 | -24136, 18901, /* 4 */ | ||
56 | -8033, 1373, /* 5 */ | ||
57 | 17096, -16234, /* 6 */ | ||
58 | -26758, 9397, /* 7 */ | ||
59 | -19714, 18458, /* 8 */ | ||
60 | -16227, -26225, /* 9 */ | ||
61 | -16448, 9896, /* 10 */ | ||
62 | 5666, -6580, /* 11 */ | ||
63 | -12437, 18113, /* 12 */ | ||
64 | -16443, 153, /* 13 */ | ||
65 | -26463, 11435, /* 14 */ | ||
66 | 13472, -3882, /* 15 */ | ||
67 | }; | ||
68 | |||
69 | #pragma DATA_SECTION (rtest,".test") | ||
70 | |||
71 | DATA rtest[2*NX] ={ | ||
72 | -4206, 3068, /* 0 */ | ||
73 | 6064, -1581, /* 1 */ | ||
74 | 2009, -3210, /* 2 */ | ||
75 | 7369, -3740, /* 3 */ | ||
76 | 161, 5065, /* 4 */ | ||
77 | 8019, 953, /* 5 */ | ||
78 | 1238, -5800, /* 6 */ | ||
79 | -53, -2434, /* 7 */ | ||
80 | -3698, 3896, /* 8 */ | ||
81 | -6844, -3103, /* 9 */ | ||
82 | 4674, 2013, /* 10 */ | ||
83 | -2688, -6683, /* 11 */ | ||
84 | -387, 1088, /* 12 */ | ||
85 | 3828, 1291, /* 13 */ | ||
86 | 2235, 1608, /* 14 */ | ||
87 | 6045, 4566, /* 15 */ | ||
88 | }; | ||
89 | |||
90 | DATA error; | ||
91 | |||
diff --git a/dsplib_benchmarks/cfft1/t3_NOSCALE.h b/dsplib_benchmarks/cfft1/t3_NOSCALE.h new file mode 100644 index 0000000..dc1eabe --- /dev/null +++ b/dsplib_benchmarks/cfft1/t3_NOSCALE.h | |||
@@ -0,0 +1,121 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 32 | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 64 | ||
39 | #pragma DATA_SECTION (x_br,".input") | ||
40 | #pragma DATA_ALIGN (x_br, 2048) | ||
41 | DATA x_br[2*NX] ; | ||
42 | |||
43 | #pragma DATA_SECTION (scratch,".input") | ||
44 | #pragma DATA_ALIGN (scratch, 2048) | ||
45 | DATA scratch[2*NX] ; | ||
46 | #pragma DATA_SECTION (x,".input") | ||
47 | |||
48 | DATA x[2*NX] ={ | ||
49 | -113, 651, /* 0 */ | ||
50 | 884, 328, /* 1 */ | ||
51 | -70, -324, /* 2 */ | ||
52 | -167, -431, /* 3 */ | ||
53 | 708, -326, /* 4 */ | ||
54 | 51, 69, /* 5 */ | ||
55 | -609, 465, /* 6 */ | ||
56 | 352, -391, /* 7 */ | ||
57 | 692, 693, /* 8 */ | ||
58 | -984, 139, /* 9 */ | ||
59 | 371, -266, /* 10 */ | ||
60 | -247, 415, /* 11 */ | ||
61 | 679, 95, /* 12 */ | ||
62 | 5, -113, /* 13 */ | ||
63 | 428, 398, /* 14 */ | ||
64 | -146, 248, /* 15 */ | ||
65 | -401, 603, /* 16 */ | ||
66 | -636, 935, /* 17 */ | ||
67 | -628, 46, /* 18 */ | ||
68 | 373, 778, /* 19 */ | ||
69 | -404, -670, /* 20 */ | ||
70 | 85, 982, /* 21 */ | ||
71 | -715, -469, /* 22 */ | ||
72 | 405, -508, /* 23 */ | ||
73 | -250, 769, /* 24 */ | ||
74 | 737, 485, /* 25 */ | ||
75 | 724, -745, /* 26 */ | ||
76 | 191, -1000, /* 27 */ | ||
77 | -8, 806, /* 28 */ | ||
78 | 818, -617, /* 29 */ | ||
79 | 658, -413, /* 30 */ | ||
80 | 296, 330, /* 31 */ | ||
81 | }; | ||
82 | |||
83 | #pragma DATA_SECTION (rtest,".test") | ||
84 | |||
85 | DATA rtest[2*NX] ={ | ||
86 | 3093, 2977, /* 0 */ | ||
87 | 4997, -2703, /* 1 */ | ||
88 | 556, 5243, /* 2 */ | ||
89 | -985, -1032, /* 3 */ | ||
90 | -1295, 4439, /* 4 */ | ||
91 | 1115, 1314, /* 5 */ | ||
92 | -1704, 2300, /* 6 */ | ||
93 | 660, 221, /* 7 */ | ||
94 | 3514, 4025, /* 8 */ | ||
95 | -821, -1330, /* 9 */ | ||
96 | -4710, -6098, /* 10 */ | ||
97 | -3561, -1190, /* 11 */ | ||
98 | 1531, 3609, /* 12 */ | ||
99 | -861, -3420, /* 13 */ | ||
100 | 2778, -4696, /* 14 */ | ||
101 | -2682, 7803, /* 15 */ | ||
102 | -954, -336, /* 16 */ | ||
103 | 263, -1767, /* 17 */ | ||
104 | -4337, 2041, /* 18 */ | ||
105 | 78, -3568, /* 19 */ | ||
106 | -3340, -87, /* 20 */ | ||
107 | -799, -1104, /* 21 */ | ||
108 | 3761, 1475, /* 22 */ | ||
109 | 2328, 7832, /* 23 */ | ||
110 | -2022, 3831, /* 24 */ | ||
111 | -3427, 118, /* 25 */ | ||
112 | -2923, -550, /* 26 */ | ||
113 | 3678, 1667, /* 27 */ | ||
114 | -1084, 3280, /* 28 */ | ||
115 | 1220, 1735, /* 29 */ | ||
116 | -1073, -1381, /* 30 */ | ||
117 | 3391, -3827, /* 31 */ | ||
118 | }; | ||
119 | |||
120 | DATA error; | ||
121 | |||
diff --git a/dsplib_benchmarks/cfft1/t3_SCALE.h b/dsplib_benchmarks/cfft1/t3_SCALE.h new file mode 100644 index 0000000..76c36ab --- /dev/null +++ b/dsplib_benchmarks/cfft1/t3_SCALE.h | |||
@@ -0,0 +1,122 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 32 | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | #pragma DATA_SECTION (x_br,".input") | ||
41 | #pragma DATA_ALIGN (x_br, 2048) | ||
42 | DATA x_br[2*NX] ; | ||
43 | |||
44 | #pragma DATA_SECTION (scratch,".input") | ||
45 | #pragma DATA_ALIGN (scratch, 2048) | ||
46 | DATA scratch[2*NX] ; | ||
47 | #pragma DATA_SECTION (x,".input") | ||
48 | |||
49 | DATA x[2*NX] ={ | ||
50 | -11593, 17492, /* 0 */ | ||
51 | -18414, 27105, /* 1 */ | ||
52 | -18190, 1340, /* 2 */ | ||
53 | 10811, 22554, /* 3 */ | ||
54 | -11703, -19404, /* 4 */ | ||
55 | 2472, 28464, /* 5 */ | ||
56 | -20715, -13561, /* 6 */ | ||
57 | 11741, -14695, /* 7 */ | ||
58 | -7217, 22293, /* 8 */ | ||
59 | 21360, 14079, /* 9 */ | ||
60 | 20982, -21566, /* 10 */ | ||
61 | 5551, -28969, /* 11 */ | ||
62 | -205, 23370, /* 12 */ | ||
63 | 23718, -17851, /* 13 */ | ||
64 | 19082, -11943, /* 14 */ | ||
65 | 8597, 9578, /* 15 */ | ||
66 | 18865, -12792, /* 16 */ | ||
67 | 9506, -1826, /* 17 */ | ||
68 | -9377, -25823, /* 18 */ | ||
69 | -12476, 28973, /* 19 */ | ||
70 | -9423, 4912, /* 20 */ | ||
71 | 2021, -4540, /* 21 */ | ||
72 | 13474, 920, /* 22 */ | ||
73 | -11316, -9852, /* 23 */ | ||
74 | 20083, -3981, /* 24 */ | ||
75 | 4038, -16260, /* 25 */ | ||
76 | -7689, 4735, /* 26 */ | ||
77 | 12028, 15447, /* 27 */ | ||
78 | 2763, 1769, /* 28 */ | ||
79 | -3271, 8337, /* 29 */ | ||
80 | 11543, -17262, /* 30 */ | ||
81 | 7197, -7131, /* 31 */ | ||
82 | }; | ||
83 | |||
84 | #pragma DATA_SECTION (rtest,".test") | ||
85 | |||
86 | DATA rtest[2*NX] ={ | ||
87 | 2633, 122, /* 0 */ | ||
88 | -2831, 2073, /* 1 */ | ||
89 | 980, 5079, /* 2 */ | ||
90 | -794, -446, /* 3 */ | ||
91 | 2566, 620, /* 4 */ | ||
92 | 1295, 1409, /* 5 */ | ||
93 | 30, 1861, /* 6 */ | ||
94 | 519, 3656, /* 7 */ | ||
95 | 439, 3360, /* 8 */ | ||
96 | 3840, -397, /* 9 */ | ||
97 | -2577, 384, /* 10 */ | ||
98 | -2910, 1665, /* 11 */ | ||
99 | 2893, 539, /* 12 */ | ||
100 | 219, 4217, /* 13 */ | ||
101 | 4235, -3781, /* 14 */ | ||
102 | -1096, -4250, /* 15 */ | ||
103 | -1966, -3217, /* 16 */ | ||
104 | -1546, 1621, /* 17 */ | ||
105 | -3546, -2042, /* 18 */ | ||
106 | 3187, 2674, /* 19 */ | ||
107 | -114, 2505, /* 20 */ | ||
108 | -1856, 4088, /* 21 */ | ||
109 | 2622, 357, /* 22 */ | ||
110 | -3046, -6927, /* 23 */ | ||
111 | -911, 3941, /* 24 */ | ||
112 | -166, 305, /* 25 */ | ||
113 | -512, -2165, /* 26 */ | ||
114 | -6877, 1000, /* 27 */ | ||
115 | -508, -2121, /* 28 */ | ||
116 | -5, 1076, /* 29 */ | ||
117 | -2635, -3101, /* 30 */ | ||
118 | -3170, 3370, /* 31 */ | ||
119 | }; | ||
120 | |||
121 | DATA error; | ||
122 | |||
diff --git a/dsplib_benchmarks/cfft1/t4_NOSCALE.h b/dsplib_benchmarks/cfft1/t4_NOSCALE.h new file mode 100644 index 0000000..3b9dcc4 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t4_NOSCALE.h | |||
@@ -0,0 +1,185 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 64 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 64 | ||
39 | #pragma DATA_SECTION (x_br,".input") | ||
40 | #pragma DATA_ALIGN (x_br, 2048) | ||
41 | DATA x_br[2*NX] ; | ||
42 | |||
43 | #pragma DATA_SECTION (scratch,".input") | ||
44 | #pragma DATA_ALIGN (scratch, 2048) | ||
45 | DATA scratch[2*NX] ; | ||
46 | #pragma DATA_SECTION (x,".input") | ||
47 | |||
48 | DATA x[2*NX] ={ | ||
49 | -442, 222, /* 0 */ | ||
50 | -64, -992, /* 1 */ | ||
51 | -892, -991, /* 2 */ | ||
52 | 1000, -635, /* 3 */ | ||
53 | 169, 177, /* 4 */ | ||
54 | -157, -906, /* 5 */ | ||
55 | 31, -272, /* 6 */ | ||
56 | -341, 269, /* 7 */ | ||
57 | -138, 445, /* 8 */ | ||
58 | -562, 394, /* 9 */ | ||
59 | 163, -852, /* 10 */ | ||
60 | 533, -94, /* 11 */ | ||
61 | 61, -120, /* 12 */ | ||
62 | 287, -301, /* 13 */ | ||
63 | -596, -710, /* 14 */ | ||
64 | -247, 359, /* 15 */ | ||
65 | 580, 407, /* 16 */ | ||
66 | 370, 465, /* 17 */ | ||
67 | -80, -45, /* 18 */ | ||
68 | 138, 112, /* 19 */ | ||
69 | 602, -777, /* 20 */ | ||
70 | -903, -101, /* 21 */ | ||
71 | 210, 442, /* 22 */ | ||
72 | -921, 804, /* 23 */ | ||
73 | -174, -465, /* 24 */ | ||
74 | -400, -503, /* 25 */ | ||
75 | 766, 748, /* 26 */ | ||
76 | -994, -549, /* 27 */ | ||
77 | 548, 624, /* 28 */ | ||
78 | 964, 836, /* 29 */ | ||
79 | 1003, -550, /* 30 */ | ||
80 | 591, -534, /* 31 */ | ||
81 | -126, -923, /* 32 */ | ||
82 | -4, -864, /* 33 */ | ||
83 | -586, 288, /* 34 */ | ||
84 | 293, -634, /* 35 */ | ||
85 | -369, 704, /* 36 */ | ||
86 | 942, -668, /* 37 */ | ||
87 | 464, -675, /* 38 */ | ||
88 | -181, 1012, /* 39 */ | ||
89 | 500, -124, /* 40 */ | ||
90 | -476, -328, /* 41 */ | ||
91 | -124, -381, /* 42 */ | ||
92 | 887, -277, /* 43 */ | ||
93 | 375, -219, /* 44 */ | ||
94 | -589, 187, /* 45 */ | ||
95 | 694, -779, /* 46 */ | ||
96 | 263, -946, /* 47 */ | ||
97 | -750, -85, /* 48 */ | ||
98 | -600, 757, /* 49 */ | ||
99 | 219, 889, /* 50 */ | ||
100 | 265, -483, /* 51 */ | ||
101 | -266, -696, /* 52 */ | ||
102 | 153, 763, /* 53 */ | ||
103 | -100, -537, /* 54 */ | ||
104 | -935, 298, /* 55 */ | ||
105 | -969, 956, /* 56 */ | ||
106 | -384, 337, /* 57 */ | ||
107 | -998, 758, /* 58 */ | ||
108 | -238, -1004, /* 59 */ | ||
109 | 374, -744, /* 60 */ | ||
110 | -834, 652, /* 61 */ | ||
111 | -952, -144, /* 62 */ | ||
112 | 230, 799, /* 63 */ | ||
113 | }; | ||
114 | |||
115 | #pragma DATA_SECTION (rtest,".test") | ||
116 | |||
117 | DATA rtest[2*NX] ={ | ||
118 | -2683, -5171, /* 0 */ | ||
119 | -6997, -1164, /* 1 */ | ||
120 | -5694, -8140, /* 2 */ | ||
121 | -2881, -3132, /* 3 */ | ||
122 | 3343, -3327, /* 4 */ | ||
123 | 144, -2923, /* 5 */ | ||
124 | -4638, 438, /* 6 */ | ||
125 | -659, 1533, /* 7 */ | ||
126 | -8019, 5880, /* 8 */ | ||
127 | -4733, 2764, /* 9 */ | ||
128 | -4240, -28, /* 10 */ | ||
129 | -5387, -834, /* 11 */ | ||
130 | 5402, -2421, /* 12 */ | ||
131 | -1914, -161, /* 13 */ | ||
132 | -9966, -3178, /* 14 */ | ||
133 | 4800, 3425, /* 15 */ | ||
134 | 1984, 4794, /* 16 */ | ||
135 | 2447, 6170, /* 17 */ | ||
136 | 7205, 2502, /* 18 */ | ||
137 | -51, 4434, /* 19 */ | ||
138 | 2490, 6276, /* 20 */ | ||
139 | -2392, -2695, /* 21 */ | ||
140 | 10, 6305, /* 22 */ | ||
141 | 586, 4530, /* 23 */ | ||
142 | -7650, -4955, /* 24 */ | ||
143 | 174, -1783, /* 25 */ | ||
144 | -7934, -10209, /* 26 */ | ||
145 | -382, -2796, /* 27 */ | ||
146 | -7568, -2730, /* 28 */ | ||
147 | 1272, 2519, /* 29 */ | ||
148 | -3419, 449, /* 30 */ | ||
149 | -3459, 1367, /* 31 */ | ||
150 | 1110, -1652, /* 32 */ | ||
151 | -5005, -3789, /* 33 */ | ||
152 | -3904, 8216, /* 34 */ | ||
153 | 4868, -4833, /* 35 */ | ||
154 | -4368, 2567, /* 36 */ | ||
155 | -1948, -156, /* 37 */ | ||
156 | 4205, -2328, /* 38 */ | ||
157 | -464, 762, /* 39 */ | ||
158 | 9267, 1657, /* 40 */ | ||
159 | -5115, 7258, /* 41 */ | ||
160 | 57, -2647, /* 42 */ | ||
161 | -4156, 5771, /* 43 */ | ||
162 | -1363, 371, /* 44 */ | ||
163 | 8709, -11134, /* 45 */ | ||
164 | 980, 6264, /* 46 */ | ||
165 | -722, 5012, /* 47 */ | ||
166 | -478, -409, /* 48 */ | ||
167 | 4694, -6636, /* 49 */ | ||
168 | 6026, -2520, /* 50 */ | ||
169 | 4478, 2008, /* 51 */ | ||
170 | -1833, -5392, /* 52 */ | ||
171 | 9518, 1624, /* 53 */ | ||
172 | 5686, -6871, /* 54 */ | ||
173 | -2521, 12730, /* 55 */ | ||
174 | -5654, 3350, /* 56 */ | ||
175 | 3021, 6058, /* 57 */ | ||
176 | 3949, -7401, /* 58 */ | ||
177 | 326, 7031, /* 59 */ | ||
178 | 4223, -4871, /* 60 */ | ||
179 | 946, 1066, /* 61 */ | ||
180 | 5312, 2773, /* 62 */ | ||
181 | -7320, 2574, /* 63 */ | ||
182 | }; | ||
183 | |||
184 | DATA error; | ||
185 | |||
diff --git a/dsplib_benchmarks/cfft1/t4_SCALE.h b/dsplib_benchmarks/cfft1/t4_SCALE.h new file mode 100644 index 0000000..87a7788 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t4_SCALE.h | |||
@@ -0,0 +1,192 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 64 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | |||
41 | #define MAXERROR 16 | ||
42 | #define SCALING 1 | ||
43 | |||
44 | |||
45 | #pragma DATA_SECTION (x_br,".input") | ||
46 | #pragma DATA_ALIGN (x_br, 2048) | ||
47 | DATA x_br[2*NX] ; | ||
48 | |||
49 | #pragma DATA_SECTION (scratch,".input") | ||
50 | #pragma DATA_ALIGN (scratch, 2048) | ||
51 | DATA scratch[2*NX] ; | ||
52 | |||
53 | #pragma DATA_SECTION (x,".input") | ||
54 | |||
55 | DATA x[2*NX] ={ | ||
56 | 13971, 9823, /* 0 */ | ||
57 | 8918, 11219, /* 1 */ | ||
58 | -1919, -1066, /* 2 */ | ||
59 | 3344, 2704, /* 3 */ | ||
60 | 14508, -18688, /* 4 */ | ||
61 | -21739, -2429, /* 5 */ | ||
62 | 5072, 10645, /* 6 */ | ||
63 | -22178, 19372, /* 7 */ | ||
64 | -4174, -11190, /* 8 */ | ||
65 | -9617, -12094, /* 9 */ | ||
66 | 18461, 18029, /* 10 */ | ||
67 | -23917, -13199, /* 11 */ | ||
68 | 13213, 15034, /* 12 */ | ||
69 | 23219, 20139, /* 13 */ | ||
70 | 24167, -13222, /* 14 */ | ||
71 | 14244, -12856, /* 15 */ | ||
72 | -3025, -22204, /* 16 */ | ||
73 | -84, -20792, /* 17 */ | ||
74 | -14106, 6944, /* 18 */ | ||
75 | 7076, -15244, /* 19 */ | ||
76 | -8875, 16957, /* 20 */ | ||
77 | 22689, -16082, /* 21 */ | ||
78 | 11176, -16235, /* 22 */ | ||
79 | -4342, 24375, /* 23 */ | ||
80 | 12060, -2970, /* 24 */ | ||
81 | -11444, -7888, /* 25 */ | ||
82 | -2963, -9162, /* 26 */ | ||
83 | 21371, -6654, /* 27 */ | ||
84 | 9040, -5265, /* 28 */ | ||
85 | -14175, 4513, /* 29 */ | ||
86 | 16729, -18752, /* 30 */ | ||
87 | 6350, -22777, /* 31 */ | ||
88 | -18060, -2042, /* 32 */ | ||
89 | -14443, 18239, /* 33 */ | ||
90 | 5286, 21413, /* 34 */ | ||
91 | 6405, -11616, /* 35 */ | ||
92 | -6388, -16752, /* 36 */ | ||
93 | 3705, 18386, /* 37 */ | ||
94 | -2396, -12927, /* 38 */ | ||
95 | -22493, 7191, /* 39 */ | ||
96 | -23317, 23023, /* 40 */ | ||
97 | -9238, 8133, /* 41 */ | ||
98 | -24023, 18264, /* 42 */ | ||
99 | -5722, -24168, /* 43 */ | ||
100 | 9030, -17901, /* 44 */ | ||
101 | -20079, 15718, /* 45 */ | ||
102 | -22915, -3444, /* 46 */ | ||
103 | 5542, 19248, /* 47 */ | ||
104 | 5352, 11584, /* 48 */ | ||
105 | -23880, 9237, /* 49 */ | ||
106 | -23851, -7589, /* 50 */ | ||
107 | -15284, -16470, /* 51 */ | ||
108 | 4286, -16983, /* 52 */ | ||
109 | -21818, -15233, /* 53 */ | ||
110 | -6531, -3825, /* 54 */ | ||
111 | 6482, 17554, /* 55 */ | ||
112 | 10732, -481, /* 56 */ | ||
113 | 9501, 15579, /* 57 */ | ||
114 | -20511, -1935, /* 58 */ | ||
115 | -2251, -2104, /* 59 */ | ||
116 | -2869, -2432, /* 60 */ | ||
117 | -7237, -4329, /* 61 */ | ||
118 | -17082, 19804, /* 62 */ | ||
119 | 8661, -24382, /* 63 */ | ||
120 | }; | ||
121 | |||
122 | #pragma DATA_SECTION (rtest,".test") | ||
123 | |||
124 | DATA rtest[2*NX] ={ | ||
125 | -2068, -785, /* 0 */ | ||
126 | -987, -3092, /* 1 */ | ||
127 | 2094, 1909, /* 2 */ | ||
128 | -524, 1146, /* 3 */ | ||
129 | 521, -491, /* 4 */ | ||
130 | -710, -905, /* 5 */ | ||
131 | 1666, -2966, /* 6 */ | ||
132 | 3081, -1402, /* 7 */ | ||
133 | -711, 3381, /* 8 */ | ||
134 | -1190, 21, /* 9 */ | ||
135 | 455, 9, /* 10 */ | ||
136 | -177, 1146, /* 11 */ | ||
137 | 2740, -657, /* 12 */ | ||
138 | -600, -30, /* 13 */ | ||
139 | 2346, 212, /* 14 */ | ||
140 | 1479, -4191, /* 15 */ | ||
141 | 2847, 337, /* 16 */ | ||
142 | -218, 1229, /* 17 */ | ||
143 | -1663, -111, /* 18 */ | ||
144 | 2344, 507, /* 19 */ | ||
145 | 1728, 2919, /* 20 */ | ||
146 | 1526, -74, /* 21 */ | ||
147 | 142, -1693, /* 22 */ | ||
148 | 1800, 282, /* 23 */ | ||
149 | -2999, -1415, /* 24 */ | ||
150 | 310, -121, /* 25 */ | ||
151 | 3505, 2798, /* 26 */ | ||
152 | 1129, -233, /* 27 */ | ||
153 | -544, 815, /* 28 */ | ||
154 | -747, 3438, /* 29 */ | ||
155 | -212, 1371, /* 30 */ | ||
156 | -226, 1165, /* 31 */ | ||
157 | 1132, -264, /* 32 */ | ||
158 | 1722, -95, /* 33 */ | ||
159 | 262, -1499, /* 34 */ | ||
160 | -3127, -1644, /* 35 */ | ||
161 | -1743, 925, /* 36 */ | ||
162 | 229, 387, /* 37 */ | ||
163 | -2583, 2491, /* 38 */ | ||
164 | -1533, 875, /* 39 */ | ||
165 | 2099, 475, /* 40 */ | ||
166 | -3592, -1913, /* 41 */ | ||
167 | -1162, 1295, /* 42 */ | ||
168 | 625, 1462, /* 43 */ | ||
169 | -1877, -518, /* 44 */ | ||
170 | 3158, 2511, /* 45 */ | ||
171 | -1412, -3200, /* 46 */ | ||
172 | 965, -1061, /* 47 */ | ||
173 | -320, -1820, /* 48 */ | ||
174 | 3218, 676, /* 49 */ | ||
175 | -1641, 942, /* 50 */ | ||
176 | 348, -1325, /* 51 */ | ||
177 | -1880, -2501, /* 52 */ | ||
178 | -1410, 1972, /* 53 */ | ||
179 | -1786, 680, /* 54 */ | ||
180 | 5987, -331, /* 55 */ | ||
181 | -791, 780, /* 56 */ | ||
182 | -1156, 1208, /* 57 */ | ||
183 | -745, 3239, /* 58 */ | ||
184 | 2787, 368, /* 59 */ | ||
185 | 1418, -1898, /* 60 */ | ||
186 | 0, -161, /* 61 */ | ||
187 | -877, -884, /* 62 */ | ||
188 | 1489, 4100, /* 63 */ | ||
189 | }; | ||
190 | |||
191 | DATA error; | ||
192 | |||
diff --git a/dsplib_benchmarks/cfft1/t5_NOSCALE.h b/dsplib_benchmarks/cfft1/t5_NOSCALE.h new file mode 100644 index 0000000..d13c1ef --- /dev/null +++ b/dsplib_benchmarks/cfft1/t5_NOSCALE.h | |||
@@ -0,0 +1,313 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 128 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 70 | ||
39 | #pragma DATA_SECTION (x_br,".input") | ||
40 | #pragma DATA_ALIGN (x_br, 2048) | ||
41 | DATA x_br[2*NX] ; | ||
42 | |||
43 | #pragma DATA_SECTION (scratch,".input") | ||
44 | #pragma DATA_ALIGN (scratch, 2048) | ||
45 | DATA scratch[2*NX] ; | ||
46 | #pragma DATA_SECTION (x,".input") | ||
47 | |||
48 | DATA x[2*NX] ={ | ||
49 | 481, -351, /* 0 */ | ||
50 | 383, -45, /* 1 */ | ||
51 | -316, 198, /* 2 */ | ||
52 | -684, -694, /* 3 */ | ||
53 | -706, 674, /* 4 */ | ||
54 | -633, 934, /* 5 */ | ||
55 | -159, 195, /* 6 */ | ||
56 | 728, -966, /* 7 */ | ||
57 | -20, 639, /* 8 */ | ||
58 | 646, 225, /* 9 */ | ||
59 | -81, 412, /* 10 */ | ||
60 | -88, -836, /* 11 */ | ||
61 | -101, -154, /* 12 */ | ||
62 | -180, -255, /* 13 */ | ||
63 | 822, -684, /* 14 */ | ||
64 | -1013, 682, /* 15 */ | ||
65 | -415, 693, /* 16 */ | ||
66 | -924, -100, /* 17 */ | ||
67 | 395, 935, /* 18 */ | ||
68 | 307, -723, /* 19 */ | ||
69 | 989, 757, /* 20 */ | ||
70 | 107, 551, /* 21 */ | ||
71 | -205, -115, /* 22 */ | ||
72 | -617, 247, /* 23 */ | ||
73 | 256, 924, /* 24 */ | ||
74 | 477, 286, /* 25 */ | ||
75 | -255, -518, /* 26 */ | ||
76 | -1004, -302, /* 27 */ | ||
77 | -165, -640, /* 28 */ | ||
78 | 519, -20, /* 29 */ | ||
79 | 601, -186, /* 30 */ | ||
80 | 859, -75, /* 31 */ | ||
81 | 705, 227, /* 32 */ | ||
82 | -271, -879, /* 33 */ | ||
83 | 247, -381, /* 34 */ | ||
84 | 473, 221, /* 35 */ | ||
85 | -627, -666, /* 36 */ | ||
86 | 828, 247, /* 37 */ | ||
87 | 141, -521, /* 38 */ | ||
88 | 269, 178, /* 39 */ | ||
89 | -544, 12, /* 40 */ | ||
90 | 99, -73, /* 41 */ | ||
91 | 883, 84, /* 42 */ | ||
92 | -338, 905, /* 43 */ | ||
93 | 318, -325, /* 44 */ | ||
94 | -222, -202, /* 45 */ | ||
95 | 260, -394, /* 46 */ | ||
96 | 407, -182, /* 47 */ | ||
97 | -211, -439, /* 48 */ | ||
98 | -177, -217, /* 49 */ | ||
99 | 317, 6, /* 50 */ | ||
100 | 691, 454, /* 51 */ | ||
101 | -263, -397, /* 52 */ | ||
102 | -154, -795, /* 53 */ | ||
103 | 193, -117, /* 54 */ | ||
104 | 134, -69, /* 55 */ | ||
105 | 443, -994, /* 56 */ | ||
106 | 23, 335, /* 57 */ | ||
107 | 566, 458, /* 58 */ | ||
108 | -22, -448, /* 59 */ | ||
109 | -644, -488, /* 60 */ | ||
110 | 410, 426, /* 61 */ | ||
111 | 988, 581, /* 62 */ | ||
112 | 627, 995, /* 63 */ | ||
113 | 416, -55, /* 64 */ | ||
114 | -31, 824, /* 65 */ | ||
115 | -790, -101, /* 66 */ | ||
116 | 337, 623, /* 67 */ | ||
117 | -276, 673, /* 68 */ | ||
118 | -738, -684, /* 69 */ | ||
119 | 136, -218, /* 70 */ | ||
120 | 661, 42, /* 71 */ | ||
121 | 356, 446, /* 72 */ | ||
122 | 1022, 141, /* 73 */ | ||
123 | 945, -81, /* 74 */ | ||
124 | -904, -112, /* 75 */ | ||
125 | -287, -845, /* 76 */ | ||
126 | 99, -116, /* 77 */ | ||
127 | -488, -274, /* 78 */ | ||
128 | 199, -405, /* 79 */ | ||
129 | -923, 720, /* 80 */ | ||
130 | 145, 531, /* 81 */ | ||
131 | 411, 921, /* 82 */ | ||
132 | 946, 118, /* 83 */ | ||
133 | 513, -995, /* 84 */ | ||
134 | 491, 196, /* 85 */ | ||
135 | -140, 647, /* 86 */ | ||
136 | 274, 976, /* 87 */ | ||
137 | 620, -570, /* 88 */ | ||
138 | -853, 417, /* 89 */ | ||
139 | 912, 45, /* 90 */ | ||
140 | 851, 886, /* 91 */ | ||
141 | 208, 436, /* 92 */ | ||
142 | -505, -557, /* 93 */ | ||
143 | 764, -104, /* 94 */ | ||
144 | 27, -672, /* 95 */ | ||
145 | 476, 960, /* 96 */ | ||
146 | -160, -296, /* 97 */ | ||
147 | 944, -924, /* 98 */ | ||
148 | -877, 522, /* 99 */ | ||
149 | 109, 808, /* 100 */ | ||
150 | -426, -438, /* 101 */ | ||
151 | 733, -510, /* 102 */ | ||
152 | -337, 886, /* 103 */ | ||
153 | 369, -756, /* 104 */ | ||
154 | -915, 902, /* 105 */ | ||
155 | -294, 413, /* 106 */ | ||
156 | -4, 711, /* 107 */ | ||
157 | -135, -596, /* 108 */ | ||
158 | 127, -92, /* 109 */ | ||
159 | 238, -858, /* 110 */ | ||
160 | -792, 719, /* 111 */ | ||
161 | 815, 127, /* 112 */ | ||
162 | 521, -371, /* 113 */ | ||
163 | 596, -257, /* 114 */ | ||
164 | 644, 753, /* 115 */ | ||
165 | 348, -262, /* 116 */ | ||
166 | -613, -873, /* 117 */ | ||
167 | -465, -615, /* 118 */ | ||
168 | 258, -923, /* 119 */ | ||
169 | 75, 136, /* 120 */ | ||
170 | -903, -775, /* 121 */ | ||
171 | -842, 45, /* 122 */ | ||
172 | -469, -785, /* 123 */ | ||
173 | -187, 552, /* 124 */ | ||
174 | -54, -256, /* 125 */ | ||
175 | 837, 662, /* 126 */ | ||
176 | 197, -929, /* 127 */ | ||
177 | }; | ||
178 | |||
179 | #pragma DATA_SECTION (rtest,".test") | ||
180 | |||
181 | DATA rtest[2*NX] ={ | ||
182 | 9831, -169, /* 0 */ | ||
183 | -10151, -2722, /* 1 */ | ||
184 | 4014, -1154, /* 2 */ | ||
185 | 6246, -4766, /* 3 */ | ||
186 | 3508, 3271, /* 4 */ | ||
187 | -4285, -7229, /* 5 */ | ||
188 | -95, 9761, /* 6 */ | ||
189 | 5371, -2234, /* 7 */ | ||
190 | 6523, -923, /* 8 */ | ||
191 | 6768, -3833, /* 9 */ | ||
192 | -1271, 10179, /* 10 */ | ||
193 | 29, 1422, /* 11 */ | ||
194 | 3500, 11316, /* 12 */ | ||
195 | 2598, -6763, /* 13 */ | ||
196 | 1931, -4041, /* 14 */ | ||
197 | -5278, -4240, /* 15 */ | ||
198 | 11586, 6666, /* 16 */ | ||
199 | 1251, 2580, /* 17 */ | ||
200 | 9864, 4099, /* 18 */ | ||
201 | -2783, -4280, /* 19 */ | ||
202 | 3470, -3467, /* 20 */ | ||
203 | 7862, 768, /* 21 */ | ||
204 | -13074, -4681, /* 22 */ | ||
205 | -7614, -8417, /* 23 */ | ||
206 | -13167, 4584, /* 24 */ | ||
207 | -363, 303, /* 25 */ | ||
208 | 204, -3998, /* 26 */ | ||
209 | 14982, -2226, /* 27 */ | ||
210 | 1203, 70, /* 28 */ | ||
211 | -1308, -2439, /* 29 */ | ||
212 | 7531, 4502, /* 30 */ | ||
213 | 10802, 5098, /* 31 */ | ||
214 | -8732, 5107, /* 32 */ | ||
215 | 4732, 916, /* 33 */ | ||
216 | 6070, -9717, /* 34 */ | ||
217 | 2238, 694, /* 35 */ | ||
218 | 2591, 7317, /* 36 */ | ||
219 | -4624, -7985, /* 37 */ | ||
220 | 8405, -8026, /* 38 */ | ||
221 | -5357, -5254, /* 39 */ | ||
222 | 3032, 684, /* 40 */ | ||
223 | -6323, -6601, /* 41 */ | ||
224 | -44, -4145, /* 42 */ | ||
225 | -3609, 2624, /* 43 */ | ||
226 | 5962, -7308, /* 44 */ | ||
227 | 7692, 9400, /* 45 */ | ||
228 | -4230, -13485, /* 46 */ | ||
229 | -5659, -8228, /* 47 */ | ||
230 | 1156, 2528, /* 48 */ | ||
231 | -409, 2947, /* 49 */ | ||
232 | -799, -1348, /* 50 */ | ||
233 | -7681, 7511, /* 51 */ | ||
234 | 7662, 2136, /* 52 */ | ||
235 | -354, -1094, /* 53 */ | ||
236 | -1407, -10554, /* 54 */ | ||
237 | 12596, 3135, /* 55 */ | ||
238 | -275, -811, /* 56 */ | ||
239 | 1272, -106, /* 57 */ | ||
240 | 2872, -8061, /* 58 */ | ||
241 | 9630, -4813, /* 59 */ | ||
242 | 4324, 2527, /* 60 */ | ||
243 | -7001, 12551, /* 61 */ | ||
244 | -13932, 6058, /* 62 */ | ||
245 | 2688, 4279, /* 63 */ | ||
246 | 10001, -1779, /* 64 */ | ||
247 | 8098, 14855, /* 65 */ | ||
248 | 979, 9952, /* 66 */ | ||
249 | -5083, -1615, /* 67 */ | ||
250 | -3555, 5738, /* 68 */ | ||
251 | -7229, 11368, /* 69 */ | ||
252 | -2324, -5611, /* 70 */ | ||
253 | 5581, 605, /* 71 */ | ||
254 | 3030, 7596, /* 72 */ | ||
255 | 5198, -8008, /* 73 */ | ||
256 | 352, -10220, /* 74 */ | ||
257 | -6277, 5449, /* 75 */ | ||
258 | -4691, -4136, /* 76 */ | ||
259 | -2003, 1683, /* 77 */ | ||
260 | -2706, 110, /* 78 */ | ||
261 | 1948, 7204, /* 79 */ | ||
262 | 3553, 940, /* 80 */ | ||
263 | 5754, 401, /* 81 */ | ||
264 | -1857, 804, /* 82 */ | ||
265 | -8505, -347, /* 83 */ | ||
266 | -2651, 1857, /* 84 */ | ||
267 | -4818, -9892, /* 85 */ | ||
268 | 7739, 3038, /* 86 */ | ||
269 | 10103, 4471, /* 87 */ | ||
270 | 1484, 7716, /* 88 */ | ||
271 | -11141, -7423, /* 89 */ | ||
272 | -1348, 753, /* 90 */ | ||
273 | 3109, 1305, /* 91 */ | ||
274 | -9628, -1854, /* 92 */ | ||
275 | -1279, -12093, /* 93 */ | ||
276 | -8178, -10786, /* 94 */ | ||
277 | -3163, 2289, /* 95 */ | ||
278 | -3078, -2095, /* 96 */ | ||
279 | 2564, 11903, /* 97 */ | ||
280 | -1549, 2526, /* 98 */ | ||
281 | -7826, -1867, /* 99 */ | ||
282 | 3426, 6197, /* 100 */ | ||
283 | -11429, 8436, /* 101 */ | ||
284 | 2385, -10589, /* 102 */ | ||
285 | 9909, 6880, /* 103 */ | ||
286 | -2826, -3488, /* 104 */ | ||
287 | -7013, 5384, /* 105 */ | ||
288 | -4672, 1977, /* 106 */ | ||
289 | 2332, 598, /* 107 */ | ||
290 | 15191, -10798, /* 108 */ | ||
291 | 1494, -5045, /* 109 */ | ||
292 | -518, -953, /* 110 */ | ||
293 | 3412, -1210, /* 111 */ | ||
294 | -1084, 2605, /* 112 */ | ||
295 | -1833, -7646, /* 113 */ | ||
296 | 12873, -3791, /* 114 */ | ||
297 | -2457, -1146, /* 115 */ | ||
298 | 14804, -15739, /* 116 */ | ||
299 | 6673, -7082, /* 117 */ | ||
300 | -1368, -10025, /* 118 */ | ||
301 | 5484, -2143, /* 119 */ | ||
302 | 516, 991, /* 120 */ | ||
303 | 1545, 590, /* 121 */ | ||
304 | -2645, 17747, /* 122 */ | ||
305 | -5660, 159, /* 123 */ | ||
306 | -115, -2259, /* 124 */ | ||
307 | -3347, -4946, /* 125 */ | ||
308 | -12320, -1284, /* 126 */ | ||
309 | -4019, -3073, /* 127 */ | ||
310 | }; | ||
311 | |||
312 | DATA error; | ||
313 | |||
diff --git a/dsplib_benchmarks/cfft1/t5_SCALE.h b/dsplib_benchmarks/cfft1/t5_SCALE.h new file mode 100644 index 0000000..dfcd0a8 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t5_SCALE.h | |||
@@ -0,0 +1,314 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 128 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | #pragma DATA_SECTION (x_br,".input") | ||
41 | #pragma DATA_ALIGN (x_br, 2048) | ||
42 | DATA x_br[2*NX] ; | ||
43 | |||
44 | #pragma DATA_SECTION (scratch,".input") | ||
45 | #pragma DATA_ALIGN (scratch, 2048) | ||
46 | DATA scratch[2*NX] ; | ||
47 | #pragma DATA_SECTION (x,".input") | ||
48 | |||
49 | DATA x[2*NX] ={ | ||
50 | -10290, 17199, /* 0 */ | ||
51 | -22899, -2458, /* 1 */ | ||
52 | 9811, 23191, /* 2 */ | ||
53 | 7624, -17922, /* 3 */ | ||
54 | 24531, 18789, /* 4 */ | ||
55 | 2675, 13684, /* 5 */ | ||
56 | -5076, -2837, /* 6 */ | ||
57 | -15299, 6126, /* 7 */ | ||
58 | 6359, 22941, /* 8 */ | ||
59 | 11852, 7111, /* 9 */ | ||
60 | -6304, -12834, /* 10 */ | ||
61 | -24894, -7482, /* 11 */ | ||
62 | -4071, -15854, /* 12 */ | ||
63 | 12884, -476, /* 13 */ | ||
64 | 14926, -4609, /* 14 */ | ||
65 | 21330, -1853, /* 15 */ | ||
66 | 17508, 5634, /* 16 */ | ||
67 | -6717, -21781, /* 17 */ | ||
68 | 6135, -9433, /* 18 */ | ||
69 | 11746, 5504, /* 19 */ | ||
70 | -15548, -16507, /* 20 */ | ||
71 | 20560, 6147, /* 21 */ | ||
72 | 3515, -12903, /* 22 */ | ||
73 | 6693, 4437, /* 23 */ | ||
74 | -13490, 307, /* 24 */ | ||
75 | 2477, -1789, /* 25 */ | ||
76 | 21920, 2103, /* 26 */ | ||
77 | -8371, 22466, /* 27 */ | ||
78 | 7899, -8038, /* 28 */ | ||
79 | -5491, -4988, /* 29 */ | ||
80 | 6466, -9768, /* 30 */ | ||
81 | 10111, -4492, /* 31 */ | ||
82 | -5223, -10873, /* 32 */ | ||
83 | -4387, -5378, /* 33 */ | ||
84 | 7883, 153, /* 34 */ | ||
85 | 17146, 11274, /* 35 */ | ||
86 | -6522, -9843, /* 36 */ | ||
87 | -3797, -19699, /* 37 */ | ||
88 | 4808, -2881, /* 38 */ | ||
89 | 3338, -1689, /* 39 */ | ||
90 | 10998, -24651, /* 40 */ | ||
91 | 574, 8332, /* 41 */ | ||
92 | 14038, 11380, /* 42 */ | ||
93 | -542, -11092, /* 43 */ | ||
94 | -15954, -12098, /* 44 */ | ||
95 | 10190, 10588, /* 45 */ | ||
96 | 24517, 14417, /* 46 */ | ||
97 | 15574, 24692, /* 47 */ | ||
98 | 10339, -1354, /* 48 */ | ||
99 | -764, 20459, /* 49 */ | ||
100 | -19575, -2486, /* 50 */ | ||
101 | 8373, 15466, /* 51 */ | ||
102 | -6838, 16703, /* 52 */ | ||
103 | -18283, -16951, /* 53 */ | ||
104 | 3391, -5389, /* 54 */ | ||
105 | 16405, 1054, /* 55 */ | ||
106 | 8835, 11078, /* 56 */ | ||
107 | 25367, 3514, /* 57 */ | ||
108 | 23447, -1991, /* 58 */ | ||
109 | -22406, -2778, /* 59 */ | ||
110 | -7095, -20939, /* 60 */ | ||
111 | 2464, -2871, /* 61 */ | ||
112 | -12100, -6791, /* 62 */ | ||
113 | 4944, -10030, /* 63 */ | ||
114 | -22893, 17870, /* 64 */ | ||
115 | 3609, 13179, /* 65 */ | ||
116 | 10201, 22843, /* 66 */ | ||
117 | 23480, 2942, /* 67 */ | ||
118 | 12724, -24673, /* 68 */ | ||
119 | 12189, 4884, /* 69 */ | ||
120 | -3461, 16060, /* 70 */ | ||
121 | 6819, 24232, /* 71 */ | ||
122 | 15391, -14125, /* 72 */ | ||
123 | -21136, 10345, /* 73 */ | ||
124 | 22625, 1120, /* 74 */ | ||
125 | 21126, 21987, /* 75 */ | ||
126 | 5180, 10836, /* 76 */ | ||
127 | -12517, -13814, /* 77 */ | ||
128 | 18967, -2558, /* 78 */ | ||
129 | 680, -16650, /* 79 */ | ||
130 | 11816, 23811, /* 80 */ | ||
131 | -3951, -7329, /* 81 */ | ||
132 | 23433, -22905, /* 82 */ | ||
133 | -21736, 12968, /* 83 */ | ||
134 | 2712, 20052, /* 84 */ | ||
135 | -10566, -10862, /* 85 */ | ||
136 | 18181, -12637, /* 86 */ | ||
137 | -8343, 21979, /* 87 */ | ||
138 | 9152, -18743, /* 88 */ | ||
139 | -22682, 22389, /* 89 */ | ||
140 | -7281, 10252, /* 90 */ | ||
141 | -87, 17658, /* 91 */ | ||
142 | -3330, -14767, /* 92 */ | ||
143 | 3172, -2281, /* 93 */ | ||
144 | 5923, -21278, /* 94 */ | ||
145 | -19639, 17833, /* 95 */ | ||
146 | 20227, 3151, /* 96 */ | ||
147 | 12928, -9179, /* 97 */ | ||
148 | 14786, -6355, /* 98 */ | ||
149 | 15996, 18680, /* 99 */ | ||
150 | 8634, -6493, /* 100 */ | ||
151 | -15193, -21653, /* 101 */ | ||
152 | -11526, -15246, /* 102 */ | ||
153 | 6411, -22882, /* 103 */ | ||
154 | 1871, 3388, /* 104 */ | ||
155 | -22374, -19203, /* 105 */ | ||
156 | -20878, 1123, /* 106 */ | ||
157 | -11616, -19450, /* 107 */ | ||
158 | -4619, 13709, /* 108 */ | ||
159 | -1319, -6347, /* 109 */ | ||
160 | 20773, 16425, /* 110 */ | ||
161 | 4888, -23027, /* 111 */ | ||
162 | -8688, 4973, /* 112 */ | ||
163 | -1108, 22812, /* 113 */ | ||
164 | 4935, -10728, /* 114 */ | ||
165 | -17196, 19749, /* 115 */ | ||
166 | 16734, -20236, /* 116 */ | ||
167 | 23166, -22079, /* 117 */ | ||
168 | 4852, -13496, /* 118 */ | ||
169 | -23936, 21997, /* 119 */ | ||
170 | 15852, -22190, /* 120 */ | ||
171 | 5592, -11976, /* 121 */ | ||
172 | 10234, 25371, /* 122 */ | ||
173 | -20713, -14629, /* 123 */ | ||
174 | -3815, -81, /* 124 */ | ||
175 | -6320, -10642, /* 125 */ | ||
176 | -16957, 8774, /* 126 */ | ||
177 | 16921, 23261, /* 127 */ | ||
178 | }; | ||
179 | |||
180 | #pragma DATA_SECTION (rtest,".test") | ||
181 | |||
182 | DATA rtest[2*NX] ={ | ||
183 | 2078, -23, /* 0 */ | ||
184 | -814, -1672, /* 1 */ | ||
185 | 440, 952, /* 2 */ | ||
186 | 1, 1787, /* 3 */ | ||
187 | -552, -238, /* 4 */ | ||
188 | -438, 2057, /* 5 */ | ||
189 | 1630, 478, /* 6 */ | ||
190 | -44, -752, /* 7 */ | ||
191 | 699, -183, /* 8 */ | ||
192 | 991, 75, /* 9 */ | ||
193 | -2147, -788, /* 10 */ | ||
194 | -2, -733, /* 11 */ | ||
195 | -182, -2506, /* 12 */ | ||
196 | -696, 625, /* 13 */ | ||
197 | -363, 22, /* 14 */ | ||
198 | -1237, 692, /* 15 */ | ||
199 | 1933, 1727, /* 16 */ | ||
200 | -722, 616, /* 17 */ | ||
201 | -1298, 1572, /* 18 */ | ||
202 | 765, -473, /* 19 */ | ||
203 | -421, -114, /* 20 */ | ||
204 | -274, -1804, /* 21 */ | ||
205 | 82, 2285, /* 22 */ | ||
206 | -1146, 99, /* 23 */ | ||
207 | -1656, 1510, /* 24 */ | ||
208 | 500, 898, /* 25 */ | ||
209 | 995, 1076, /* 26 */ | ||
210 | -1904, 3380, /* 27 */ | ||
211 | -739, 868, /* 28 */ | ||
212 | -959, 1131, /* 29 */ | ||
213 | -131, -1231, /* 30 */ | ||
214 | 1144, -1043, /* 31 */ | ||
215 | -2523, 215, /* 32 */ | ||
216 | 154, -408, /* 33 */ | ||
217 | 2171, -160, /* 34 */ | ||
218 | 584, -928, /* 35 */ | ||
219 | 1022, -2018, /* 36 */ | ||
220 | 1266, 1884, /* 37 */ | ||
221 | -35, -716, /* 38 */ | ||
222 | -484, 1459, /* 39 */ | ||
223 | 849, 1740, /* 40 */ | ||
224 | -336, -384, /* 41 */ | ||
225 | 58, 901, /* 42 */ | ||
226 | -643, -476, /* 43 */ | ||
227 | -1683, 1408, /* 44 */ | ||
228 | 82, -2477, /* 45 */ | ||
229 | -2443, 812, /* 46 */ | ||
230 | -1590, -81, /* 47 */ | ||
231 | 470, 1042, /* 48 */ | ||
232 | -428, 1061, /* 49 */ | ||
233 | 49, 554, /* 50 */ | ||
234 | -354, -1509, /* 51 */ | ||
235 | -1891, -17, /* 52 */ | ||
236 | -420, 482, /* 53 */ | ||
237 | -2235, 566, /* 54 */ | ||
238 | 2037, -873, /* 55 */ | ||
239 | -231, 453, /* 56 */ | ||
240 | -200, 911, /* 57 */ | ||
241 | 860, 1306, /* 58 */ | ||
242 | -1675, 2531, /* 59 */ | ||
243 | -2041, -316, /* 60 */ | ||
244 | 1513, -1053, /* 61 */ | ||
245 | 308, 1996, /* 62 */ | ||
246 | 596, -691, /* 63 */ | ||
247 | 2156, -1149, /* 64 */ | ||
248 | -252, 2768, /* 65 */ | ||
249 | -1092, 457, /* 66 */ | ||
250 | 1534, 463, /* 67 */ | ||
251 | 734, 300, /* 68 */ | ||
252 | 1834, 956, /* 69 */ | ||
253 | -2521, 1675, /* 70 */ | ||
254 | -1047, -70, /* 71 */ | ||
255 | -1394, 1359, /* 72 */ | ||
256 | 91, -1107, /* 73 */ | ||
257 | 721, -993, /* 74 */ | ||
258 | -694, -2712, /* 75 */ | ||
259 | 385, -158, /* 76 */ | ||
260 | 53, -754, /* 77 */ | ||
261 | -487, -243, /* 78 */ | ||
262 | 718, -188, /* 79 */ | ||
263 | 295, -952, /* 80 */ | ||
264 | 687, -434, /* 81 */ | ||
265 | 252, -1544, /* 82 */ | ||
266 | 1991, -1922, /* 83 */ | ||
267 | 1387, -592, /* 84 */ | ||
268 | -91, 2340, /* 85 */ | ||
269 | 623, -866, /* 86 */ | ||
270 | 1359, -222, /* 87 */ | ||
271 | -873, 1573, /* 88 */ | ||
272 | -1845, -3169, /* 89 */ | ||
273 | -1244, -1582, /* 90 */ | ||
274 | -1141, -1541, /* 91 */ | ||
275 | 2028, -1548, /* 92 */ | ||
276 | -688, 144, /* 93 */ | ||
277 | -873, 341, /* 94 */ | ||
278 | 1266, 28, /* 95 */ | ||
279 | 737, -639, /* 96 */ | ||
280 | -153, 2131, /* 97 */ | ||
281 | 336, 106, /* 98 */ | ||
282 | 1794, -286, /* 99 */ | ||
283 | -581, -701, /* 100 */ | ||
284 | 2460, 701, /* 101 */ | ||
285 | -2526, -550, /* 102 */ | ||
286 | 1849, -978, /* 103 */ | ||
287 | -692, -1662, /* 104 */ | ||
288 | -1303, -1408, /* 105 */ | ||
289 | 619, -1937, /* 106 */ | ||
290 | 1044, -293, /* 107 */ | ||
291 | -1416, 2261, /* 108 */ | ||
292 | 286, 1294, /* 109 */ | ||
293 | 331, 1226, /* 110 */ | ||
294 | 89, 349, /* 111 */ | ||
295 | -914, 927, /* 112 */ | ||
296 | 50, -1624, /* 113 */ | ||
297 | 421, 1547, /* 114 */ | ||
298 | 916, -1361, /* 115 */ | ||
299 | -1706, 2125, /* 116 */ | ||
300 | -266, -224, /* 117 */ | ||
301 | -317, 766, /* 118 */ | ||
302 | 1669, 87, /* 119 */ | ||
303 | 659, 1607, /* 120 */ | ||
304 | 50, 1602, /* 121 */ | ||
305 | -3944, 416, /* 122 */ | ||
306 | 119, -336, /* 123 */ | ||
307 | -496, 521, /* 124 */ | ||
308 | -502, 1020, /* 125 */ | ||
309 | -302, 2240, /* 126 */ | ||
310 | -873, 49, /* 127 */ | ||
311 | }; | ||
312 | |||
313 | DATA error; | ||
314 | |||
diff --git a/dsplib_benchmarks/cfft1/t6_NOSCALE.h b/dsplib_benchmarks/cfft1/t6_NOSCALE.h new file mode 100644 index 0000000..0e6896a --- /dev/null +++ b/dsplib_benchmarks/cfft1/t6_NOSCALE.h | |||
@@ -0,0 +1,569 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 256 | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 130 | ||
39 | #pragma DATA_SECTION (x_br,".input") | ||
40 | #pragma DATA_ALIGN (x_br, 2048) | ||
41 | DATA x_br[2*NX] ; | ||
42 | |||
43 | #pragma DATA_SECTION (scratch,".input") | ||
44 | #pragma DATA_ALIGN (scratch, 2048) | ||
45 | DATA scratch[2*NX] ; | ||
46 | #pragma DATA_SECTION (x,".input") | ||
47 | |||
48 | DATA x[2*NX] ={ | ||
49 | 200, 529, /* 0 */ | ||
50 | 919, -245, /* 1 */ | ||
51 | -433, -346, /* 2 */ | ||
52 | 796, 8, /* 3 */ | ||
53 | -816, 132, /* 4 */ | ||
54 | -891, 547, /* 5 */ | ||
55 | -545, 573, /* 6 */ | ||
56 | 886, -33, /* 7 */ | ||
57 | -895, 618, /* 8 */ | ||
58 | -483, -60, /* 9 */ | ||
59 | 1022, -609, /* 10 */ | ||
60 | -590, 163, /* 11 */ | ||
61 | -4, 340, /* 12 */ | ||
62 | -430, 361, /* 13 */ | ||
63 | 353, 906, /* 14 */ | ||
64 | 937, 553, /* 15 */ | ||
65 | 545, 486, /* 16 */ | ||
66 | 340, 750, /* 17 */ | ||
67 | -756, 1005, /* 18 */ | ||
68 | -829, 8, /* 19 */ | ||
69 | -994, 264, /* 20 */ | ||
70 | -434, 599, /* 21 */ | ||
71 | 648, -106, /* 22 */ | ||
72 | 994, 49, /* 23 */ | ||
73 | -989, -673, /* 24 */ | ||
74 | 654, -757, /* 25 */ | ||
75 | 248, -576, /* 26 */ | ||
76 | 123, -808, /* 27 */ | ||
77 | -525, -735, /* 28 */ | ||
78 | 659, -89, /* 29 */ | ||
79 | -485, 590, /* 30 */ | ||
80 | 519, -449, /* 31 */ | ||
81 | 326, -564, /* 32 */ | ||
82 | -586, 837, /* 33 */ | ||
83 | 209, -1009, /* 34 */ | ||
84 | 214, 181, /* 35 */ | ||
85 | 326, 86, /* 36 */ | ||
86 | -649, 314, /* 37 */ | ||
87 | 279, -383, /* 38 */ | ||
88 | -676, -551, /* 39 */ | ||
89 | 81, -172, /* 40 */ | ||
90 | 252, -413, /* 41 */ | ||
91 | 380, 353, /* 42 */ | ||
92 | 363, 897, /* 43 */ | ||
93 | 771, -322, /* 44 */ | ||
94 | -998, 128, /* 45 */ | ||
95 | -389, -781, /* 46 */ | ||
96 | 571, -678, /* 47 */ | ||
97 | -395, -453, /* 48 */ | ||
98 | 873, 116, /* 49 */ | ||
99 | 365, -30, /* 50 */ | ||
100 | -872, 926, /* 51 */ | ||
101 | -880, -549, /* 52 */ | ||
102 | -1000, -44, /* 53 */ | ||
103 | -559, 54, /* 54 */ | ||
104 | 33, 599, /* 55 */ | ||
105 | -86, -629, /* 56 */ | ||
106 | 416, 838, /* 57 */ | ||
107 | 168, 864, /* 58 */ | ||
108 | 18, -997, /* 59 */ | ||
109 | -872, 547, /* 60 */ | ||
110 | -629, 916, /* 61 */ | ||
111 | -247, 641, /* 62 */ | ||
112 | -458, 867, /* 63 */ | ||
113 | 554, -617, /* 64 */ | ||
114 | -382, 356, /* 65 */ | ||
115 | 282, 874, /* 66 */ | ||
116 | 996, -320, /* 67 */ | ||
117 | 5, 193, /* 68 */ | ||
118 | 916, 236, /* 69 */ | ||
119 | 671, -1017, /* 70 */ | ||
120 | 855, 987, /* 71 */ | ||
121 | -793, 818, /* 72 */ | ||
122 | 639, 394, /* 73 */ | ||
123 | 836, -124, /* 74 */ | ||
124 | -704, 411, /* 75 */ | ||
125 | -774, 224, /* 76 */ | ||
126 | 537, -410, /* 77 */ | ||
127 | 454, 729, /* 78 */ | ||
128 | 310, -795, /* 79 */ | ||
129 | 520, -427, /* 80 */ | ||
130 | 334, -825, /* 81 */ | ||
131 | 785, -211, /* 82 */ | ||
132 | -467, -342, /* 83 */ | ||
133 | -165, 909, /* 84 */ | ||
134 | -588, 693, /* 85 */ | ||
135 | -951, -495, /* 86 */ | ||
136 | -858, -937, /* 87 */ | ||
137 | 717, -1012, /* 88 */ | ||
138 | -328, 152, /* 89 */ | ||
139 | -70, 499, /* 90 */ | ||
140 | 847, 628, /* 91 */ | ||
141 | -556, 281, /* 92 */ | ||
142 | 741, -510, /* 93 */ | ||
143 | 320, -729, /* 94 */ | ||
144 | 801, 310, /* 95 */ | ||
145 | -25, 913, /* 96 */ | ||
146 | 1008, 646, /* 97 */ | ||
147 | -260, 881, /* 98 */ | ||
148 | 64, -390, /* 99 */ | ||
149 | -653, -474, /* 100 */ | ||
150 | 3, 74, /* 101 */ | ||
151 | -160, -690, /* 102 */ | ||
152 | 328, -592, /* 103 */ | ||
153 | 355, -580, /* 104 */ | ||
154 | 936, 310, /* 105 */ | ||
155 | -631, -916, /* 106 */ | ||
156 | -797, -555, /* 107 */ | ||
157 | 133, 342, /* 108 */ | ||
158 | 960, -388, /* 109 */ | ||
159 | -976, -396, /* 110 */ | ||
160 | 758, 451, /* 111 */ | ||
161 | -969, 930, /* 112 */ | ||
162 | 39, -756, /* 113 */ | ||
163 | -631, -885, /* 114 */ | ||
164 | 441, -768, /* 115 */ | ||
165 | -511, -684, /* 116 */ | ||
166 | 888, 842, /* 117 */ | ||
167 | -743, -745, /* 118 */ | ||
168 | 44, 239, /* 119 */ | ||
169 | 809, -474, /* 120 */ | ||
170 | 905, -573, /* 121 */ | ||
171 | -338, 435, /* 122 */ | ||
172 | -129, 100, /* 123 */ | ||
173 | -60, 903, /* 124 */ | ||
174 | -719, -349, /* 125 */ | ||
175 | -746, 418, /* 126 */ | ||
176 | 66, 908, /* 127 */ | ||
177 | 462, 167, /* 128 */ | ||
178 | -208, 778, /* 129 */ | ||
179 | -290, 511, /* 130 */ | ||
180 | -440, -247, /* 131 */ | ||
181 | 754, 461, /* 132 */ | ||
182 | 258, -691, /* 133 */ | ||
183 | -531, 934, /* 134 */ | ||
184 | 979, -623, /* 135 */ | ||
185 | 287, 565, /* 136 */ | ||
186 | -554, 232, /* 137 */ | ||
187 | 371, -692, /* 138 */ | ||
188 | 339, -961, /* 139 */ | ||
189 | -749, -433, /* 140 */ | ||
190 | -978, 964, /* 141 */ | ||
191 | -487, 922, /* 142 */ | ||
192 | -786, -557, /* 143 */ | ||
193 | -882, 938, /* 144 */ | ||
194 | 722, 368, /* 145 */ | ||
195 | -655, -912, /* 146 */ | ||
196 | -958, 204, /* 147 */ | ||
197 | 479, -219, /* 148 */ | ||
198 | 74, -583, /* 149 */ | ||
199 | -459, -651, /* 150 */ | ||
200 | -270, -867, /* 151 */ | ||
201 | -998, -1009, /* 152 */ | ||
202 | 797, 591, /* 153 */ | ||
203 | 749, -988, /* 154 */ | ||
204 | -504, 773, /* 155 */ | ||
205 | 142, -302, /* 156 */ | ||
206 | -698, 454, /* 157 */ | ||
207 | 193, 959, /* 158 */ | ||
208 | -346, -706, /* 159 */ | ||
209 | 324, -691, /* 160 */ | ||
210 | 744, -383, /* 161 */ | ||
211 | 138, -964, /* 162 */ | ||
212 | 983, -292, /* 163 */ | ||
213 | 597, -969, /* 164 */ | ||
214 | -712, 601, /* 165 */ | ||
215 | 681, 1022, /* 166 */ | ||
216 | -632, -799, /* 167 */ | ||
217 | 284, 251, /* 168 */ | ||
218 | 346, -753, /* 169 */ | ||
219 | 557, -390, /* 170 */ | ||
220 | -247, -748, /* 171 */ | ||
221 | -120, -567, /* 172 */ | ||
222 | -35, -212, /* 173 */ | ||
223 | 221, -748, /* 174 */ | ||
224 | -664, -531, /* 175 */ | ||
225 | -1020, 875, /* 176 */ | ||
226 | 594, -224, /* 177 */ | ||
227 | 27, 23, /* 178 */ | ||
228 | -588, -834, /* 179 */ | ||
229 | -813, -980, /* 180 */ | ||
230 | -702, -698, /* 181 */ | ||
231 | -190, 705, /* 182 */ | ||
232 | -189, 776, /* 183 */ | ||
233 | -916, -641, /* 184 */ | ||
234 | 904, 1006, /* 185 */ | ||
235 | -717, 434, /* 186 */ | ||
236 | -237, 760, /* 187 */ | ||
237 | -387, -42, /* 188 */ | ||
238 | -679, -9, /* 189 */ | ||
239 | 812, -436, /* 190 */ | ||
240 | -364, -900, /* 191 */ | ||
241 | 479, -487, /* 192 */ | ||
242 | -183, -643, /* 193 */ | ||
243 | -206, 854, /* 194 */ | ||
244 | 11, -772, /* 195 */ | ||
245 | -678, -997, /* 196 */ | ||
246 | 50, -267, /* 197 */ | ||
247 | 289, 406, /* 198 */ | ||
248 | -991, 797, /* 199 */ | ||
249 | 689, 192, /* 200 */ | ||
250 | 621, -704, /* 201 */ | ||
251 | 405, -376, /* 202 */ | ||
252 | -79, -546, /* 203 */ | ||
253 | -855, -1007, /* 204 */ | ||
254 | 656, -212, /* 205 */ | ||
255 | -629, 306, /* 206 */ | ||
256 | -112, -850, /* 207 */ | ||
257 | -998, 550, /* 208 */ | ||
258 | -392, 961, /* 209 */ | ||
259 | 768, 439, /* 210 */ | ||
260 | 686, 577, /* 211 */ | ||
261 | -342, -538, /* 212 */ | ||
262 | 779, -624, /* 213 */ | ||
263 | -42, -485, /* 214 */ | ||
264 | 124, 437, /* 215 */ | ||
265 | 237, 978, /* 216 */ | ||
266 | 331, 280, /* 217 */ | ||
267 | 238, 94, /* 218 */ | ||
268 | 379, 712, /* 219 */ | ||
269 | 20, 618, /* 220 */ | ||
270 | 438, 344, /* 221 */ | ||
271 | 31, 350, /* 222 */ | ||
272 | 216, 656, /* 223 */ | ||
273 | 955, 963, /* 224 */ | ||
274 | 659, -27, /* 225 */ | ||
275 | -374, 650, /* 226 */ | ||
276 | 179, 289, /* 227 */ | ||
277 | -758, -397, /* 228 */ | ||
278 | -504, 329, /* 229 */ | ||
279 | 620, -291, /* 230 */ | ||
280 | 343, 897, /* 231 */ | ||
281 | -996, -26, /* 232 */ | ||
282 | 126, -838, /* 233 */ | ||
283 | -94, 355, /* 234 */ | ||
284 | 829, 30, /* 235 */ | ||
285 | -447, -571, /* 236 */ | ||
286 | -891, 460, /* 237 */ | ||
287 | -48, -885, /* 238 */ | ||
288 | 990, 950, /* 239 */ | ||
289 | 864, -599, /* 240 */ | ||
290 | 125, -694, /* 241 */ | ||
291 | 311, 283, /* 242 */ | ||
292 | 558, -1024, /* 243 */ | ||
293 | -807, -337, /* 244 */ | ||
294 | -1022, -461, /* 245 */ | ||
295 | 85, -933, /* 246 */ | ||
296 | -1010, -832, /* 247 */ | ||
297 | -100, -185, /* 248 */ | ||
298 | -624, 648, /* 249 */ | ||
299 | 588, 758, /* 250 */ | ||
300 | 242, -978, /* 251 */ | ||
301 | -993, 465, /* 252 */ | ||
302 | 800, 712, /* 253 */ | ||
303 | 535, 468, /* 254 */ | ||
304 | 833, 931, /* 255 */ | ||
305 | }; | ||
306 | |||
307 | #pragma DATA_SECTION (rtest,".test") | ||
308 | |||
309 | DATA rtest[2*NX] ={ | ||
310 | -2179, -3017, /* 0 */ | ||
311 | 10689, 5957, /* 1 */ | ||
312 | -8034, 12103, /* 2 */ | ||
313 | -4585, -4117, /* 3 */ | ||
314 | 3781, 7087, /* 4 */ | ||
315 | 13363, -13247, /* 5 */ | ||
316 | 27373, 14670, /* 6 */ | ||
317 | 2877, 3226, /* 7 */ | ||
318 | 11123, 5338, /* 8 */ | ||
319 | -6536, -3284, /* 9 */ | ||
320 | -7512, 2598, /* 10 */ | ||
321 | 741, -415, /* 11 */ | ||
322 | -10752, -8824, /* 12 */ | ||
323 | 2092, 6322, /* 13 */ | ||
324 | 326, 14762, /* 14 */ | ||
325 | 7075, 11493, /* 15 */ | ||
326 | -4283, 15711, /* 16 */ | ||
327 | 18855, 2755, /* 17 */ | ||
328 | -2810, 17295, /* 18 */ | ||
329 | 18883, -4054, /* 19 */ | ||
330 | -2536, -12530, /* 20 */ | ||
331 | -4822, 10991, /* 21 */ | ||
332 | 16770, -4075, /* 22 */ | ||
333 | -15388, -7679, /* 23 */ | ||
334 | -9971, -11711, /* 24 */ | ||
335 | 9618, 10885, /* 25 */ | ||
336 | -7566, 3154, /* 26 */ | ||
337 | -7359, -15644, /* 27 */ | ||
338 | -2750, 2810, /* 28 */ | ||
339 | -11769, -100, /* 29 */ | ||
340 | 1822, -4430, /* 30 */ | ||
341 | 12309, 10657, /* 31 */ | ||
342 | 17474, -7012, /* 32 */ | ||
343 | -2584, -5363, /* 33 */ | ||
344 | -14961, 13255, /* 34 */ | ||
345 | 11383, -5012, /* 35 */ | ||
346 | 2449, 10641, /* 36 */ | ||
347 | 9013, 3795, /* 37 */ | ||
348 | 5987, -23021, /* 38 */ | ||
349 | -24189, 2411, /* 39 */ | ||
350 | 6678, 11708, /* 40 */ | ||
351 | -19422, 3889, /* 41 */ | ||
352 | -1122, 16656, /* 42 */ | ||
353 | -4426, -2040, /* 43 */ | ||
354 | 6179, -1709, /* 44 */ | ||
355 | -19075, 5060, /* 45 */ | ||
356 | -364, 9306, /* 46 */ | ||
357 | 5035, -17948, /* 47 */ | ||
358 | 8055, 6637, /* 48 */ | ||
359 | 6532, -688, /* 49 */ | ||
360 | -5409, -2551, /* 50 */ | ||
361 | 913, 6868, /* 51 */ | ||
362 | -6768, -5848, /* 52 */ | ||
363 | -12326, -1157, /* 53 */ | ||
364 | -18857, -5430, /* 54 */ | ||
365 | 824, -7626, /* 55 */ | ||
366 | -3232, -4038, /* 56 */ | ||
367 | -716, -160, /* 57 */ | ||
368 | -356, 6066, /* 58 */ | ||
369 | 4035, -6815, /* 59 */ | ||
370 | -651, -2622, /* 60 */ | ||
371 | -10, 1589, /* 61 */ | ||
372 | 15290, 20140, /* 62 */ | ||
373 | -22075, 13049, /* 63 */ | ||
374 | -4293, -5208, /* 64 */ | ||
375 | -6795, 2835, /* 65 */ | ||
376 | 3928, 10288, /* 66 */ | ||
377 | -9751, -2854, /* 67 */ | ||
378 | -2253, -993, /* 68 */ | ||
379 | 5718, 1575, /* 69 */ | ||
380 | 6385, 6174, /* 70 */ | ||
381 | -3189, 10133, /* 71 */ | ||
382 | 14324, 393, /* 72 */ | ||
383 | 9097, 750, /* 73 */ | ||
384 | -6252, -17864, /* 74 */ | ||
385 | -6472, 11875, /* 75 */ | ||
386 | 12337, 10900, /* 76 */ | ||
387 | -6299, -11518, /* 77 */ | ||
388 | -2439, 1291, /* 78 */ | ||
389 | 17809, 3078, /* 79 */ | ||
390 | 7339, -1084, /* 80 */ | ||
391 | 7735, -366, /* 81 */ | ||
392 | -3451, -14478, /* 82 */ | ||
393 | 3244, -6093, /* 83 */ | ||
394 | -21451, -11292, /* 84 */ | ||
395 | -9551, 722, /* 85 */ | ||
396 | -8808, 10720, /* 86 */ | ||
397 | 4820, 2454, /* 87 */ | ||
398 | -1947, -16244, /* 88 */ | ||
399 | 1483, -522, /* 89 */ | ||
400 | 14771, 1862, /* 90 */ | ||
401 | 1229, 30, /* 91 */ | ||
402 | -13036, 8572, /* 92 */ | ||
403 | -4905, -4685, /* 93 */ | ||
404 | -3055, 3570, /* 94 */ | ||
405 | -4528, -6343, /* 95 */ | ||
406 | -6632, 183, /* 96 */ | ||
407 | -5054, 4806, /* 97 */ | ||
408 | -3808, 1581, /* 98 */ | ||
409 | 538, -7285, /* 99 */ | ||
410 | 6849, -20811, /* 100 */ | ||
411 | 11272, 8277, /* 101 */ | ||
412 | 8445, 16464, /* 102 */ | ||
413 | 3843, 10625, /* 103 */ | ||
414 | 18553, -13353, /* 104 */ | ||
415 | 4218, 8114, /* 105 */ | ||
416 | -4202, -8888, /* 106 */ | ||
417 | -1478, 6883, /* 107 */ | ||
418 | 109, -2924, /* 108 */ | ||
419 | -13136, -230, /* 109 */ | ||
420 | 1798, -7162, /* 110 */ | ||
421 | -1369, 1819, /* 111 */ | ||
422 | -1187, 7682, /* 112 */ | ||
423 | 791, -9595, /* 113 */ | ||
424 | -12963, -11075, /* 114 */ | ||
425 | -2559, 4693, /* 115 */ | ||
426 | 6341, -8747, /* 116 */ | ||
427 | -17503, -12215, /* 117 */ | ||
428 | -10850, -3904, /* 118 */ | ||
429 | 2981, 59, /* 119 */ | ||
430 | -3564, 4399, /* 120 */ | ||
431 | -2294, 2782, /* 121 */ | ||
432 | 6747, 5897, /* 122 */ | ||
433 | -2839, -15230, /* 123 */ | ||
434 | -6455, 9733, /* 124 */ | ||
435 | -1108, -5160, /* 125 */ | ||
436 | -5113, 16625, /* 126 */ | ||
437 | 5801, -7747, /* 127 */ | ||
438 | -19512, -3526, /* 128 */ | ||
439 | -3893, 508, /* 129 */ | ||
440 | -11977, -9698, /* 130 */ | ||
441 | 6854, 14204, /* 131 */ | ||
442 | 6832, 6715, /* 132 */ | ||
443 | -3475, 2174, /* 133 */ | ||
444 | 10464, 13882, /* 134 */ | ||
445 | -17231, -10008, /* 135 */ | ||
446 | 8909, -5400, /* 136 */ | ||
447 | -14818, 13323, /* 137 */ | ||
448 | -17740, -2616, /* 138 */ | ||
449 | -23697, -3957, /* 139 */ | ||
450 | 365, 10042, /* 140 */ | ||
451 | -1673, 1514, /* 141 */ | ||
452 | -1520, 540, /* 142 */ | ||
453 | 1289, -12637, /* 143 */ | ||
454 | -6775, 8374, /* 144 */ | ||
455 | -3875, -818, /* 145 */ | ||
456 | -7305, -4909, /* 146 */ | ||
457 | 4820, 10802, /* 147 */ | ||
458 | 11338, 434, /* 148 */ | ||
459 | -3042, 10303, /* 149 */ | ||
460 | -7377, -20942, /* 150 */ | ||
461 | 14329, 9218, /* 151 */ | ||
462 | 655, -3239, /* 152 */ | ||
463 | -20681, -9278, /* 153 */ | ||
464 | -4528, -9489, /* 154 */ | ||
465 | -2987, 2536, /* 155 */ | ||
466 | 18220, -21684, /* 156 */ | ||
467 | 3676, 4434, /* 157 */ | ||
468 | -10586, -32768, /* 158 */ | ||
469 | 29738, 4147, /* 159 */ | ||
470 | 982, 6809, /* 160 */ | ||
471 | -4697, -525, /* 161 */ | ||
472 | 2913, 22667, /* 162 */ | ||
473 | 958, 4161, /* 163 */ | ||
474 | 3883, -1399, /* 164 */ | ||
475 | -8223, 3838, /* 165 */ | ||
476 | -267, 9819, /* 166 */ | ||
477 | -1853, 9006, /* 167 */ | ||
478 | 19827, 3602, /* 168 */ | ||
479 | 10566, 1126, /* 169 */ | ||
480 | -28342, 4534, /* 170 */ | ||
481 | 7719, 18659, /* 171 */ | ||
482 | -1379, -934, /* 172 */ | ||
483 | 21916, 6307, /* 173 */ | ||
484 | -2556, 3309, /* 174 */ | ||
485 | 11431, -4421, /* 175 */ | ||
486 | 9299, -737, /* 176 */ | ||
487 | 984, -3541, /* 177 */ | ||
488 | 15581, 6243, /* 178 */ | ||
489 | 3629, 3716, /* 179 */ | ||
490 | 4718, 11464, /* 180 */ | ||
491 | -7177, -7701, /* 181 */ | ||
492 | 11515, 4636, /* 182 */ | ||
493 | -4751, 6138, /* 183 */ | ||
494 | 6902, -8848, /* 184 */ | ||
495 | -3066, 32204, /* 185 */ | ||
496 | 5817, 4156, /* 186 */ | ||
497 | -11190, 6613, /* 187 */ | ||
498 | -5791, -12357, /* 188 */ | ||
499 | -18607, 3439, /* 189 */ | ||
500 | 10696, -9169, /* 190 */ | ||
501 | -6904, -14353, /* 191 */ | ||
502 | -21510, -3429, /* 192 */ | ||
503 | -6202, -15037, /* 193 */ | ||
504 | -2295, 9948, /* 194 */ | ||
505 | -8597, -2304, /* 195 */ | ||
506 | 2297, 580, /* 196 */ | ||
507 | 1048, 2186, /* 197 */ | ||
508 | 954, 486, /* 198 */ | ||
509 | -3527, 3428, /* 199 */ | ||
510 | 3866, -10314, /* 200 */ | ||
511 | -6020, 1747, /* 201 */ | ||
512 | -16770, 5544, /* 202 */ | ||
513 | -2731, -11156, /* 203 */ | ||
514 | 11003, -7039, /* 204 */ | ||
515 | -7850, -11595, /* 205 */ | ||
516 | 16186, 8473, /* 206 */ | ||
517 | 3866, 7019, /* 207 */ | ||
518 | 1370, -5107, /* 208 */ | ||
519 | 7168, -12643, /* 209 */ | ||
520 | 11052, -596, /* 210 */ | ||
521 | 12547, 19849, /* 211 */ | ||
522 | -14397, -14836, /* 212 */ | ||
523 | -6048, 2295, /* 213 */ | ||
524 | 6561, 7524, /* 214 */ | ||
525 | 7674, -7665, /* 215 */ | ||
526 | -2198, 1867, /* 216 */ | ||
527 | 4771, 5248, /* 217 */ | ||
528 | -10946, 5759, /* 218 */ | ||
529 | -6244, 14709, /* 219 */ | ||
530 | 11807, 4767, /* 220 */ | ||
531 | 11014, -3096, /* 221 */ | ||
532 | 12057, 2345, /* 222 */ | ||
533 | 15769, 386, /* 223 */ | ||
534 | 24800, 19568, /* 224 */ | ||
535 | -8134, -2412, /* 225 */ | ||
536 | 10677, -10294, /* 226 */ | ||
537 | 1113, -5585, /* 227 */ | ||
538 | 1727, 5131, /* 228 */ | ||
539 | -3995, -2145, /* 229 */ | ||
540 | -5022, 3541, /* 230 */ | ||
541 | -19893, -7961, /* 231 */ | ||
542 | 4096, -11378, /* 232 */ | ||
543 | 26016, 10608, /* 233 */ | ||
544 | 4680, -5991, /* 234 */ | ||
545 | -3123, -6032, /* 235 */ | ||
546 | -8442, -9664, /* 236 */ | ||
547 | 22417, -18682, /* 237 */ | ||
548 | 5681, 4279, /* 238 */ | ||
549 | 6435, -7531, /* 239 */ | ||
550 | 12219, 4472, /* 240 */ | ||
551 | 9438, -8864, /* 241 */ | ||
552 | 5000, 20404, /* 242 */ | ||
553 | 11439, 1248, /* 243 */ | ||
554 | 11705, 6646, /* 244 */ | ||
555 | 14359, 7896, /* 245 */ | ||
556 | 204, -6705, /* 246 */ | ||
557 | -9440, -15566, /* 247 */ | ||
558 | 15756, 23828, /* 248 */ | ||
559 | -1774, 845, /* 249 */ | ||
560 | -14887, -5048, /* 250 */ | ||
561 | -16730, 3878, /* 251 */ | ||
562 | -21662, 15738, /* 252 */ | ||
563 | 8196, -8148, /* 253 */ | ||
564 | 6593, -6143, /* 254 */ | ||
565 | -3317, 15005, /* 255 */ | ||
566 | }; | ||
567 | |||
568 | DATA error; | ||
569 | |||
diff --git a/dsplib_benchmarks/cfft1/t6_SCALE.h b/dsplib_benchmarks/cfft1/t6_SCALE.h new file mode 100644 index 0000000..f587508 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t6_SCALE.h | |||
@@ -0,0 +1,570 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 256 | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | #pragma DATA_SECTION (x_br,".input") | ||
41 | #pragma DATA_ALIGN (x_br, 2048) | ||
42 | DATA x_br[2*NX] ; | ||
43 | |||
44 | #pragma DATA_SECTION (scratch,".input") | ||
45 | #pragma DATA_ALIGN (scratch, 2048) | ||
46 | DATA scratch[2*NX] ; | ||
47 | #pragma DATA_SECTION (x,".input") | ||
48 | |||
49 | DATA x[2*NX] ={ | ||
50 | 12608, 11229, /* 0 */ | ||
51 | 7857, 17324, /* 1 */ | ||
52 | -17457, 23222, /* 2 */ | ||
53 | -19138, 185, /* 3 */ | ||
54 | -22948, 6105, /* 4 */ | ||
55 | -10019, 13840, /* 5 */ | ||
56 | 14981, -2429, /* 6 */ | ||
57 | 22963, 1152, /* 7 */ | ||
58 | -22830, -15540, /* 8 */ | ||
59 | 15107, -17470, /* 9 */ | ||
60 | 5729, -13302, /* 10 */ | ||
61 | 2848, -18662, /* 11 */ | ||
62 | -12108, -16961, /* 12 */ | ||
63 | 15231, -2036, /* 13 */ | ||
64 | -11201, 13628, /* 14 */ | ||
65 | 11997, -10356, /* 15 */ | ||
66 | 7551, -13018, /* 16 */ | ||
67 | -13526, 19340, /* 17 */ | ||
68 | 4830, -23304, /* 18 */ | ||
69 | 4963, 4197, /* 19 */ | ||
70 | 7544, 1992, /* 20 */ | ||
71 | -14978, 7261, /* 21 */ | ||
72 | 6458, -8825, /* 22 */ | ||
73 | -15595, -12717, /* 23 */ | ||
74 | 1873, -3971, /* 24 */ | ||
75 | 5836, -9518, /* 25 */ | ||
76 | 8792, 8156, /* 26 */ | ||
77 | 8388, 20729, /* 27 */ | ||
78 | 17824, -7420, /* 28 */ | ||
79 | -23041, 2978, /* 29 */ | ||
80 | -8969, -18027, /* 30 */ | ||
81 | 13200, -15656, /* 31 */ | ||
82 | -9116, -10459, /* 32 */ | ||
83 | 20182, 2687, /* 33 */ | ||
84 | 8453, -682, /* 34 */ | ||
85 | -20135, 21390, /* 35 */ | ||
86 | -20308, -12681, /* 36 */ | ||
87 | -23087, -1010, /* 37 */ | ||
88 | -12906, 1254, /* 38 */ | ||
89 | 768, 13845, /* 39 */ | ||
90 | -1977, -14522, /* 40 */ | ||
91 | 9611, 19374, /* 41 */ | ||
92 | 3901, 19970, /* 42 */ | ||
93 | 435, -23023, /* 43 */ | ||
94 | -20137, 12655, /* 44 */ | ||
95 | -14511, 21159, /* 45 */ | ||
96 | -5695, 14819, /* 46 */ | ||
97 | -10575, 20047, /* 47 */ | ||
98 | 12812, -14238, /* 48 */ | ||
99 | -8802, 8243, /* 49 */ | ||
100 | 6536, 20202, /* 50 */ | ||
101 | 23015, -7388, /* 51 */ | ||
102 | 136, 4469, /* 52 */ | ||
103 | 21176, 5462, /* 53 */ | ||
104 | 15515, -23491, /* 54 */ | ||
105 | 19750, 22799, /* 55 */ | ||
106 | -18302, 18897, /* 56 */ | ||
107 | 14763, 9117, /* 57 */ | ||
108 | 19311, -2855, /* 58 */ | ||
109 | -16254, 9508, /* 59 */ | ||
110 | -17875, 5189, /* 60 */ | ||
111 | 12424, -9466, /* 61 */ | ||
112 | 10491, 16840, /* 62 */ | ||
113 | 7172, -18350, /* 63 */ | ||
114 | 12015, -9860, /* 64 */ | ||
115 | 7717, -19042, /* 65 */ | ||
116 | 18139, -4851, /* 66 */ | ||
117 | -10778, -7885, /* 67 */ | ||
118 | -3811, 21012, /* 68 */ | ||
119 | -13576, 16013, /* 69 */ | ||
120 | -21967, -11427, /* 70 */ | ||
121 | -19812, -21622, /* 71 */ | ||
122 | 16582, -23373, /* 72 */ | ||
123 | -7559, 3520, /* 73 */ | ||
124 | -1601, 11536, /* 74 */ | ||
125 | 19571, 14513, /* 75 */ | ||
126 | -12839, 6507, /* 76 */ | ||
127 | 17125, -11766, /* 77 */ | ||
128 | 7408, -16824, /* 78 */ | ||
129 | 18503, 7168, /* 79 */ | ||
130 | -561, 21100, /* 80 */ | ||
131 | 23302, 14941, /* 81 */ | ||
132 | -5992, 20351, /* 82 */ | ||
133 | 1484, -8990, /* 83 */ | ||
134 | -15075, -10936, /* 84 */ | ||
135 | 91, 1724, /* 85 */ | ||
136 | -3681, -15928, /* 86 */ | ||
137 | 7588, -13671, /* 87 */ | ||
138 | 8213, -13396, /* 88 */ | ||
139 | 21632, 7179, /* 89 */ | ||
140 | -14576, -21155, /* 90 */ | ||
141 | -18390, -12805, /* 91 */ | ||
142 | 3077, 7919, /* 92 */ | ||
143 | 22191, -8944, /* 93 */ | ||
144 | -22528, -9147, /* 94 */ | ||
145 | 17511, 10438, /* 95 */ | ||
146 | -22380, 21493, /* 96 */ | ||
147 | 923, -17448, /* 97 */ | ||
148 | -14555, -20421, /* 98 */ | ||
149 | 10202, -17728, /* 99 */ | ||
150 | -11794, -15792, /* 100 */ | ||
151 | 20522, 19460, /* 101 */ | ||
152 | -17162, -17206, /* 102 */ | ||
153 | 1022, 5533, /* 103 */ | ||
154 | 18693, -10928, /* 104 */ | ||
155 | 20925, -13213, /* 105 */ | ||
156 | -7801, 10070, /* 106 */ | ||
157 | -2963, 2317, /* 107 */ | ||
158 | -1365, 20876, /* 108 */ | ||
159 | -16588, -8048, /* 109 */ | ||
160 | -17224, 9672, /* 110 */ | ||
161 | 1537, 20974, /* 111 */ | ||
162 | 10680, 3859, /* 112 */ | ||
163 | -4792, 17981, /* 113 */ | ||
164 | -6697, 11806, /* 114 */ | ||
165 | -10157, -5695, /* 115 */ | ||
166 | 17436, 10669, /* 116 */ | ||
167 | 5979, -15950, /* 117 */ | ||
168 | -12243, 21578, /* 118 */ | ||
169 | 22613, -14369, /* 119 */ | ||
170 | 6645, 13064, /* 120 */ | ||
171 | -12779, 5358, /* 121 */ | ||
172 | 8577, -15975, /* 122 */ | ||
173 | 7843, -22182, /* 123 */ | ||
174 | -17279, -9999, /* 124 */ | ||
175 | -22587, 22281, /* 125 */ | ||
176 | -11249, 21309, /* 126 */ | ||
177 | -18140, -12864, /* 127 */ | ||
178 | -20372, 21688, /* 128 */ | ||
179 | 16693, 8507, /* 129 */ | ||
180 | -15121, -21051, /* 130 */ | ||
181 | -22118, 4722, /* 131 */ | ||
182 | 11064, -5055, /* 132 */ | ||
183 | 1727, -13464, /* 133 */ | ||
184 | -10595, -15023, /* 134 */ | ||
185 | -6223, -20020, /* 135 */ | ||
186 | -23041, -23300, /* 136 */ | ||
187 | 18409, 13659, /* 137 */ | ||
188 | 17313, -22810, /* 138 */ | ||
189 | -11625, 17876, /* 139 */ | ||
190 | 3286, -6975, /* 140 */ | ||
191 | -16118, 10507, /* 141 */ | ||
192 | 4463, 22158, /* 142 */ | ||
193 | -7990, -16288, /* 143 */ | ||
194 | 7502, -15943, /* 144 */ | ||
195 | 17200, -8827, /* 145 */ | ||
196 | 3198, -22261, /* 146 */ | ||
197 | 22727, -6735, /* 147 */ | ||
198 | 13803, -22365, /* 148 */ | ||
199 | -16433, 13890, /* 149 */ | ||
200 | 15752, 23614, /* 150 */ | ||
201 | -14576, -18437, /* 151 */ | ||
202 | 6574, 5799, /* 152 */ | ||
203 | 7993, -17380, /* 153 */ | ||
204 | 12870, -8986, /* 154 */ | ||
205 | -5685, -17275, /* 155 */ | ||
206 | -2764, -13087, /* 156 */ | ||
207 | -802, -4894, /* 157 */ | ||
208 | 5113, -17259, /* 158 */ | ||
209 | -15326, -12249, /* 159 */ | ||
210 | -23555, 20221, /* 160 */ | ||
211 | 13727, -5152, /* 161 */ | ||
212 | 643, 532, /* 162 */ | ||
213 | -13565, -19257, /* 163 */ | ||
214 | -18758, -22625, /* 164 */ | ||
215 | -16209, -16105, /* 165 */ | ||
216 | -4375, 16295, /* 166 */ | ||
217 | -4364, 17934, /* 167 */ | ||
218 | -21159, -14806, /* 168 */ | ||
219 | 20898, 23239, /* 169 */ | ||
220 | -16557, 10029, /* 170 */ | ||
221 | -5470, 17565, /* 171 */ | ||
222 | -8938, -964, /* 172 */ | ||
223 | -15679, -189, /* 173 */ | ||
224 | 18761, -10050, /* 174 */ | ||
225 | -8386, -20768, /* 175 */ | ||
226 | 11068, -11236, /* 176 */ | ||
227 | -4215, -14841, /* 177 */ | ||
228 | -4740, 19728, /* 178 */ | ||
229 | 261, -17820, /* 179 */ | ||
230 | -15643, -23015, /* 180 */ | ||
231 | 1170, -6164, /* 181 */ | ||
232 | 6679, 9395, /* 182 */ | ||
233 | -22885, 18416, /* 183 */ | ||
234 | 15933, 4435, /* 184 */ | ||
235 | 14354, -16239, /* 185 */ | ||
236 | 9355, -8671, /* 186 */ | ||
237 | -1803, -12611, /* 187 */ | ||
238 | -19743, -23253, /* 188 */ | ||
239 | 15170, -4877, /* 189 */ | ||
240 | -14521, 7088, /* 190 */ | ||
241 | -2585, -19630, /* 191 */ | ||
242 | -23038, 12714, /* 192 */ | ||
243 | -9047, 22217, /* 193 */ | ||
244 | 17754, 10160, /* 194 */ | ||
245 | 15858, 13337, /* 195 */ | ||
246 | -7895, -12414, /* 196 */ | ||
247 | 18007, -14393, /* 197 */ | ||
248 | -961, -11201, /* 198 */ | ||
249 | 2876, 10112, /* 199 */ | ||
250 | 5482, 22590, /* 200 */ | ||
251 | 7657, 6485, /* 201 */ | ||
252 | 5516, 2172, /* 202 */ | ||
253 | 8757, 16463, /* 203 */ | ||
254 | 480, 14289, /* 204 */ | ||
255 | 10120, 7961, /* 205 */ | ||
256 | 719, 8087, /* 206 */ | ||
257 | 5007, 15166, /* 207 */ | ||
258 | 22075, 22253, /* 208 */ | ||
259 | 15236, -619, /* 209 */ | ||
260 | -8621, 15016, /* 210 */ | ||
261 | 4148, 6696, /* 211 */ | ||
262 | -17492, -9160, /* 212 */ | ||
263 | -11620, 7612, /* 213 */ | ||
264 | 14333, -6716, /* 214 */ | ||
265 | 7939, 20727, /* 215 */ | ||
266 | -23006, -584, /* 216 */ | ||
267 | 2912, -19347, /* 217 */ | ||
268 | -2150, 8222, /* 218 */ | ||
269 | 19154, 703, /* 219 */ | ||
270 | -10305, -13170, /* 220 */ | ||
271 | -20575, 10643, /* 221 */ | ||
272 | -1108, -20423, /* 222 */ | ||
273 | 22880, 21953, /* 223 */ | ||
274 | 19977, -13829, /* 224 */ | ||
275 | 2894, -16030, /* 225 */ | ||
276 | 7205, 6537, /* 226 */ | ||
277 | 12897, -23640, /* 227 */ | ||
278 | -18629, -7775, /* 228 */ | ||
279 | -23600, -10638, /* 229 */ | ||
280 | 1975, -21545, /* 230 */ | ||
281 | -23327, -19210, /* 231 */ | ||
282 | -2302, -4258, /* 232 */ | ||
283 | -14396, 14989, /* 233 */ | ||
284 | 13582, 17525, /* 234 */ | ||
285 | 5608, -22584, /* 235 */ | ||
286 | -22917, 10745, /* 236 */ | ||
287 | 18487, 16461, /* 237 */ | ||
288 | 12378, 10812, /* 238 */ | ||
289 | 19253, 21526, /* 239 */ | ||
290 | 12230, 7395, /* 240 */ | ||
291 | -5642, 11461, /* 241 */ | ||
292 | -7989, -7334, /* 242 */ | ||
293 | 192, 18164, /* 243 */ | ||
294 | 3054, -7226, /* 244 */ | ||
295 | 12638, -20838, /* 245 */ | ||
296 | 13238, 10331, /* 246 */ | ||
297 | -753, 21673, /* 247 */ | ||
298 | 14294, -16233, /* 248 */ | ||
299 | -1372, -3957, /* 249 */ | ||
300 | -14060, -19203, /* 250 */ | ||
301 | 3765, -2368, /* 251 */ | ||
302 | 7875, 17461, /* 252 */ | ||
303 | 8361, -5127, /* 253 */ | ||
304 | 20931, -11694, /* 254 */ | ||
305 | 12778, -6888, /* 255 */ | ||
306 | }; | ||
307 | |||
308 | #pragma DATA_SECTION (rtest,".test") | ||
309 | |||
310 | DATA rtest[2*NX] ={ | ||
311 | 110, -640, /* 0 */ | ||
312 | 1018, 549, /* 1 */ | ||
313 | -934, -6, /* 2 */ | ||
314 | 547, -737, /* 3 */ | ||
315 | -274, 181, /* 4 */ | ||
316 | 1004, 1464, /* 5 */ | ||
317 | -2334, 755, /* 6 */ | ||
318 | -25, -176, /* 7 */ | ||
319 | -709, -443, /* 8 */ | ||
320 | 685, 575, /* 9 */ | ||
321 | 850, 416, /* 10 */ | ||
322 | 90, 70, /* 11 */ | ||
323 | -703, 1087, /* 12 */ | ||
324 | 638, 145, /* 13 */ | ||
325 | 952, 990, /* 14 */ | ||
326 | 939, 737, /* 15 */ | ||
327 | -456, 1384, /* 16 */ | ||
328 | 1405, 785, /* 17 */ | ||
329 | -1337, 766, /* 18 */ | ||
330 | 974, 1220, /* 19 */ | ||
331 | 1172, -486, /* 20 */ | ||
332 | -637, -1063, /* 21 */ | ||
333 | -617, 1047, /* 22 */ | ||
334 | 1821, -150, /* 23 */ | ||
335 | 1246, 848, /* 24 */ | ||
336 | -21, -1376, /* 25 */ | ||
337 | 1125, 235, /* 26 */ | ||
338 | -599, 1207, /* 27 */ | ||
339 | 684, 404, /* 28 */ | ||
340 | -35, 1229, /* 29 */ | ||
341 | 137, -70, /* 30 */ | ||
342 | 1599, 847, /* 31 */ | ||
343 | 1672, -225, /* 32 */ | ||
344 | -49, -138, /* 33 */ | ||
345 | -1926, 248, /* 34 */ | ||
346 | 596, 1062, /* 35 */ | ||
347 | -1240, 414, /* 36 */ | ||
348 | -942, 705, /* 37 */ | ||
349 | 772, 1823, /* 38 */ | ||
350 | 1652, -1170, /* 39 */ | ||
351 | -821, -1281, /* 40 */ | ||
352 | 1622, 57, /* 41 */ | ||
353 | 1103, -1317, /* 42 */ | ||
354 | 58, 111, /* 43 */ | ||
355 | 20, -857, /* 44 */ | ||
356 | 22, 1523, /* 45 */ | ||
357 | 891, 455, /* 46 */ | ||
358 | 154, -1739, /* 47 */ | ||
359 | 1084, 627, /* 48 */ | ||
360 | 900, 288, /* 49 */ | ||
361 | 97, -311, /* 50 */ | ||
362 | -333, 567, /* 51 */ | ||
363 | 652, -325, /* 52 */ | ||
364 | 560, -698, /* 53 */ | ||
365 | 1505, -588, /* 54 */ | ||
366 | 80, 889, /* 55 */ | ||
367 | 124, 527, /* 56 */ | ||
368 | -144, 129, /* 57 */ | ||
369 | 203, -350, /* 58 */ | ||
370 | -900, -161, /* 59 */ | ||
371 | -396, -67, /* 60 */ | ||
372 | 22, -123, /* 61 */ | ||
373 | 2211, 93, /* 62 */ | ||
374 | -1372, 1613, /* 63 */ | ||
375 | -300, -710, /* 64 */ | ||
376 | -509, -225, /* 65 */ | ||
377 | -187, 709, /* 66 */ | ||
378 | 177, -1068, /* 67 */ | ||
379 | 413, -307, /* 68 */ | ||
380 | 31, 382, /* 69 */ | ||
381 | -416, 45, /* 70 */ | ||
382 | 313, -845, /* 71 */ | ||
383 | -900, 157, /* 72 */ | ||
384 | -361, -98, /* 73 */ | ||
385 | -409, 1903, /* 74 */ | ||
386 | 1486, 574, /* 75 */ | ||
387 | 1176, -598, /* 76 */ | ||
388 | -1085, 699, /* 77 */ | ||
389 | -97, 845, /* 78 */ | ||
390 | 1439, 258, /* 79 */ | ||
391 | 376, 498, /* 80 */ | ||
392 | 239, 779, /* 81 */ | ||
393 | 164, -687, /* 82 */ | ||
394 | -21, 401, /* 83 */ | ||
395 | 304, -1735, /* 84 */ | ||
396 | -485, -779, /* 85 */ | ||
397 | -877, -1370, /* 86 */ | ||
398 | -1201, -325, /* 87 */ | ||
399 | -460, 1031, /* 88 */ | ||
400 | -665, -567, /* 89 */ | ||
401 | -1210, -1713, /* 90 */ | ||
402 | -273, -810, /* 91 */ | ||
403 | 697, 455, /* 92 */ | ||
404 | -487, -451, /* 93 */ | ||
405 | 239, -220, /* 94 */ | ||
406 | -282, -933, /* 95 */ | ||
407 | -205, -446, /* 96 */ | ||
408 | -146, -131, /* 97 */ | ||
409 | 117, -398, /* 98 */ | ||
410 | 1083, -371, /* 99 */ | ||
411 | 2313, 529, /* 100 */ | ||
412 | -674, 621, /* 101 */ | ||
413 | -1217, -505, /* 102 */ | ||
414 | -342, -721, /* 103 */ | ||
415 | -1347, 1254, /* 104 */ | ||
416 | 247, -758, /* 105 */ | ||
417 | 21, 918, /* 106 */ | ||
418 | 951, -3, /* 107 */ | ||
419 | 67, 142, /* 108 */ | ||
420 | -144, 1292, /* 109 */ | ||
421 | -31, -304, /* 110 */ | ||
422 | 224, 533, /* 111 */ | ||
423 | 109, 1090, /* 112 */ | ||
424 | 533, -325, /* 113 */ | ||
425 | -84, -1057, /* 114 */ | ||
426 | -554, 428, /* 115 */ | ||
427 | 602, 1021, /* 116 */ | ||
428 | 1330, -651, /* 117 */ | ||
429 | 564, -150, /* 118 */ | ||
430 | -685, 275, /* 119 */ | ||
431 | -133, -349, /* 120 */ | ||
432 | -149, -236, /* 121 */ | ||
433 | -433, -1010, /* 122 */ | ||
434 | -1460, 463, /* 123 */ | ||
435 | 704, 219, /* 124 */ | ||
436 | -515, -474, /* 125 */ | ||
437 | 815, 1016, /* 126 */ | ||
438 | 409, -1162, /* 127 */ | ||
439 | -1480, -546, /* 128 */ | ||
440 | -10, -211, /* 129 */ | ||
441 | 200, -1384, /* 130 */ | ||
442 | -629, 1174, /* 131 */ | ||
443 | -351, 824, /* 132 */ | ||
444 | 104, -90, /* 133 */ | ||
445 | -1494, 88, /* 134 */ | ||
446 | 1733, 539, /* 135 */ | ||
447 | -952, 745, /* 136 */ | ||
448 | 1469, -414, /* 137 */ | ||
449 | 691, 1390, /* 138 */ | ||
450 | 200, 2100, /* 139 */ | ||
451 | 639, -146, /* 140 */ | ||
452 | -147, -7, /* 141 */ | ||
453 | -202, -131, /* 142 */ | ||
454 | -379, -1394, /* 143 */ | ||
455 | -569, 456, /* 144 */ | ||
456 | -167, -475, /* 145 */ | ||
457 | 43, -1002, /* 146 */ | ||
458 | -494, 617, /* 147 */ | ||
459 | 220, 937, /* 148 */ | ||
460 | -502, -628, /* 149 */ | ||
461 | 2031, 902, /* 150 */ | ||
462 | -1332, -201, /* 151 */ | ||
463 | 73, 378, /* 152 */ | ||
464 | 1491, 1565, /* 153 */ | ||
465 | -263, 945, /* 154 */ | ||
466 | 353, 172, /* 155 */ | ||
467 | -1913, -1679, /* 156 */ | ||
468 | 568, -229, /* 157 */ | ||
469 | -2660, -1531, /* 158 */ | ||
470 | 2801, -794, /* 159 */ | ||
471 | 335, 515, /* 160 */ | ||
472 | -64, -266, /* 161 */ | ||
473 | -898, 1634, /* 162 */ | ||
474 | 82, 305, /* 163 */ | ||
475 | 531, 523, /* 164 */ | ||
476 | 351, -551, /* 165 */ | ||
477 | -267, -288, /* 166 */ | ||
478 | 117, -384, /* 167 */ | ||
479 | -1603, 160, /* 168 */ | ||
480 | -756, 55, /* 169 */ | ||
481 | 2080, 2035, /* 170 */ | ||
482 | 1172, -796, /* 171 */ | ||
483 | -290, 569, /* 172 */ | ||
484 | 1005, -1231, /* 173 */ | ||
485 | -281, 672, /* 174 */ | ||
486 | 441, -553, /* 175 */ | ||
487 | 471, 55, /* 176 */ | ||
488 | -152, -225, /* 177 */ | ||
489 | 269, 1351, /* 178 */ | ||
490 | -468, 323, /* 179 */ | ||
491 | -1262, 263, /* 180 */ | ||
492 | 725, -537, /* 181 */ | ||
493 | -1126, 206, /* 182 */ | ||
494 | 162, -924, /* 183 */ | ||
495 | -570, 549, /* 184 */ | ||
496 | 1497, -2815, /* 185 */ | ||
497 | 98, -845, /* 186 */ | ||
498 | 1213, 539, /* 187 */ | ||
499 | -774, 417, /* 188 */ | ||
500 | 39, 1639, /* 189 */ | ||
501 | 533, -1209, /* 190 */ | ||
502 | -615, -798, /* 191 */ | ||
503 | -1486, -39, /* 192 */ | ||
504 | 430, -1086, /* 193 */ | ||
505 | -407, 978, /* 194 */ | ||
506 | 189, -210, /* 195 */ | ||
507 | 137, 870, /* 196 */ | ||
508 | -151, 726, /* 197 */ | ||
509 | -157, 766, /* 198 */ | ||
510 | -25, 317, /* 199 */ | ||
511 | -678, 1611, /* 200 */ | ||
512 | 120, 668, /* 201 */ | ||
513 | 894, 1224, /* 202 */ | ||
514 | -1424, 1006, /* 203 */ | ||
515 | -1248, -720, /* 204 */ | ||
516 | -1842, 410, /* 205 */ | ||
517 | 1007, -439, /* 206 */ | ||
518 | 60, 423, /* 207 */ | ||
519 | -304, -542, /* 208 */ | ||
520 | 689, -910, /* 209 */ | ||
521 | 475, 570, /* 210 */ | ||
522 | -1428, 1668, /* 211 */ | ||
523 | 1172, -1310, /* 212 */ | ||
524 | -137, -533, /* 213 */ | ||
525 | -1069, 51, /* 214 */ | ||
526 | -589, 1067, /* 215 */ | ||
527 | -81, 27, /* 216 */ | ||
528 | -575, -401, /* 217 */ | ||
529 | 624, 508, /* 218 */ | ||
530 | 922, 136, /* 219 */ | ||
531 | -150, -1023, /* 220 */ | ||
532 | -495, -1084, /* 221 */ | ||
533 | 296, -791, /* 222 */ | ||
534 | 731, -797, /* 223 */ | ||
535 | 1700, 1376, /* 224 */ | ||
536 | -1045, -957, /* 225 */ | ||
537 | 996, -509, /* 226 */ | ||
538 | 282, -660, /* 227 */ | ||
539 | -563, -395, /* 228 */ | ||
540 | 329, -768, /* 229 */ | ||
541 | 200, -984, /* 230 */ | ||
542 | 2106, -368, /* 231 */ | ||
543 | -161, 787, /* 232 */ | ||
544 | -1592, -1914, /* 233 */ | ||
545 | -500, 54, /* 234 */ | ||
546 | -273, 523, /* 235 */ | ||
547 | -830, 878, /* 236 */ | ||
548 | -835, -2365, /* 237 */ | ||
549 | 486, 62, /* 238 */ | ||
550 | 33, -726, /* 239 */ | ||
551 | 778, 475, /* 240 */ | ||
552 | 706, -416, /* 241 */ | ||
553 | -1409, 1529, /* 242 */ | ||
554 | -148, 810, /* 243 */ | ||
555 | -1027, 774, /* 244 */ | ||
556 | -1546, 555, /* 245 */ | ||
557 | 77, -4, /* 246 */ | ||
558 | 1055, 468, /* 247 */ | ||
559 | -1613, -2694, /* 248 */ | ||
560 | 68, -576, /* 249 */ | ||
561 | 600, 701, /* 250 */ | ||
562 | 950, 701, /* 251 */ | ||
563 | 1539, 1419, /* 252 */ | ||
564 | -216, -1467, /* 253 */ | ||
565 | 260, -1274, /* 254 */ | ||
566 | 515, 950, /* 255 */ | ||
567 | }; | ||
568 | |||
569 | DATA error; | ||
570 | |||
diff --git a/dsplib_benchmarks/cfft1/t7_NOSCALE.h b/dsplib_benchmarks/cfft1/t7_NOSCALE.h new file mode 100644 index 0000000..9c56e2c --- /dev/null +++ b/dsplib_benchmarks/cfft1/t7_NOSCALE.h | |||
@@ -0,0 +1,1081 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 512 | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 520 | ||
39 | #pragma DATA_SECTION (x_br,".input") | ||
40 | #pragma DATA_ALIGN (x_br, 2048) | ||
41 | DATA x_br[2*NX] ; | ||
42 | |||
43 | #pragma DATA_SECTION (scratch,".input") | ||
44 | #pragma DATA_ALIGN (scratch, 2048) | ||
45 | DATA scratch[2*NX] ; | ||
46 | #pragma DATA_SECTION (x,".input") | ||
47 | |||
48 | DATA x[2*NX] ={ | ||
49 | 40, -86, /* 0 */ | ||
50 | 62, 84, /* 1 */ | ||
51 | -40, 36, /* 2 */ | ||
52 | 98, -46, /* 3 */ | ||
53 | -40, -122, /* 4 */ | ||
54 | -113, -38, /* 5 */ | ||
55 | 55, 62, /* 6 */ | ||
56 | 117, -52, /* 7 */ | ||
57 | -88, -82, /* 8 */ | ||
58 | -22, -22, /* 9 */ | ||
59 | -104, 94, /* 10 */ | ||
60 | -13, 31, /* 11 */ | ||
61 | 94, -114, /* 12 */ | ||
62 | -28, -25, /* 13 */ | ||
63 | -64, -51, /* 14 */ | ||
64 | -38, -89, /* 15 */ | ||
65 | 62, -49, /* 16 */ | ||
66 | 38, -128, /* 17 */ | ||
67 | 112, -17, /* 18 */ | ||
68 | 85, 45, /* 19 */ | ||
69 | -8, 82, /* 20 */ | ||
70 | 33, 65, /* 21 */ | ||
71 | -114, -87, /* 22 */ | ||
72 | 10, 13, /* 23 */ | ||
73 | -12, 6, /* 24 */ | ||
74 | 92, 107, /* 25 */ | ||
75 | 90, -15, /* 26 */ | ||
76 | -8, -117, /* 27 */ | ||
77 | 73, 118, /* 28 */ | ||
78 | 39, -125, /* 29 */ | ||
79 | -128, 13, /* 30 */ | ||
80 | -95, 111, /* 31 */ | ||
81 | -2, 102, /* 32 */ | ||
82 | -119, 30, /* 33 */ | ||
83 | -70, 51, /* 34 */ | ||
84 | -45, 112, /* 35 */ | ||
85 | 102, -13, /* 36 */ | ||
86 | -48, -83, /* 37 */ | ||
87 | -64, 29, /* 38 */ | ||
88 | -18, 4, /* 39 */ | ||
89 | 87, -35, /* 40 */ | ||
90 | -81, 69, /* 41 */ | ||
91 | 2, 84, /* 42 */ | ||
92 | -13, -47, /* 43 */ | ||
93 | -45, 24, /* 44 */ | ||
94 | -31, 72, /* 45 */ | ||
95 | 98, -120, /* 46 */ | ||
96 | 66, 91, /* 47 */ | ||
97 | 98, 46, /* 48 */ | ||
98 | -11, 77, /* 49 */ | ||
99 | 76, 106, /* 50 */ | ||
100 | -94, -29, /* 51 */ | ||
101 | -112, -8, /* 52 */ | ||
102 | -32, -106, /* 53 */ | ||
103 | -33, 108, /* 54 */ | ||
104 | -5, 45, /* 55 */ | ||
105 | 120, 36, /* 56 */ | ||
106 | -41, 126, /* 57 */ | ||
107 | -64, -1, /* 58 */ | ||
108 | 21, -18, /* 59 */ | ||
109 | 6, 84, /* 60 */ | ||
110 | -87, -99, /* 61 */ | ||
111 | -4, 25, /* 62 */ | ||
112 | -2, -72, /* 63 */ | ||
113 | 87, -26, /* 64 */ | ||
114 | 78, -51, /* 65 */ | ||
115 | 91, 34, /* 66 */ | ||
116 | 28, 113, /* 67 */ | ||
117 | 16, -127, /* 68 */ | ||
118 | 28, 81, /* 69 */ | ||
119 | -102, 48, /* 70 */ | ||
120 | -88, 123, /* 71 */ | ||
121 | -23, -111, /* 72 */ | ||
122 | 15, -117, /* 73 */ | ||
123 | -60, 61, /* 74 */ | ||
124 | 72, 81, /* 75 */ | ||
125 | -29, -62, /* 76 */ | ||
126 | -121, 52, /* 77 */ | ||
127 | 21, -53, /* 78 */ | ||
128 | 14, -107, /* 79 */ | ||
129 | -77, 96, /* 80 */ | ||
130 | -106, -109, /* 81 */ | ||
131 | 110, 61, /* 82 */ | ||
132 | -62, -96, /* 83 */ | ||
133 | -76, -15, /* 84 */ | ||
134 | -116, 23, /* 85 */ | ||
135 | 27, 34, /* 86 */ | ||
136 | 11, 8, /* 87 */ | ||
137 | -104, -75, /* 88 */ | ||
138 | 35, 44, /* 89 */ | ||
139 | -15, -67, /* 90 */ | ||
140 | -111, 56, /* 91 */ | ||
141 | -33, -26, /* 92 */ | ||
142 | -65, -28, /* 93 */ | ||
143 | 108, -23, /* 94 */ | ||
144 | 33, -90, /* 95 */ | ||
145 | 96, 96, /* 96 */ | ||
146 | 36, -123, /* 97 */ | ||
147 | 76, 108, /* 98 */ | ||
148 | -17, 33, /* 99 */ | ||
149 | 123, -111, /* 100 */ | ||
150 | -104, 33, /* 101 */ | ||
151 | 7, 64, /* 102 */ | ||
152 | 11, 69, /* 103 */ | ||
153 | -56, 78, /* 104 */ | ||
154 | -34, 11, /* 105 */ | ||
155 | -112, -4, /* 106 */ | ||
156 | 11, -16, /* 107 */ | ||
157 | 86, 32, /* 108 */ | ||
158 | -91, -109, /* 109 */ | ||
159 | -85, 11, /* 110 */ | ||
160 | -111, -75, /* 111 */ | ||
161 | 82, -59, /* 112 */ | ||
162 | -94, -54, /* 113 */ | ||
163 | 98, 82, /* 114 */ | ||
164 | 3, -23, /* 115 */ | ||
165 | 118, 6, /* 116 */ | ||
166 | -98, 107, /* 117 */ | ||
167 | -116, -31, /* 118 */ | ||
168 | -31, 35, /* 119 */ | ||
169 | -23, -84, /* 120 */ | ||
170 | -26, 73, /* 121 */ | ||
171 | -21, -35, /* 122 */ | ||
172 | -32, 70, /* 123 */ | ||
173 | 104, -41, /* 124 */ | ||
174 | 43, 70, /* 125 */ | ||
175 | 118, -91, /* 126 */ | ||
176 | -87, -91, /* 127 */ | ||
177 | 63, 35, /* 128 */ | ||
178 | -33, -105, /* 129 */ | ||
179 | -12, 109, /* 130 */ | ||
180 | -119, -4, /* 131 */ | ||
181 | 15, -87, /* 132 */ | ||
182 | -33, -58, /* 133 */ | ||
183 | 74, -95, /* 134 */ | ||
184 | 75, -123, /* 135 */ | ||
185 | -30, -69, /* 136 */ | ||
186 | -64, 88, /* 137 */ | ||
187 | -41, 57, /* 138 */ | ||
188 | 119, 49, /* 139 */ | ||
189 | -6, -30, /* 140 */ | ||
190 | -34, -6, /* 141 */ | ||
191 | 67, 119, /* 142 */ | ||
192 | -32, 72, /* 143 */ | ||
193 | 102, -24, /* 144 */ | ||
194 | -82, 117, /* 145 */ | ||
195 | -34, -78, /* 146 */ | ||
196 | 106, 7, /* 147 */ | ||
197 | 4, 1, /* 148 */ | ||
198 | -105, -5, /* 149 */ | ||
199 | 60, -32, /* 150 */ | ||
200 | -127, 5, /* 151 */ | ||
201 | 26, 80, /* 152 */ | ||
202 | 116, -75, /* 153 */ | ||
203 | -27, -29, /* 154 */ | ||
204 | 59, -117, /* 155 */ | ||
205 | 47, -50, /* 156 */ | ||
206 | 122, 80, /* 157 */ | ||
207 | -76, 46, /* 158 */ | ||
208 | 23, 97, /* 159 */ | ||
209 | 115, -108, /* 160 */ | ||
210 | -62, -2, /* 161 */ | ||
211 | 3, -18, /* 162 */ | ||
212 | 34, -40, /* 163 */ | ||
213 | -26, 105, /* 164 */ | ||
214 | -4, -87, /* 165 */ | ||
215 | 64, -29, /* 166 */ | ||
216 | -96, 119, /* 167 */ | ||
217 | -117, -111, /* 168 */ | ||
218 | -34, -47, /* 169 */ | ||
219 | 49, -96, /* 170 */ | ||
220 | 111, -99, /* 171 */ | ||
221 | -6, -86, /* 172 */ | ||
222 | -95, -104, /* 173 */ | ||
223 | -5, 8, /* 174 */ | ||
224 | 114, 67, /* 175 */ | ||
225 | -34, -22, /* 176 */ | ||
226 | -44, 85, /* 177 */ | ||
227 | 69, 78, /* 178 */ | ||
228 | -52, -126, /* 179 */ | ||
229 | -83, 37, /* 180 */ | ||
230 | 48, -100, /* 181 */ | ||
231 | -61, -73, /* 182 */ | ||
232 | -11, 104, /* 183 */ | ||
233 | 87, -91, /* 184 */ | ||
234 | 97, -75, /* 185 */ | ||
235 | 51, 89, /* 186 */ | ||
236 | 65, 54, /* 187 */ | ||
237 | 121, -108, /* 188 */ | ||
238 | -26, 81, /* 189 */ | ||
239 | -95, -39, /* 190 */ | ||
240 | 57, -87, /* 191 */ | ||
241 | 102, 10, /* 192 */ | ||
242 | -85, 108, /* 193 */ | ||
243 | -117, -17, /* 194 */ | ||
244 | -6, 10, /* 195 */ | ||
245 | -104, 50, /* 196 */ | ||
246 | 38, -128, /* 197 */ | ||
247 | 115, 86, /* 198 */ | ||
248 | -11, 99, /* 199 */ | ||
249 | 9, -123, /* 200 */ | ||
250 | -111, -103, /* 201 */ | ||
251 | -2, -33, /* 202 */ | ||
252 | -22, 119, /* 203 */ | ||
253 | -54, 30, /* 204 */ | ||
254 | -54, 43, /* 205 */ | ||
255 | 64, -12, /* 206 */ | ||
256 | -104, 86, /* 207 */ | ||
257 | -109, 82, /* 208 */ | ||
258 | 56, 10, /* 209 */ | ||
259 | 67, -105, /* 210 */ | ||
260 | 40, -53, /* 211 */ | ||
261 | 79, 26, /* 212 */ | ||
262 | -33, -82, /* 213 */ | ||
263 | -50, 59, /* 214 */ | ||
264 | -34, 12, /* 215 */ | ||
265 | 52, -89, /* 216 */ | ||
266 | -85, 108, /* 217 */ | ||
267 | 80, -77, /* 218 */ | ||
268 | -9, -126, /* 219 */ | ||
269 | 56, 48, /* 220 */ | ||
270 | 126, -26, /* 221 */ | ||
271 | -36, -31, /* 222 */ | ||
272 | 59, 103, /* 223 */ | ||
273 | 38, 113, /* 224 */ | ||
274 | 46, -7, /* 225 */ | ||
275 | -127, -124, /* 226 */ | ||
276 | 39, 81, /* 227 */ | ||
277 | 113, -114, /* 228 */ | ||
278 | 28, -105, /* 229 */ | ||
279 | 72, 50, /* 230 */ | ||
280 | -128, -91, /* 231 */ | ||
281 | 76, -114, /* 232 */ | ||
282 | 36, -112, /* 233 */ | ||
283 | -83, 57, /* 234 */ | ||
284 | 7, -120, /* 235 */ | ||
285 | -72, 50, /* 236 */ | ||
286 | 12, -72, /* 237 */ | ||
287 | -114, 32, /* 238 */ | ||
288 | 22, 3, /* 239 */ | ||
289 | -22, 19, /* 240 */ | ||
290 | -81, -55, /* 241 */ | ||
291 | -112, 100, /* 242 */ | ||
292 | -109, -105, /* 243 */ | ||
293 | -49, -54, /* 244 */ | ||
294 | 113, 82, /* 245 */ | ||
295 | 123, 126, /* 246 */ | ||
296 | 14, -111, /* 247 */ | ||
297 | 125, 121, /* 248 */ | ||
298 | 49, 108, /* 249 */ | ||
299 | -67, 117, /* 250 */ | ||
300 | 79, 16, /* 251 */ | ||
301 | 111, 115, /* 252 */ | ||
302 | -96, -47, /* 253 */ | ||
303 | 47, -60, /* 254 */ | ||
304 | -52, -113, /* 255 */ | ||
305 | 37, -43, /* 256 */ | ||
306 | -10, -54, /* 257 */ | ||
307 | 108, -25, /* 258 */ | ||
308 | -67, -120, /* 259 */ | ||
309 | 40, -55, /* 260 */ | ||
310 | -43, -72, /* 261 */ | ||
311 | -6, 16, /* 262 */ | ||
312 | -8, 94, /* 263 */ | ||
313 | 52, -63, /* 264 */ | ||
314 | -67, 23, /* 265 */ | ||
315 | 55, 5, /* 266 */ | ||
316 | 93, -95, /* 267 */ | ||
317 | -23, -128, /* 268 */ | ||
318 | -20, -45, /* 269 */ | ||
319 | 116, -36, /* 270 */ | ||
320 | 97, 126, /* 271 */ | ||
321 | 50, 112, /* 272 */ | ||
322 | -50, -17, /* 273 */ | ||
323 | 84, 111, /* 274 */ | ||
324 | 120, -1, /* 275 */ | ||
325 | -52, 120, /* 276 */ | ||
326 | 127, 117, /* 277 */ | ||
327 | -16, 56, /* 278 */ | ||
328 | -127, 37, /* 279 */ | ||
329 | -54, 92, /* 280 */ | ||
330 | 49, -121, /* 281 */ | ||
331 | -2, -35, /* 282 */ | ||
332 | -107, -104, /* 283 */ | ||
333 | -78, -43, /* 284 */ | ||
334 | 122, -127, /* 285 */ | ||
335 | -35, 80, /* 286 */ | ||
336 | -93, -122, /* 287 */ | ||
337 | -125, -20, /* 288 */ | ||
338 | 36, -120, /* 289 */ | ||
339 | 60, 45, /* 290 */ | ||
340 | -122, -45, /* 291 */ | ||
341 | -102, 15, /* 292 */ | ||
342 | 100, -20, /* 293 */ | ||
343 | 67, -90, /* 294 */ | ||
344 | 21, -112, /* 295 */ | ||
345 | 47, 29, /* 296 */ | ||
346 | 119, 33, /* 297 */ | ||
347 | 12, -83, /* 298 */ | ||
348 | 70, -24, /* 299 */ | ||
349 | 28, 52, /* 300 */ | ||
350 | 125, -18, /* 301 */ | ||
351 | -116, -74, /* 302 */ | ||
352 | 124, 23, /* 303 */ | ||
353 | -76, 86, /* 304 */ | ||
354 | 105, 99, /* 305 */ | ||
355 | 42, 98, /* 306 */ | ||
356 | -10, 118, /* 307 */ | ||
357 | -116, 69, /* 308 */ | ||
358 | -11, -34, /* 309 */ | ||
359 | 76, -111, /* 310 */ | ||
360 | -54, -101, /* 311 */ | ||
361 | 49, 111, /* 312 */ | ||
362 | -62, 2, /* 313 */ | ||
363 | 54, -74, /* 314 */ | ||
364 | 56, -21, /* 315 */ | ||
365 | 59, 84, /* 316 */ | ||
366 | 31, -92, /* 317 */ | ||
367 | 125, -46, /* 318 */ | ||
368 | -89, 81, /* 319 */ | ||
369 | -76, -53, /* 320 */ | ||
370 | 81, -108, /* 321 */ | ||
371 | -114, 109, /* 322 */ | ||
372 | 9, -86, /* 323 */ | ||
373 | -80, -29, /* 324 */ | ||
374 | 25, -4, /* 325 */ | ||
375 | -54, 79, /* 326 */ | ||
376 | -105, -25, /* 327 */ | ||
377 | 1, 75, /* 328 */ | ||
378 | 98, -124, /* 329 */ | ||
379 | 29, 116, /* 330 */ | ||
380 | -117, 90, /* 331 */ | ||
381 | 115, 124, /* 332 */ | ||
382 | -85, -64, /* 333 */ | ||
383 | 83, -5, /* 334 */ | ||
384 | 28, -45, /* 335 */ | ||
385 | 88, -114, /* 336 */ | ||
386 | -99, -54, /* 337 */ | ||
387 | 38, 45, /* 338 */ | ||
388 | -99, 115, /* 339 */ | ||
389 | -7, -118, /* 340 */ | ||
390 | 46, 82, /* 341 */ | ||
391 | -94, -71, /* 342 */ | ||
392 | -10, 127, /* 343 */ | ||
393 | -110, -62, /* 344 */ | ||
394 | 20, -70, /* 345 */ | ||
395 | 16, 6, /* 346 */ | ||
396 | -63, 15, /* 347 */ | ||
397 | -67, 83, /* 348 */ | ||
398 | -124, -55, /* 349 */ | ||
399 | -30, -64, /* 350 */ | ||
400 | 65, -67, /* 351 */ | ||
401 | 19, 13, /* 352 */ | ||
402 | -24, -73, /* 353 */ | ||
403 | -78, 42, /* 354 */ | ||
404 | 3, -49, /* 355 */ | ||
405 | 54, -8, /* 356 */ | ||
406 | 94, 1, /* 357 */ | ||
407 | 61, 48, /* 358 */ | ||
408 | 126, -79, /* 359 */ | ||
409 | 93, -58, /* 360 */ | ||
410 | -4, 109, /* 361 */ | ||
411 | 103, -68, /* 362 */ | ||
412 | -123, -96, /* 363 */ | ||
413 | 35, -23, /* 364 */ | ||
414 | 113, 34, /* 365 */ | ||
415 | -118, -82, /* 366 */ | ||
416 | -55, -25, /* 367 */ | ||
417 | 45, 48, /* 368 */ | ||
418 | 22, -45, /* 369 */ | ||
419 | -112, 108, /* 370 */ | ||
420 | 97, 65, /* 371 */ | ||
421 | -4, -26, /* 372 */ | ||
422 | 100, -78, /* 373 */ | ||
423 | 67, -26, /* 374 */ | ||
424 | 39, -89, /* 375 */ | ||
425 | 120, -112, /* 376 */ | ||
426 | -85, -98, /* 377 */ | ||
427 | -94, -121, /* 378 */ | ||
428 | 65, 93, /* 379 */ | ||
429 | -48, -22, /* 380 */ | ||
430 | -10, 74, /* 381 */ | ||
431 | -42, 80, /* 382 */ | ||
432 | -126, -27, /* 383 */ | ||
433 | -43, 83, /* 384 */ | ||
434 | -65, -42, /* 385 */ | ||
435 | 126, -78, /* 386 */ | ||
436 | 103, 2, /* 387 */ | ||
437 | -39, -75, /* 388 */ | ||
438 | -57, 20, /* 389 */ | ||
439 | -105, 122, /* 390 */ | ||
440 | -67, -9, /* 391 */ | ||
441 | 102, 77, /* 392 */ | ||
442 | -45, -18, /* 393 */ | ||
443 | 18, -67, /* 394 */ | ||
444 | -81, 34, /* 395 */ | ||
445 | 60, -34, /* 396 */ | ||
446 | -100, -18, /* 397 */ | ||
447 | -30, -51, /* 398 */ | ||
448 | 92, -18, /* 399 */ | ||
449 | 91, 48, /* 400 */ | ||
450 | 81, 3, /* 401 */ | ||
451 | -66, 125, /* 402 */ | ||
452 | 101, -81, /* 403 */ | ||
453 | 26, 15, /* 404 */ | ||
454 | -93, -4, /* 405 */ | ||
455 | -87, -27, /* 406 */ | ||
456 | 98, -2, /* 407 */ | ||
457 | 122, 120, /* 408 */ | ||
458 | 25, 83, /* 409 */ | ||
459 | -36, -96, /* 410 */ | ||
460 | -69, 87, /* 411 */ | ||
461 | -13, 74, /* 412 */ | ||
462 | 36, -40, /* 413 */ | ||
463 | -66, 61, /* 414 */ | ||
464 | -9, -113, /* 415 */ | ||
465 | -1, 15, /* 416 */ | ||
466 | -109, 72, /* 417 */ | ||
467 | 68, -92, /* 418 */ | ||
468 | -117, 14, /* 419 */ | ||
469 | -86, -76, /* 420 */ | ||
470 | 70, 92, /* 421 */ | ||
471 | -75, -63, /* 422 */ | ||
472 | -64, -57, /* 423 */ | ||
473 | -27, -55, /* 424 */ | ||
474 | -5, 60, /* 425 */ | ||
475 | 2, -1, /* 426 */ | ||
476 | 31, -114, /* 427 */ | ||
477 | 32, -80, /* 428 */ | ||
478 | 125, 57, /* 429 */ | ||
479 | -37, 121, /* 430 */ | ||
480 | -58, 52, /* 431 */ | ||
481 | 45, 77, /* 432 */ | ||
482 | 2, -76, /* 433 */ | ||
483 | -58, 69, /* 434 */ | ||
484 | 20, 95, /* 435 */ | ||
485 | 82, 78, /* 436 */ | ||
486 | 113, 65, /* 437 */ | ||
487 | -15, 103, /* 438 */ | ||
488 | -20, -21, /* 439 */ | ||
489 | 127, 40, /* 440 */ | ||
490 | 29, -128, /* 441 */ | ||
491 | 113, 123, /* 442 */ | ||
492 | 105, -23, /* 443 */ | ||
493 | 80, -40, /* 444 */ | ||
494 | 48, 43, /* 445 */ | ||
495 | -49, -15, /* 446 */ | ||
496 | 14, 86, /* 447 */ | ||
497 | 35, 7, /* 448 */ | ||
498 | 68, -63, /* 449 */ | ||
499 | -115, -88, /* 450 */ | ||
500 | -99, 14, /* 451 */ | ||
501 | 88, 118, /* 452 */ | ||
502 | -84, 115, /* 453 */ | ||
503 | -119, 60, /* 454 */ | ||
504 | -48, -72, /* 455 */ | ||
505 | 81, -1, /* 456 */ | ||
506 | -68, -127, /* 457 */ | ||
507 | 22, -48, /* 458 */ | ||
508 | 108, 61, /* 459 */ | ||
509 | -44, 74, /* 460 */ | ||
510 | -76, -26, /* 461 */ | ||
511 | -35, -26, /* 462 */ | ||
512 | 121, -64, /* 463 */ | ||
513 | 55, -105, /* 464 */ | ||
514 | 36, 26, /* 465 */ | ||
515 | 72, 85, /* 466 */ | ||
516 | -9, -53, /* 467 */ | ||
517 | -69, -9, /* 468 */ | ||
518 | -47, -117, /* 469 */ | ||
519 | 73, -107, /* 470 */ | ||
520 | 34, 3, /* 471 */ | ||
521 | 40, 55, /* 472 */ | ||
522 | 9, -119, /* 473 */ | ||
523 | 107, 122, /* 474 */ | ||
524 | 71, -1, /* 475 */ | ||
525 | -45, 51, /* 476 */ | ||
526 | 61, 77, /* 477 */ | ||
527 | -16, 4, /* 478 */ | ||
528 | 23, 0, /* 479 */ | ||
529 | -99, 65, /* 480 */ | ||
530 | -47, -68, /* 481 */ | ||
531 | 31, 113, /* 482 */ | ||
532 | 100, -106, /* 483 */ | ||
533 | 118, 11, /* 484 */ | ||
534 | -123, 103, /* 485 */ | ||
535 | -100, 92, /* 486 */ | ||
536 | -25, 33, /* 487 */ | ||
537 | -104, -61, /* 488 */ | ||
538 | -53, -31, /* 489 */ | ||
539 | 45, -42, /* 490 */ | ||
540 | 122, -48, /* 491 */ | ||
541 | -26, 114, /* 492 */ | ||
542 | 82, 9, /* 493 */ | ||
543 | -95, 51, /* 494 */ | ||
544 | 88, 96, /* 495 */ | ||
545 | -69, 124, /* 496 */ | ||
546 | -111, 98, /* 497 */ | ||
547 | -44, -25, /* 498 */ | ||
548 | 19, 32, /* 499 */ | ||
549 | -93, -30, /* 500 */ | ||
550 | 94, 89, /* 501 */ | ||
551 | -44, 6, /* 502 */ | ||
552 | -4, 78, /* 503 */ | ||
553 | -18, -28, /* 504 */ | ||
554 | -62, 118, /* 505 */ | ||
555 | 123, -121, /* 506 */ | ||
556 | 119, 116, /* 507 */ | ||
557 | 114, 54, /* 508 */ | ||
558 | -13, 37, /* 509 */ | ||
559 | -44, -14, /* 510 */ | ||
560 | -127, -84, /* 511 */ | ||
561 | }; | ||
562 | |||
563 | #pragma DATA_SECTION (rtest,".test") | ||
564 | |||
565 | DATA rtest[2*NX] ={ | ||
566 | 905, -445, /* 0 */ | ||
567 | -1211, 2965, /* 1 */ | ||
568 | 802, 1913, /* 2 */ | ||
569 | -16, 223, /* 3 */ | ||
570 | 698, -1688, /* 4 */ | ||
571 | -814, 146, /* 5 */ | ||
572 | -1547, -1073, /* 6 */ | ||
573 | -901, -1662, /* 7 */ | ||
574 | -408, 1055, /* 8 */ | ||
575 | -3177, -1185, /* 9 */ | ||
576 | -731, -804, /* 10 */ | ||
577 | -249, -570, /* 11 */ | ||
578 | -596, -4364, /* 12 */ | ||
579 | -805, 591, /* 13 */ | ||
580 | 1727, 175, /* 14 */ | ||
581 | -162, 4858, /* 15 */ | ||
582 | -2344, -24, /* 16 */ | ||
583 | 1091, 267, /* 17 */ | ||
584 | -4647, -92, /* 18 */ | ||
585 | 2398, 51, /* 19 */ | ||
586 | -2014, 2741, /* 20 */ | ||
587 | 1390, 587, /* 21 */ | ||
588 | 181, 620, /* 22 */ | ||
589 | 3966, -3871, /* 23 */ | ||
590 | 966, 1018, /* 24 */ | ||
591 | -342, 841, /* 25 */ | ||
592 | 2112, -317, /* 26 */ | ||
593 | 419, -1334, /* 27 */ | ||
594 | -2649, -811, /* 28 */ | ||
595 | 251, 720, /* 29 */ | ||
596 | 1851, 2107, /* 30 */ | ||
597 | 613, 806, /* 31 */ | ||
598 | 733, 2422, /* 32 */ | ||
599 | 595, -1337, /* 33 */ | ||
600 | -2999, -1166, /* 34 */ | ||
601 | -2860, 2993, /* 35 */ | ||
602 | 1066, -2999, /* 36 */ | ||
603 | 362, 1331, /* 37 */ | ||
604 | -659, -2663, /* 38 */ | ||
605 | -184, 1246, /* 39 */ | ||
606 | -2954, -1521, /* 40 */ | ||
607 | 1419, 554, /* 41 */ | ||
608 | -1210, -3661, /* 42 */ | ||
609 | -4125, 1969, /* 43 */ | ||
610 | -1292, -1055, /* 44 */ | ||
611 | -1318, 671, /* 45 */ | ||
612 | -922, -1091, /* 46 */ | ||
613 | -1249, -48, /* 47 */ | ||
614 | -2148, -1819, /* 48 */ | ||
615 | 1012, -2291, /* 49 */ | ||
616 | 1512, 166, /* 50 */ | ||
617 | -2341, 1085, /* 51 */ | ||
618 | -424, 2071, /* 52 */ | ||
619 | 3937, 2062, /* 53 */ | ||
620 | 4252, -627, /* 54 */ | ||
621 | 1284, 3635, /* 55 */ | ||
622 | 2858, -968, /* 56 */ | ||
623 | -908, 142, /* 57 */ | ||
624 | 34, -153, /* 58 */ | ||
625 | -909, 63, /* 59 */ | ||
626 | -2101, 1500, /* 60 */ | ||
627 | -1789, 212, /* 61 */ | ||
628 | -919, 3202, /* 62 */ | ||
629 | -943, -2756, /* 63 */ | ||
630 | -92, -1680, /* 64 */ | ||
631 | 1171, -2540, /* 65 */ | ||
632 | -723, -2614, /* 66 */ | ||
633 | 1034, -1443, /* 67 */ | ||
634 | -329, 194, /* 68 */ | ||
635 | -298, -1130, /* 69 */ | ||
636 | -1762, -100, /* 70 */ | ||
637 | -3746, -560, /* 71 */ | ||
638 | -637, -2006, /* 72 */ | ||
639 | 166, -5561, /* 73 */ | ||
640 | 2340, 3178, /* 74 */ | ||
641 | 1322, 2760, /* 75 */ | ||
642 | 3249, -1345, /* 76 */ | ||
643 | 50, -203, /* 77 */ | ||
644 | -44, -1035, /* 78 */ | ||
645 | -1189, 2681, /* 79 */ | ||
646 | -1135, 395, /* 80 */ | ||
647 | -410, -1623, /* 81 */ | ||
648 | -1128, -588, /* 82 */ | ||
649 | 507, -469, /* 83 */ | ||
650 | 653, -2404, /* 84 */ | ||
651 | 2667, -482, /* 85 */ | ||
652 | 3373, -4571, /* 86 */ | ||
653 | 3147, 1646, /* 87 */ | ||
654 | 358, -1471, /* 88 */ | ||
655 | 37, -1593, /* 89 */ | ||
656 | 2183, 730, /* 90 */ | ||
657 | -656, -2548, /* 91 */ | ||
658 | 765, -3553, /* 92 */ | ||
659 | 664, -592, /* 93 */ | ||
660 | 1392, 223, /* 94 */ | ||
661 | -50, 177, /* 95 */ | ||
662 | 2529, 364, /* 96 */ | ||
663 | -243, -949, /* 97 */ | ||
664 | -644, 940, /* 98 */ | ||
665 | 2358, -1049, /* 99 */ | ||
666 | -3650, 1441, /* 100 */ | ||
667 | -480, 280, /* 101 */ | ||
668 | 1618, 1700, /* 102 */ | ||
669 | -2289, -376, /* 103 */ | ||
670 | 3122, -116, /* 104 */ | ||
671 | 54, -710, /* 105 */ | ||
672 | -218, -1109, /* 106 */ | ||
673 | -830, -648, /* 107 */ | ||
674 | 1004, -612, /* 108 */ | ||
675 | 518, 1779, /* 109 */ | ||
676 | 638, -582, /* 110 */ | ||
677 | 3250, 1738, /* 111 */ | ||
678 | 1817, -1883, /* 112 */ | ||
679 | -3031, 1142, /* 113 */ | ||
680 | 1573, -435, /* 114 */ | ||
681 | 1147, -1215, /* 115 */ | ||
682 | -3233, 91, /* 116 */ | ||
683 | 2264, -2158, /* 117 */ | ||
684 | 2207, 1685, /* 118 */ | ||
685 | 1083, 806, /* 119 */ | ||
686 | -649, -2629, /* 120 */ | ||
687 | -361, -1400, /* 121 */ | ||
688 | 601, -1706, /* 122 */ | ||
689 | 1326, 2787, /* 123 */ | ||
690 | 3057, 1195, /* 124 */ | ||
691 | -1162, 2243, /* 125 */ | ||
692 | 130, -1514, /* 126 */ | ||
693 | 1559, 727, /* 127 */ | ||
694 | 1370, -151, /* 128 */ | ||
695 | 1505, 2199, /* 129 */ | ||
696 | -1968, 1606, /* 130 */ | ||
697 | -1349, -551, /* 131 */ | ||
698 | 2397, 181, /* 132 */ | ||
699 | -1911, -2147, /* 133 */ | ||
700 | -765, -1422, /* 134 */ | ||
701 | 607, -1493, /* 135 */ | ||
702 | 1261, 1916, /* 136 */ | ||
703 | -298, -1876, /* 137 */ | ||
704 | 650, 3444, /* 138 */ | ||
705 | -3204, -1584, /* 139 */ | ||
706 | -973, 381, /* 140 */ | ||
707 | -2252, -589, /* 141 */ | ||
708 | 3094, -2477, /* 142 */ | ||
709 | -1449, 454, /* 143 */ | ||
710 | -173, -1256, /* 144 */ | ||
711 | 1307, -2935, /* 145 */ | ||
712 | -804, 2107, /* 146 */ | ||
713 | 3903, 588, /* 147 */ | ||
714 | -1679, 540, /* 148 */ | ||
715 | -146, 1467, /* 149 */ | ||
716 | 50, -1206, /* 150 */ | ||
717 | -757, -284, /* 151 */ | ||
718 | -427, 1114, /* 152 */ | ||
719 | 855, 874, /* 153 */ | ||
720 | 710, 2786, /* 154 */ | ||
721 | 1537, -1753, /* 155 */ | ||
722 | 151, 393, /* 156 */ | ||
723 | 66, -471, /* 157 */ | ||
724 | -1378, -2532, /* 158 */ | ||
725 | -1501, -76, /* 159 */ | ||
726 | -2739, 1969, /* 160 */ | ||
727 | 2448, -2367, /* 161 */ | ||
728 | -1302, 3752, /* 162 */ | ||
729 | 5593, 685, /* 163 */ | ||
730 | 554, -1694, /* 164 */ | ||
731 | -150, 576, /* 165 */ | ||
732 | 1284, -678, /* 166 */ | ||
733 | 867, 793, /* 167 */ | ||
734 | -1968, -2561, /* 168 */ | ||
735 | 39, -1174, /* 169 */ | ||
736 | -315, -1704, /* 170 */ | ||
737 | 2071, -1353, /* 171 */ | ||
738 | -723, 637, /* 172 */ | ||
739 | 529, 1081, /* 173 */ | ||
740 | 3425, -3229, /* 174 */ | ||
741 | -1797, -588, /* 175 */ | ||
742 | 1227, -476, /* 176 */ | ||
743 | 19, -762, /* 177 */ | ||
744 | -2219, -1561, /* 178 */ | ||
745 | 33, -2866, /* 179 */ | ||
746 | 184, -1225, /* 180 */ | ||
747 | 1323, 368, /* 181 */ | ||
748 | 2421, -2119, /* 182 */ | ||
749 | -1716, -1394, /* 183 */ | ||
750 | 1334, -1842, /* 184 */ | ||
751 | 3498, -45, /* 185 */ | ||
752 | -2892, -1127, /* 186 */ | ||
753 | 1041, 571, /* 187 */ | ||
754 | 1849, 2060, /* 188 */ | ||
755 | 55, 407, /* 189 */ | ||
756 | -921, -2593, /* 190 */ | ||
757 | 2328, 954, /* 191 */ | ||
758 | 832, 897, /* 192 */ | ||
759 | -3416, 2432, /* 193 */ | ||
760 | 662, 334, /* 194 */ | ||
761 | -386, -4265, /* 195 */ | ||
762 | 738, -1277, /* 196 */ | ||
763 | -336, 1659, /* 197 */ | ||
764 | -124, 1296, /* 198 */ | ||
765 | 1579, 1020, /* 199 */ | ||
766 | 1009, 454, /* 200 */ | ||
767 | 704, 1085, /* 201 */ | ||
768 | 360, -2162, /* 202 */ | ||
769 | 2358, -888, /* 203 */ | ||
770 | -722, 2241, /* 204 */ | ||
771 | -1287, 2166, /* 205 */ | ||
772 | -823, 517, /* 206 */ | ||
773 | -8, -392, /* 207 */ | ||
774 | 399, 526, /* 208 */ | ||
775 | 695, 1859, /* 209 */ | ||
776 | -1235, -2313, /* 210 */ | ||
777 | -1559, -4968, /* 211 */ | ||
778 | 750, -223, /* 212 */ | ||
779 | 66, 1627, /* 213 */ | ||
780 | -1990, -824, /* 214 */ | ||
781 | -944, -59, /* 215 */ | ||
782 | -13, -1432, /* 216 */ | ||
783 | -650, -1389, /* 217 */ | ||
784 | 2546, -176, /* 218 */ | ||
785 | 1350, 2771, /* 219 */ | ||
786 | 1842, 1559, /* 220 */ | ||
787 | 608, -2972, /* 221 */ | ||
788 | -1070, 1539, /* 222 */ | ||
789 | -828, 2362, /* 223 */ | ||
790 | -421, 2370, /* 224 */ | ||
791 | 3513, -472, /* 225 */ | ||
792 | -115, -3113, /* 226 */ | ||
793 | -1744, -1191, /* 227 */ | ||
794 | -45, 1318, /* 228 */ | ||
795 | -1946, -1828, /* 229 */ | ||
796 | 3228, 373, /* 230 */ | ||
797 | -1598, 1784, /* 231 */ | ||
798 | -2150, -3657, /* 232 */ | ||
799 | 2524, -1254, /* 233 */ | ||
800 | -1799, -948, /* 234 */ | ||
801 | -648, -3870, /* 235 */ | ||
802 | -273, 3288, /* 236 */ | ||
803 | -3283, 1869, /* 237 */ | ||
804 | 341, -756, /* 238 */ | ||
805 | 1137, -863, /* 239 */ | ||
806 | 1121, 604, /* 240 */ | ||
807 | -958, -171, /* 241 */ | ||
808 | 2656, 869, /* 242 */ | ||
809 | -3038, 1145, /* 243 */ | ||
810 | 1157, -1785, /* 244 */ | ||
811 | -1795, 429, /* 245 */ | ||
812 | 1282, -867, /* 246 */ | ||
813 | -280, -2040, /* 247 */ | ||
814 | 1804, 320, /* 248 */ | ||
815 | -4249, -2252, /* 249 */ | ||
816 | -141, 61, /* 250 */ | ||
817 | -895, 630, /* 251 */ | ||
818 | 847, -1468, /* 252 */ | ||
819 | -273, -1730, /* 253 */ | ||
820 | -2702, 2382, /* 254 */ | ||
821 | 1577, 1010, /* 255 */ | ||
822 | 2196, 2835, /* 256 */ | ||
823 | -1520, -3612, /* 257 */ | ||
824 | -991, 668, /* 258 */ | ||
825 | -2703, -2682, /* 259 */ | ||
826 | 52, 298, /* 260 */ | ||
827 | -663, -3017, /* 261 */ | ||
828 | -173, -1278, /* 262 */ | ||
829 | -625, -919, /* 263 */ | ||
830 | 1249, -2405, /* 264 */ | ||
831 | 515, 1555, /* 265 */ | ||
832 | 829, -1304, /* 266 */ | ||
833 | 1862, 635, /* 267 */ | ||
834 | 2308, -2280, /* 268 */ | ||
835 | 3585, 175, /* 269 */ | ||
836 | -1254, 1045, /* 270 */ | ||
837 | 111, -553, /* 271 */ | ||
838 | 903, 36, /* 272 */ | ||
839 | 333, -70, /* 273 */ | ||
840 | 1885, 630, /* 274 */ | ||
841 | -709, 2324, /* 275 */ | ||
842 | 2306, 757, /* 276 */ | ||
843 | 2080, -61, /* 277 */ | ||
844 | -376, -762, /* 278 */ | ||
845 | -1553, 319, /* 279 */ | ||
846 | 938, 2120, /* 280 */ | ||
847 | 738, -1379, /* 281 */ | ||
848 | -302, 3339, /* 282 */ | ||
849 | 1129, 1357, /* 283 */ | ||
850 | 2079, 1722, /* 284 */ | ||
851 | -1541, 462, /* 285 */ | ||
852 | -4518, -490, /* 286 */ | ||
853 | 1366, 2799, /* 287 */ | ||
854 | 284, 1924, /* 288 */ | ||
855 | 115, -1967, /* 289 */ | ||
856 | 510, -2247, /* 290 */ | ||
857 | 1376, 725, /* 291 */ | ||
858 | 315, 635, /* 292 */ | ||
859 | -843, 3600, /* 293 */ | ||
860 | 2428, -199, /* 294 */ | ||
861 | -3391, 304, /* 295 */ | ||
862 | 2533, 31, /* 296 */ | ||
863 | 335, -177, /* 297 */ | ||
864 | 930, -1036, /* 298 */ | ||
865 | -1047, -303, /* 299 */ | ||
866 | 1940, 312, /* 300 */ | ||
867 | 1500, -3228, /* 301 */ | ||
868 | -3035, -1310, /* 302 */ | ||
869 | -2547, -997, /* 303 */ | ||
870 | -2482, 344, /* 304 */ | ||
871 | -346, 1017, /* 305 */ | ||
872 | -801, 1167, /* 306 */ | ||
873 | 1601, 1553, /* 307 */ | ||
874 | -1460, -761, /* 308 */ | ||
875 | -1854, 1977, /* 309 */ | ||
876 | -1165, 743, /* 310 */ | ||
877 | -751, -1512, /* 311 */ | ||
878 | -1274, 1959, /* 312 */ | ||
879 | -2246, 1079, /* 313 */ | ||
880 | 733, 262, /* 314 */ | ||
881 | -2980, -32, /* 315 */ | ||
882 | 674, 2164, /* 316 */ | ||
883 | 1274, -2883, /* 317 */ | ||
884 | -414, -2369, /* 318 */ | ||
885 | -491, -427, /* 319 */ | ||
886 | 3106, -681, /* 320 */ | ||
887 | -624, 386, /* 321 */ | ||
888 | 1656, -1168, /* 322 */ | ||
889 | -1022, -1078, /* 323 */ | ||
890 | -1754, 252, /* 324 */ | ||
891 | -2194, 1682, /* 325 */ | ||
892 | -1013, -168, /* 326 */ | ||
893 | 1539, 1891, /* 327 */ | ||
894 | 2190, 3483, /* 328 */ | ||
895 | -991, -183, /* 329 */ | ||
896 | -2347, -1653, /* 330 */ | ||
897 | 2952, 1022, /* 331 */ | ||
898 | -205, -686, /* 332 */ | ||
899 | 3581, 1502, /* 333 */ | ||
900 | 429, -114, /* 334 */ | ||
901 | 1037, 1651, /* 335 */ | ||
902 | -889, 2478, /* 336 */ | ||
903 | 330, -1455, /* 337 */ | ||
904 | -483, -122, /* 338 */ | ||
905 | -259, 1877, /* 339 */ | ||
906 | -3976, 1747, /* 340 */ | ||
907 | 2087, -1697, /* 341 */ | ||
908 | 155, 50, /* 342 */ | ||
909 | 1216, -2433, /* 343 */ | ||
910 | -2272, -1038, /* 344 */ | ||
911 | 2621, 2600, /* 345 */ | ||
912 | -2322, -2812, /* 346 */ | ||
913 | -824, 1953, /* 347 */ | ||
914 | 4896, -1516, /* 348 */ | ||
915 | -1666, -404, /* 349 */ | ||
916 | 818, 2718, /* 350 */ | ||
917 | 19, 532, /* 351 */ | ||
918 | 1631, -831, /* 352 */ | ||
919 | 1575, 2342, /* 353 */ | ||
920 | -1051, -1373, /* 354 */ | ||
921 | 3389, -1048, /* 355 */ | ||
922 | 632, 1216, /* 356 */ | ||
923 | 2479, -3227, /* 357 */ | ||
924 | 702, -1523, /* 358 */ | ||
925 | -513, 1299, /* 359 */ | ||
926 | -3286, 1388, /* 360 */ | ||
927 | -2453, -568, /* 361 */ | ||
928 | 1366, -331, /* 362 */ | ||
929 | -2280, -74, /* 363 */ | ||
930 | 430, 698, /* 364 */ | ||
931 | 1634, -1446, /* 365 */ | ||
932 | 1548, 1274, /* 366 */ | ||
933 | -950, 3042, /* 367 */ | ||
934 | 3787, 2261, /* 368 */ | ||
935 | 2680, -3368, /* 369 */ | ||
936 | 3030, 608, /* 370 */ | ||
937 | -444, -2524, /* 371 */ | ||
938 | -921, -950, /* 372 */ | ||
939 | -105, -418, /* 373 */ | ||
940 | -656, 12, /* 374 */ | ||
941 | 2057, -1820, /* 375 */ | ||
942 | 2209, -2054, /* 376 */ | ||
943 | -1255, 2556, /* 377 */ | ||
944 | -733, -850, /* 378 */ | ||
945 | -2033, 3706, /* 379 */ | ||
946 | -2714, -1757, /* 380 */ | ||
947 | 610, 1514, /* 381 */ | ||
948 | -2290, 49, /* 382 */ | ||
949 | 2889, -2362, /* 383 */ | ||
950 | 2700, -1832, /* 384 */ | ||
951 | -1857, -2290, /* 385 */ | ||
952 | -136, 1351, /* 386 */ | ||
953 | -314, -2355, /* 387 */ | ||
954 | 814, -755, /* 388 */ | ||
955 | 748, -636, /* 389 */ | ||
956 | -225, -2655, /* 390 */ | ||
957 | -413, 368, /* 391 */ | ||
958 | 84, -2264, /* 392 */ | ||
959 | 1647, 1107, /* 393 */ | ||
960 | -1177, 138, /* 394 */ | ||
961 | -1963, -1106, /* 395 */ | ||
962 | -5244, -451, /* 396 */ | ||
963 | -24, 730, /* 397 */ | ||
964 | 854, -1922, /* 398 */ | ||
965 | 176, 86, /* 399 */ | ||
966 | -2212, 1051, /* 400 */ | ||
967 | -1579, -908, /* 401 */ | ||
968 | -1537, -1625, /* 402 */ | ||
969 | -1591, -1676, /* 403 */ | ||
970 | -690, 1718, /* 404 */ | ||
971 | -845, -890, /* 405 */ | ||
972 | -780, 488, /* 406 */ | ||
973 | -1397, -607, /* 407 */ | ||
974 | -337, 1500, /* 408 */ | ||
975 | 1503, 1731, /* 409 */ | ||
976 | 669, 956, /* 410 */ | ||
977 | -1530, 3940, /* 411 */ | ||
978 | 270, 2723, /* 412 */ | ||
979 | -479, -1690, /* 413 */ | ||
980 | 1029, -343, /* 414 */ | ||
981 | -1357, 898, /* 415 */ | ||
982 | -1088, 1154, /* 416 */ | ||
983 | -372, 118, /* 417 */ | ||
984 | 431, 2723, /* 418 */ | ||
985 | 977, 824, /* 419 */ | ||
986 | -1431, -858, /* 420 */ | ||
987 | -2011, -524, /* 421 */ | ||
988 | 1795, -1356, /* 422 */ | ||
989 | 2317, 281, /* 423 */ | ||
990 | -721, 4253, /* 424 */ | ||
991 | 403, -862, /* 425 */ | ||
992 | -883, 1498, /* 426 */ | ||
993 | 0, 801, /* 427 */ | ||
994 | -825, 328, /* 428 */ | ||
995 | 763, 31, /* 429 */ | ||
996 | -737, 1027, /* 430 */ | ||
997 | 2010, 1066, /* 431 */ | ||
998 | 466, -366, /* 432 */ | ||
999 | -2060, -169, /* 433 */ | ||
1000 | 62, 2018, /* 434 */ | ||
1001 | 1856, 437, /* 435 */ | ||
1002 | -3154, 72, /* 436 */ | ||
1003 | 840, -1117, /* 437 */ | ||
1004 | -588, -834, /* 438 */ | ||
1005 | 3275, -596, /* 439 */ | ||
1006 | -818, 471, /* 440 */ | ||
1007 | -356, -781, /* 441 */ | ||
1008 | 1478, -494, /* 442 */ | ||
1009 | 450, -795, /* 443 */ | ||
1010 | -3197, 435, /* 444 */ | ||
1011 | -2251, 898, /* 445 */ | ||
1012 | -395, -83, /* 446 */ | ||
1013 | -1499, 363, /* 447 */ | ||
1014 | -624, 1790, /* 448 */ | ||
1015 | 938, 1549, /* 449 */ | ||
1016 | -1078, 2018, /* 450 */ | ||
1017 | -721, -1308, /* 451 */ | ||
1018 | 761, 582, /* 452 */ | ||
1019 | -2938, 2074, /* 453 */ | ||
1020 | 0, 175, /* 454 */ | ||
1021 | 538, -1652, /* 455 */ | ||
1022 | -242, -2234, /* 456 */ | ||
1023 | -246, 1837, /* 457 */ | ||
1024 | 2059, 1154, /* 458 */ | ||
1025 | -1003, -2331, /* 459 */ | ||
1026 | 1165, -618, /* 460 */ | ||
1027 | -2188, -907, /* 461 */ | ||
1028 | -2914, 1457, /* 462 */ | ||
1029 | -855, -706, /* 463 */ | ||
1030 | -882, -965, /* 464 */ | ||
1031 | -352, 3292, /* 465 */ | ||
1032 | -748, -507, /* 466 */ | ||
1033 | -337, 652, /* 467 */ | ||
1034 | 1382, 1204, /* 468 */ | ||
1035 | 822, 1253, /* 469 */ | ||
1036 | 121, 345, /* 470 */ | ||
1037 | 982, -1679, /* 471 */ | ||
1038 | 1374, 486, /* 472 */ | ||
1039 | -1353, 1759, /* 473 */ | ||
1040 | -1510, -4518, /* 474 */ | ||
1041 | 1687, 356, /* 475 */ | ||
1042 | 470, -278, /* 476 */ | ||
1043 | -2093, 367, /* 477 */ | ||
1044 | -193, -750, /* 478 */ | ||
1045 | 1369, 766, /* 479 */ | ||
1046 | -1211, -803, /* 480 */ | ||
1047 | 499, -2353, /* 481 */ | ||
1048 | -1476, -780, /* 482 */ | ||
1049 | 1918, 570, /* 483 */ | ||
1050 | -339, 1969, /* 484 */ | ||
1051 | -858, -488, /* 485 */ | ||
1052 | 321, 113, /* 486 */ | ||
1053 | -592, 2810, /* 487 */ | ||
1054 | -196, -4518, /* 488 */ | ||
1055 | 97, -140, /* 489 */ | ||
1056 | 1829, -1811, /* 490 */ | ||
1057 | 702, 273, /* 491 */ | ||
1058 | 2822, -1418, /* 492 */ | ||
1059 | -2338, 1085, /* 493 */ | ||
1060 | -554, -2176, /* 494 */ | ||
1061 | -981, 2765, /* 495 */ | ||
1062 | 1799, -3538, /* 496 */ | ||
1063 | -413, -1619, /* 497 */ | ||
1064 | 2977, -130, /* 498 */ | ||
1065 | -164, 698, /* 499 */ | ||
1066 | -523, 1353, /* 500 */ | ||
1067 | -685, -1525, /* 501 */ | ||
1068 | 3120, 1325, /* 502 */ | ||
1069 | 2128, -1046, /* 503 */ | ||
1070 | 1537, -59, /* 504 */ | ||
1071 | 3060, -417, /* 505 */ | ||
1072 | 892, 254, /* 506 */ | ||
1073 | -1414, 323, /* 507 */ | ||
1074 | -390, 96, /* 508 */ | ||
1075 | 216, -1365, /* 509 */ | ||
1076 | 862, -236, /* 510 */ | ||
1077 | -311, 1419, /* 511 */ | ||
1078 | }; | ||
1079 | |||
1080 | DATA error; | ||
1081 | |||
diff --git a/dsplib_benchmarks/cfft1/t7_SCALE.h b/dsplib_benchmarks/cfft1/t7_SCALE.h new file mode 100644 index 0000000..0b63474 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t7_SCALE.h | |||
@@ -0,0 +1,1082 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 512 | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | #pragma DATA_SECTION (x_br,".input") | ||
41 | #pragma DATA_ALIGN (x_br, 2048) | ||
42 | DATA x_br[2*NX] ; | ||
43 | |||
44 | #pragma DATA_SECTION (scratch,".input") | ||
45 | #pragma DATA_ALIGN (scratch, 2048) | ||
46 | DATA scratch[2*NX] ; | ||
47 | #pragma DATA_SECTION (x,".input") | ||
48 | |||
49 | DATA x[2*NX] ={ | ||
50 | 11550, -9072, /* 0 */ | ||
51 | 7170, -23614, /* 1 */ | ||
52 | 20906, -2976, /* 2 */ | ||
53 | 15820, 8386, /* 3 */ | ||
54 | -1428, 15350, /* 4 */ | ||
55 | 6173, 12162, /* 5 */ | ||
56 | -21003, -16038, /* 6 */ | ||
57 | 2005, 2473, /* 7 */ | ||
58 | -2105, 1192, /* 8 */ | ||
59 | 17260, 19934, /* 9 */ | ||
60 | 16885, -2762, /* 10 */ | ||
61 | -1319, -21639, /* 11 */ | ||
62 | 13639, 22084, /* 12 */ | ||
63 | 7414, -23129, /* 13 */ | ||
64 | -23767, 2473, /* 14 */ | ||
65 | -17530, 20645, /* 15 */ | ||
66 | -244, 18948, /* 16 */ | ||
67 | -21947, 5608, /* 17 */ | ||
68 | -12957, 9503, /* 18 */ | ||
69 | -8182, 20873, /* 19 */ | ||
70 | 18989, -2278, /* 20 */ | ||
71 | -8855, -15371, /* 21 */ | ||
72 | -11805, 5550, /* 22 */ | ||
73 | -3186, 873, /* 23 */ | ||
74 | 16275, -6442, /* 24 */ | ||
75 | -14999, 12992, /* 25 */ | ||
76 | 388, 15605, /* 26 */ | ||
77 | -2271, -8634, /* 27 */ | ||
78 | -8292, 4562, /* 28 */ | ||
79 | -5701, 13396, /* 29 */ | ||
80 | 18372, -22172, /* 30 */ | ||
81 | 12419, 16969, /* 31 */ | ||
82 | 18243, 8680, /* 32 */ | ||
83 | -2025, 14349, /* 33 */ | ||
84 | 14223, 19856, /* 34 */ | ||
85 | -17395, -5319, /* 35 */ | ||
86 | -20664, -1332, /* 36 */ | ||
87 | -5936, -19583, /* 37 */ | ||
88 | -6013, 20208, /* 38 */ | ||
89 | -760, 8484, /* 39 */ | ||
90 | 22316, 6704, /* 40 */ | ||
91 | -7508, 23574, /* 41 */ | ||
92 | -11757, -22, /* 42 */ | ||
93 | 4035, -3326, /* 43 */ | ||
94 | 1126, 15647, /* 44 */ | ||
95 | -16001, -18222, /* 45 */ | ||
96 | -647, 4691, /* 46 */ | ||
97 | -188, -13253, /* 47 */ | ||
98 | 16314, -4817, /* 48 */ | ||
99 | 14555, -9453, /* 49 */ | ||
100 | 17008, 6348, /* 50 */ | ||
101 | 5217, 21153, /* 51 */ | ||
102 | 3124, -23490, /* 52 */ | ||
103 | 5319, 15050, /* 53 */ | ||
104 | -18874, 9074, /* 54 */ | ||
105 | -16243, 22864, /* 55 */ | ||
106 | -4105, -20454, /* 56 */ | ||
107 | 2871, -21632, /* 57 */ | ||
108 | -10997, 11406, /* 58 */ | ||
109 | 13512, 15170, /* 59 */ | ||
110 | -5331, -11369, /* 60 */ | ||
111 | -22296, 9698, /* 61 */ | ||
112 | 4064, -9675, /* 62 */ | ||
113 | 2783, -19857, /* 63 */ | ||
114 | -14229, 17844, /* 64 */ | ||
115 | -19613, -20087, /* 65 */ | ||
116 | 20594, 11455, /* 66 */ | ||
117 | -11439, -17824, /* 67 */ | ||
118 | -14063, -2676, /* 68 */ | ||
119 | -21430, 4396, /* 69 */ | ||
120 | 5046, 6481, /* 70 */ | ||
121 | 2203, 1556, /* 71 */ | ||
122 | -19213, -13847, /* 72 */ | ||
123 | 6512, 8258, /* 73 */ | ||
124 | -2713, -12269, /* 74 */ | ||
125 | -20613, 10483, /* 75 */ | ||
126 | -5976, -4756, /* 76 */ | ||
127 | -11927, -5038, /* 77 */ | ||
128 | 20197, -4207, /* 78 */ | ||
129 | 6156, -16651, /* 79 */ | ||
130 | 17983, 17980, /* 80 */ | ||
131 | 6734, -22735, /* 81 */ | ||
132 | 14184, 20147, /* 82 */ | ||
133 | -3089, 6304, /* 83 */ | ||
134 | 22872, -20588, /* 84 */ | ||
135 | -19208, 6306, /* 85 */ | ||
136 | 1306, 12062, /* 86 */ | ||
137 | 2169, 12819, /* 87 */ | ||
138 | -10252, 14643, /* 88 */ | ||
139 | -6142, 2059, /* 89 */ | ||
140 | -20694, -710, /* 90 */ | ||
141 | 2130, -2795, /* 91 */ | ||
142 | 15990, 6013, /* 92 */ | ||
143 | -16861, -20071, /* 93 */ | ||
144 | -15615, 2094, /* 94 */ | ||
145 | -20534, -13829, /* 95 */ | ||
146 | 15402, -10934, /* 96 */ | ||
147 | -17400, -9903, /* 97 */ | ||
148 | 18291, 15317, /* 98 */ | ||
149 | 700, -4208, /* 99 */ | ||
150 | 22039, 1281, /* 100 */ | ||
151 | -18041, 19975, /* 101 */ | ||
152 | -21474, -5746, /* 102 */ | ||
153 | -5698, 6602, /* 103 */ | ||
154 | -4146, -15510, /* 104 */ | ||
155 | -4688, 13586, /* 105 */ | ||
156 | -3756, -6388, /* 106 */ | ||
157 | -5850, 13165, /* 107 */ | ||
158 | 19363, -7504, /* 108 */ | ||
159 | 8089, 13033, /* 109 */ | ||
160 | 21954, -16742, /* 110 */ | ||
161 | -16022, -16722, /* 111 */ | ||
162 | 11820, 6610, /* 112 */ | ||
163 | -5987, -19330, /* 113 */ | ||
164 | -2176, 20383, /* 114 */ | ||
165 | -21936, -707, /* 115 */ | ||
166 | 2967, -16009, /* 116 */ | ||
167 | -6070, -10633, /* 117 */ | ||
168 | 13918, -17543, /* 118 */ | ||
169 | 14034, -22665, /* 119 */ | ||
170 | -5566, -12774, /* 120 */ | ||
171 | -11752, 16412, /* 121 */ | ||
172 | -7467, 10760, /* 122 */ | ||
173 | 22238, 9254, /* 123 */ | ||
174 | -960, -5557, /* 124 */ | ||
175 | -6260, -959, /* 125 */ | ||
176 | 12576, 22203, /* 126 */ | ||
177 | -5840, 13478, /* 127 */ | ||
178 | 19029, -4291, /* 128 */ | ||
179 | -15049, 21741, /* 129 */ | ||
180 | -6260, -14405, /* 130 */ | ||
181 | 19844, 1394, /* 131 */ | ||
182 | 756, 199, /* 132 */ | ||
183 | -19476, -789, /* 133 */ | ||
184 | 11186, -5818, /* 134 */ | ||
185 | -23545, 937, /* 135 */ | ||
186 | 4902, 15010, /* 136 */ | ||
187 | 21718, -13851, /* 137 */ | ||
188 | -4876, -5287, /* 138 */ | ||
189 | 11007, -21576, /* 139 */ | ||
190 | 8777, -9280, /* 140 */ | ||
191 | 22746, 14919, /* 141 */ | ||
192 | -14082, 8656, /* 142 */ | ||
193 | 4435, 18179, /* 143 */ | ||
194 | 21465, -19881, /* 144 */ | ||
195 | -11396, -246, /* 145 */ | ||
196 | 697, -3312, /* 146 */ | ||
197 | 6480, -7347, /* 147 */ | ||
198 | -4709, 19664, /* 148 */ | ||
199 | -637, -16155, /* 149 */ | ||
200 | 11906, -5331, /* 150 */ | ||
201 | -17770, 22210, /* 151 */ | ||
202 | -21722, -20597, /* 152 */ | ||
203 | -6136, -8713, /* 153 */ | ||
204 | 9189, -17745, /* 154 */ | ||
205 | 20717, -18264, /* 155 */ | ||
206 | -1066, -15956, /* 156 */ | ||
207 | -17632, -19303, /* 157 */ | ||
208 | -769, 1527, /* 158 */ | ||
209 | 21182, 12473, /* 159 */ | ||
210 | -6288, -3923, /* 160 */ | ||
211 | -8154, 15950, /* 161 */ | ||
212 | 12971, 14485, /* 162 */ | ||
213 | -9638, -23333, /* 163 */ | ||
214 | -15314, 6879, /* 164 */ | ||
215 | 9070, -18428, /* 165 */ | ||
216 | -11222, -13515, /* 166 */ | ||
217 | -2009, 19456, /* 167 */ | ||
218 | 16338, -16891, /* 168 */ | ||
219 | 18135, -13906, /* 169 */ | ||
220 | 9508, 16668, /* 170 */ | ||
221 | 12154, 10130, /* 171 */ | ||
222 | 22557, -19946, /* 172 */ | ||
223 | -4652, 15150, /* 173 */ | ||
224 | -17528, -7181, /* 174 */ | ||
225 | 10683, -16042, /* 175 */ | ||
226 | 18991, 1889, /* 176 */ | ||
227 | -15654, 20123, /* 177 */ | ||
228 | -21724, -2989, /* 178 */ | ||
229 | -991, 1907, /* 179 */ | ||
230 | -19304, 9429, /* 180 */ | ||
231 | 7132, -23671, /* 181 */ | ||
232 | 21499, 16001, /* 182 */ | ||
233 | -2011, 18512, /* 183 */ | ||
234 | 1753, -22830, /* 184 */ | ||
235 | -20608, -19090, /* 185 */ | ||
236 | -292, -5983, /* 186 */ | ||
237 | -3920, 22222, /* 187 */ | ||
238 | -9876, 5684, /* 188 */ | ||
239 | -9999, 8083, /* 189 */ | ||
240 | 12067, -2084, /* 190 */ | ||
241 | -19168, 16069, /* 191 */ | ||
242 | -20113, 15359, /* 192 */ | ||
243 | 10501, 2001, /* 193 */ | ||
244 | 12593, -19377, /* 194 */ | ||
245 | 7508, -9732, /* 195 */ | ||
246 | 14755, 4860, /* 196 */ | ||
247 | -5979, -15077, /* 197 */ | ||
248 | -9212, 11084, /* 198 */ | ||
249 | -6147, 2324, /* 199 */ | ||
250 | 9828, -16346, /* 200 */ | ||
251 | -15765, 20206, /* 201 */ | ||
252 | 14913, -14159, /* 202 */ | ||
253 | -1606, -23367, /* 203 */ | ||
254 | 10566, 8989, /* 204 */ | ||
255 | 23524, -4708, /* 205 */ | ||
256 | -6537, -5725, /* 206 */ | ||
257 | 10972, 19166, /* 207 */ | ||
258 | 7114, 21075, /* 208 */ | ||
259 | 8620, -1237, /* 209 */ | ||
260 | -23407, -22925, /* 210 */ | ||
261 | 7327, 15209, /* 211 */ | ||
262 | 21165, -21041, /* 212 */ | ||
263 | 5384, -19485, /* 213 */ | ||
264 | 13449, 9348, /* 214 */ | ||
265 | -23619, -16774, /* 215 */ | ||
266 | 14116, -21032, /* 216 */ | ||
267 | 6741, -20757, /* 217 */ | ||
268 | -15285, 10592, /* 218 */ | ||
269 | 1397, -22167, /* 219 */ | ||
270 | -13371, 9303, /* 220 */ | ||
271 | 2284, -13255, /* 221 */ | ||
272 | -21001, 5960, /* 222 */ | ||
273 | 4163, 631, /* 223 */ | ||
274 | -3989, 3598, /* 224 */ | ||
275 | -14906, -10114, /* 225 */ | ||
276 | -20731, 18667, /* 226 */ | ||
277 | -20214, -19367, /* 227 */ | ||
278 | -9031, -9865, /* 228 */ | ||
279 | 21110, 15302, /* 229 */ | ||
280 | 22852, 23484, /* 230 */ | ||
281 | 2620, -20545, /* 231 */ | ||
282 | 23223, 22489, /* 232 */ | ||
283 | 9106, 20098, /* 233 */ | ||
284 | -12281, 21806, /* 234 */ | ||
285 | 14727, 3002, /* 235 */ | ||
286 | 20655, 21416, /* 236 */ | ||
287 | -17646, -8642, /* 237 */ | ||
288 | 8881, -11129, /* 238 */ | ||
289 | -9639, -20865, /* 239 */ | ||
290 | 6998, -7950, /* 240 */ | ||
291 | -1723, -9868, /* 241 */ | ||
292 | 20098, -4636, /* 242 */ | ||
293 | -12278, -22147, /* 243 */ | ||
294 | 7613, -10104, /* 244 */ | ||
295 | -7973, -13329, /* 245 */ | ||
296 | -1106, 3134, /* 246 */ | ||
297 | -1485, 17593, /* 247 */ | ||
298 | 9789, -11648, /* 248 */ | ||
299 | -12363, 4364, /* 249 */ | ||
300 | 10325, 1078, /* 250 */ | ||
301 | 17360, -17630, /* 251 */ | ||
302 | -4232, -23590, /* 252 */ | ||
303 | -3576, -8281, /* 253 */ | ||
304 | 21595, -6619, /* 254 */ | ||
305 | 18131, 23485, /* 255 */ | ||
306 | 9440, 20914, /* 256 */ | ||
307 | -9251, -3131, /* 257 */ | ||
308 | 15655, 20702, /* 258 */ | ||
309 | 22371, -151, /* 259 */ | ||
310 | -9503, 22393, /* 260 */ | ||
311 | 23676, 21756, /* 261 */ | ||
312 | -2817, 10492, /* 262 */ | ||
313 | -23473, 7033, /* 263 */ | ||
314 | -9893, 17236, /* 264 */ | ||
315 | 9121, -22300, /* 265 */ | ||
316 | -340, -6376, /* 266 */ | ||
317 | -19801, -19309, /* 267 */ | ||
318 | -14462, -7861, /* 268 */ | ||
319 | 22703, -23421, /* 269 */ | ||
320 | -6361, 14999, /* 270 */ | ||
321 | -17141, -22580, /* 271 */ | ||
322 | -23068, -3604, /* 272 */ | ||
323 | 6685, -22162, /* 273 */ | ||
324 | 11300, 8399, /* 274 */ | ||
325 | -22497, -8179, /* 275 */ | ||
326 | -18913, 2855, /* 276 */ | ||
327 | 18697, -3575, /* 277 */ | ||
328 | 12543, -16634, /* 278 */ | ||
329 | 3929, -20709, /* 279 */ | ||
330 | 8814, 5535, /* 280 */ | ||
331 | 22206, 6132, /* 281 */ | ||
332 | 2393, -15372, /* 282 */ | ||
333 | 13177, -4378, /* 283 */ | ||
334 | 5245, 9799, /* 284 */ | ||
335 | 23226, -3338, /* 285 */ | ||
336 | -21475, -13742, /* 286 */ | ||
337 | 23074, 4325, /* 287 */ | ||
338 | -14037, 16029, /* 288 */ | ||
339 | 19607, 18458, /* 289 */ | ||
340 | 7869, 18330, /* 290 */ | ||
341 | -1792, 22005, /* 291 */ | ||
342 | -21471, 12817, /* 292 */ | ||
343 | -1881, -6278, /* 293 */ | ||
344 | 14258, -20530, /* 294 */ | ||
345 | -10010, -18592, /* 295 */ | ||
346 | 9274, 20765, /* 296 */ | ||
347 | -11444, 525, /* 297 */ | ||
348 | 10136, -13726, /* 298 */ | ||
349 | 10475, -3751, /* 299 */ | ||
350 | 11089, 15665, /* 300 */ | ||
351 | 5815, -16996, /* 301 */ | ||
352 | 23282, -8480, /* 302 */ | ||
353 | -16525, 15112, /* 303 */ | ||
354 | -14104, -9822, /* 304 */ | ||
355 | 15179, -19968, /* 305 */ | ||
356 | -20991, 20360, /* 306 */ | ||
357 | 1830, -15841, /* 307 */ | ||
358 | -14730, -5383, /* 308 */ | ||
359 | 4729, -666, /* 309 */ | ||
360 | -9876, 14778, /* 310 */ | ||
361 | -19430, -4483, /* 311 */ | ||
362 | 321, 14024, /* 312 */ | ||
363 | 18260, -22848, /* 313 */ | ||
364 | 5493, 21708, /* 314 */ | ||
365 | -21564, 16871, /* 315 */ | ||
366 | 21483, 23117, /* 316 */ | ||
367 | -15734, -11852, /* 317 */ | ||
368 | 15529, -832, /* 318 */ | ||
369 | 5294, -8338, /* 319 */ | ||
370 | 16509, -21040, /* 320 */ | ||
371 | -18344, -9937, /* 321 */ | ||
372 | 7093, 8370, /* 322 */ | ||
373 | -18311, 21494, /* 323 */ | ||
374 | -1264, -21855, /* 324 */ | ||
375 | 8707, 15288, /* 325 */ | ||
376 | -17432, -13139, /* 326 */ | ||
377 | -1708, 23754, /* 327 */ | ||
378 | -20382, -11384, /* 328 */ | ||
379 | 3860, -12822, /* 329 */ | ||
380 | 3136, 1192, /* 330 */ | ||
381 | -11635, 2884, /* 331 */ | ||
382 | -12432, 15498, /* 332 */ | ||
383 | -23011, -10056, /* 333 */ | ||
384 | -5479, -11756, /* 334 */ | ||
385 | 12231, -12348, /* 335 */ | ||
386 | 3572, 2447, /* 336 */ | ||
387 | -4370, -13533, /* 337 */ | ||
388 | -14466, 7867, /* 338 */ | ||
389 | 578, -9087, /* 339 */ | ||
390 | 10141, -1437, /* 340 */ | ||
391 | 17464, 275, /* 341 */ | ||
392 | 11494, 8955, /* 342 */ | ||
393 | 23522, -14601, /* 343 */ | ||
394 | 17434, -10765, /* 344 */ | ||
395 | -675, 20266, /* 345 */ | ||
396 | 19171, -12610, /* 346 */ | ||
397 | -22803, -17685, /* 347 */ | ||
398 | 6502, -4154, /* 348 */ | ||
399 | 21109, 6404, /* 349 */ | ||
400 | -21831, -15139, /* 350 */ | ||
401 | -10189, -4601, /* 351 */ | ||
402 | 8426, 8973, /* 352 */ | ||
403 | 4096, -8277, /* 353 */ | ||
404 | -20681, 20121, /* 354 */ | ||
405 | 18026, 12223, /* 355 */ | ||
406 | -575, -4701, /* 356 */ | ||
407 | 18609, -14447, /* 357 */ | ||
408 | 12468, -4741, /* 358 */ | ||
409 | 7382, -16426, /* 359 */ | ||
410 | 22412, -20700, /* 360 */ | ||
411 | -15634, -18048, /* 361 */ | ||
412 | -17306, -22374, /* 362 */ | ||
413 | 12131, 17359, /* 363 */ | ||
414 | -8880, -4079, /* 364 */ | ||
415 | -1747, 13877, /* 365 */ | ||
416 | -7633, 15040, /* 366 */ | ||
417 | -23312, -4977, /* 367 */ | ||
418 | -7901, 15494, /* 368 */ | ||
419 | -12036, -7719, /* 369 */ | ||
420 | 23486, -14387, /* 370 */ | ||
421 | 19279, 478, /* 371 */ | ||
422 | -7142, -13792, /* 372 */ | ||
423 | -10548, 3802, /* 373 */ | ||
424 | -19352, 22780, /* 374 */ | ||
425 | -12335, -1563, /* 375 */ | ||
426 | 19093, 14361, /* 376 */ | ||
427 | -8355, -3188, /* 377 */ | ||
428 | 3456, -12304, /* 378 */ | ||
429 | -14972, 6399, /* 379 */ | ||
430 | 11309, -6314, /* 380 */ | ||
431 | -18456, -3259, /* 381 */ | ||
432 | -5527, -9417, /* 382 */ | ||
433 | 17225, -3225, /* 383 */ | ||
434 | 16974, 9056, /* 384 */ | ||
435 | 15181, 584, /* 385 */ | ||
436 | -12089, 23358, /* 386 */ | ||
437 | 18900, -15019, /* 387 */ | ||
438 | 4949, 2803, /* 388 */ | ||
439 | -17127, -616, /* 389 */ | ||
440 | -16101, -4874, /* 390 */ | ||
441 | 18213, -340, /* 391 */ | ||
442 | 22750, 22287, /* 392 */ | ||
443 | 4816, 15546, /* 393 */ | ||
444 | -6570, -17666, /* 394 */ | ||
445 | -12769, 16270, /* 395 */ | ||
446 | -2390, 13760, /* 396 */ | ||
447 | 6802, -7377, /* 397 */ | ||
448 | -12112, 11337, /* 398 */ | ||
449 | -1521, -20940, /* 399 */ | ||
450 | -123, 2787, /* 400 */ | ||
451 | -20205, 13439, /* 401 */ | ||
452 | 12673, -17077, /* 402 */ | ||
453 | -21612, 2740, /* 403 */ | ||
454 | -15920, -14003, /* 404 */ | ||
455 | 13177, 17136, /* 405 */ | ||
456 | -13865, -11535, /* 406 */ | ||
457 | -11800, -10571, /* 407 */ | ||
458 | -4919, -10070, /* 408 */ | ||
459 | -919, 11160, /* 409 */ | ||
460 | 441, -143, /* 410 */ | ||
461 | 5932, -21170, /* 411 */ | ||
462 | 5968, -14676, /* 412 */ | ||
463 | 23348, 10675, /* 413 */ | ||
464 | -6693, 22516, /* 414 */ | ||
465 | -10649, 9720, /* 415 */ | ||
466 | 8467, 14333, /* 416 */ | ||
467 | 416, -13965, /* 417 */ | ||
468 | -10608, 12961, /* 418 */ | ||
469 | 3747, 17717, /* 419 */ | ||
470 | 15346, 14612, /* 420 */ | ||
471 | 20985, 12199, /* 421 */ | ||
472 | -2647, 19234, /* 422 */ | ||
473 | -3650, -3756, /* 423 */ | ||
474 | 23587, 7529, /* 424 */ | ||
475 | 5424, -23707, /* 425 */ | ||
476 | 21109, 22912, /* 426 */ | ||
477 | 19589, -4169, /* 427 */ | ||
478 | 14973, -7245, /* 428 */ | ||
479 | 9014, 7994, /* 429 */ | ||
480 | -9097, -2678, /* 430 */ | ||
481 | 2766, 16156, /* 431 */ | ||
482 | 6501, 1403, /* 432 */ | ||
483 | 12791, -11545, /* 433 */ | ||
484 | -21201, -16339, /* 434 */ | ||
485 | -18310, 2748, /* 435 */ | ||
486 | 16447, 21928, /* 436 */ | ||
487 | -15574, 21452, /* 437 */ | ||
488 | -22011, 11164, /* 438 */ | ||
489 | -8911, -13189, /* 439 */ | ||
490 | 15082, -161, /* 440 */ | ||
491 | -12615, -23435, /* 441 */ | ||
492 | 4156, -8738, /* 442 */ | ||
493 | 20164, 11333, /* 443 */ | ||
494 | -8079, 13801, /* 444 */ | ||
495 | -13998, -4741, /* 445 */ | ||
496 | -6442, -4760, /* 446 */ | ||
497 | 22614, -11804, /* 447 */ | ||
498 | 10310, -19400, /* 448 */ | ||
499 | 6812, 4858, /* 449 */ | ||
500 | 13432, 15803, /* 450 */ | ||
501 | -1594, -9818, /* 451 */ | ||
502 | -12727, -1639, /* 452 */ | ||
503 | -8658, -21605, /* 453 */ | ||
504 | 13728, -19694, /* 454 */ | ||
505 | 6391, 624, /* 455 */ | ||
506 | 7595, 10240, /* 456 */ | ||
507 | 1786, -22085, /* 457 */ | ||
508 | 19928, 22797, /* 458 */ | ||
509 | 13334, -122, /* 459 */ | ||
510 | -8238, 9542, /* 460 */ | ||
511 | 11349, 14409, /* 461 */ | ||
512 | -2960, 792, /* 462 */ | ||
513 | 4363, 128, /* 463 */ | ||
514 | -18326, 12109, /* 464 */ | ||
515 | -8597, -12450, /* 465 */ | ||
516 | 5792, 21062, /* 466 */ | ||
517 | 18755, -19556, /* 467 */ | ||
518 | 22037, 2044, /* 468 */ | ||
519 | -22815, 19178, /* 469 */ | ||
520 | -18509, 17176, /* 470 */ | ||
521 | -4611, 6250, /* 471 */ | ||
522 | -19149, -11297, /* 472 */ | ||
523 | -9838, -5752, /* 473 */ | ||
524 | 8495, -7734, /* 474 */ | ||
525 | 22807, -8814, /* 475 */ | ||
526 | -4781, 21254, /* 476 */ | ||
527 | 15253, 1671, /* 477 */ | ||
528 | -17512, 9600, /* 478 */ | ||
529 | 16395, 17828, /* 479 */ | ||
530 | -12706, 23114, /* 480 */ | ||
531 | -20577, 18316, /* 481 */ | ||
532 | -8013, -4524, /* 482 */ | ||
533 | 3576, 6044, /* 483 */ | ||
534 | -17265, -5446, /* 484 */ | ||
535 | 17484, 16536, /* 485 */ | ||
536 | -8117, 1276, /* 486 */ | ||
537 | -571, 14613, /* 487 */ | ||
538 | -3255, -5063, /* 488 */ | ||
539 | -11384, 21949, /* 489 */ | ||
540 | 22960, -22337, /* 490 */ | ||
541 | 22137, 21569, /* 491 */ | ||
542 | 21321, 10191, /* 492 */ | ||
543 | -2295, 6966, /* 493 */ | ||
544 | -8001, -2537, /* 494 */ | ||
545 | -23400, -15468, /* 495 */ | ||
546 | -15886, 15936, /* 496 */ | ||
547 | 15600, 22346, /* 497 */ | ||
548 | 6816, -17353, /* 498 */ | ||
549 | -8449, -11838, /* 499 */ | ||
550 | -22516, 19490, /* 500 */ | ||
551 | -6872, 8388, /* 501 */ | ||
552 | 11593, 5854, /* 502 */ | ||
553 | -9571, 580, /* 503 */ | ||
554 | -15154, -23604, /* 504 */ | ||
555 | -4032, -12983, /* 505 */ | ||
556 | 17462, 22744, /* 506 */ | ||
557 | 5939, 17172, /* 507 */ | ||
558 | -21145, -23085, /* 508 */ | ||
559 | -4560, -677, /* 509 */ | ||
560 | -9415, -3974, /* 510 */ | ||
561 | -16528, 12973, /* 511 */ | ||
562 | }; | ||
563 | |||
564 | #pragma DATA_SECTION (rtest,".test") | ||
565 | |||
566 | DATA rtest[2*NX] ={ | ||
567 | 206, 51, /* 0 */ | ||
568 | -784, 1164, /* 1 */ | ||
569 | -158, 927, /* 2 */ | ||
570 | -225, 216, /* 3 */ | ||
571 | 426, -126, /* 4 */ | ||
572 | -400, -114, /* 5 */ | ||
573 | -49, -591, /* 6 */ | ||
574 | 336, -387, /* 7 */ | ||
575 | -568, -121, /* 8 */ | ||
576 | 471, -1043, /* 9 */ | ||
577 | 209, -149, /* 10 */ | ||
578 | 77, 6, /* 11 */ | ||
579 | 1146, 919, /* 12 */ | ||
580 | 18, -397, /* 13 */ | ||
581 | -688, 118, /* 14 */ | ||
582 | -350, -1805, /* 15 */ | ||
583 | 808, -55, /* 16 */ | ||
584 | -391, -231, /* 17 */ | ||
585 | 1541, 626, /* 18 */ | ||
586 | -701, -537, /* 19 */ | ||
587 | 1245, -210, /* 20 */ | ||
588 | -67, -545, /* 21 */ | ||
589 | 225, -136, /* 22 */ | ||
590 | -1611, -1108, /* 23 */ | ||
591 | 416, -304, /* 24 */ | ||
592 | 318, 246, /* 25 */ | ||
593 | 224, -670, /* 26 */ | ||
594 | -290, -299, /* 27 */ | ||
595 | -872, 581, /* 28 */ | ||
596 | 223, 287, /* 29 */ | ||
597 | 900, 578, /* 30 */ | ||
598 | 246, 377, /* 31 */ | ||
599 | 220, 1014, /* 32 */ | ||
600 | 244, -298, /* 33 */ | ||
601 | -922, -675, /* 34 */ | ||
602 | -1559, 453, /* 35 */ | ||
603 | 935, -377, /* 36 */ | ||
604 | -448, 487, /* 37 */ | ||
605 | 671, -492, /* 38 */ | ||
606 | -594, 109, /* 39 */ | ||
607 | 407, -997, /* 40 */ | ||
608 | -446, 527, /* 41 */ | ||
609 | 1244, 152, /* 42 */ | ||
610 | 86, -1604, /* 43 */ | ||
611 | 452, -35, /* 44 */ | ||
612 | 114, -452, /* 45 */ | ||
613 | 315, 244, /* 46 */ | ||
614 | 306, -73, /* 47 */ | ||
615 | 641, 651, /* 48 */ | ||
616 | -656, 728, /* 49 */ | ||
617 | -615, -286, /* 50 */ | ||
618 | 797, 119, /* 51 */ | ||
619 | 514, -452, /* 52 */ | ||
620 | -295, -1637, /* 53 */ | ||
621 | -922, -1376, /* 54 */ | ||
622 | 1081, -757, /* 55 */ | ||
623 | -472, -1085, /* 56 */ | ||
624 | -134, 278, /* 57 */ | ||
625 | -166, -95, /* 58 */ | ||
626 | -282, 216, /* 59 */ | ||
627 | -270, 843, /* 60 */ | ||
628 | -610, 333, /* 61 */ | ||
629 | 28, 1098, /* 62 */ | ||
630 | -633, -1029, /* 63 */ | ||
631 | -127, -737, /* 64 */ | ||
632 | 513, -961, /* 65 */ | ||
633 | 51, -1128, /* 66 */ | ||
634 | 548, -389, /* 67 */ | ||
635 | -170, -206, /* 68 */ | ||
636 | 265, -497, /* 69 */ | ||
637 | -205, -788, /* 70 */ | ||
638 | -36, -1558, /* 71 */ | ||
639 | 782, -416, /* 72 */ | ||
640 | 2047, 273, /* 73 */ | ||
641 | -1283, 172, /* 74 */ | ||
642 | -968, -316, /* 75 */ | ||
643 | -333, 1036, /* 76 */ | ||
644 | 203, -52, /* 77 */ | ||
645 | 356, 241, /* 78 */ | ||
646 | 447, -1111, /* 79 */ | ||
647 | 639, -187, /* 80 */ | ||
648 | 268, 594, /* 81 */ | ||
649 | 538, 374, /* 82 */ | ||
650 | -6, 93, /* 83 */ | ||
651 | -546, 536, /* 84 */ | ||
652 | -454, -588, /* 85 */ | ||
653 | -1785, -345, /* 86 */ | ||
654 | 561, -1056, /* 87 */ | ||
655 | -357, 76, /* 88 */ | ||
656 | -413, 103, /* 89 */ | ||
657 | 672, -382, /* 90 */ | ||
658 | -806, -53, /* 91 */ | ||
659 | -651, -834, /* 92 */ | ||
660 | 113, -33, /* 93 */ | ||
661 | 499, 162, /* 94 */ | ||
662 | -34, 344, /* 95 */ | ||
663 | 860, 403, /* 96 */ | ||
664 | -103, -94, /* 97 */ | ||
665 | -454, 472, /* 98 */ | ||
666 | 794, 389, /* 99 */ | ||
667 | -1451, -354, /* 100 */ | ||
668 | -340, 105, /* 101 */ | ||
669 | -514, 952, /* 102 */ | ||
670 | -203, -687, /* 103 */ | ||
671 | -137, 1268, /* 104 */ | ||
672 | 70, 188, /* 105 */ | ||
673 | 226, 184, /* 106 */ | ||
674 | 191, -29, /* 107 */ | ||
675 | -266, 495, /* 108 */ | ||
676 | -673, -359, /* 109 */ | ||
677 | -285, 352, /* 110 */ | ||
678 | -1424, -322, /* 111 */ | ||
679 | -799, 750, /* 112 */ | ||
680 | 1023, -122, /* 113 */ | ||
681 | -722, 1, /* 114 */ | ||
682 | -727, 215, /* 115 */ | ||
683 | 713, 892, /* 116 */ | ||
684 | -1253, -156, /* 117 */ | ||
685 | 104, -876, /* 118 */ | ||
686 | 44, -341, /* 119 */ | ||
687 | -1134, 339, /* 120 */ | ||
688 | -720, 133, /* 121 */ | ||
689 | -702, -338, /* 122 */ | ||
690 | 875, 255, /* 123 */ | ||
691 | 839, -394, /* 124 */ | ||
692 | -168, 981, /* 125 */ | ||
693 | -454, -472, /* 126 */ | ||
694 | 304, 181, /* 127 */ | ||
695 | 182, -46, /* 128 */ | ||
696 | 55, 871, /* 129 */ | ||
697 | -1213, 219, /* 130 */ | ||
698 | -629, -515, /* 131 */ | ||
699 | 237, 553, /* 132 */ | ||
700 | -62, -1148, /* 133 */ | ||
701 | 57, -623, /* 134 */ | ||
702 | 276, -88, /* 135 */ | ||
703 | -973, 232, /* 136 */ | ||
704 | 434, -223, /* 137 */ | ||
705 | -1473, -531, /* 138 */ | ||
706 | 924, -934, /* 139 */ | ||
707 | -16, -646, /* 140 */ | ||
708 | 663, -583, /* 141 */ | ||
709 | -795, 950, /* 142 */ | ||
710 | 413, -572, /* 143 */ | ||
711 | 24, 155, /* 144 */ | ||
712 | -683, 661, /* 145 */ | ||
713 | 578, -870, /* 146 */ | ||
714 | -1019, -1221, /* 147 */ | ||
715 | 629, 55, /* 148 */ | ||
716 | 547, -466, /* 149 */ | ||
717 | -324, -40, /* 150 */ | ||
718 | 46, 123, /* 151 */ | ||
719 | 500, 12, /* 152 */ | ||
720 | 467, -362, /* 153 */ | ||
721 | 1123, 51, /* 154 */ | ||
722 | -137, -896, /* 155 */ | ||
723 | 211, -1, /* 156 */ | ||
724 | -17, -206, /* 157 */ | ||
725 | -770, -698, /* 158 */ | ||
726 | -512, 44, /* 159 */ | ||
727 | -981, 682, /* 160 */ | ||
728 | 1036, -702, /* 161 */ | ||
729 | -973, 1039, /* 162 */ | ||
730 | 1521, 1288, /* 163 */ | ||
731 | 539, -348, /* 164 */ | ||
732 | -248, 4, /* 165 */ | ||
733 | 357, 257, /* 166 */ | ||
734 | -270, 271, /* 167 */ | ||
735 | 882, -821, /* 168 */ | ||
736 | 374, -23, /* 169 */ | ||
737 | 582, -1, /* 170 */ | ||
738 | -32, 755, /* 171 */ | ||
739 | 13, -500, /* 172 */ | ||
740 | -372, -376, /* 173 */ | ||
741 | -679, 1398, /* 174 */ | ||
742 | 718, -77, /* 175 */ | ||
743 | -391, 16, /* 176 */ | ||
744 | 9, 119, /* 177 */ | ||
745 | 611, 688, /* 178 */ | ||
746 | -490, 726, /* 179 */ | ||
747 | -252, 148, /* 180 */ | ||
748 | -37, -578, /* 181 */ | ||
749 | -921, -606, /* 182 */ | ||
750 | -246, 636, /* 183 */ | ||
751 | -538, -541, /* 184 */ | ||
752 | 360, -1288, /* 185 */ | ||
753 | -654, 787, /* 186 */ | ||
754 | 501, -211, /* 187 */ | ||
755 | 1114, 54, /* 188 */ | ||
756 | 201, 122, /* 189 */ | ||
757 | -576, -722, /* 190 */ | ||
758 | 977, 200, /* 191 */ | ||
759 | 372, 354, /* 192 */ | ||
760 | -1327, 654, /* 193 */ | ||
761 | 226, 234, /* 194 */ | ||
762 | 785, -1335, /* 195 */ | ||
763 | 551, -113, /* 196 */ | ||
764 | -540, 254, /* 197 */ | ||
765 | -427, 155, /* 198 */ | ||
766 | -229, 646, /* 199 */ | ||
767 | -143, 373, /* 200 */ | ||
768 | -413, 177, /* 201 */ | ||
769 | 700, 421, /* 202 */ | ||
770 | -179, 889, /* 203 */ | ||
771 | -356, -761, /* 204 */ | ||
772 | -10, -912, /* 205 */ | ||
773 | 246, -284, /* 206 */ | ||
774 | 77, 148, /* 207 */ | ||
775 | -95, -174, /* 208 */ | ||
776 | -64, -686, /* 209 */ | ||
777 | 145, 981, /* 210 */ | ||
778 | -481, 1857, /* 211 */ | ||
779 | -203, -79, /* 212 */ | ||
780 | 518, -281, /* 213 */ | ||
781 | 32, 858, /* 214 */ | ||
782 | 67, 427, /* 215 */ | ||
783 | -511, 100, /* 216 */ | ||
784 | -546, 235, /* 217 */ | ||
785 | 273, -772, /* 218 */ | ||
786 | 1069, 259, /* 219 */ | ||
787 | 815, 34, /* 220 */ | ||
788 | -491, -916, /* 221 */ | ||
789 | -238, 761, /* 222 */ | ||
790 | -238, 986, /* 223 */ | ||
791 | -279, 934, /* 224 */ | ||
792 | 1142, 140, /* 225 */ | ||
793 | 241, -1017, /* 226 */ | ||
794 | -448, -687, /* 227 */ | ||
795 | -518, 330, /* 228 */ | ||
796 | -13, -973, /* 229 */ | ||
797 | 151, 1095, /* 230 */ | ||
798 | -917, -502, /* 231 */ | ||
799 | 1163, -860, /* 232 */ | ||
800 | 113, 887, /* 233 */ | ||
801 | 424, -588, /* 234 */ | ||
802 | 1169, 452, /* 235 */ | ||
803 | -887, -1058, /* 236 */ | ||
804 | 517, -1380, /* 237 */ | ||
805 | -88, 138, /* 238 */ | ||
806 | -404, 221, /* 239 */ | ||
807 | -448, -388, /* 240 */ | ||
808 | 305, -39, /* 241 */ | ||
809 | -777, -824, /* 242 */ | ||
810 | 1155, 109, /* 243 */ | ||
811 | -732, 11, /* 244 */ | ||
812 | 525, 315, /* 245 */ | ||
813 | -425, -439, /* 246 */ | ||
814 | -655, 126, /* 247 */ | ||
815 | 172, -760, /* 248 */ | ||
816 | -1043, 1258, /* 249 */ | ||
817 | 61, -27, /* 250 */ | ||
818 | 69, 325, /* 251 */ | ||
819 | -103, -657, /* 252 */ | ||
820 | -378, -522, /* 253 */ | ||
821 | -527, 1125, /* 254 */ | ||
822 | 675, 205, /* 255 */ | ||
823 | 833, 989, /* 256 */ | ||
824 | -254, -1430, /* 257 */ | ||
825 | -399, 49, /* 258 */ | ||
826 | -253, -1391, /* 259 */ | ||
827 | -45, 51, /* 260 */ | ||
828 | 791, -849, /* 261 */ | ||
829 | 417, -279, /* 262 */ | ||
830 | 295, -333, /* 263 */ | ||
831 | 885, 404, /* 264 */ | ||
832 | -576, 23, /* 265 */ | ||
833 | 338, 407, /* 266 */ | ||
834 | -548, 381, /* 267 */ | ||
835 | 13, 1124, /* 268 */ | ||
836 | -1093, 618, /* 269 */ | ||
837 | 301, -574, /* 270 */ | ||
838 | 28, 158, /* 271 */ | ||
839 | -298, -56, /* 272 */ | ||
840 | -93, -37, /* 273 */ | ||
841 | -515, -507, /* 274 */ | ||
842 | 710, -587, /* 275 */ | ||
843 | -373, -810, /* 276 */ | ||
844 | -417, -635, /* 277 */ | ||
845 | -188, 215, /* 278 */ | ||
846 | 233, 516, /* 279 */ | ||
847 | 771, -353, /* 280 */ | ||
848 | -444, -373, /* 281 */ | ||
849 | 1064, 550, /* 282 */ | ||
850 | 616, -85, /* 283 */ | ||
851 | 946, -114, /* 284 */ | ||
852 | -407, 421, /* 285 */ | ||
853 | -1624, 426, /* 286 */ | ||
854 | 637, 853, /* 287 */ | ||
855 | 53, 642, /* 288 */ | ||
856 | 128, -758, /* 289 */ | ||
857 | 431, -760, /* 290 */ | ||
858 | 219, 406, /* 291 */ | ||
859 | -128, 143, /* 292 */ | ||
860 | -1296, 360, /* 293 */ | ||
861 | 370, 665, /* 294 */ | ||
862 | -373, -1315, /* 295 */ | ||
863 | -27, 781, /* 296 */ | ||
864 | 35, -12, /* 297 */ | ||
865 | 225, 307, /* 298 */ | ||
866 | 321, -405, /* 299 */ | ||
867 | -548, 266, /* 300 */ | ||
868 | 239, 1125, /* 301 */ | ||
869 | 1251, -131, /* 302 */ | ||
870 | 1038, 29, /* 303 */ | ||
871 | 970, -266, /* 304 */ | ||
872 | 272, -474, /* 305 */ | ||
873 | 514, -411, /* 306 */ | ||
874 | -82, -917, /* 307 */ | ||
875 | 271, 448, /* 308 */ | ||
876 | 1065, 44, /* 309 */ | ||
877 | 507, 174, /* 310 */ | ||
878 | -386, 264, /* 311 */ | ||
879 | 810, 353, /* 312 */ | ||
880 | 326, 767, /* 313 */ | ||
881 | 293, -319, /* 314 */ | ||
882 | -504, 781, /* 315 */ | ||
883 | 839, 269, /* 316 */ | ||
884 | -80, -1242, /* 317 */ | ||
885 | -343, -856, /* 318 */ | ||
886 | -71, -239, /* 319 */ | ||
887 | 1271, -370, /* 320 */ | ||
888 | -91, -31, /* 321 */ | ||
889 | 890, -284, /* 322 */ | ||
890 | 98, -650, /* 323 */ | ||
891 | -308, -498, /* 324 */ | ||
892 | -725, -426, /* 325 */ | ||
893 | 158, -454, /* 326 */ | ||
894 | -304, 606, /* 327 */ | ||
895 | -988, 739, /* 328 */ | ||
896 | 426, -372, /* 329 */ | ||
897 | 1181, -563, /* 330 */ | ||
898 | -593, 707, /* 331 */ | ||
899 | 543, 178, /* 332 */ | ||
900 | -1068, 357, /* 333 */ | ||
901 | 182, 221, /* 334 */ | ||
902 | -187, -357, /* 335 */ | ||
903 | 606, -707, /* 336 */ | ||
904 | 42, 718, /* 337 */ | ||
905 | 381, 362, /* 338 */ | ||
906 | 662, -233, /* 339 */ | ||
907 | 1637, 875, /* 340 */ | ||
908 | -802, 33, /* 341 */ | ||
909 | 83, 273, /* 342 */ | ||
910 | -908, 76, /* 343 */ | ||
911 | -378, 1159, /* 344 */ | ||
912 | 1063, -422, /* 345 */ | ||
913 | -1356, 698, /* 346 */ | ||
914 | 291, 930, /* 347 */ | ||
915 | 697, -1386, /* 348 */ | ||
916 | -786, 438, /* 349 */ | ||
917 | 422, 981, /* 350 */ | ||
918 | -206, 328, /* 351 */ | ||
919 | 329, -208, /* 352 */ | ||
920 | 126, 989, /* 353 */ | ||
921 | -428, -610, /* 354 */ | ||
922 | 978, 315, /* 355 */ | ||
923 | -387, 376, /* 356 */ | ||
924 | 1262, -42, /* 357 */ | ||
925 | 429, -153, /* 358 */ | ||
926 | -639, -299, /* 359 */ | ||
927 | -600, -1424, /* 360 */ | ||
928 | 326, -1081, /* 361 */ | ||
929 | -79, 247, /* 362 */ | ||
930 | 531, -929, /* 363 */ | ||
931 | -190, -316, /* 364 */ | ||
932 | -55, 536, /* 365 */ | ||
933 | -505, -416, /* 366 */ | ||
934 | 352, -1320, /* 367 */ | ||
935 | -1112, -951, /* 368 */ | ||
936 | -904, 922, /* 369 */ | ||
937 | -626, -661, /* 370 */ | ||
938 | -61, 866, /* 371 */ | ||
939 | 306, 548, /* 372 */ | ||
940 | 199, 237, /* 373 */ | ||
941 | 381, 390, /* 374 */ | ||
942 | -534, -384, /* 375 */ | ||
943 | -521, -540, /* 376 */ | ||
944 | 1002, 924, /* 377 */ | ||
945 | -252, 454, /* 378 */ | ||
946 | 790, 1707, /* 379 */ | ||
947 | -1120, 604, /* 380 */ | ||
948 | 459, 695, /* 381 */ | ||
949 | -848, 689, /* 382 */ | ||
950 | 717, -706, /* 383 */ | ||
951 | 783, -351, /* 384 */ | ||
952 | -742, -666, /* 385 */ | ||
953 | -519, 673, /* 386 */ | ||
954 | 59, -581, /* 387 */ | ||
955 | 54, 155, /* 388 */ | ||
956 | -25, 182, /* 389 */ | ||
957 | 481, -417, /* 390 */ | ||
958 | -538, -153, /* 391 */ | ||
959 | 452, -60, /* 392 */ | ||
960 | -862, 362, /* 393 */ | ||
961 | -209, -612, /* 394 */ | ||
962 | 436, -615, /* 395 */ | ||
963 | 1207, -1516, /* 396 */ | ||
964 | -348, -545, /* 397 */ | ||
965 | -178, 416, /* 398 */ | ||
966 | -176, -384, /* 399 */ | ||
967 | 749, -757, /* 400 */ | ||
968 | 497, 58, /* 401 */ | ||
969 | 342, 387, /* 402 */ | ||
970 | 244, 469, /* 403 */ | ||
971 | 765, -600, /* 404 */ | ||
972 | 91, 125, /* 405 */ | ||
973 | 496, -83, /* 406 */ | ||
974 | 136, 299, /* 407 */ | ||
975 | 820, -79, /* 408 */ | ||
976 | 1014, -573, /* 409 */ | ||
977 | 714, -211, /* 410 */ | ||
978 | 1183, 1177, /* 411 */ | ||
979 | 1067, 590, /* 412 */ | ||
980 | -195, -416, /* 413 */ | ||
981 | 573, -228, /* 414 */ | ||
982 | -163, 474, /* 415 */ | ||
983 | -160, 501, /* 416 */ | ||
984 | 69, 117, /* 417 */ | ||
985 | -50, 1088, /* 418 */ | ||
986 | 286, 570, /* 419 */ | ||
987 | -15, -459, /* 420 */ | ||
988 | -140, -585, /* 421 */ | ||
989 | 788, 536, /* 422 */ | ||
990 | 128, 958, /* 423 */ | ||
991 | -1496, -159, /* 424 */ | ||
992 | 312, 294, /* 425 */ | ||
993 | -356, -430, /* 426 */ | ||
994 | -224, -103, /* 427 */ | ||
995 | 143, -253, /* 428 */ | ||
996 | -220, 172, /* 429 */ | ||
997 | 125, -433, /* 430 */ | ||
998 | -763, -236, /* 431 */ | ||
999 | -133, 124, /* 432 */ | ||
1000 | 768, 190, /* 433 */ | ||
1001 | 318, -706, /* 434 */ | ||
1002 | -400, -529, /* 435 */ | ||
1003 | 911, 768, /* 436 */ | ||
1004 | -410, -47, /* 437 */ | ||
1005 | -91, 299, /* 438 */ | ||
1006 | -327, -1129, /* 439 */ | ||
1007 | 296, 300, /* 440 */ | ||
1008 | -171, 85, /* 441 */ | ||
1009 | 176, -539, /* 442 */ | ||
1010 | -10, -259, /* 443 */ | ||
1011 | -569, 980, /* 444 */ | ||
1012 | -360, 785, /* 445 */ | ||
1013 | -8, 99, /* 446 */ | ||
1014 | -377, 317, /* 447 */ | ||
1015 | -101, 740, /* 448 */ | ||
1016 | 343, 716, /* 449 */ | ||
1017 | -529, 632, /* 450 */ | ||
1018 | 151, -429, /* 451 */ | ||
1019 | 144, 459, /* 452 */ | ||
1020 | -1127, -350, /* 453 */ | ||
1021 | 25, 145, /* 454 */ | ||
1022 | 703, 197, /* 455 */ | ||
1023 | 882, 36, /* 456 */ | ||
1024 | -570, -93, /* 457 */ | ||
1025 | -611, 655, /* 458 */ | ||
1026 | 962, 293, /* 459 */ | ||
1027 | -87, 584, /* 460 */ | ||
1028 | 891, -39, /* 461 */ | ||
1029 | 819, -763, /* 462 */ | ||
1030 | 395, 323, /* 463 */ | ||
1031 | 355, 485, /* 464 */ | ||
1032 | 388, -1009, /* 465 */ | ||
1033 | 204, 413, /* 466 */ | ||
1034 | 250, 13, /* 467 */ | ||
1035 | -37, -520, /* 468 */ | ||
1036 | 212, -357, /* 469 */ | ||
1037 | 90, 55, /* 470 */ | ||
1038 | -686, -88, /* 471 */ | ||
1039 | 147, -359, /* 472 */ | ||
1040 | 490, 741, /* 473 */ | ||
1041 | -1774, 8, /* 474 */ | ||
1042 | 387, -316, /* 475 */ | ||
1043 | -20, -81, /* 476 */ | ||
1044 | -634, 632, /* 477 */ | ||
1045 | -251, -137, /* 478 */ | ||
1046 | 454, 249, /* 479 */ | ||
1047 | -528, -233, /* 480 */ | ||
1048 | 256, -759, /* 481 */ | ||
1049 | -471, -439, /* 482 */ | ||
1050 | 385, 570, /* 483 */ | ||
1051 | -662, 415, /* 484 */ | ||
1052 | -84, -373, /* 485 */ | ||
1053 | -38, 96, /* 486 */ | ||
1054 | -1070, -48, /* 487 */ | ||
1055 | 1627, -113, /* 488 */ | ||
1056 | 51, -1, /* 489 */ | ||
1057 | 380, 820, /* 490 */ | ||
1058 | -177, 116, /* 491 */ | ||
1059 | -294, 1054, /* 492 */ | ||
1060 | 570, -821, /* 493 */ | ||
1061 | 588, 643, /* 494 */ | ||
1062 | 267, -1045, /* 495 */ | ||
1063 | -527, 1311, /* 496 */ | ||
1064 | 165, 654, /* 497 */ | ||
1065 | -878, -297, /* 498 */ | ||
1066 | 328, -81, /* 499 */ | ||
1067 | 615, -92, /* 500 */ | ||
1068 | -196, 658, /* 501 */ | ||
1069 | 125, -1063, /* 502 */ | ||
1070 | -424, -496, /* 503 */ | ||
1071 | 58, -353, /* 504 */ | ||
1072 | 126, -898, /* 505 */ | ||
1073 | 243, -32, /* 506 */ | ||
1074 | -180, 730, /* 507 */ | ||
1075 | -94, 366, /* 508 */ | ||
1076 | -256, -214, /* 509 */ | ||
1077 | 184, 36, /* 510 */ | ||
1078 | -108, 752, /* 511 */ | ||
1079 | }; | ||
1080 | |||
1081 | DATA error; | ||
1082 | |||
diff --git a/dsplib_benchmarks/cfft1/t8_NOSCALE.h b/dsplib_benchmarks/cfft1/t8_NOSCALE.h new file mode 100644 index 0000000..60200a8 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t8_NOSCALE.h | |||
@@ -0,0 +1,2105 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 1024 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 1030 | ||
39 | #pragma DATA_SECTION (x_br,".input") | ||
40 | #pragma DATA_ALIGN (x_br, 2048) | ||
41 | DATA x_br[2*NX] ; | ||
42 | |||
43 | #pragma DATA_SECTION (scratch,".input") | ||
44 | #pragma DATA_ALIGN (scratch, 2048) | ||
45 | DATA scratch[2*NX] ; | ||
46 | #pragma DATA_SECTION (x,".input") | ||
47 | |||
48 | DATA x[2*NX] ={ | ||
49 | 85, -3, /* 0 */ | ||
50 | 120, 47, /* 1 */ | ||
51 | -94, -36, /* 2 */ | ||
52 | -64, -26, /* 3 */ | ||
53 | 104, 3, /* 4 */ | ||
54 | 45, -117, /* 5 */ | ||
55 | 31, 125, /* 6 */ | ||
56 | 3, -49, /* 7 */ | ||
57 | -128, -63, /* 8 */ | ||
58 | -70, 28, /* 9 */ | ||
59 | 122, -14, /* 10 */ | ||
60 | 92, -21, /* 11 */ | ||
61 | -125, -23, /* 12 */ | ||
62 | -4, 54, /* 13 */ | ||
63 | -22, -102, /* 14 */ | ||
64 | 69, -31, /* 15 */ | ||
65 | -4, 64, /* 16 */ | ||
66 | 5, -90, /* 17 */ | ||
67 | 72, 41, /* 18 */ | ||
68 | 23, -68, /* 19 */ | ||
69 | -96, 58, /* 20 */ | ||
70 | -100, -62, /* 21 */ | ||
71 | 41, -8, /* 22 */ | ||
72 | 127, 91, /* 23 */ | ||
73 | -40, 85, /* 24 */ | ||
74 | -83, -7, /* 25 */ | ||
75 | -111, -41, /* 26 */ | ||
76 | -49, 10, /* 27 */ | ||
77 | -43, 15, /* 28 */ | ||
78 | -32, 108, /* 29 */ | ||
79 | 115, -58, /* 30 */ | ||
80 | 56, -53, /* 31 */ | ||
81 | 71, 28, /* 32 */ | ||
82 | 30, 99, /* 33 */ | ||
83 | 38, 54, /* 34 */ | ||
84 | 65, -77, /* 35 */ | ||
85 | -91, -101, /* 36 */ | ||
86 | 25, 60, /* 37 */ | ||
87 | 102, 67, /* 38 */ | ||
88 | -84, -57, /* 39 */ | ||
89 | 81, 88, /* 40 */ | ||
90 | -111, 31, /* 41 */ | ||
91 | 116, 31, /* 42 */ | ||
92 | -47, 116, /* 43 */ | ||
93 | -127, -53, /* 44 */ | ||
94 | 66, 33, /* 45 */ | ||
95 | -49, 8, /* 46 */ | ||
96 | 55, 95, /* 47 */ | ||
97 | -108, 21, /* 48 */ | ||
98 | 88, 26, /* 49 */ | ||
99 | 55, -4, /* 50 */ | ||
100 | 94, 113, /* 51 */ | ||
101 | 95, -40, /* 52 */ | ||
102 | 66, -77, /* 53 */ | ||
103 | 43, -103, /* 54 */ | ||
104 | 102, 38, /* 55 */ | ||
105 | 82, 27, /* 56 */ | ||
106 | 85, 79, /* 57 */ | ||
107 | 35, -10, /* 58 */ | ||
108 | -89, -104, /* 59 */ | ||
109 | 72, -102, /* 60 */ | ||
110 | 59, 95, /* 61 */ | ||
111 | 16, -113, /* 62 */ | ||
112 | 57, 88, /* 63 */ | ||
113 | -67, -12, /* 64 */ | ||
114 | -3, -65, /* 65 */ | ||
115 | -20, 125, /* 66 */ | ||
116 | 75, 16, /* 67 */ | ||
117 | 67, -72, /* 68 */ | ||
118 | -67, 96, /* 69 */ | ||
119 | 34, 58, /* 70 */ | ||
120 | -69, 90, /* 71 */ | ||
121 | 29, -83, /* 72 */ | ||
122 | -60, 10, /* 73 */ | ||
123 | 125, -8, /* 74 */ | ||
124 | 66, 59, /* 75 */ | ||
125 | -5, 123, /* 76 */ | ||
126 | 113, 42, /* 77 */ | ||
127 | -36, 46, /* 78 */ | ||
128 | -107, 96, /* 79 */ | ||
129 | 114, 1, /* 80 */ | ||
130 | 48, -9, /* 81 */ | ||
131 | 29, -66, /* 82 */ | ||
132 | 101, 16, /* 83 */ | ||
133 | -125, 66, /* 84 */ | ||
134 | -51, -40, /* 85 */ | ||
135 | 119, -14, /* 86 */ | ||
136 | -102, 4, /* 87 */ | ||
137 | 24, -88, /* 88 */ | ||
138 | -8, 123, /* 89 */ | ||
139 | 55, -52, /* 90 */ | ||
140 | 91, -89, /* 91 */ | ||
141 | -81, 111, /* 92 */ | ||
142 | -10, 44, /* 93 */ | ||
143 | 103, -19, /* 94 */ | ||
144 | -123, 85, /* 95 */ | ||
145 | 66, -85, /* 96 */ | ||
146 | 75, -16, /* 97 */ | ||
147 | -48, 64, /* 98 */ | ||
148 | -68, 29, /* 99 */ | ||
149 | -2, -63, /* 100 */ | ||
150 | 47, -39, /* 101 */ | ||
151 | 113, 28, /* 102 */ | ||
152 | -16, -42, /* 103 */ | ||
153 | -1, 34, /* 104 */ | ||
154 | -103, 4, /* 105 */ | ||
155 | 13, 5, /* 106 */ | ||
156 | -17, 32, /* 107 */ | ||
157 | -82, 114, /* 108 */ | ||
158 | -89, -71, /* 109 */ | ||
159 | 111, 126, /* 110 */ | ||
160 | -94, 96, /* 111 */ | ||
161 | 127, 32, /* 112 */ | ||
162 | 48, -74, /* 113 */ | ||
163 | 118, 106, /* 114 */ | ||
164 | 70, -94, /* 115 */ | ||
165 | -128, 119, /* 116 */ | ||
166 | -45, 30, /* 117 */ | ||
167 | 11, 36, /* 118 */ | ||
168 | -50, -125, /* 119 */ | ||
169 | 44, 74, /* 120 */ | ||
170 | -40, 102, /* 121 */ | ||
171 | 123, -128, /* 122 */ | ||
172 | -38, 4, /* 123 */ | ||
173 | -123, 31, /* 124 */ | ||
174 | 80, -61, /* 125 */ | ||
175 | 123, -26, /* 126 */ | ||
176 | -49, 122, /* 127 */ | ||
177 | -31, -51, /* 128 */ | ||
178 | 63, 17, /* 129 */ | ||
179 | -15, -73, /* 130 */ | ||
180 | -103, -94, /* 131 */ | ||
181 | 126, 122, /* 132 */ | ||
182 | 9, -74, /* 133 */ | ||
183 | -94, -94, /* 134 */ | ||
184 | -95, -115, /* 135 */ | ||
185 | 93, -61, /* 136 */ | ||
186 | 53, 65, /* 137 */ | ||
187 | 127, -17, /* 138 */ | ||
188 | 80, 1, /* 139 */ | ||
189 | 72, -2, /* 140 */ | ||
190 | 67, -104, /* 141 */ | ||
191 | 103, 120, /* 142 */ | ||
192 | -102, -20, /* 143 */ | ||
193 | -74, -59, /* 144 */ | ||
194 | 89, 111, /* 145 */ | ||
195 | 62, -72, /* 146 */ | ||
196 | -25, -80, /* 147 */ | ||
197 | -50, -57, /* 148 */ | ||
198 | -7, 44, /* 149 */ | ||
199 | -91, 25, /* 150 */ | ||
200 | -2, -29, /* 151 */ | ||
201 | 7, 111, /* 152 */ | ||
202 | 2, 83, /* 153 */ | ||
203 | -70, -115, /* 154 */ | ||
204 | 111, 83, /* 155 */ | ||
205 | 4, -29, /* 156 */ | ||
206 | -11, -14, /* 157 */ | ||
207 | 70, -126, /* 158 */ | ||
208 | 59, -57, /* 159 */ | ||
209 | 26, -54, /* 160 */ | ||
210 | -114, -18, /* 161 */ | ||
211 | -110, 51, /* 162 */ | ||
212 | 34, -126, /* 163 */ | ||
213 | 96, -68, /* 164 */ | ||
214 | -19, -26, /* 165 */ | ||
215 | 53, -106, /* 166 */ | ||
216 | -111, 98, /* 167 */ | ||
217 | -124, -17, /* 168 */ | ||
218 | 2, -49, /* 169 */ | ||
219 | 94, 83, /* 170 */ | ||
220 | 76, 47, /* 171 */ | ||
221 | 76, 7, /* 172 */ | ||
222 | -78, -83, /* 173 */ | ||
223 | 54, 101, /* 174 */ | ||
224 | -73, 79, /* 175 */ | ||
225 | 73, -29, /* 176 */ | ||
226 | -84, -6, /* 177 */ | ||
227 | -76, 27, /* 178 */ | ||
228 | -10, 38, /* 179 */ | ||
229 | -109, 67, /* 180 */ | ||
230 | 24, -14, /* 181 */ | ||
231 | -80, 36, /* 182 */ | ||
232 | 111, -57, /* 183 */ | ||
233 | -50, -15, /* 184 */ | ||
234 | -10, -65, /* 185 */ | ||
235 | 84, -90, /* 186 */ | ||
236 | -52, -76, /* 187 */ | ||
237 | 53, 106, /* 188 */ | ||
238 | -109, 21, /* 189 */ | ||
239 | 64, 49, /* 190 */ | ||
240 | -8, 91, /* 191 */ | ||
241 | 113, -4, /* 192 */ | ||
242 | -125, -41, /* 193 */ | ||
243 | -115, -21, /* 194 */ | ||
244 | 61, -98, /* 195 */ | ||
245 | 34, 4, /* 196 */ | ||
246 | 110, 120, /* 197 */ | ||
247 | -10, -44, /* 198 */ | ||
248 | 3, -42, /* 199 */ | ||
249 | -20, 77, /* 200 */ | ||
250 | -22, -88, /* 201 */ | ||
251 | -29, -88, /* 202 */ | ||
252 | 91, -87, /* 203 */ | ||
253 | 82, 106, /* 204 */ | ||
254 | 105, 70, /* 205 */ | ||
255 | 86, -18, /* 206 */ | ||
256 | 94, -62, /* 207 */ | ||
257 | 70, 31, /* 208 */ | ||
258 | -18, 124, /* 209 */ | ||
259 | -17, 35, /* 210 */ | ||
260 | -71, -69, /* 211 */ | ||
261 | -125, 72, /* 212 */ | ||
262 | -32, -128, /* 213 */ | ||
263 | 86, 76, /* 214 */ | ||
264 | -55, -75, /* 215 */ | ||
265 | -56, -77, /* 216 */ | ||
266 | -45, 122, /* 217 */ | ||
267 | -7, 31, /* 218 */ | ||
268 | -71, -114, /* 219 */ | ||
269 | 118, -92, /* 220 */ | ||
270 | -50, -24, /* 221 */ | ||
271 | 71, 71, /* 222 */ | ||
272 | 101, -87, /* 223 */ | ||
273 | -64, -122, /* 224 */ | ||
274 | -91, 89, /* 225 */ | ||
275 | -41, -64, /* 226 */ | ||
276 | 59, -27, /* 227 */ | ||
277 | -120, 47, /* 228 */ | ||
278 | 11, 94, /* 229 */ | ||
279 | 14, 46, /* 230 */ | ||
280 | 43, -93, /* 231 */ | ||
281 | 21, 19, /* 232 */ | ||
282 | 47, 47, /* 233 */ | ||
283 | 68, -48, /* 234 */ | ||
284 | 101, 3, /* 235 */ | ||
285 | 119, -14, /* 236 */ | ||
286 | 103, 5, /* 237 */ | ||
287 | -83, -35, /* 238 */ | ||
288 | 122, 38, /* 239 */ | ||
289 | 101, 95, /* 240 */ | ||
290 | -121, 94, /* 241 */ | ||
291 | -56, 7, /* 242 */ | ||
292 | -80, 117, /* 243 */ | ||
293 | 27, 23, /* 244 */ | ||
294 | -75, -123, /* 245 */ | ||
295 | 127, -82, /* 246 */ | ||
296 | -124, -9, /* 247 */ | ||
297 | -16, 29, /* 248 */ | ||
298 | -91, -93, /* 249 */ | ||
299 | 31, -74, /* 250 */ | ||
300 | 65, 125, /* 251 */ | ||
301 | -57, -44, /* 252 */ | ||
302 | 6, -19, /* 253 */ | ||
303 | -49, -91, /* 254 */ | ||
304 | -82, 11, /* 255 */ | ||
305 | 71, -105, /* 256 */ | ||
306 | 79, -17, /* 257 */ | ||
307 | 57, -107, /* 258 */ | ||
308 | -117, 14, /* 259 */ | ||
309 | 29, -124, /* 260 */ | ||
310 | -43, 36, /* 261 */ | ||
311 | 21, -28, /* 262 */ | ||
312 | 105, -45, /* 263 */ | ||
313 | 0, -61, /* 264 */ | ||
314 | -22, 2, /* 265 */ | ||
315 | 76, -12, /* 266 */ | ||
316 | 99, 79, /* 267 */ | ||
317 | 3, -9, /* 268 */ | ||
318 | -29, 4, /* 269 */ | ||
319 | 110, -77, /* 270 */ | ||
320 | -56, 20, /* 271 */ | ||
321 | 69, 25, /* 272 */ | ||
322 | 58, 40, /* 273 */ | ||
323 | 106, 20, /* 274 */ | ||
324 | -101, 67, /* 275 */ | ||
325 | 99, -87, /* 276 */ | ||
326 | 24, 86, /* 277 */ | ||
327 | -125, 127, /* 278 */ | ||
328 | -67, 40, /* 279 */ | ||
329 | -97, -97, /* 280 */ | ||
330 | 97, 22, /* 281 */ | ||
331 | 80, -91, /* 282 */ | ||
332 | 67, 115, /* 283 */ | ||
333 | 79, 61, /* 284 */ | ||
334 | 46, 95, /* 285 */ | ||
335 | 31, -86, /* 286 */ | ||
336 | -34, -7, /* 287 */ | ||
337 | -77, -40, /* 288 */ | ||
338 | -58, -52, /* 289 */ | ||
339 | -5, -118, /* 290 */ | ||
340 | -26, -31, /* 291 */ | ||
341 | 51, -95, /* 292 */ | ||
342 | -46, -92, /* 293 */ | ||
343 | -116, -31, /* 294 */ | ||
344 | 71, 35, /* 295 */ | ||
345 | 13, 71, /* 296 */ | ||
346 | -111, -19, /* 297 */ | ||
347 | -1, -85, /* 298 */ | ||
348 | 86, -35, /* 299 */ | ||
349 | -10, 122, /* 300 */ | ||
350 | 71, -11, /* 301 */ | ||
351 | -3, 95, /* 302 */ | ||
352 | 50, -90, /* 303 */ | ||
353 | 124, -15, /* 304 */ | ||
354 | -38, 107, /* 305 */ | ||
355 | 31, 122, /* 306 */ | ||
356 | 4, -10, /* 307 */ | ||
357 | 80, -40, /* 308 */ | ||
358 | -3, -75, /* 309 */ | ||
359 | 59, -48, /* 310 */ | ||
360 | 53, 101, /* 311 */ | ||
361 | 85, -110, /* 312 */ | ||
362 | -126, -65, /* 313 */ | ||
363 | -116, -123, /* 314 */ | ||
364 | 0, 127, /* 315 */ | ||
365 | -54, -103, /* 316 */ | ||
366 | -125, 107, /* 317 */ | ||
367 | 75, -94, /* 318 */ | ||
368 | -111, -76, /* 319 */ | ||
369 | -49, -86, /* 320 */ | ||
370 | -41, 70, /* 321 */ | ||
371 | 81, 15, /* 322 */ | ||
372 | -127, 42, /* 323 */ | ||
373 | -2, 95, /* 324 */ | ||
374 | 29, 28, /* 325 */ | ||
375 | -33, 112, /* 326 */ | ||
376 | -78, -55, /* 327 */ | ||
377 | 101, 67, /* 328 */ | ||
378 | 124, -90, /* 329 */ | ||
379 | 107, 30, /* 330 */ | ||
380 | -28, 31, /* 331 */ | ||
381 | 41, 78, /* 332 */ | ||
382 | 10, -47, /* 333 */ | ||
383 | -74, -39, /* 334 */ | ||
384 | -50, -64, /* 335 */ | ||
385 | -125, 107, /* 336 */ | ||
386 | -127, 52, /* 337 */ | ||
387 | 124, 52, /* 338 */ | ||
388 | 79, -90, /* 339 */ | ||
389 | 69, 52, /* 340 */ | ||
390 | 103, -110, /* 341 */ | ||
391 | -97, -115, /* 342 */ | ||
392 | -104, 6, /* 343 */ | ||
393 | 13, 38, /* 344 */ | ||
394 | -127, -69, /* 345 */ | ||
395 | -96, -93, /* 346 */ | ||
396 | -114, -68, /* 347 */ | ||
397 | 67, 95, /* 348 */ | ||
398 | -110, 92, /* 349 */ | ||
399 | 55, 38, /* 350 */ | ||
400 | -93, 95, /* 351 */ | ||
401 | 29, 118, /* 352 */ | ||
402 | -8, 114, /* 353 */ | ||
403 | 2, 98, /* 354 */ | ||
404 | -40, 9, /* 355 */ | ||
405 | -107, 80, /* 356 */ | ||
406 | -63, -66, /* 357 */ | ||
407 | 6, -35, /* 358 */ | ||
408 | -93, 45, /* 359 */ | ||
409 | -98, -78, /* 360 */ | ||
410 | 0, -79, /* 361 */ | ||
411 | -55, 12, /* 362 */ | ||
412 | -100, -124, /* 363 */ | ||
413 | 0, -87, /* 364 */ | ||
414 | -32, 9, /* 365 */ | ||
415 | -59, -19, /* 366 */ | ||
416 | 116, -24, /* 367 */ | ||
417 | -11, 85, /* 368 */ | ||
418 | -66, -79, /* 369 */ | ||
419 | 84, 46, /* 370 */ | ||
420 | -51, 107, /* 371 */ | ||
421 | -120, -117, /* 372 */ | ||
422 | 124, 97, /* 373 */ | ||
423 | -6, -20, /* 374 */ | ||
424 | 26, -12, /* 375 */ | ||
425 | 4, 30, /* 376 */ | ||
426 | 122, 62, /* 377 */ | ||
427 | -65, 126, /* 378 */ | ||
428 | 43, 109, /* 379 */ | ||
429 | -91, -124, /* 380 */ | ||
430 | -25, -31, /* 381 */ | ||
431 | -92, 40, /* 382 */ | ||
432 | -40, -121, /* 383 */ | ||
433 | 12, 28, /* 384 */ | ||
434 | -118, 6, /* 385 */ | ||
435 | -69, 31, /* 386 */ | ||
436 | -26, -93, /* 387 */ | ||
437 | -98, -13, /* 388 */ | ||
438 | -15, -24, /* 389 */ | ||
439 | -115, 104, /* 390 */ | ||
440 | 127, -26, /* 391 */ | ||
441 | 49, -80, /* 392 */ | ||
442 | 29, 81, /* 393 */ | ||
443 | 29, -20, /* 394 */ | ||
444 | 84, -30, /* 395 */ | ||
445 | 122, 55, /* 396 */ | ||
446 | -17, 26, /* 397 */ | ||
447 | 88, -108, /* 398 */ | ||
448 | -27, -95, /* 399 */ | ||
449 | -21, -34, /* 400 */ | ||
450 | 100, 15, /* 401 */ | ||
451 | -40, 61, /* 402 */ | ||
452 | 78, 123, /* 403 */ | ||
453 | 126, -4, /* 404 */ | ||
454 | 71, -128, /* 405 */ | ||
455 | 90, 72, /* 406 */ | ||
456 | 41, -40, /* 407 */ | ||
457 | -59, -53, /* 408 */ | ||
458 | -67, 84, /* 409 */ | ||
459 | -19, -103, /* 410 */ | ||
460 | 24, -33, /* 411 */ | ||
461 | -21, 35, /* 412 */ | ||
462 | 68, -120, /* 413 */ | ||
463 | -122, -47, /* 414 */ | ||
464 | 49, 118, /* 415 */ | ||
465 | 64, 42, /* 416 */ | ||
466 | 116, -106, /* 417 */ | ||
467 | -29, -63, /* 418 */ | ||
468 | -114, -92, /* 419 */ | ||
469 | -32, -58, /* 420 */ | ||
470 | 40, 70, /* 421 */ | ||
471 | 51, 53, /* 422 */ | ||
472 | -105, 26, /* 423 */ | ||
473 | 114, -118, /* 424 */ | ||
474 | 8, 88, /* 425 */ | ||
475 | 105, -70, /* 426 */ | ||
476 | -49, -2, /* 427 */ | ||
477 | 57, -121, /* 428 */ | ||
478 | -30, 37, /* 429 */ | ||
479 | 102, -26, /* 430 */ | ||
480 | -111, 68, /* 431 */ | ||
481 | -61, -30, /* 432 */ | ||
482 | 31, 100, /* 433 */ | ||
483 | 46, -24, /* 434 */ | ||
484 | 60, -32, /* 435 */ | ||
485 | 110, -106, /* 436 */ | ||
486 | 29, 123, /* 437 */ | ||
487 | 61, 107, /* 438 */ | ||
488 | 34, -10, /* 439 */ | ||
489 | -85, 15, /* 440 */ | ||
490 | -59, -2, /* 441 */ | ||
491 | 79, 126, /* 442 */ | ||
492 | -25, -122, /* 443 */ | ||
493 | 40, -62, /* 444 */ | ||
494 | -55, -45, /* 445 */ | ||
495 | 118, -97, /* 446 */ | ||
496 | 19, 62, /* 447 */ | ||
497 | 119, 33, /* 448 */ | ||
498 | 3, -78, /* 449 */ | ||
499 | 93, -10, /* 450 */ | ||
500 | -71, -60, /* 451 */ | ||
501 | -66, -128, /* 452 */ | ||
502 | 102, -99, /* 453 */ | ||
503 | 53, 15, /* 454 */ | ||
504 | 121, 100, /* 455 */ | ||
505 | -11, 102, /* 456 */ | ||
506 | 61, 51, /* 457 */ | ||
507 | 43, -69, /* 458 */ | ||
508 | -121, 7, /* 459 */ | ||
509 | -39, 78, /* 460 */ | ||
510 | -107, 51, /* 461 */ | ||
511 | -113, -128, /* 462 */ | ||
512 | 66, -56, /* 463 */ | ||
513 | 32, -85, /* 464 */ | ||
514 | 7, -76, /* 465 */ | ||
515 | 125, -104, /* 466 */ | ||
516 | -51, -119, /* 467 */ | ||
517 | -82, -28, /* 468 */ | ||
518 | 17, -69, /* 469 */ | ||
519 | -9, -100, /* 470 */ | ||
520 | -28, -18, /* 471 */ | ||
521 | -121, -56, /* 472 */ | ||
522 | -41, 90, /* 473 */ | ||
523 | 121, -120, /* 474 */ | ||
524 | 19, 123, /* 475 */ | ||
525 | 69, 116, /* 476 */ | ||
526 | 32, 123, /* 477 */ | ||
527 | 59, 81, /* 478 */ | ||
528 | -90, -117, /* 479 */ | ||
529 | -22, -54, /* 480 */ | ||
530 | -111, 56, /* 481 */ | ||
531 | 98, -102, /* 482 */ | ||
532 | 84, 111, /* 483 */ | ||
533 | -48, -11, /* 484 */ | ||
534 | 101, 124, /* 485 */ | ||
535 | 64, -23, /* 486 */ | ||
536 | -89, 79, /* 487 */ | ||
537 | 55, -116, /* 488 */ | ||
538 | 87, 29, /* 489 */ | ||
539 | 72, -25, /* 490 */ | ||
540 | 127, 26, /* 491 */ | ||
541 | 22, -69, /* 492 */ | ||
542 | -36, 84, /* 493 */ | ||
543 | -33, -111, /* 494 */ | ||
544 | 124, -69, /* 495 */ | ||
545 | 99, -4, /* 496 */ | ||
546 | -81, 115, /* 497 */ | ||
547 | -66, -111, /* 498 */ | ||
548 | -65, -15, /* 499 */ | ||
549 | -84, -75, /* 500 */ | ||
550 | -43, 78, /* 501 */ | ||
551 | -25, 1, /* 502 */ | ||
552 | 31, 68, /* 503 */ | ||
553 | 101, -72, /* 504 */ | ||
554 | 45, 76, /* 505 */ | ||
555 | -95, -119, /* 506 */ | ||
556 | -7, 59, /* 507 */ | ||
557 | 119, 116, /* 508 */ | ||
558 | -1, -43, /* 509 */ | ||
559 | -27, -45, /* 510 */ | ||
560 | 124, 15, /* 511 */ | ||
561 | 68, 58, /* 512 */ | ||
562 | 123, -51, /* 513 */ | ||
563 | -67, 81, /* 514 */ | ||
564 | -9, 79, /* 515 */ | ||
565 | -119, -4, /* 516 */ | ||
566 | 60, -18, /* 517 */ | ||
567 | 89, -93, /* 518 */ | ||
568 | 4, 19, /* 519 */ | ||
569 | -92, -77, /* 520 */ | ||
570 | 70, -22, /* 521 */ | ||
571 | -14, -76, /* 522 */ | ||
572 | -86, 47, /* 523 */ | ||
573 | -63, 84, /* 524 */ | ||
574 | 58, -56, /* 525 */ | ||
575 | -113, -33, /* 526 */ | ||
576 | -99, 14, /* 527 */ | ||
577 | 80, -42, /* 528 */ | ||
578 | -10, 103, /* 529 */ | ||
579 | 104, -68, /* 530 */ | ||
580 | 101, -25, /* 531 */ | ||
581 | -76, -45, /* 532 */ | ||
582 | 95, -27, /* 533 */ | ||
583 | -68, -57, /* 534 */ | ||
584 | 47, 36, /* 535 */ | ||
585 | 117, -54, /* 536 */ | ||
586 | -19, 119, /* 537 */ | ||
587 | -84, -25, /* 538 */ | ||
588 | -27, -75, /* 539 */ | ||
589 | 43, -122, /* 540 */ | ||
590 | -4, 67, /* 541 */ | ||
591 | -31, -16, /* 542 */ | ||
592 | 16, -104, /* 543 */ | ||
593 | -3, -128, /* 544 */ | ||
594 | -89, -74, /* 545 */ | ||
595 | 38, 73, /* 546 */ | ||
596 | 58, 81, /* 547 */ | ||
597 | -128, -91, /* 548 */ | ||
598 | 104, 34, /* 549 */ | ||
599 | 41, 21, /* 550 */ | ||
600 | -116, -76, /* 551 */ | ||
601 | -13, 52, /* 552 */ | ||
602 | -86, 127, /* 553 */ | ||
603 | -8, 82, /* 554 */ | ||
604 | 82, 68, /* 555 */ | ||
605 | 89, -29, /* 556 */ | ||
606 | 118, -127, /* 557 */ | ||
607 | 80, -19, /* 558 */ | ||
608 | -61, -45, /* 559 */ | ||
609 | -76, 73, /* 560 */ | ||
610 | 110, -17, /* 561 */ | ||
611 | -28, 53, /* 562 */ | ||
612 | -113, 115, /* 563 */ | ||
613 | -117, 53, /* 564 */ | ||
614 | -127, -93, /* 565 */ | ||
615 | 81, -46, /* 566 */ | ||
616 | 106, 73, /* 567 */ | ||
617 | 61, -55, /* 568 */ | ||
618 | -76, 76, /* 569 */ | ||
619 | -69, -74, /* 570 */ | ||
620 | 102, -30, /* 571 */ | ||
621 | 73, 110, /* 572 */ | ||
622 | -82, 123, /* 573 */ | ||
623 | 1, 64, /* 574 */ | ||
624 | -113, 30, /* 575 */ | ||
625 | -94, -114, /* 576 */ | ||
626 | -123, -42, /* 577 */ | ||
627 | 94, -67, /* 578 */ | ||
628 | 29, 8, /* 579 */ | ||
629 | -42, 45, /* 580 */ | ||
630 | 47, -72, /* 581 */ | ||
631 | -73, 41, /* 582 */ | ||
632 | -69, -98, /* 583 */ | ||
633 | -15, 90, /* 584 */ | ||
634 | -43, -86, /* 585 */ | ||
635 | -60, 29, /* 586 */ | ||
636 | 65, 34, /* 587 */ | ||
637 | -22, 68, /* 588 */ | ||
638 | 115, 11, /* 589 */ | ||
639 | 86, -24, /* 590 */ | ||
640 | 101, -74, /* 591 */ | ||
641 | -63, 32, /* 592 */ | ||
642 | 5, 84, /* 593 */ | ||
643 | -42, 67, /* 594 */ | ||
644 | 39, 67, /* 595 */ | ||
645 | -27, 51, /* 596 */ | ||
646 | -103, 81, /* 597 */ | ||
647 | -10, -80, /* 598 */ | ||
648 | 14, -78, /* 599 */ | ||
649 | -51, -74, /* 600 */ | ||
650 | 33, 68, /* 601 */ | ||
651 | 6, 105, /* 602 */ | ||
652 | -49, -69, /* 603 */ | ||
653 | -10, -40, /* 604 */ | ||
654 | -95, 50, /* 605 */ | ||
655 | 66, -124, /* 606 */ | ||
656 | -94, 14, /* 607 */ | ||
657 | -18, 27, /* 608 */ | ||
658 | 91, -13, /* 609 */ | ||
659 | -9, -121, /* 610 */ | ||
660 | -55, 125, /* 611 */ | ||
661 | -112, -118, /* 612 */ | ||
662 | 40, -116, /* 613 */ | ||
663 | 33, -99, /* 614 */ | ||
664 | 59, -49, /* 615 */ | ||
665 | 116, 53, /* 616 */ | ||
666 | -34, -97, /* 617 */ | ||
667 | -111, 3, /* 618 */ | ||
668 | 94, -104, /* 619 */ | ||
669 | -53, 49, /* 620 */ | ||
670 | 13, -58, /* 621 */ | ||
671 | 72, -10, /* 622 */ | ||
672 | -111, 36, /* 623 */ | ||
673 | 34, -119, /* 624 */ | ||
674 | -118, 101, /* 625 */ | ||
675 | -122, 119, /* 626 */ | ||
676 | 56, -79, /* 627 */ | ||
677 | 98, -89, /* 628 */ | ||
678 | 111, -73, /* 629 */ | ||
679 | 108, 14, /* 630 */ | ||
680 | 65, 99, /* 631 */ | ||
681 | -32, -47, /* 632 */ | ||
682 | 85, -13, /* 633 */ | ||
683 | 47, -13, /* 634 */ | ||
684 | 14, 22, /* 635 */ | ||
685 | -106, 54, /* 636 */ | ||
686 | 14, 54, /* 637 */ | ||
687 | 45, -63, /* 638 */ | ||
688 | -19, -99, /* 639 */ | ||
689 | -87, -101, /* 640 */ | ||
690 | 49, -99, /* 641 */ | ||
691 | 4, -39, /* 642 */ | ||
692 | 76, 58, /* 643 */ | ||
693 | 71, -31, /* 644 */ | ||
694 | 109, 52, /* 645 */ | ||
695 | 57, -37, /* 646 */ | ||
696 | -104, -125, /* 647 */ | ||
697 | -13, -86, /* 648 */ | ||
698 | 121, 93, /* 649 */ | ||
699 | 120, 14, /* 650 */ | ||
700 | 37, -120, /* 651 */ | ||
701 | -105, -86, /* 652 */ | ||
702 | 69, -85, /* 653 */ | ||
703 | -25, -104, /* 654 */ | ||
704 | -57, 65, /* 655 */ | ||
705 | -71, -66, /* 656 */ | ||
706 | -91, 67, /* 657 */ | ||
707 | -105, 9, /* 658 */ | ||
708 | 51, 114, /* 659 */ | ||
709 | 46, 125, /* 660 */ | ||
710 | -11, -117, /* 661 */ | ||
711 | 8, 123, /* 662 */ | ||
712 | -52, -47, /* 663 */ | ||
713 | -25, -12, /* 664 */ | ||
714 | -89, 55, /* 665 */ | ||
715 | 74, 110, /* 666 */ | ||
716 | -78, 12, /* 667 */ | ||
717 | -2, -98, /* 668 */ | ||
718 | -51, 6, /* 669 */ | ||
719 | -91, 16, /* 670 */ | ||
720 | 118, -80, /* 671 */ | ||
721 | 60, -49, /* 672 */ | ||
722 | 4, 117, /* 673 */ | ||
723 | 101, 112, /* 674 */ | ||
724 | 52, -73, /* 675 */ | ||
725 | -27, 78, /* 676 */ | ||
726 | 36, -60, /* 677 */ | ||
727 | -51, 79, /* 678 */ | ||
728 | -107, -23, /* 679 */ | ||
729 | 98, 31, /* 680 */ | ||
730 | -104, 12, /* 681 */ | ||
731 | 115, 3, /* 682 */ | ||
732 | 30, -123, /* 683 */ | ||
733 | 66, -19, /* 684 */ | ||
734 | 30, -123, /* 685 */ | ||
735 | 20, -122, /* 686 */ | ||
736 | -57, -7, /* 687 */ | ||
737 | -103, 6, /* 688 */ | ||
738 | 56, 116, /* 689 */ | ||
739 | 87, 70, /* 690 */ | ||
740 | 82, -87, /* 691 */ | ||
741 | 11, 31, /* 692 */ | ||
742 | -35, 63, /* 693 */ | ||
743 | 0, -89, /* 694 */ | ||
744 | -44, 21, /* 695 */ | ||
745 | -69, 110, /* 696 */ | ||
746 | 26, -8, /* 697 */ | ||
747 | -116, 72, /* 698 */ | ||
748 | 60, 31, /* 699 */ | ||
749 | -4, -117, /* 700 */ | ||
750 | 124, -108, /* 701 */ | ||
751 | 122, -8, /* 702 */ | ||
752 | -92, -19, /* 703 */ | ||
753 | 109, 125, /* 704 */ | ||
754 | -124, 11, /* 705 */ | ||
755 | 58, 113, /* 706 */ | ||
756 | 59, -101, /* 707 */ | ||
757 | -111, -85, /* 708 */ | ||
758 | 76, -34, /* 709 */ | ||
759 | -12, 47, /* 710 */ | ||
760 | -75, 122, /* 711 */ | ||
761 | 60, -115, /* 712 */ | ||
762 | 19, -105, /* 713 */ | ||
763 | 74, -108, /* 714 */ | ||
764 | -107, 45, /* 715 */ | ||
765 | -32, 106, /* 716 */ | ||
766 | -77, -110, /* 717 */ | ||
767 | 37, 23, /* 718 */ | ||
768 | -97, -70, /* 719 */ | ||
769 | 1, 121, /* 720 */ | ||
770 | -101, -26, /* 721 */ | ||
771 | -121, 3, /* 722 */ | ||
772 | -116, 2, /* 723 */ | ||
773 | -82, 23, /* 724 */ | ||
774 | 2, -34, /* 725 */ | ||
775 | 37, -100, /* 726 */ | ||
776 | 2, 27, /* 727 */ | ||
777 | 25, 7, /* 728 */ | ||
778 | -42, 1, /* 729 */ | ||
779 | 57, -92, /* 730 */ | ||
780 | -98, -46, /* 731 */ | ||
781 | 5, 2, /* 732 */ | ||
782 | 126, 62, /* 733 */ | ||
783 | -48, 57, /* 734 */ | ||
784 | 1, 54, /* 735 */ | ||
785 | 81, -21, /* 736 */ | ||
786 | -52, 20, /* 737 */ | ||
787 | 53, -63, /* 738 */ | ||
788 | 94, 28, /* 739 */ | ||
789 | 40, 31, /* 740 */ | ||
790 | 92, 103, /* 741 */ | ||
791 | 109, 27, /* 742 */ | ||
792 | 112, 126, /* 743 */ | ||
793 | 42, 107, /* 744 */ | ||
794 | 25, -127, /* 745 */ | ||
795 | -25, 110, /* 746 */ | ||
796 | -94, -67, /* 747 */ | ||
797 | -51, 123, /* 748 */ | ||
798 | -11, 52, /* 749 */ | ||
799 | 0, 58, /* 750 */ | ||
800 | 67, 101, /* 751 */ | ||
801 | 113, -16, /* 752 */ | ||
802 | 38, 123, /* 753 */ | ||
803 | 114, 72, /* 754 */ | ||
804 | -10, 13, /* 755 */ | ||
805 | -59, -78, /* 756 */ | ||
806 | -111, 7, /* 757 */ | ||
807 | -81, -103, /* 758 */ | ||
808 | -39, -15, /* 759 */ | ||
809 | 106, -49, /* 760 */ | ||
810 | -125, 73, /* 761 */ | ||
811 | 124, 75, /* 762 */ | ||
812 | -84, 14, /* 763 */ | ||
813 | -25, 51, /* 764 */ | ||
814 | -26, -114, /* 765 */ | ||
815 | 73, -52, /* 766 */ | ||
816 | 1, -116, /* 767 */ | ||
817 | 15, 104, /* 768 */ | ||
818 | 51, -55, /* 769 */ | ||
819 | -55, 92, /* 770 */ | ||
820 | 124, -29, /* 771 */ | ||
821 | -71, -15, /* 772 */ | ||
822 | 0, -21, /* 773 */ | ||
823 | -18, 122, /* 774 */ | ||
824 | 4, 26, /* 775 */ | ||
825 | -116, -78, /* 776 */ | ||
826 | 118, 19, /* 777 */ | ||
827 | -112, 119, /* 778 */ | ||
828 | 2, 45, /* 779 */ | ||
829 | 52, -123, /* 780 */ | ||
830 | 31, -24, /* 781 */ | ||
831 | -70, 29, /* 782 */ | ||
832 | 33, -61, /* 783 */ | ||
833 | -89, 87, /* 784 */ | ||
834 | -49, -54, /* 785 */ | ||
835 | 38, -71, /* 786 */ | ||
836 | 85, -71, /* 787 */ | ||
837 | -124, -56, /* 788 */ | ||
838 | -25, 84, /* 789 */ | ||
839 | 76, 13, /* 790 */ | ||
840 | -88, 1, /* 791 */ | ||
841 | -49, 26, /* 792 */ | ||
842 | 33, 41, /* 793 */ | ||
843 | 23, 22, /* 794 */ | ||
844 | -115, 108, /* 795 */ | ||
845 | 94, -1, /* 796 */ | ||
846 | 58, 86, /* 797 */ | ||
847 | -124, 107, /* 798 */ | ||
848 | 62, 27, /* 799 */ | ||
849 | -54, 91, /* 800 */ | ||
850 | 65, -76, /* 801 */ | ||
851 | -102, -6, /* 802 */ | ||
852 | -70, -31, /* 803 */ | ||
853 | -4, -20, /* 804 */ | ||
854 | 95, -1, /* 805 */ | ||
855 | 20, -106, /* 806 */ | ||
856 | -21, 21, /* 807 */ | ||
857 | 80, -123, /* 808 */ | ||
858 | 49, -127, /* 809 */ | ||
859 | -16, 13, /* 810 */ | ||
860 | -8, -100, /* 811 */ | ||
861 | 97, 50, /* 812 */ | ||
862 | 37, 64, /* 813 */ | ||
863 | -91, -65, /* 814 */ | ||
864 | -74, -65, /* 815 */ | ||
865 | -96, 118, /* 816 */ | ||
866 | 9, -39, /* 817 */ | ||
867 | 86, -7, /* 818 */ | ||
868 | -67, 92, /* 819 */ | ||
869 | -123, -100, /* 820 */ | ||
870 | -91, -28, /* 821 */ | ||
871 | -7, 90, /* 822 */ | ||
872 | 96, 61, /* 823 */ | ||
873 | 92, 67, /* 824 */ | ||
874 | 126, -68, /* 825 */ | ||
875 | 65, 65, /* 826 */ | ||
876 | 98, -69, /* 827 */ | ||
877 | -34, -11, /* 828 */ | ||
878 | 55, -119, /* 829 */ | ||
879 | -55, 6, /* 830 */ | ||
880 | 74, -26, /* 831 */ | ||
881 | -76, 102, /* 832 */ | ||
882 | -18, -85, /* 833 */ | ||
883 | 32, -122, /* 834 */ | ||
884 | 15, 23, /* 835 */ | ||
885 | -65, 17, /* 836 */ | ||
886 | 40, 21, /* 837 */ | ||
887 | -95, -41, /* 838 */ | ||
888 | 3, 15, /* 839 */ | ||
889 | -58, -27, /* 840 */ | ||
890 | 22, 114, /* 841 */ | ||
891 | -60, 96, /* 842 */ | ||
892 | 72, 125, /* 843 */ | ||
893 | -90, -28, /* 844 */ | ||
894 | 69, 107, /* 845 */ | ||
895 | 5, -11, /* 846 */ | ||
896 | 22, 41, /* 847 */ | ||
897 | 4, 5, /* 848 */ | ||
898 | -93, 123, /* 849 */ | ||
899 | -48, 102, /* 850 */ | ||
900 | 92, 33, /* 851 */ | ||
901 | -18, -40, /* 852 */ | ||
902 | -113, -50, /* 853 */ | ||
903 | 98, 102, /* 854 */ | ||
904 | -63, -101, /* 855 */ | ||
905 | -55, -53, /* 856 */ | ||
906 | -71, 89, /* 857 */ | ||
907 | 23, 58, /* 858 */ | ||
908 | 16, 36, /* 859 */ | ||
909 | 93, -60, /* 860 */ | ||
910 | -72, 58, /* 861 */ | ||
911 | -51, 100, /* 862 */ | ||
912 | 22, 2, /* 863 */ | ||
913 | 102, 13, /* 864 */ | ||
914 | 6, 97, /* 865 */ | ||
915 | 43, 91, /* 866 */ | ||
916 | 45, 25, /* 867 */ | ||
917 | 115, -5, /* 868 */ | ||
918 | 31, -125, /* 869 */ | ||
919 | -11, -57, /* 870 */ | ||
920 | 37, 18, /* 871 */ | ||
921 | 122, 83, /* 872 */ | ||
922 | -21, 52, /* 873 */ | ||
923 | 121, -41, /* 874 */ | ||
924 | 4, -26, /* 875 */ | ||
925 | 10, 9, /* 876 */ | ||
926 | -31, -80, /* 877 */ | ||
927 | 89, -17, /* 878 */ | ||
928 | 11, -24, /* 879 */ | ||
929 | 80, -76, /* 880 */ | ||
930 | -4, -53, /* 881 */ | ||
931 | -99, -63, /* 882 */ | ||
932 | -92, -48, /* 883 */ | ||
933 | 72, 12, /* 884 */ | ||
934 | -60, 84, /* 885 */ | ||
935 | 14, -52, /* 886 */ | ||
936 | -94, 96, /* 887 */ | ||
937 | -20, 65, /* 888 */ | ||
938 | -114, -45, /* 889 */ | ||
939 | 75, -62, /* 890 */ | ||
940 | 15, 59, /* 891 */ | ||
941 | 69, -17, /* 892 */ | ||
942 | 126, -49, /* 893 */ | ||
943 | -106, 103, /* 894 */ | ||
944 | 56, 49, /* 895 */ | ||
945 | 127, 65, /* 896 */ | ||
946 | -101, -60, /* 897 */ | ||
947 | -12, 28, /* 898 */ | ||
948 | -94, -84, /* 899 */ | ||
949 | 52, -90, /* 900 */ | ||
950 | -50, 47, /* 901 */ | ||
951 | -112, -73, /* 902 */ | ||
952 | -84, 67, /* 903 */ | ||
953 | -79, -111, /* 904 */ | ||
954 | 43, -67, /* 905 */ | ||
955 | -29, -38, /* 906 */ | ||
956 | -111, 27, /* 907 */ | ||
957 | 46, -23, /* 908 */ | ||
958 | 91, 29, /* 909 */ | ||
959 | -104, -18, /* 910 */ | ||
960 | -28, -22, /* 911 */ | ||
961 | -32, 55, /* 912 */ | ||
962 | 3, 96, /* 913 */ | ||
963 | 100, -61, /* 914 */ | ||
964 | 36, -121, /* 915 */ | ||
965 | -76, 36, /* 916 */ | ||
966 | -111, 83, /* 917 */ | ||
967 | 76, 71, /* 918 */ | ||
968 | -20, -7, /* 919 */ | ||
969 | 100, 87, /* 920 */ | ||
970 | 125, -66, /* 921 */ | ||
971 | -26, -34, /* 922 */ | ||
972 | -41, 118, /* 923 */ | ||
973 | -47, -8, /* 924 */ | ||
974 | -35, 8, /* 925 */ | ||
975 | 29, -115, /* 926 */ | ||
976 | 24, 31, /* 927 */ | ||
977 | 47, 42, /* 928 */ | ||
978 | 121, 66, /* 929 */ | ||
979 | -57, 44, /* 930 */ | ||
980 | -84, -45, /* 931 */ | ||
981 | 107, 123, /* 932 */ | ||
982 | -62, 3, /* 933 */ | ||
983 | -32, 81, /* 934 */ | ||
984 | 37, -27, /* 935 */ | ||
985 | -47, -5, /* 936 */ | ||
986 | -79, 57, /* 937 */ | ||
987 | -69, 20, /* 938 */ | ||
988 | -72, -72, /* 939 */ | ||
989 | -108, -71, /* 940 */ | ||
990 | -97, -38, /* 941 */ | ||
991 | 9, 36, /* 942 */ | ||
992 | 48, 36, /* 943 */ | ||
993 | 56, -115, /* 944 */ | ||
994 | 112, 126, /* 945 */ | ||
995 | -126, -29, /* 946 */ | ||
996 | 20, -52, /* 947 */ | ||
997 | 14, -65, /* 948 */ | ||
998 | 48, -116, /* 949 */ | ||
999 | 66, 13, /* 950 */ | ||
1000 | 83, 35, /* 951 */ | ||
1001 | 7, -74, /* 952 */ | ||
1002 | -41, -71, /* 953 */ | ||
1003 | -111, -111, /* 954 */ | ||
1004 | -61, 12, /* 955 */ | ||
1005 | 126, -39, /* 956 */ | ||
1006 | -30, -113, /* 957 */ | ||
1007 | 73, 37, /* 958 */ | ||
1008 | 94, 121, /* 959 */ | ||
1009 | -107, -2, /* 960 */ | ||
1010 | -5, -23, /* 961 */ | ||
1011 | 88, 122, /* 962 */ | ||
1012 | -9, 12, /* 963 */ | ||
1013 | 25, 45, /* 964 */ | ||
1014 | -75, 2, /* 965 */ | ||
1015 | 4, 84, /* 966 */ | ||
1016 | -88, 81, /* 967 */ | ||
1017 | 62, -72, /* 968 */ | ||
1018 | -3, -105, /* 969 */ | ||
1019 | 38, -13, /* 970 */ | ||
1020 | -118, 68, /* 971 */ | ||
1021 | -43, -61, /* 972 */ | ||
1022 | -18, 113, /* 973 */ | ||
1023 | -103, -10, /* 974 */ | ||
1024 | 46, -3, /* 975 */ | ||
1025 | -122, 58, /* 976 */ | ||
1026 | -46, 105, /* 977 */ | ||
1027 | -115, 13, /* 978 */ | ||
1028 | -34, -14, /* 979 */ | ||
1029 | -30, 65, /* 980 */ | ||
1030 | -43, 49, /* 981 */ | ||
1031 | 100, 26, /* 982 */ | ||
1032 | -68, -97, /* 983 */ | ||
1033 | -108, -28, /* 984 */ | ||
1034 | -51, 45, /* 985 */ | ||
1035 | -82, 78, /* 986 */ | ||
1036 | 55, -104, /* 987 */ | ||
1037 | 74, -58, /* 988 */ | ||
1038 | -44, -119, /* 989 */ | ||
1039 | 72, -12, /* 990 */ | ||
1040 | 70, 8, /* 991 */ | ||
1041 | -102, -60, /* 992 */ | ||
1042 | -44, -102, /* 993 */ | ||
1043 | -62, 12, /* 994 */ | ||
1044 | -29, 111, /* 995 */ | ||
1045 | 101, -92, /* 996 */ | ||
1046 | 68, 10, /* 997 */ | ||
1047 | -66, -76, /* 998 */ | ||
1048 | -12, 19, /* 999 */ | ||
1049 | -59, -64, /* 1000 */ | ||
1050 | -20, 38, /* 1001 */ | ||
1051 | 50, -127, /* 1002 */ | ||
1052 | 81, -126, /* 1003 */ | ||
1053 | 83, 59, /* 1004 */ | ||
1054 | -25, -103, /* 1005 */ | ||
1055 | 38, 70, /* 1006 */ | ||
1056 | -89, 62, /* 1007 */ | ||
1057 | -41, -90, /* 1008 */ | ||
1058 | -124, -125, /* 1009 */ | ||
1059 | 68, -115, /* 1010 */ | ||
1060 | -11, -30, /* 1011 */ | ||
1061 | -117, -16, /* 1012 */ | ||
1062 | -103, -119, /* 1013 */ | ||
1063 | 116, 85, /* 1014 */ | ||
1064 | 27, 72, /* 1015 */ | ||
1065 | -65, 91, /* 1016 */ | ||
1066 | 109, 54, /* 1017 */ | ||
1067 | -18, 24, /* 1018 */ | ||
1068 | -116, 64, /* 1019 */ | ||
1069 | 103, -76, /* 1020 */ | ||
1070 | 122, -104, /* 1021 */ | ||
1071 | 40, -72, /* 1022 */ | ||
1072 | 58, -88, /* 1023 */ | ||
1073 | }; | ||
1074 | |||
1075 | #pragma DATA_SECTION (rtest,".test") | ||
1076 | |||
1077 | DATA rtest[2*NX] ={ | ||
1078 | 2573, -1395, /* 0 */ | ||
1079 | -1139, 491, /* 1 */ | ||
1080 | 617, -3083, /* 2 */ | ||
1081 | 649, -2817, /* 3 */ | ||
1082 | 3466, 188, /* 4 */ | ||
1083 | -30, -6713, /* 5 */ | ||
1084 | 1129, -482, /* 6 */ | ||
1085 | 1281, -1098, /* 7 */ | ||
1086 | -167, -3486, /* 8 */ | ||
1087 | -2192, 452, /* 9 */ | ||
1088 | 1534, -2693, /* 10 */ | ||
1089 | 2740, 431, /* 11 */ | ||
1090 | -801, 2841, /* 12 */ | ||
1091 | 2096, -1606, /* 13 */ | ||
1092 | 866, 685, /* 14 */ | ||
1093 | 4056, -566, /* 15 */ | ||
1094 | 1289, 863, /* 16 */ | ||
1095 | -124, -255, /* 17 */ | ||
1096 | 1090, 2036, /* 18 */ | ||
1097 | 2127, 1962, /* 19 */ | ||
1098 | -1302, -370, /* 20 */ | ||
1099 | 2084, 77, /* 21 */ | ||
1100 | 172, 4473, /* 22 */ | ||
1101 | -3408, 648, /* 23 */ | ||
1102 | -4178, -3067, /* 24 */ | ||
1103 | -2660, -1943, /* 25 */ | ||
1104 | -331, 1012, /* 26 */ | ||
1105 | -1628, -2142, /* 27 */ | ||
1106 | 3038, -4191, /* 28 */ | ||
1107 | -1747, 2544, /* 29 */ | ||
1108 | 5245, 3445, /* 30 */ | ||
1109 | 4814, -2888, /* 31 */ | ||
1110 | -672, -4080, /* 32 */ | ||
1111 | 285, 3106, /* 33 */ | ||
1112 | -2250, 3306, /* 34 */ | ||
1113 | 985, -564, /* 35 */ | ||
1114 | 3648, 1091, /* 36 */ | ||
1115 | -3332, -2837, /* 37 */ | ||
1116 | 1202, 893, /* 38 */ | ||
1117 | 2148, -4359, /* 39 */ | ||
1118 | -1708, 2534, /* 40 */ | ||
1119 | 190, 2059, /* 41 */ | ||
1120 | -2575, -3307, /* 42 */ | ||
1121 | 460, 1904, /* 43 */ | ||
1122 | 4071, 340, /* 44 */ | ||
1123 | -525, -626, /* 45 */ | ||
1124 | -2951, 365, /* 46 */ | ||
1125 | 79, 1956, /* 47 */ | ||
1126 | -752, -223, /* 48 */ | ||
1127 | -1842, 2627, /* 49 */ | ||
1128 | 1801, 2449, /* 50 */ | ||
1129 | -4466, -3506, /* 51 */ | ||
1130 | 4474, 393, /* 52 */ | ||
1131 | -1126, 681, /* 53 */ | ||
1132 | 1920, 2335, /* 54 */ | ||
1133 | 469, -619, /* 55 */ | ||
1134 | 3010, 392, /* 56 */ | ||
1135 | 811, -2132, /* 57 */ | ||
1136 | -426, 3316, /* 58 */ | ||
1137 | 258, -109, /* 59 */ | ||
1138 | -503, -2594, /* 60 */ | ||
1139 | 4950, -4026, /* 61 */ | ||
1140 | -402, -3794, /* 62 */ | ||
1141 | -451, 1241, /* 63 */ | ||
1142 | 283, 3475, /* 64 */ | ||
1143 | 3120, 1920, /* 65 */ | ||
1144 | 1243, -3060, /* 66 */ | ||
1145 | 22, -939, /* 67 */ | ||
1146 | -98, 2673, /* 68 */ | ||
1147 | -3646, 202, /* 69 */ | ||
1148 | 1913, -1644, /* 70 */ | ||
1149 | -2568, 100, /* 71 */ | ||
1150 | -2570, -2205, /* 72 */ | ||
1151 | 3363, 1232, /* 73 */ | ||
1152 | -3749, -183, /* 74 */ | ||
1153 | -1066, -5262, /* 75 */ | ||
1154 | 2410, -950, /* 76 */ | ||
1155 | -892, -519, /* 77 */ | ||
1156 | -568, 738, /* 78 */ | ||
1157 | 3691, -653, /* 79 */ | ||
1158 | -664, 355, /* 80 */ | ||
1159 | 1743, 2108, /* 81 */ | ||
1160 | -426, -238, /* 82 */ | ||
1161 | 1662, -2951, /* 83 */ | ||
1162 | -2604, -591, /* 84 */ | ||
1163 | -3297, -6550, /* 85 */ | ||
1164 | 1150, 1864, /* 86 */ | ||
1165 | 884, -379, /* 87 */ | ||
1166 | 935, 1435, /* 88 */ | ||
1167 | -1636, 1668, /* 89 */ | ||
1168 | 4476, 2, /* 90 */ | ||
1169 | -557, -1785, /* 91 */ | ||
1170 | -408, -2495, /* 92 */ | ||
1171 | 390, 630, /* 93 */ | ||
1172 | 5025, 341, /* 94 */ | ||
1173 | 1020, 1119, /* 95 */ | ||
1174 | 1577, -1497, /* 96 */ | ||
1175 | 3161, 1117, /* 97 */ | ||
1176 | -524, 2127, /* 98 */ | ||
1177 | 6725, -950, /* 99 */ | ||
1178 | -1755, -306, /* 100 */ | ||
1179 | 2989, -1169, /* 101 */ | ||
1180 | 1838, 1444, /* 102 */ | ||
1181 | -3042, 2265, /* 103 */ | ||
1182 | 2536, -1757, /* 104 */ | ||
1183 | 1033, 1696, /* 105 */ | ||
1184 | 1283, -2322, /* 106 */ | ||
1185 | -7059, 382, /* 107 */ | ||
1186 | 6877, 2090, /* 108 */ | ||
1187 | 2078, 988, /* 109 */ | ||
1188 | 1582, 154, /* 110 */ | ||
1189 | -1359, 1024, /* 111 */ | ||
1190 | 4793, -1501, /* 112 */ | ||
1191 | -2681, -3213, /* 113 */ | ||
1192 | -1530, 5316, /* 114 */ | ||
1193 | 2654, -2094, /* 115 */ | ||
1194 | -827, 138, /* 116 */ | ||
1195 | 1369, 1031, /* 117 */ | ||
1196 | -3019, 4418, /* 118 */ | ||
1197 | -666, 2797, /* 119 */ | ||
1198 | 2421, -1205, /* 120 */ | ||
1199 | -1707, 721, /* 121 */ | ||
1200 | -3417, 2011, /* 122 */ | ||
1201 | -108, 2423, /* 123 */ | ||
1202 | 3161, 1907, /* 124 */ | ||
1203 | 286, 1981, /* 125 */ | ||
1204 | 1278, 1098, /* 126 */ | ||
1205 | -553, -14, /* 127 */ | ||
1206 | 877, 2914, /* 128 */ | ||
1207 | -3110, 3351, /* 129 */ | ||
1208 | 148, 617, /* 130 */ | ||
1209 | 91, 1274, /* 131 */ | ||
1210 | -2824, -1415, /* 132 */ | ||
1211 | -1361, 2218, /* 133 */ | ||
1212 | 2613, -1088, /* 134 */ | ||
1213 | -1474, 707, /* 135 */ | ||
1214 | 2527, -1172, /* 136 */ | ||
1215 | -689, -3285, /* 137 */ | ||
1216 | 2774, -2430, /* 138 */ | ||
1217 | -53, -4778, /* 139 */ | ||
1218 | 5439, -481, /* 140 */ | ||
1219 | -2232, 4004, /* 141 */ | ||
1220 | -1599, -1765, /* 142 */ | ||
1221 | -1075, 1055, /* 143 */ | ||
1222 | -3323, 612, /* 144 */ | ||
1223 | -1791, -1159, /* 145 */ | ||
1224 | -3871, 1424, /* 146 */ | ||
1225 | 1416, -5205, /* 147 */ | ||
1226 | 5111, 3322, /* 148 */ | ||
1227 | 1578, -974, /* 149 */ | ||
1228 | 2567, 1160, /* 150 */ | ||
1229 | 1435, -8, /* 151 */ | ||
1230 | 2100, 560, /* 152 */ | ||
1231 | 1179, 1335, /* 153 */ | ||
1232 | -3063, -744, /* 154 */ | ||
1233 | 2729, 2112, /* 155 */ | ||
1234 | -656, 1996, /* 156 */ | ||
1235 | -3904, 1401, /* 157 */ | ||
1236 | -2332, 558, /* 158 */ | ||
1237 | -624, 3548, /* 159 */ | ||
1238 | -4614, 3183, /* 160 */ | ||
1239 | 168, 3898, /* 161 */ | ||
1240 | 1556, 1233, /* 162 */ | ||
1241 | 4197, -265, /* 163 */ | ||
1242 | -3679, 616, /* 164 */ | ||
1243 | -1394, 10, /* 165 */ | ||
1244 | 1379, 2953, /* 166 */ | ||
1245 | 539, -281, /* 167 */ | ||
1246 | 4719, -2374, /* 168 */ | ||
1247 | 998, 2945, /* 169 */ | ||
1248 | -2454, 4469, /* 170 */ | ||
1249 | 154, 2918, /* 171 */ | ||
1250 | 3082, -3129, /* 172 */ | ||
1251 | -5518, 2792, /* 173 */ | ||
1252 | 1781, -995, /* 174 */ | ||
1253 | -2341, 2757, /* 175 */ | ||
1254 | -3257, 2554, /* 176 */ | ||
1255 | -2618, -884, /* 177 */ | ||
1256 | 1924, 1529, /* 178 */ | ||
1257 | 2605, 1630, /* 179 */ | ||
1258 | 1346, 3890, /* 180 */ | ||
1259 | 1854, -1531, /* 181 */ | ||
1260 | 2443, -1479, /* 182 */ | ||
1261 | -2610, -930, /* 183 */ | ||
1262 | -582, 1706, /* 184 */ | ||
1263 | -873, 1773, /* 185 */ | ||
1264 | 2686, 392, /* 186 */ | ||
1265 | -1896, 2971, /* 187 */ | ||
1266 | 5789, -4079, /* 188 */ | ||
1267 | -632, -341, /* 189 */ | ||
1268 | 464, -4750, /* 190 */ | ||
1269 | -386, 4699, /* 191 */ | ||
1270 | 4346, -362, /* 192 */ | ||
1271 | -2104, -1281, /* 193 */ | ||
1272 | -1784, -381, /* 194 */ | ||
1273 | 674, 1694, /* 195 */ | ||
1274 | -2136, -133, /* 196 */ | ||
1275 | 249, -3517, /* 197 */ | ||
1276 | -928, 883, /* 198 */ | ||
1277 | 2821, -2879, /* 199 */ | ||
1278 | 1932, 1765, /* 200 */ | ||
1279 | -1017, -1549, /* 201 */ | ||
1280 | 1711, 928, /* 202 */ | ||
1281 | 1113, -1628, /* 203 */ | ||
1282 | 1089, -793, /* 204 */ | ||
1283 | 2363, -5533, /* 205 */ | ||
1284 | -1892, -2289, /* 206 */ | ||
1285 | 987, -2414, /* 207 */ | ||
1286 | 2407, 2874, /* 208 */ | ||
1287 | -2984, 1548, /* 209 */ | ||
1288 | -412, -1876, /* 210 */ | ||
1289 | 1753, 5072, /* 211 */ | ||
1290 | 4593, -4116, /* 212 */ | ||
1291 | -1085, 944, /* 213 */ | ||
1292 | -3035, 1178, /* 214 */ | ||
1293 | 2871, -1337, /* 215 */ | ||
1294 | -2374, 4136, /* 216 */ | ||
1295 | 423, 862, /* 217 */ | ||
1296 | 4332, 1692, /* 218 */ | ||
1297 | 46, 1176, /* 219 */ | ||
1298 | 597, -797, /* 220 */ | ||
1299 | 1559, 2046, /* 221 */ | ||
1300 | 3589, -771, /* 222 */ | ||
1301 | 1386, 1181, /* 223 */ | ||
1302 | 4235, -1765, /* 224 */ | ||
1303 | 3422, 1777, /* 225 */ | ||
1304 | 732, -4763, /* 226 */ | ||
1305 | -595, -4081, /* 227 */ | ||
1306 | -1318, -3590, /* 228 */ | ||
1307 | -424, 3833, /* 229 */ | ||
1308 | 1274, -4884, /* 230 */ | ||
1309 | 644, -657, /* 231 */ | ||
1310 | 3171, -2591, /* 232 */ | ||
1311 | 3551, -87, /* 233 */ | ||
1312 | -1580, -437, /* 234 */ | ||
1313 | 907, 3149, /* 235 */ | ||
1314 | -1367, -206, /* 236 */ | ||
1315 | -383, -4192, /* 237 */ | ||
1316 | -2992, 947, /* 238 */ | ||
1317 | -375, 1578, /* 239 */ | ||
1318 | -2663, 436, /* 240 */ | ||
1319 | 1570, -773, /* 241 */ | ||
1320 | -226, -1231, /* 242 */ | ||
1321 | -1360, -2987, /* 243 */ | ||
1322 | 1024, -1342, /* 244 */ | ||
1323 | -4528, 2941, /* 245 */ | ||
1324 | 1626, 195, /* 246 */ | ||
1325 | -2700, -1005, /* 247 */ | ||
1326 | 3119, -646, /* 248 */ | ||
1327 | -3679, 3013, /* 249 */ | ||
1328 | -108, 3839, /* 250 */ | ||
1329 | -607, -48, /* 251 */ | ||
1330 | -1344, 668, /* 252 */ | ||
1331 | -642, -3156, /* 253 */ | ||
1332 | -2284, -2147, /* 254 */ | ||
1333 | -3167, 1094, /* 255 */ | ||
1334 | -1831, -684, /* 256 */ | ||
1335 | 879, -123, /* 257 */ | ||
1336 | -994, 1462, /* 258 */ | ||
1337 | -3812, 378, /* 259 */ | ||
1338 | -992, 2998, /* 260 */ | ||
1339 | 359, 96, /* 261 */ | ||
1340 | 2375, -188, /* 262 */ | ||
1341 | 458, 300, /* 263 */ | ||
1342 | -1423, -2441, /* 264 */ | ||
1343 | 1272, 1327, /* 265 */ | ||
1344 | 21, 709, /* 266 */ | ||
1345 | 183, -2227, /* 267 */ | ||
1346 | -1703, 2069, /* 268 */ | ||
1347 | 956, 1090, /* 269 */ | ||
1348 | 3298, -654, /* 270 */ | ||
1349 | 745, -689, /* 271 */ | ||
1350 | -3113, -2090, /* 272 */ | ||
1351 | -1719, -4337, /* 273 */ | ||
1352 | 2667, 341, /* 274 */ | ||
1353 | 1871, -5702, /* 275 */ | ||
1354 | -2405, 1975, /* 276 */ | ||
1355 | 4603, -49, /* 277 */ | ||
1356 | -506, -4037, /* 278 */ | ||
1357 | -5, -4727, /* 279 */ | ||
1358 | -186, -1609, /* 280 */ | ||
1359 | -356, -553, /* 281 */ | ||
1360 | 1546, 3197, /* 282 */ | ||
1361 | 5094, -825, /* 283 */ | ||
1362 | -7, 372, /* 284 */ | ||
1363 | 964, -2469, /* 285 */ | ||
1364 | -2756, 1645, /* 286 */ | ||
1365 | 1505, -414, /* 287 */ | ||
1366 | -1854, -1940, /* 288 */ | ||
1367 | 1521, -3067, /* 289 */ | ||
1368 | -345, -229, /* 290 */ | ||
1369 | 1360, -2140, /* 291 */ | ||
1370 | 958, -1812, /* 292 */ | ||
1371 | 11, -4199, /* 293 */ | ||
1372 | 1820, -1900, /* 294 */ | ||
1373 | 1971, 2937, /* 295 */ | ||
1374 | 2024, -1929, /* 296 */ | ||
1375 | -140, -4653, /* 297 */ | ||
1376 | 1621, -400, /* 298 */ | ||
1377 | 2547, -1396, /* 299 */ | ||
1378 | 105, 697, /* 300 */ | ||
1379 | -581, 245, /* 301 */ | ||
1380 | 2998, 2354, /* 302 */ | ||
1381 | 4179, 3984, /* 303 */ | ||
1382 | -2832, -507, /* 304 */ | ||
1383 | -3712, -1305, /* 305 */ | ||
1384 | 825, 3821, /* 306 */ | ||
1385 | 2459, 224, /* 307 */ | ||
1386 | 1802, -928, /* 308 */ | ||
1387 | 1137, 160, /* 309 */ | ||
1388 | 1463, -673, /* 310 */ | ||
1389 | 716, 2047, /* 311 */ | ||
1390 | 3082, -2186, /* 312 */ | ||
1391 | -1525, -2737, /* 313 */ | ||
1392 | 822, 4221, /* 314 */ | ||
1393 | 258, 5388, /* 315 */ | ||
1394 | 97, 2946, /* 316 */ | ||
1395 | -1602, -88, /* 317 */ | ||
1396 | 870, 69, /* 318 */ | ||
1397 | 4382, -7592, /* 319 */ | ||
1398 | -989, 2609, /* 320 */ | ||
1399 | -806, -734, /* 321 */ | ||
1400 | -5816, 1912, /* 322 */ | ||
1401 | 1315, 706, /* 323 */ | ||
1402 | 2641, 6327, /* 324 */ | ||
1403 | -1258, 2588, /* 325 */ | ||
1404 | 2815, -1015, /* 326 */ | ||
1405 | -695, -9499, /* 327 */ | ||
1406 | -1056, -253, /* 328 */ | ||
1407 | 892, 1106, /* 329 */ | ||
1408 | -1478, -137, /* 330 */ | ||
1409 | -947, 1170, /* 331 */ | ||
1410 | -729, -230, /* 332 */ | ||
1411 | 1108, -274, /* 333 */ | ||
1412 | 2408, -626, /* 334 */ | ||
1413 | 645, -1189, /* 335 */ | ||
1414 | 2904, -3077, /* 336 */ | ||
1415 | 4029, 1943, /* 337 */ | ||
1416 | -53, 415, /* 338 */ | ||
1417 | 1806, 3090, /* 339 */ | ||
1418 | -2026, 75, /* 340 */ | ||
1419 | 217, -932, /* 341 */ | ||
1420 | -2060, -12, /* 342 */ | ||
1421 | 3726, 2741, /* 343 */ | ||
1422 | 1994, -1682, /* 344 */ | ||
1423 | 2984, 3920, /* 345 */ | ||
1424 | 1801, 785, /* 346 */ | ||
1425 | -3356, 1133, /* 347 */ | ||
1426 | -1309, -2688, /* 348 */ | ||
1427 | 3225, 5390, /* 349 */ | ||
1428 | -5995, 403, /* 350 */ | ||
1429 | 15, -3459, /* 351 */ | ||
1430 | -3833, 1938, /* 352 */ | ||
1431 | -6464, -143, /* 353 */ | ||
1432 | -456, 3997, /* 354 */ | ||
1433 | -1828, -1457, /* 355 */ | ||
1434 | -51, 1004, /* 356 */ | ||
1435 | 4273, 1971, /* 357 */ | ||
1436 | 2455, -1369, /* 358 */ | ||
1437 | 504, 2147, /* 359 */ | ||
1438 | 3990, -2571, /* 360 */ | ||
1439 | -114, -4603, /* 361 */ | ||
1440 | -1168, 2404, /* 362 */ | ||
1441 | 1667, -2087, /* 363 */ | ||
1442 | -679, -1938, /* 364 */ | ||
1443 | -1529, 1287, /* 365 */ | ||
1444 | -2135, -1451, /* 366 */ | ||
1445 | 270, 2190, /* 367 */ | ||
1446 | -1429, 2100, /* 368 */ | ||
1447 | 918, 243, /* 369 */ | ||
1448 | -4550, -752, /* 370 */ | ||
1449 | 3544, -2159, /* 371 */ | ||
1450 | -1095, -5364, /* 372 */ | ||
1451 | 2642, 2694, /* 373 */ | ||
1452 | 2850, -1191, /* 374 */ | ||
1453 | -1977, 344, /* 375 */ | ||
1454 | 144, -1185, /* 376 */ | ||
1455 | -985, -2626, /* 377 */ | ||
1456 | -21, 1851, /* 378 */ | ||
1457 | -4049, 1747, /* 379 */ | ||
1458 | -2237, 4583, /* 380 */ | ||
1459 | -2873, 492, /* 381 */ | ||
1460 | 4124, 951, /* 382 */ | ||
1461 | -961, -23, /* 383 */ | ||
1462 | 4229, -1827, /* 384 */ | ||
1463 | -2724, -3088, /* 385 */ | ||
1464 | -4693, -5944, /* 386 */ | ||
1465 | -389, 209, /* 387 */ | ||
1466 | 1565, 2248, /* 388 */ | ||
1467 | -305, -525, /* 389 */ | ||
1468 | 3316, 402, /* 390 */ | ||
1469 | 2046, 3804, /* 391 */ | ||
1470 | 3315, 1236, /* 392 */ | ||
1471 | 2718, 1186, /* 393 */ | ||
1472 | 389, -4316, /* 394 */ | ||
1473 | -952, -3495, /* 395 */ | ||
1474 | -487, -2027, /* 396 */ | ||
1475 | 3041, -3098, /* 397 */ | ||
1476 | 834, 288, /* 398 */ | ||
1477 | -2509, -7, /* 399 */ | ||
1478 | -781, 606, /* 400 */ | ||
1479 | 2465, 3661, /* 401 */ | ||
1480 | -4241, 1340, /* 402 */ | ||
1481 | -504, 3810, /* 403 */ | ||
1482 | -25, -538, /* 404 */ | ||
1483 | 1288, 5257, /* 405 */ | ||
1484 | 85, 1119, /* 406 */ | ||
1485 | 4752, -486, /* 407 */ | ||
1486 | -2587, 17, /* 408 */ | ||
1487 | 2624, -830, /* 409 */ | ||
1488 | 335, 1533, /* 410 */ | ||
1489 | 784, 556, /* 411 */ | ||
1490 | 3913, -1699, /* 412 */ | ||
1491 | 1167, -3737, /* 413 */ | ||
1492 | 1576, -2539, /* 414 */ | ||
1493 | -410, 207, /* 415 */ | ||
1494 | -352, 1299, /* 416 */ | ||
1495 | -4092, 1399, /* 417 */ | ||
1496 | -68, -1505, /* 418 */ | ||
1497 | 1545, -1131, /* 419 */ | ||
1498 | -1565, -2411, /* 420 */ | ||
1499 | 538, -2923, /* 421 */ | ||
1500 | -1900, -2211, /* 422 */ | ||
1501 | 186, 997, /* 423 */ | ||
1502 | -1418, 5869, /* 424 */ | ||
1503 | -561, -2996, /* 425 */ | ||
1504 | -1180, 1346, /* 426 */ | ||
1505 | -1727, -2084, /* 427 */ | ||
1506 | -4340, -84, /* 428 */ | ||
1507 | 1201, -450, /* 429 */ | ||
1508 | -3374, -2478, /* 430 */ | ||
1509 | -2654, -563, /* 431 */ | ||
1510 | 527, -434, /* 432 */ | ||
1511 | -4036, -653, /* 433 */ | ||
1512 | -1202, 888, /* 434 */ | ||
1513 | -2402, 456, /* 435 */ | ||
1514 | 795, -309, /* 436 */ | ||
1515 | 4608, -5055, /* 437 */ | ||
1516 | 5291, -2619, /* 438 */ | ||
1517 | -3027, 555, /* 439 */ | ||
1518 | -377, -1082, /* 440 */ | ||
1519 | 4357, 1301, /* 441 */ | ||
1520 | 1123, -18, /* 442 */ | ||
1521 | -219, -4315, /* 443 */ | ||
1522 | -816, 618, /* 444 */ | ||
1523 | -2236, -934, /* 445 */ | ||
1524 | 715, -14, /* 446 */ | ||
1525 | -2702, 1452, /* 447 */ | ||
1526 | -2069, -697, /* 448 */ | ||
1527 | -4861, 182, /* 449 */ | ||
1528 | -4894, -689, /* 450 */ | ||
1529 | -1092, -6, /* 451 */ | ||
1530 | 3251, 1729, /* 452 */ | ||
1531 | 1018, -74, /* 453 */ | ||
1532 | 973, 1178, /* 454 */ | ||
1533 | 1082, -224, /* 455 */ | ||
1534 | 1366, 5774, /* 456 */ | ||
1535 | -1001, -1056, /* 457 */ | ||
1536 | -187, 4109, /* 458 */ | ||
1537 | 1975, 3028, /* 459 */ | ||
1538 | -1988, -4385, /* 460 */ | ||
1539 | 441, 3764, /* 461 */ | ||
1540 | -948, -987, /* 462 */ | ||
1541 | 3842, -1407, /* 463 */ | ||
1542 | 2362, 4836, /* 464 */ | ||
1543 | -3138, 3278, /* 465 */ | ||
1544 | -2084, -12, /* 466 */ | ||
1545 | -2884, -89, /* 467 */ | ||
1546 | -1254, 1503, /* 468 */ | ||
1547 | 1504, -1757, /* 469 */ | ||
1548 | -643, -1035, /* 470 */ | ||
1549 | -482, -2593, /* 471 */ | ||
1550 | -6548, -2161, /* 472 */ | ||
1551 | 560, -622, /* 473 */ | ||
1552 | 287, 809, /* 474 */ | ||
1553 | 1474, 1772, /* 475 */ | ||
1554 | 2685, -4693, /* 476 */ | ||
1555 | -3514, 278, /* 477 */ | ||
1556 | 3725, 1952, /* 478 */ | ||
1557 | 2605, 222, /* 479 */ | ||
1558 | -1434, -2208, /* 480 */ | ||
1559 | 445, 320, /* 481 */ | ||
1560 | 296, 4078, /* 482 */ | ||
1561 | 1697, 740, /* 483 */ | ||
1562 | -3480, -751, /* 484 */ | ||
1563 | 2487, -1165, /* 485 */ | ||
1564 | 1133, 1159, /* 486 */ | ||
1565 | -3541, -2231, /* 487 */ | ||
1566 | 1572, 382, /* 488 */ | ||
1567 | 2412, -3200, /* 489 */ | ||
1568 | -2966, -2062, /* 490 */ | ||
1569 | -696, -1358, /* 491 */ | ||
1570 | 1466, 962, /* 492 */ | ||
1571 | -1856, -1670, /* 493 */ | ||
1572 | -1831, 2098, /* 494 */ | ||
1573 | 1527, -458, /* 495 */ | ||
1574 | -1649, -1464, /* 496 */ | ||
1575 | 2418, -1835, /* 497 */ | ||
1576 | -1418, -1479, /* 498 */ | ||
1577 | -196, 2011, /* 499 */ | ||
1578 | -945, 1038, /* 500 */ | ||
1579 | -3238, 50, /* 501 */ | ||
1580 | -2595, 2285, /* 502 */ | ||
1581 | 3476, 2503, /* 503 */ | ||
1582 | -826, -4248, /* 504 */ | ||
1583 | 4741, 80, /* 505 */ | ||
1584 | -1845, 2021, /* 506 */ | ||
1585 | 269, 4121, /* 507 */ | ||
1586 | -949, -4455, /* 508 */ | ||
1587 | -334, 2339, /* 509 */ | ||
1588 | -2669, -3221, /* 510 */ | ||
1589 | 3409, 4930, /* 511 */ | ||
1590 | 4284, -3161, /* 512 */ | ||
1591 | -911, -383, /* 513 */ | ||
1592 | 70, -3347, /* 514 */ | ||
1593 | 1592, 2315, /* 515 */ | ||
1594 | -2016, -1193, /* 516 */ | ||
1595 | -8238, 242, /* 517 */ | ||
1596 | 841, 2035, /* 518 */ | ||
1597 | 3754, 92, /* 519 */ | ||
1598 | -2130, 1212, /* 520 */ | ||
1599 | 1348, 7303, /* 521 */ | ||
1600 | -895, 629, /* 522 */ | ||
1601 | 1476, 1450, /* 523 */ | ||
1602 | 3372, -899, /* 524 */ | ||
1603 | -624, -4116, /* 525 */ | ||
1604 | 715, 116, /* 526 */ | ||
1605 | 558, 1411, /* 527 */ | ||
1606 | -1023, 3699, /* 528 */ | ||
1607 | -2107, -3473, /* 529 */ | ||
1608 | 682, 2119, /* 530 */ | ||
1609 | 4372, -2652, /* 531 */ | ||
1610 | 1383, 3590, /* 532 */ | ||
1611 | -2322, 3861, /* 533 */ | ||
1612 | -3087, -1841, /* 534 */ | ||
1613 | 2449, 1179, /* 535 */ | ||
1614 | -1318, 1708, /* 536 */ | ||
1615 | -595, 1644, /* 537 */ | ||
1616 | -1294, 114, /* 538 */ | ||
1617 | -4004, -838, /* 539 */ | ||
1618 | 405, 5460, /* 540 */ | ||
1619 | 1180, -3983, /* 541 */ | ||
1620 | 3340, 550, /* 542 */ | ||
1621 | 2197, -363, /* 543 */ | ||
1622 | 2767, 331, /* 544 */ | ||
1623 | -5085, -2127, /* 545 */ | ||
1624 | -2917, -2361, /* 546 */ | ||
1625 | 2066, -623, /* 547 */ | ||
1626 | -1246, -153, /* 548 */ | ||
1627 | -2366, 4841, /* 549 */ | ||
1628 | 357, -2453, /* 550 */ | ||
1629 | 1843, -6562, /* 551 */ | ||
1630 | -3865, 1539, /* 552 */ | ||
1631 | -965, -876, /* 553 */ | ||
1632 | -1789, -2142, /* 554 */ | ||
1633 | 1688, -3301, /* 555 */ | ||
1634 | -445, 1410, /* 556 */ | ||
1635 | -1275, -803, /* 557 */ | ||
1636 | 2245, -976, /* 558 */ | ||
1637 | 2272, 676, /* 559 */ | ||
1638 | 1894, 3178, /* 560 */ | ||
1639 | -2570, -715, /* 561 */ | ||
1640 | -139, -897, /* 562 */ | ||
1641 | 2234, 439, /* 563 */ | ||
1642 | -2548, 1015, /* 564 */ | ||
1643 | 2919, 820, /* 565 */ | ||
1644 | 3477, 828, /* 566 */ | ||
1645 | 2784, 1321, /* 567 */ | ||
1646 | 215, 611, /* 568 */ | ||
1647 | 1690, -262, /* 569 */ | ||
1648 | 531, 1574, /* 570 */ | ||
1649 | 2530, -1019, /* 571 */ | ||
1650 | 169, 469, /* 572 */ | ||
1651 | -3569, -2727, /* 573 */ | ||
1652 | 207, -487, /* 574 */ | ||
1653 | -231, 2040, /* 575 */ | ||
1654 | 816, 2807, /* 576 */ | ||
1655 | -932, -5781, /* 577 */ | ||
1656 | -518, 996, /* 578 */ | ||
1657 | 4823, -406, /* 579 */ | ||
1658 | -2803, 2069, /* 580 */ | ||
1659 | -3364, -1272, /* 581 */ | ||
1660 | 3455, 2126, /* 582 */ | ||
1661 | 2817, -780, /* 583 */ | ||
1662 | -107, -1490, /* 584 */ | ||
1663 | -51, -1996, /* 585 */ | ||
1664 | -1365, 302, /* 586 */ | ||
1665 | 2708, -2284, /* 587 */ | ||
1666 | 4750, -3670, /* 588 */ | ||
1667 | 2425, 2935, /* 589 */ | ||
1668 | -3566, 367, /* 590 */ | ||
1669 | -1045, 265, /* 591 */ | ||
1670 | 2275, -2854, /* 592 */ | ||
1671 | -3465, 1299, /* 593 */ | ||
1672 | 354, 190, /* 594 */ | ||
1673 | 2705, -1833, /* 595 */ | ||
1674 | -468, -1520, /* 596 */ | ||
1675 | -1952, -1949, /* 597 */ | ||
1676 | -963, -2230, /* 598 */ | ||
1677 | 1738, -101, /* 599 */ | ||
1678 | -1932, 1612, /* 600 */ | ||
1679 | -1145, -5265, /* 601 */ | ||
1680 | 1180, 4159, /* 602 */ | ||
1681 | -2800, 1216, /* 603 */ | ||
1682 | -2003, -127, /* 604 */ | ||
1683 | 2516, 1214, /* 605 */ | ||
1684 | -2729, -758, /* 606 */ | ||
1685 | 158, -763, /* 607 */ | ||
1686 | 1624, 5071, /* 608 */ | ||
1687 | 710, -151, /* 609 */ | ||
1688 | 1389, 2747, /* 610 */ | ||
1689 | 40, -386, /* 611 */ | ||
1690 | -2883, 3889, /* 612 */ | ||
1691 | 15, 470, /* 613 */ | ||
1692 | -272, 350, /* 614 */ | ||
1693 | 4526, 845, /* 615 */ | ||
1694 | -1812, -3552, /* 616 */ | ||
1695 | 647, -4022, /* 617 */ | ||
1696 | -1464, 2536, /* 618 */ | ||
1697 | -2410, 2278, /* 619 */ | ||
1698 | -1129, 413, /* 620 */ | ||
1699 | -176, 2219, /* 621 */ | ||
1700 | 338, -679, /* 622 */ | ||
1701 | -2275, 995, /* 623 */ | ||
1702 | 863, -2072, /* 624 */ | ||
1703 | -2773, -1976, /* 625 */ | ||
1704 | -1548, 153, /* 626 */ | ||
1705 | -1741, 2190, /* 627 */ | ||
1706 | -1624, 3808, /* 628 */ | ||
1707 | 1367, -3771, /* 629 */ | ||
1708 | 2202, 142, /* 630 */ | ||
1709 | -2864, -1620, /* 631 */ | ||
1710 | -2324, -1556, /* 632 */ | ||
1711 | -1040, 972, /* 633 */ | ||
1712 | 360, 784, /* 634 */ | ||
1713 | -1210, 3022, /* 635 */ | ||
1714 | -3883, 2207, /* 636 */ | ||
1715 | 1046, 2938, /* 637 */ | ||
1716 | -1170, 3784, /* 638 */ | ||
1717 | -898, -1050, /* 639 */ | ||
1718 | 1823, -2564, /* 640 */ | ||
1719 | -2478, 1992, /* 641 */ | ||
1720 | -1008, -3649, /* 642 */ | ||
1721 | 101, -3343, /* 643 */ | ||
1722 | 901, -1714, /* 644 */ | ||
1723 | -3186, 1483, /* 645 */ | ||
1724 | 448, -4102, /* 646 */ | ||
1725 | -718, -1628, /* 647 */ | ||
1726 | -984, 1645, /* 648 */ | ||
1727 | 1651, -298, /* 649 */ | ||
1728 | -954, 390, /* 650 */ | ||
1729 | -807, 1460, /* 651 */ | ||
1730 | 1405, -1685, /* 652 */ | ||
1731 | -1495, 752, /* 653 */ | ||
1732 | -3917, -4979, /* 654 */ | ||
1733 | 1857, -5174, /* 655 */ | ||
1734 | -361, 1788, /* 656 */ | ||
1735 | 1719, -1977, /* 657 */ | ||
1736 | -4334, -3636, /* 658 */ | ||
1737 | 1396, 4124, /* 659 */ | ||
1738 | -2224, 1479, /* 660 */ | ||
1739 | 2095, -760, /* 661 */ | ||
1740 | -3180, 640, /* 662 */ | ||
1741 | -856, -271, /* 663 */ | ||
1742 | -1075, 2533, /* 664 */ | ||
1743 | -2294, 1293, /* 665 */ | ||
1744 | -1072, 2750, /* 666 */ | ||
1745 | 542, -3828, /* 667 */ | ||
1746 | -719, -165, /* 668 */ | ||
1747 | -1851, 3797, /* 669 */ | ||
1748 | -78, 2723, /* 670 */ | ||
1749 | -3977, 907, /* 671 */ | ||
1750 | -1372, -1574, /* 672 */ | ||
1751 | -1109, -927, /* 673 */ | ||
1752 | 476, -2104, /* 674 */ | ||
1753 | -2485, 413, /* 675 */ | ||
1754 | 2298, 1581, /* 676 */ | ||
1755 | -1064, -2102, /* 677 */ | ||
1756 | -2342, -2294, /* 678 */ | ||
1757 | 3177, -1737, /* 679 */ | ||
1758 | -3600, 1131, /* 680 */ | ||
1759 | -2741, 3738, /* 681 */ | ||
1760 | -47, -151, /* 682 */ | ||
1761 | -3418, 1193, /* 683 */ | ||
1762 | 105, 1397, /* 684 */ | ||
1763 | -5927, -865, /* 685 */ | ||
1764 | 905, -815, /* 686 */ | ||
1765 | 1184, -3589, /* 687 */ | ||
1766 | 187, 1532, /* 688 */ | ||
1767 | -1064, 1080, /* 689 */ | ||
1768 | 884, -443, /* 690 */ | ||
1769 | -966, 313, /* 691 */ | ||
1770 | 1816, 2322, /* 692 */ | ||
1771 | 1544, 1088, /* 693 */ | ||
1772 | 1070, 643, /* 694 */ | ||
1773 | -1696, -5918, /* 695 */ | ||
1774 | 914, -269, /* 696 */ | ||
1775 | 1165, 986, /* 697 */ | ||
1776 | -393, -1890, /* 698 */ | ||
1777 | -1105, 5255, /* 699 */ | ||
1778 | -2615, -1986, /* 700 */ | ||
1779 | -1444, 5472, /* 701 */ | ||
1780 | 1268, 2640, /* 702 */ | ||
1781 | 1253, -185, /* 703 */ | ||
1782 | 2676, -1439, /* 704 */ | ||
1783 | 2020, -9, /* 705 */ | ||
1784 | 2423, -676, /* 706 */ | ||
1785 | -532, -421, /* 707 */ | ||
1786 | 3561, -7, /* 708 */ | ||
1787 | 3620, -216, /* 709 */ | ||
1788 | -4141, -4459, /* 710 */ | ||
1789 | -1857, 3586, /* 711 */ | ||
1790 | 3864, 817, /* 712 */ | ||
1791 | -1829, 1206, /* 713 */ | ||
1792 | 2177, 2138, /* 714 */ | ||
1793 | 3263, 4970, /* 715 */ | ||
1794 | 567, -46, /* 716 */ | ||
1795 | 552, -434, /* 717 */ | ||
1796 | -228, 1685, /* 718 */ | ||
1797 | -1661, 2895, /* 719 */ | ||
1798 | 1290, -264, /* 720 */ | ||
1799 | 2281, 729, /* 721 */ | ||
1800 | 2762, -3740, /* 722 */ | ||
1801 | 2545, -1579, /* 723 */ | ||
1802 | 239, 3681, /* 724 */ | ||
1803 | -587, -880, /* 725 */ | ||
1804 | 1797, -260, /* 726 */ | ||
1805 | -918, 2045, /* 727 */ | ||
1806 | 5577, 2799, /* 728 */ | ||
1807 | -885, 2950, /* 729 */ | ||
1808 | 4075, -2227, /* 730 */ | ||
1809 | 249, -383, /* 731 */ | ||
1810 | -457, -3518, /* 732 */ | ||
1811 | -1791, 162, /* 733 */ | ||
1812 | 359, -2739, /* 734 */ | ||
1813 | 3796, 787, /* 735 */ | ||
1814 | 944, 1074, /* 736 */ | ||
1815 | 2603, 1570, /* 737 */ | ||
1816 | 1011, 1270, /* 738 */ | ||
1817 | 2050, -2783, /* 739 */ | ||
1818 | 677, -84, /* 740 */ | ||
1819 | -3028, 2394, /* 741 */ | ||
1820 | -5736, -2700, /* 742 */ | ||
1821 | 2395, 3079, /* 743 */ | ||
1822 | -180, 81, /* 744 */ | ||
1823 | 1231, -1936, /* 745 */ | ||
1824 | -99, 6530, /* 746 */ | ||
1825 | 20, 1209, /* 747 */ | ||
1826 | 3721, 454, /* 748 */ | ||
1827 | -2714, -1467, /* 749 */ | ||
1828 | -1312, 1068, /* 750 */ | ||
1829 | 2139, -1899, /* 751 */ | ||
1830 | 244, -2402, /* 752 */ | ||
1831 | 2778, 1040, /* 753 */ | ||
1832 | 3777, 1000, /* 754 */ | ||
1833 | -939, 415, /* 755 */ | ||
1834 | 1293, -1385, /* 756 */ | ||
1835 | 3095, -4622, /* 757 */ | ||
1836 | 897, 954, /* 758 */ | ||
1837 | -5466, 2376, /* 759 */ | ||
1838 | 1012, 2337, /* 760 */ | ||
1839 | -773, 78, /* 761 */ | ||
1840 | 1075, 589, /* 762 */ | ||
1841 | -1420, -4686, /* 763 */ | ||
1842 | -144, 160, /* 764 */ | ||
1843 | -1755, -2700, /* 765 */ | ||
1844 | -2152, -3229, /* 766 */ | ||
1845 | 162, -2177, /* 767 */ | ||
1846 | -3858, 322, /* 768 */ | ||
1847 | 1803, 113, /* 769 */ | ||
1848 | -716, 3207, /* 770 */ | ||
1849 | 1376, 1467, /* 771 */ | ||
1850 | 453, -990, /* 772 */ | ||
1851 | -1940, -1684, /* 773 */ | ||
1852 | -503, -882, /* 774 */ | ||
1853 | 1663, 1631, /* 775 */ | ||
1854 | 183, 199, /* 776 */ | ||
1855 | -1005, 4017, /* 777 */ | ||
1856 | 1061, 5486, /* 778 */ | ||
1857 | -5301, 1406, /* 779 */ | ||
1858 | 1465, -1001, /* 780 */ | ||
1859 | 3398, -4783, /* 781 */ | ||
1860 | -606, 44, /* 782 */ | ||
1861 | -959, 4868, /* 783 */ | ||
1862 | 4985, 4007, /* 784 */ | ||
1863 | 112, 307, /* 785 */ | ||
1864 | 4610, 208, /* 786 */ | ||
1865 | -5579, -1587, /* 787 */ | ||
1866 | 1931, 3523, /* 788 */ | ||
1867 | -2820, 1300, /* 789 */ | ||
1868 | -1165, 2600, /* 790 */ | ||
1869 | -1640, -3717, /* 791 */ | ||
1870 | -3491, 3241, /* 792 */ | ||
1871 | -308, -1382, /* 793 */ | ||
1872 | 3171, -1351, /* 794 */ | ||
1873 | 988, 90, /* 795 */ | ||
1874 | -2581, -691, /* 796 */ | ||
1875 | -1384, 904, /* 797 */ | ||
1876 | 2229, -2470, /* 798 */ | ||
1877 | -1394, -2861, /* 799 */ | ||
1878 | 3816, -1321, /* 800 */ | ||
1879 | 612, 1732, /* 801 */ | ||
1880 | -979, 3308, /* 802 */ | ||
1881 | -3083, 2627, /* 803 */ | ||
1882 | -231, 1255, /* 804 */ | ||
1883 | 2860, 1983, /* 805 */ | ||
1884 | 4, 3012, /* 806 */ | ||
1885 | 4058, 1279, /* 807 */ | ||
1886 | 1521, 2535, /* 808 */ | ||
1887 | 3545, 528, /* 809 */ | ||
1888 | 6345, 1843, /* 810 */ | ||
1889 | -696, 1025, /* 811 */ | ||
1890 | -575, 3506, /* 812 */ | ||
1891 | -1366, 1882, /* 813 */ | ||
1892 | -482, -335, /* 814 */ | ||
1893 | -238, 306, /* 815 */ | ||
1894 | -2973, -187, /* 816 */ | ||
1895 | -4125, -2006, /* 817 */ | ||
1896 | 209, -2289, /* 818 */ | ||
1897 | 109, 853, /* 819 */ | ||
1898 | 490, 2760, /* 820 */ | ||
1899 | 1778, -1392, /* 821 */ | ||
1900 | -789, 1711, /* 822 */ | ||
1901 | -1318, 284, /* 823 */ | ||
1902 | -207, -1361, /* 824 */ | ||
1903 | 1378, -3558, /* 825 */ | ||
1904 | -1485, -2822, /* 826 */ | ||
1905 | 4277, 501, /* 827 */ | ||
1906 | -1219, -141, /* 828 */ | ||
1907 | -4282, -785, /* 829 */ | ||
1908 | 3590, 1023, /* 830 */ | ||
1909 | 2361, 883, /* 831 */ | ||
1910 | -2231, 1375, /* 832 */ | ||
1911 | 673, -1640, /* 833 */ | ||
1912 | -1061, -1199, /* 834 */ | ||
1913 | -1681, -1505, /* 835 */ | ||
1914 | -1483, 4501, /* 836 */ | ||
1915 | 2565, -1335, /* 837 */ | ||
1916 | 485, -2362, /* 838 */ | ||
1917 | -2781, 2723, /* 839 */ | ||
1918 | 5585, 1998, /* 840 */ | ||
1919 | 2831, 4784, /* 841 */ | ||
1920 | -2628, 2136, /* 842 */ | ||
1921 | 1169, -853, /* 843 */ | ||
1922 | 1459, 2031, /* 844 */ | ||
1923 | -422, -2579, /* 845 */ | ||
1924 | 1806, -651, /* 846 */ | ||
1925 | 852, 2547, /* 847 */ | ||
1926 | -1014, 2826, /* 848 */ | ||
1927 | 4561, -1287, /* 849 */ | ||
1928 | -3958, 660, /* 850 */ | ||
1929 | -2389, -674, /* 851 */ | ||
1930 | -992, -814, /* 852 */ | ||
1931 | -3183, -5049, /* 853 */ | ||
1932 | 3717, 999, /* 854 */ | ||
1933 | -101, -2629, /* 855 */ | ||
1934 | 3735, -677, /* 856 */ | ||
1935 | 119, -289, /* 857 */ | ||
1936 | -3456, -1721, /* 858 */ | ||
1937 | -305, 1629, /* 859 */ | ||
1938 | 1386, 501, /* 860 */ | ||
1939 | -1034, 4339, /* 861 */ | ||
1940 | 1247, -1993, /* 862 */ | ||
1941 | -1791, -1940, /* 863 */ | ||
1942 | 1016, -3092, /* 864 */ | ||
1943 | -2858, -2264, /* 865 */ | ||
1944 | -5239, -1918, /* 866 */ | ||
1945 | 258, 2474, /* 867 */ | ||
1946 | -3241, -3769, /* 868 */ | ||
1947 | 4485, 1390, /* 869 */ | ||
1948 | -528, -4507, /* 870 */ | ||
1949 | -3147, 2383, /* 871 */ | ||
1950 | -4627, -3021, /* 872 */ | ||
1951 | 872, -2527, /* 873 */ | ||
1952 | 1451, -2459, /* 874 */ | ||
1953 | 250, -710, /* 875 */ | ||
1954 | 2774, 885, /* 876 */ | ||
1955 | -3338, -251, /* 877 */ | ||
1956 | -110, 616, /* 878 */ | ||
1957 | 602, 1037, /* 879 */ | ||
1958 | 1801, -1583, /* 880 */ | ||
1959 | -1212, 675, /* 881 */ | ||
1960 | 2189, 313, /* 882 */ | ||
1961 | 129, 770, /* 883 */ | ||
1962 | -1096, 4793, /* 884 */ | ||
1963 | 3615, -1560, /* 885 */ | ||
1964 | 4265, -1557, /* 886 */ | ||
1965 | -708, 3412, /* 887 */ | ||
1966 | -2417, -311, /* 888 */ | ||
1967 | 1335, 3647, /* 889 */ | ||
1968 | -2390, 1951, /* 890 */ | ||
1969 | -4104, -1093, /* 891 */ | ||
1970 | 1240, -3903, /* 892 */ | ||
1971 | -4955, 3408, /* 893 */ | ||
1972 | 1673, -3557, /* 894 */ | ||
1973 | 3733, 1219, /* 895 */ | ||
1974 | -2551, 1336, /* 896 */ | ||
1975 | 1251, 473, /* 897 */ | ||
1976 | -116, 1566, /* 898 */ | ||
1977 | 1129, -2033, /* 899 */ | ||
1978 | 1405, -246, /* 900 */ | ||
1979 | -141, -820, /* 901 */ | ||
1980 | -3589, 261, /* 902 */ | ||
1981 | -1506, -1765, /* 903 */ | ||
1982 | 2884, 1102, /* 904 */ | ||
1983 | 664, 242, /* 905 */ | ||
1984 | 4452, -3628, /* 906 */ | ||
1985 | 135, -216, /* 907 */ | ||
1986 | -637, 283, /* 908 */ | ||
1987 | -6407, -2781, /* 909 */ | ||
1988 | 2738, -1788, /* 910 */ | ||
1989 | 622, 3229, /* 911 */ | ||
1990 | 498, 2146, /* 912 */ | ||
1991 | -1138, -1727, /* 913 */ | ||
1992 | -707, -164, /* 914 */ | ||
1993 | -384, 2321, /* 915 */ | ||
1994 | 599, -994, /* 916 */ | ||
1995 | -3398, 2803, /* 917 */ | ||
1996 | 482, 2047, /* 918 */ | ||
1997 | -893, -1123, /* 919 */ | ||
1998 | -2509, 1991, /* 920 */ | ||
1999 | 564, 989, /* 921 */ | ||
2000 | -1187, 2086, /* 922 */ | ||
2001 | 2786, 2774, /* 923 */ | ||
2002 | -4893, -1488, /* 924 */ | ||
2003 | 4185, -4652, /* 925 */ | ||
2004 | -1971, 280, /* 926 */ | ||
2005 | -1734, 2769, /* 927 */ | ||
2006 | 1754, -2627, /* 928 */ | ||
2007 | -4678, -69, /* 929 */ | ||
2008 | 267, 1248, /* 930 */ | ||
2009 | 670, -1373, /* 931 */ | ||
2010 | -363, -1927, /* 932 */ | ||
2011 | 991, -42, /* 933 */ | ||
2012 | 2195, 148, /* 934 */ | ||
2013 | -768, 1118, /* 935 */ | ||
2014 | -893, -3118, /* 936 */ | ||
2015 | 558, 733, /* 937 */ | ||
2016 | -3519, -836, /* 938 */ | ||
2017 | -2403, 1347, /* 939 */ | ||
2018 | 883, 432, /* 940 */ | ||
2019 | 1518, -4135, /* 941 */ | ||
2020 | -2929, 2691, /* 942 */ | ||
2021 | -640, -910, /* 943 */ | ||
2022 | -1338, 150, /* 944 */ | ||
2023 | 3646, -6, /* 945 */ | ||
2024 | 299, -537, /* 946 */ | ||
2025 | -2574, -4185, /* 947 */ | ||
2026 | -1291, 4588, /* 948 */ | ||
2027 | 1522, 976, /* 949 */ | ||
2028 | -5563, -234, /* 950 */ | ||
2029 | 1398, -1427, /* 951 */ | ||
2030 | 2371, -2584, /* 952 */ | ||
2031 | 899, -1369, /* 953 */ | ||
2032 | -1630, -766, /* 954 */ | ||
2033 | -565, -2076, /* 955 */ | ||
2034 | 270, -859, /* 956 */ | ||
2035 | -3141, 4966, /* 957 */ | ||
2036 | 1214, -158, /* 958 */ | ||
2037 | 2730, 839, /* 959 */ | ||
2038 | 104, -1899, /* 960 */ | ||
2039 | 1153, -1173, /* 961 */ | ||
2040 | -296, -170, /* 962 */ | ||
2041 | -2056, 1938, /* 963 */ | ||
2042 | 2360, -3469, /* 964 */ | ||
2043 | -2823, -3113, /* 965 */ | ||
2044 | -766, -1757, /* 966 */ | ||
2045 | 5157, -4619, /* 967 */ | ||
2046 | -516, -2083, /* 968 */ | ||
2047 | 1011, -2517, /* 969 */ | ||
2048 | 3258, 898, /* 970 */ | ||
2049 | 1041, -3283, /* 971 */ | ||
2050 | 4732, -1249, /* 972 */ | ||
2051 | 614, -1063, /* 973 */ | ||
2052 | -636, -1317, /* 974 */ | ||
2053 | -2814, -2028, /* 975 */ | ||
2054 | -1887, -3103, /* 976 */ | ||
2055 | 665, 3168, /* 977 */ | ||
2056 | 5218, 258, /* 978 */ | ||
2057 | -5980, 4248, /* 979 */ | ||
2058 | -1100, 3325, /* 980 */ | ||
2059 | -1937, -4363, /* 981 */ | ||
2060 | 1441, -4445, /* 982 */ | ||
2061 | 1339, 4418, /* 983 */ | ||
2062 | 6405, 2002, /* 984 */ | ||
2063 | -940, -1024, /* 985 */ | ||
2064 | 2383, 741, /* 986 */ | ||
2065 | 822, 1234, /* 987 */ | ||
2066 | 1968, -1417, /* 988 */ | ||
2067 | -1016, -195, /* 989 */ | ||
2068 | 1551, 95, /* 990 */ | ||
2069 | 1944, -6506, /* 991 */ | ||
2070 | 1776, 3, /* 992 */ | ||
2071 | -349, 3092, /* 993 */ | ||
2072 | -333, -1765, /* 994 */ | ||
2073 | 585, 17, /* 995 */ | ||
2074 | -1964, 3290, /* 996 */ | ||
2075 | 2028, -2097, /* 997 */ | ||
2076 | 2783, 5490, /* 998 */ | ||
2077 | 3185, -144, /* 999 */ | ||
2078 | -445, 812, /* 1000 */ | ||
2079 | 989, 1588, /* 1001 */ | ||
2080 | -41, -134, /* 1002 */ | ||
2081 | 3120, 1434, /* 1003 */ | ||
2082 | -340, -2585, /* 1004 */ | ||
2083 | 1271, 1072, /* 1005 */ | ||
2084 | 850, 3457, /* 1006 */ | ||
2085 | -4923, 1334, /* 1007 */ | ||
2086 | 779, -3632, /* 1008 */ | ||
2087 | 2304, -3166, /* 1009 */ | ||
2088 | 1314, -1810, /* 1010 */ | ||
2089 | 235, -3451, /* 1011 */ | ||
2090 | 1058, 29, /* 1012 */ | ||
2091 | -3126, 2144, /* 1013 */ | ||
2092 | 346, -346, /* 1014 */ | ||
2093 | -2402, -1894, /* 1015 */ | ||
2094 | 2132, -738, /* 1016 */ | ||
2095 | 774, -1496, /* 1017 */ | ||
2096 | -3940, -706, /* 1018 */ | ||
2097 | 752, 2583, /* 1019 */ | ||
2098 | -1716, -564, /* 1020 */ | ||
2099 | -3520, 1871, /* 1021 */ | ||
2100 | 1054, 614, /* 1022 */ | ||
2101 | 1202, 2829, /* 1023 */ | ||
2102 | }; | ||
2103 | |||
2104 | DATA error; | ||
2105 | |||
diff --git a/dsplib_benchmarks/cfft1/t8_SCALE.h b/dsplib_benchmarks/cfft1/t8_SCALE.h new file mode 100644 index 0000000..1621816 --- /dev/null +++ b/dsplib_benchmarks/cfft1/t8_SCALE.h | |||
@@ -0,0 +1,2106 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for cfft: rand */ | ||
36 | #define NX 1024 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 16 | ||
39 | #define SCALING 1 | ||
40 | #pragma DATA_SECTION (x_br,".input") | ||
41 | #pragma DATA_ALIGN (x_br, 2048) | ||
42 | DATA x_br[2*NX] ; | ||
43 | |||
44 | #pragma DATA_SECTION (scratch,".input") | ||
45 | #pragma DATA_ALIGN (scratch, 2048) | ||
46 | DATA scratch[2*NX] ; | ||
47 | #pragma DATA_SECTION (x,".input") | ||
48 | |||
49 | DATA x[2*NX] ={ | ||
50 | -559, 11885, /* 0 */ | ||
51 | 1062, -16518, /* 1 */ | ||
52 | 13279, 7574, /* 2 */ | ||
53 | 4295, -12386, /* 3 */ | ||
54 | -17590, 10716, /* 4 */ | ||
55 | -18375, -11369, /* 5 */ | ||
56 | 7669, -1436, /* 6 */ | ||
57 | 23403, 16832, /* 7 */ | ||
58 | -7243, 15697, /* 8 */ | ||
59 | -15252, -1132, /* 9 */ | ||
60 | -20345, -7527, /* 10 */ | ||
61 | -8974, 1987, /* 11 */ | ||
62 | -7780, 2895, /* 12 */ | ||
63 | -5831, 20019, /* 13 */ | ||
64 | 21290, -10622, /* 14 */ | ||
65 | 10325, -9622, /* 15 */ | ||
66 | 13151, 5298, /* 16 */ | ||
67 | 5539, 18391, /* 17 */ | ||
68 | 7026, 10096, /* 18 */ | ||
69 | 12066, -14054, /* 19 */ | ||
70 | -16581, -18448, /* 20 */ | ||
71 | 4682, 11206, /* 21 */ | ||
72 | 18767, 12336, /* 22 */ | ||
73 | -15446, -10407, /* 23 */ | ||
74 | 15015, 16253, /* 24 */ | ||
75 | -20279, 5856, /* 25 */ | ||
76 | 21454, 5728, /* 26 */ | ||
77 | -8600, 21416, /* 27 */ | ||
78 | -23296, -9633, /* 28 */ | ||
79 | 12238, 6206, /* 29 */ | ||
80 | -9008, 1473, /* 30 */ | ||
81 | 10134, 17474, /* 31 */ | ||
82 | -19730, 3976, /* 32 */ | ||
83 | 16284, 4832, /* 33 */ | ||
84 | 10281, -558, /* 34 */ | ||
85 | 17438, 20840, /* 35 */ | ||
86 | 17521, -7226, /* 36 */ | ||
87 | 12314, -14139, /* 37 */ | ||
88 | 7978, -18922, /* 38 */ | ||
89 | 18928, 7161, /* 39 */ | ||
90 | 15134, 4989, /* 40 */ | ||
91 | 15661, 14645, /* 41 */ | ||
92 | 6587, -1801, /* 42 */ | ||
93 | -16187, -19129, /* 43 */ | ||
94 | 13331, -18706, /* 44 */ | ||
95 | 10894, 17634, /* 45 */ | ||
96 | 3047, -20681, /* 46 */ | ||
97 | 10515, 16348, /* 47 */ | ||
98 | -12254, -2161, /* 48 */ | ||
99 | -478, -11856, /* 49 */ | ||
100 | -3597, 23003, /* 50 */ | ||
101 | 13920, 3028, /* 51 */ | ||
102 | 12401, -13158, /* 52 */ | ||
103 | -12294, 17773, /* 53 */ | ||
104 | 6361, 10713, /* 54 */ | ||
105 | -12640, 16623, /* 55 */ | ||
106 | 5458, -15176, /* 56 */ | ||
107 | -10900, 1897, /* 57 */ | ||
108 | 23126, -1310, /* 58 */ | ||
109 | 12256, 10941, /* 59 */ | ||
110 | -840, 22627, /* 60 */ | ||
111 | 20960, 7854, /* 61 */ | ||
112 | -6557, 8622, /* 62 */ | ||
113 | -19568, 17674, /* 63 */ | ||
114 | 21116, 362, /* 64 */ | ||
115 | 8984, -1512, /* 65 */ | ||
116 | 5438, -12014, /* 66 */ | ||
117 | 18596, 3108, /* 67 */ | ||
118 | -22951, 12275, /* 68 */ | ||
119 | -9374, -7290, /* 69 */ | ||
120 | 21896, -2470, /* 70 */ | ||
121 | -18735, 743, /* 71 */ | ||
122 | 4520, -16133, /* 72 */ | ||
123 | -1461, 22640, /* 73 */ | ||
124 | 10231, -9475, /* 74 */ | ||
125 | 16896, -16262, /* 75 */ | ||
126 | -14803, 20515, /* 76 */ | ||
127 | -1772, 8185, /* 77 */ | ||
128 | 18987, -3395, /* 78 */ | ||
129 | -22500, 15669, /* 79 */ | ||
130 | 12260, -15475, /* 80 */ | ||
131 | 13929, -2795, /* 81 */ | ||
132 | -8765, 11885, /* 82 */ | ||
133 | -12438, 5437, /* 83 */ | ||
134 | -262, -11575, /* 84 */ | ||
135 | 8722, -7043, /* 85 */ | ||
136 | 20933, 5320, /* 86 */ | ||
137 | -2858, -7641, /* 87 */ | ||
138 | -121, 6402, /* 88 */ | ||
139 | -18898, 781, /* 89 */ | ||
140 | 2562, 919, /* 90 */ | ||
141 | -3028, 5953, /* 91 */ | ||
142 | -15007, 21148, /* 92 */ | ||
143 | -16299, -13019, /* 93 */ | ||
144 | 20420, 23288, /* 94 */ | ||
145 | -17126, 17768, /* 95 */ | ||
146 | 23472, 5929, /* 96 */ | ||
147 | 8974, -13566, /* 97 */ | ||
148 | 21706, 19564, /* 98 */ | ||
149 | 12970, -17220, /* 99 */ | ||
150 | -23507, 22037, /* 100 */ | ||
151 | -8218, 5645, /* 101 */ | ||
152 | 2076, 6627, /* 102 */ | ||
153 | -9110, -22902, /* 103 */ | ||
154 | 8131, 13631, /* 104 */ | ||
155 | -7265, 18811, /* 105 */ | ||
156 | 22627, -23439, /* 106 */ | ||
157 | -6876, 769, /* 107 */ | ||
158 | -22622, 5858, /* 108 */ | ||
159 | 14724, -11056, /* 109 */ | ||
160 | 22731, -4757, /* 110 */ | ||
161 | -8860, 22487, /* 111 */ | ||
162 | -5702, -9242, /* 112 */ | ||
163 | 11677, 3142, /* 113 */ | ||
164 | -2692, -13366, /* 114 */ | ||
165 | -18838, -17166, /* 115 */ | ||
166 | 23193, 22534, /* 116 */ | ||
167 | 1707, -13450, /* 117 */ | ||
168 | -17206, -17148, /* 118 */ | ||
169 | -17359, -21062, /* 119 */ | ||
170 | 17137, -11082, /* 120 */ | ||
171 | 9805, 12115, /* 121 */ | ||
172 | 23457, -3028, /* 122 */ | ||
173 | 14866, 313, /* 123 */ | ||
174 | 13288, -249, /* 124 */ | ||
175 | 12411, -19106, /* 125 */ | ||
176 | 19066, 22185, /* 126 */ | ||
177 | -18686, -3536, /* 127 */ | ||
178 | -13574, -10820, /* 128 */ | ||
179 | 16529, 20492, /* 129 */ | ||
180 | 11439, -13148, /* 130 */ | ||
181 | -4470, -14614, /* 131 */ | ||
182 | -9179, -10330, /* 132 */ | ||
183 | -1215, 8194, /* 133 */ | ||
184 | -16727, 4623, /* 134 */ | ||
185 | -267, -5234, /* 135 */ | ||
186 | 1418, 20520, /* 136 */ | ||
187 | 482, 15392, /* 137 */ | ||
188 | -12832, -21127, /* 138 */ | ||
189 | 20480, 15428, /* 139 */ | ||
190 | 832, -5283, /* 140 */ | ||
191 | -1919, -2555, /* 141 */ | ||
192 | 13029, -23109, /* 142 */ | ||
193 | 11007, -10350, /* 143 */ | ||
194 | 4820, -9793, /* 144 */ | ||
195 | -20861, -3301, /* 145 */ | ||
196 | -20151, 9479, /* 146 */ | ||
197 | 6388, -23054, /* 147 */ | ||
198 | 17718, -12383, /* 148 */ | ||
199 | -3415, -4639, /* 149 */ | ||
200 | 9811, -19413, /* 150 */ | ||
201 | -20237, 18057, /* 151 */ | ||
202 | -22644, -2990, /* 152 */ | ||
203 | 391, -9003, /* 153 */ | ||
204 | 17392, 15266, /* 154 */ | ||
205 | 14056, 8827, /* 155 */ | ||
206 | 14088, 1431, /* 156 */ | ||
207 | -14308, -15180, /* 157 */ | ||
208 | 10093, 18691, /* 158 */ | ||
209 | -13418, 14593, /* 159 */ | ||
210 | 13489, -5220, /* 160 */ | ||
211 | -15436, -989, /* 161 */ | ||
212 | -13835, 5056, /* 162 */ | ||
213 | -1673, 7151, /* 163 */ | ||
214 | -20032, 12359, /* 164 */ | ||
215 | 4547, -2462, /* 165 */ | ||
216 | -14549, 6731, /* 166 */ | ||
217 | 20471, -10331, /* 167 */ | ||
218 | -9063, -2671, /* 168 */ | ||
219 | -1795, -11855, /* 169 */ | ||
220 | 15525, -16403, /* 170 */ | ||
221 | -9410, -13818, /* 171 */ | ||
222 | 9869, 19499, /* 172 */ | ||
223 | -20029, 3889, /* 173 */ | ||
224 | 11780, 9100, /* 174 */ | ||
225 | -1464, 16784, /* 175 */ | ||
226 | 20947, -637, /* 176 */ | ||
227 | -22883, -7405, /* 177 */ | ||
228 | -20989, -3831, /* 178 */ | ||
229 | 11226, -17952, /* 179 */ | ||
230 | 6382, 874, /* 180 */ | ||
231 | 20290, 22202, /* 181 */ | ||
232 | -1839, -8048, /* 182 */ | ||
233 | 606, -7573, /* 183 */ | ||
234 | -3556, 14212, /* 184 */ | ||
235 | -3959, -16022, /* 185 */ | ||
236 | -5263, -16044, /* 186 */ | ||
237 | 16739, -15836, /* 187 */ | ||
238 | 15208, 19508, /* 188 */ | ||
239 | 19487, 12948, /* 189 */ | ||
240 | 15821, -3302, /* 190 */ | ||
241 | 17330, -11340, /* 191 */ | ||
242 | 12975, 5762, /* 192 */ | ||
243 | -3205, 22846, /* 193 */ | ||
244 | -3009, 6446, /* 194 */ | ||
245 | -12981, -12568, /* 195 */ | ||
246 | -22920, 13394, /* 196 */ | ||
247 | -5840, -23381, /* 197 */ | ||
248 | 15939, 14002, /* 198 */ | ||
249 | -10064, -13765, /* 199 */ | ||
250 | -10164, -14147, /* 200 */ | ||
251 | -8142, 22485, /* 201 */ | ||
252 | -1121, 5794, /* 202 */ | ||
253 | -12902, -20942, /* 203 */ | ||
254 | 21751, -16842, /* 204 */ | ||
255 | -9113, -4339, /* 205 */ | ||
256 | 13132, 13095, /* 206 */ | ||
257 | 18613, -15878, /* 207 */ | ||
258 | -11596, -22307, /* 208 */ | ||
259 | -16679, 16542, /* 209 */ | ||
260 | -7463, -11633, /* 210 */ | ||
261 | 10976, -4937, /* 211 */ | ||
262 | -21947, 8817, /* 212 */ | ||
263 | 2082, 17466, /* 213 */ | ||
264 | 2751, 8520, /* 214 */ | ||
265 | 7988, -16987, /* 215 */ | ||
266 | 3951, 3624, /* 216 */ | ||
267 | 8752, 8682, /* 217 */ | ||
268 | 12522, -8654, /* 218 */ | ||
269 | 18722, 557, /* 219 */ | ||
270 | 21977, -2538, /* 220 */ | ||
271 | 19105, 950, /* 221 */ | ||
272 | -15133, -6308, /* 222 */ | ||
273 | 22527, 7170, /* 223 */ | ||
274 | 18737, 17493, /* 224 */ | ||
275 | -22159, 17324, /* 225 */ | ||
276 | -10263, 1403, /* 226 */ | ||
277 | -14695, 21625, /* 227 */ | ||
278 | 5120, 4285, /* 228 */ | ||
279 | -13684, -22444, /* 229 */ | ||
280 | 23433, -14961, /* 230 */ | ||
281 | -22752, -1532, /* 231 */ | ||
282 | -2843, 5339, /* 232 */ | ||
283 | -16555, -16966, /* 233 */ | ||
284 | 5717, -13571, /* 234 */ | ||
285 | 11976, 23073, /* 235 */ | ||
286 | -10330, -8002, /* 236 */ | ||
287 | 1279, -3492, /* 237 */ | ||
288 | -8831, -16655, /* 238 */ | ||
289 | -14985, 2153, /* 239 */ | ||
290 | 13147, -19211, /* 240 */ | ||
291 | 14572, -3063, /* 241 */ | ||
292 | 10513, -19601, /* 242 */ | ||
293 | -21408, 2585, /* 243 */ | ||
294 | 5334, -22702, /* 244 */ | ||
295 | -7759, 6784, /* 245 */ | ||
296 | 3948, -5073, /* 246 */ | ||
297 | 19452, -8163, /* 247 */ | ||
298 | 59, -11073, /* 248 */ | ||
299 | -3884, 483, /* 249 */ | ||
300 | 14098, -2095, /* 250 */ | ||
301 | 18390, 14612, /* 251 */ | ||
302 | 628, -1539, /* 252 */ | ||
303 | -5192, 871, /* 253 */ | ||
304 | 20275, -13980, /* 254 */ | ||
305 | -10230, 3796, /* 255 */ | ||
306 | 12708, 4599, /* 256 */ | ||
307 | 10714, 7371, /* 257 */ | ||
308 | 19520, 3836, /* 258 */ | ||
309 | -18545, 12422, /* 259 */ | ||
310 | 18311, -15841, /* 260 */ | ||
311 | 4474, 15995, /* 261 */ | ||
312 | -22972, 23367, /* 262 */ | ||
313 | -12321, 7539, /* 263 */ | ||
314 | -17721, -17738, /* 264 */ | ||
315 | 17927, 4102, /* 265 */ | ||
316 | 14747, -16656, /* 266 */ | ||
317 | 12398, 21173, /* 267 */ | ||
318 | 14613, 11392, /* 268 */ | ||
319 | 8580, 17542, /* 269 */ | ||
320 | 5875, -15792, /* 270 */ | ||
321 | -6212, -1235, /* 271 */ | ||
322 | -13994, -7221, /* 272 */ | ||
323 | -10591, -9506, /* 273 */ | ||
324 | -869, -21649, /* 274 */ | ||
325 | -4700, -5575, /* 275 */ | ||
326 | 9524, -17330, /* 276 */ | ||
327 | -8411, -16809, /* 277 */ | ||
328 | -21260, -5558, /* 278 */ | ||
329 | 13064, 6441, /* 279 */ | ||
330 | 2514, 13199, /* 280 */ | ||
331 | -20351, -3397, /* 281 */ | ||
332 | -181, -15479, /* 282 */ | ||
333 | 15824, -6277, /* 283 */ | ||
334 | -1840, 22496, /* 284 */ | ||
335 | 13183, -1917, /* 285 */ | ||
336 | -389, 17614, /* 286 */ | ||
337 | 9214, -16381, /* 287 */ | ||
338 | 22837, -2710, /* 288 */ | ||
339 | -6913, 19811, /* 289 */ | ||
340 | 5743, 22617, /* 290 */ | ||
341 | 748, -1717, /* 291 */ | ||
342 | 14832, -7322, /* 292 */ | ||
343 | -515, -13680, /* 293 */ | ||
344 | 10897, -8653, /* 294 */ | ||
345 | 9914, 18730, /* 295 */ | ||
346 | 15744, -20215, /* 296 */ | ||
347 | -23027, -11869, /* 297 */ | ||
348 | -21263, -22606, /* 298 */ | ||
349 | 59, 23392, /* 299 */ | ||
350 | -9808, -18827, /* 300 */ | ||
351 | -22892, 19720, /* 301 */ | ||
352 | 13850, -17232, /* 302 */ | ||
353 | -20373, -13887, /* 303 */ | ||
354 | -8938, -15813, /* 304 */ | ||
355 | -7533, 13043, /* 305 */ | ||
356 | 14914, 2831, /* 306 */ | ||
357 | -23335, 7773, /* 307 */ | ||
358 | -292, 17587, /* 308 */ | ||
359 | 5341, 5170, /* 309 */ | ||
360 | -5929, 20661, /* 310 */ | ||
361 | -14205, -10096, /* 311 */ | ||
362 | 18600, 12471, /* 312 */ | ||
363 | 22921, -16511, /* 313 */ | ||
364 | 19857, 5620, /* 314 */ | ||
365 | -4971, 5800, /* 315 */ | ||
366 | 7640, 14517, /* 316 */ | ||
367 | 1888, -8576, /* 317 */ | ||
368 | -13603, -7130, /* 318 */ | ||
369 | -9166, -11603, /* 319 */ | ||
370 | -22910, 19844, /* 320 */ | ||
371 | -23326, 9580, /* 321 */ | ||
372 | 22965, 9709, /* 322 */ | ||
373 | 14679, -16450, /* 323 */ | ||
374 | 12731, 9592, /* 324 */ | ||
375 | 18987, -20067, /* 325 */ | ||
376 | -17714, -21068, /* 326 */ | ||
377 | -19018, 1112, /* 327 */ | ||
378 | 2423, 7040, /* 328 */ | ||
379 | -23234, -12553, /* 329 */ | ||
380 | -17623, -16943, /* 330 */ | ||
381 | -20915, -12355, /* 331 */ | ||
382 | 12367, 17616, /* 332 */ | ||
383 | -20179, 16983, /* 333 */ | ||
384 | 10274, 7137, /* 334 */ | ||
385 | -16931, 17615, /* 335 */ | ||
386 | 5447, 21830, /* 336 */ | ||
387 | -1342, 21024, /* 337 */ | ||
388 | 487, 18188, /* 338 */ | ||
389 | -7296, 1773, /* 339 */ | ||
390 | -19551, 14744, /* 340 */ | ||
391 | -11498, -12124, /* 341 */ | ||
392 | 1203, -6406, /* 342 */ | ||
393 | -16925, 8358, /* 343 */ | ||
394 | -17869, -14262, /* 344 */ | ||
395 | 128, -14383, /* 345 */ | ||
396 | -10080, 2372, /* 346 */ | ||
397 | -18270, -22676, /* 347 */ | ||
398 | 2, -15960, /* 348 */ | ||
399 | -5749, 1655, /* 349 */ | ||
400 | -10803, -3385, /* 350 */ | ||
401 | 21501, -4375, /* 351 */ | ||
402 | -1975, 15643, /* 352 */ | ||
403 | -12005, -14469, /* 353 */ | ||
404 | 15558, 8471, /* 354 */ | ||
405 | -9267, 19695, /* 355 */ | ||
406 | -21977, -21366, /* 356 */ | ||
407 | 22954, 17931, /* 357 */ | ||
408 | -953, -3655, /* 358 */ | ||
409 | 4874, -2087, /* 359 */ | ||
410 | 765, 5526, /* 360 */ | ||
411 | 22470, 11427, /* 361 */ | ||
412 | -11903, 23351, /* 362 */ | ||
413 | 7918, 20148, /* 363 */ | ||
414 | -16633, -22641, /* 364 */ | ||
415 | -4467, -5592, /* 365 */ | ||
416 | -16853, 7391, /* 366 */ | ||
417 | -7334, -22213, /* 367 */ | ||
418 | 2350, 5250, /* 368 */ | ||
419 | -21543, 1127, /* 369 */ | ||
420 | -12620, 5787, /* 370 */ | ||
421 | -4766, -16976, /* 371 */ | ||
422 | -17859, -2296, /* 372 */ | ||
423 | -2702, -4277, /* 373 */ | ||
424 | -21119, 19253, /* 374 */ | ||
425 | 23382, -4655, /* 375 */ | ||
426 | 9151, -14561, /* 376 */ | ||
427 | 5415, 14906, /* 377 */ | ||
428 | 5515, -3647, /* 378 */ | ||
429 | 15524, -5378, /* 379 */ | ||
430 | 22565, 10173, /* 380 */ | ||
431 | -2946, 4956, /* 381 */ | ||
432 | 16300, -19689, /* 382 */ | ||
433 | -4846, -17401, /* 383 */ | ||
434 | -3749, -6221, /* 384 */ | ||
435 | 18455, 2827, /* 385 */ | ||
436 | -7267, 11308, /* 386 */ | ||
437 | 14520, 22714, /* 387 */ | ||
438 | 23271, -670, /* 388 */ | ||
439 | 13232, -23523, /* 389 */ | ||
440 | 16563, 13260, /* 390 */ | ||
441 | 7561, -7196, /* 391 */ | ||
442 | -10730, -9610, /* 392 */ | ||
443 | -12202, 15608, /* 393 */ | ||
444 | -3488, -18929, /* 394 */ | ||
445 | 4593, -5940, /* 395 */ | ||
446 | -3765, 6603, /* 396 */ | ||
447 | 12595, -21937, /* 397 */ | ||
448 | -22332, -8504, /* 398 */ | ||
449 | 9076, 21735, /* 399 */ | ||
450 | 11932, 7834, /* 400 */ | ||
451 | 21354, -19469, /* 401 */ | ||
452 | -5306, -11509, /* 402 */ | ||
453 | -20897, -16821, /* 403 */ | ||
454 | -5870, -10486, /* 404 */ | ||
455 | 7415, 13015, /* 405 */ | ||
456 | 9499, 9792, /* 406 */ | ||
457 | -19269, 4845, /* 407 */ | ||
458 | 21091, -21685, /* 408 */ | ||
459 | 1640, 16275, /* 409 */ | ||
460 | 19314, -12725, /* 410 */ | ||
461 | -8978, -233, /* 411 */ | ||
462 | 10588, -22126, /* 412 */ | ||
463 | -5487, 6965, /* 413 */ | ||
464 | 18779, -4688, /* 414 */ | ||
465 | -20319, 12594, /* 415 */ | ||
466 | -11065, -5468, /* 416 */ | ||
467 | 5864, 18428, /* 417 */ | ||
468 | 8487, -4342, /* 418 */ | ||
469 | 11153, -5799, /* 419 */ | ||
470 | 20385, -19377, /* 420 */ | ||
471 | 5398, 22720, /* 421 */ | ||
472 | 11219, 19853, /* 422 */ | ||
473 | 6427, -1794, /* 423 */ | ||
474 | -15531, 2893, /* 424 */ | ||
475 | -10719, -312, /* 425 */ | ||
476 | 14710, 23257, /* 426 */ | ||
477 | -4555, -22332, /* 427 */ | ||
478 | 7536, -11323, /* 428 */ | ||
479 | -10073, -8138, /* 429 */ | ||
480 | 21722, -17756, /* 430 */ | ||
481 | 3604, 11578, /* 431 */ | ||
482 | 21969, 6090, /* 432 */ | ||
483 | 655, -14285, /* 433 */ | ||
484 | 17148, -1706, /* 434 */ | ||
485 | -12932, -11020, /* 435 */ | ||
486 | -12079, -23371, /* 436 */ | ||
487 | 18777, -18091, /* 437 */ | ||
488 | 9849, 2773, /* 438 */ | ||
489 | 22370, 18468, /* 439 */ | ||
490 | -1904, 18889, /* 440 */ | ||
491 | 11383, 9410, /* 441 */ | ||
492 | 7955, -12535, /* 442 */ | ||
493 | -22147, 1388, /* 443 */ | ||
494 | -7046, 14348, /* 444 */ | ||
495 | -19677, 9407, /* 445 */ | ||
496 | -20677, -23522, /* 446 */ | ||
497 | 12245, -10119, /* 447 */ | ||
498 | 6018, -15500, /* 448 */ | ||
499 | 1434, -13973, /* 449 */ | ||
500 | 23035, -19083, /* 450 */ | ||
501 | -9277, -21720, /* 451 */ | ||
502 | -15034, -5021, /* 452 */ | ||
503 | 3260, -12551, /* 453 */ | ||
504 | -1574, -18239, /* 454 */ | ||
505 | -5074, -3133, /* 455 */ | ||
506 | -22251, -10259, /* 456 */ | ||
507 | -7464, 16699, /* 457 */ | ||
508 | 22427, -21902, /* 458 */ | ||
509 | 3622, 22711, /* 459 */ | ||
510 | 12742, 21430, /* 460 */ | ||
511 | 5951, 22805, /* 461 */ | ||
512 | 10972, 15009, /* 462 */ | ||
513 | -16510, -21503, /* 463 */ | ||
514 | -4019, -9790, /* 464 */ | ||
515 | -20293, 10466, /* 465 */ | ||
516 | 18088, -18626, /* 466 */ | ||
517 | 15630, 20499, /* 467 */ | ||
518 | -8701, -1942, /* 468 */ | ||
519 | 18740, 22935, /* 469 */ | ||
520 | 11916, -4051, /* 470 */ | ||
521 | -16359, 14602, /* 471 */ | ||
522 | 10141, -21196, /* 472 */ | ||
523 | 16084, 5468, /* 473 */ | ||
524 | 13345, -4568, /* 474 */ | ||
525 | 23438, 4789, /* 475 */ | ||
526 | 4054, -12645, /* 476 */ | ||
527 | -6555, 15534, /* 477 */ | ||
528 | -5937, -20277, /* 478 */ | ||
529 | 22938, -12594, /* 479 */ | ||
530 | 18230, -618, /* 480 */ | ||
531 | -14801, 21167, /* 481 */ | ||
532 | -12047, -20343, /* 482 */ | ||
533 | -11918, -2631, /* 483 */ | ||
534 | -15358, -13724, /* 484 */ | ||
535 | -7802, 14493, /* 485 */ | ||
536 | -4416, 211, /* 486 */ | ||
537 | 5827, 12638, /* 487 */ | ||
538 | 18738, -13071, /* 488 */ | ||
539 | 8435, 14112, /* 489 */ | ||
540 | -17348, -21739, /* 490 */ | ||
541 | -1277, 10919, /* 491 */ | ||
542 | 22008, 21421, /* 492 */ | ||
543 | -59, -7862, /* 493 */ | ||
544 | -4846, -8124, /* 494 */ | ||
545 | 22986, 2787, /* 495 */ | ||
546 | 12633, 10762, /* 496 */ | ||
547 | 22747, -9197, /* 497 */ | ||
548 | -12276, 14960, /* 498 */ | ||
549 | -1576, 14661, /* 499 */ | ||
550 | -21877, -640, /* 500 */ | ||
551 | 11165, -3196, /* 501 */ | ||
552 | 16464, -16928, /* 502 */ | ||
553 | 786, 3551, /* 503 */ | ||
554 | -16781, -13981, /* 504 */ | ||
555 | 13040, -3879, /* 505 */ | ||
556 | -2474, -13938, /* 506 */ | ||
557 | -15751, 8737, /* 507 */ | ||
558 | -11461, 15586, /* 508 */ | ||
559 | 10797, -10152, /* 509 */ | ||
560 | -20655, -6025, /* 510 */ | ||
561 | -18208, 2673, /* 511 */ | ||
562 | 14813, -7632, /* 512 */ | ||
563 | -1812, 18975, /* 513 */ | ||
564 | 19246, -12503, /* 514 */ | ||
565 | 18659, -4529, /* 515 */ | ||
566 | -13796, -8188, /* 516 */ | ||
567 | 17612, -4936, /* 517 */ | ||
568 | -12369, -10341, /* 518 */ | ||
569 | 8677, 6696, /* 519 */ | ||
570 | 21663, -9837, /* 520 */ | ||
571 | -3457, 21936, /* 521 */ | ||
572 | -15341, -4446, /* 522 */ | ||
573 | -4832, -13664, /* 523 */ | ||
574 | 8047, -22411, /* 524 */ | ||
575 | -704, 12458, /* 525 */ | ||
576 | -5528, -2768, /* 526 */ | ||
577 | 2990, -19075, /* 527 */ | ||
578 | -477, -23382, /* 528 */ | ||
579 | -16238, -13489, /* 529 */ | ||
580 | 7116, 13547, /* 530 */ | ||
581 | 10687, 15030, /* 531 */ | ||
582 | -23368, -16556, /* 532 */ | ||
583 | 19262, 6415, /* 533 */ | ||
584 | 7620, 3924, /* 534 */ | ||
585 | -21204, -13839, /* 535 */ | ||
586 | -2250, 9675, /* 536 */ | ||
587 | -15815, 23420, /* 537 */ | ||
588 | -1381, 15246, /* 538 */ | ||
589 | 15229, 12635, /* 539 */ | ||
590 | 16477, -5209, /* 540 */ | ||
591 | 21856, -23342, /* 541 */ | ||
592 | 14721, -3322, /* 542 */ | ||
593 | -11093, -8116, /* 543 */ | ||
594 | -13826, 13432, /* 544 */ | ||
595 | 20349, -3048, /* 545 */ | ||
596 | -5022, 9907, /* 546 */ | ||
597 | -20605, 21222, /* 547 */ | ||
598 | -21479, 9757, /* 548 */ | ||
599 | -23252, -17040, /* 549 */ | ||
600 | 14930, -8288, /* 550 */ | ||
601 | 19547, 13600, /* 551 */ | ||
602 | 11376, -9995, /* 552 */ | ||
603 | -13945, 14021, /* 553 */ | ||
604 | -12514, -13429, /* 554 */ | ||
605 | 18761, -5395, /* 555 */ | ||
606 | 13547, 20374, /* 556 */ | ||
607 | -14926, 22764, /* 557 */ | ||
608 | 270, 11827, /* 558 */ | ||
609 | -20670, 5635, /* 559 */ | ||
610 | -17172, -20922, /* 560 */ | ||
611 | -22494, -7603, /* 561 */ | ||
612 | 17411, -12254, /* 562 */ | ||
613 | 5373, 1613, /* 563 */ | ||
614 | -7574, 8332, /* 564 */ | ||
615 | 8741, -13185, /* 565 */ | ||
616 | -13307, 7668, /* 566 */ | ||
617 | -12645, -17922, /* 567 */ | ||
618 | -2721, 16653, /* 568 */ | ||
619 | -7822, -15635, /* 569 */ | ||
620 | -10994, 5388, /* 570 */ | ||
621 | 12005, 6430, /* 571 */ | ||
622 | -3941, 12682, /* 572 */ | ||
623 | 21208, 2159, /* 573 */ | ||
624 | 15846, -4353, /* 574 */ | ||
625 | 18638, -13537, /* 575 */ | ||
626 | -11522, 6004, /* 576 */ | ||
627 | 993, 15624, /* 577 */ | ||
628 | -7686, 12367, /* 578 */ | ||
629 | 7353, 12397, /* 579 */ | ||
630 | -4951, 9480, /* 580 */ | ||
631 | -18801, 14969, /* 581 */ | ||
632 | -1794, -14700, /* 582 */ | ||
633 | 2653, -14271, /* 583 */ | ||
634 | -9307, -13578, /* 584 */ | ||
635 | 6156, 12532, /* 585 */ | ||
636 | 1143, 19490, /* 586 */ | ||
637 | -8998, -12672, /* 587 */ | ||
638 | -1738, -7201, /* 588 */ | ||
639 | -17299, 9366, /* 589 */ | ||
640 | 12290, -22746, /* 590 */ | ||
641 | -17189, 2754, /* 591 */ | ||
642 | -3243, 5000, /* 592 */ | ||
643 | 16915, -2351, /* 593 */ | ||
644 | -1555, -22109, /* 594 */ | ||
645 | -10065, 23030, /* 595 */ | ||
646 | -20468, -21610, /* 596 */ | ||
647 | 7392, -21298, /* 597 */ | ||
648 | 6132, -18174, /* 598 */ | ||
649 | 10900, -8967, /* 599 */ | ||
650 | 21417, 9873, /* 600 */ | ||
651 | -6153, -17736, /* 601 */ | ||
652 | -20274, 586, /* 602 */ | ||
653 | 17303, -19012, /* 603 */ | ||
654 | -9668, 9114, /* 604 */ | ||
655 | 2512, -10591, /* 605 */ | ||
656 | 13284, -1783, /* 606 */ | ||
657 | -20237, 6739, /* 607 */ | ||
658 | 6278, -21778, /* 608 */ | ||
659 | -21606, 18581, /* 609 */ | ||
660 | -22400, 21939, /* 610 */ | ||
661 | 10439, -14380, /* 611 */ | ||
662 | 18163, -16294, /* 612 */ | ||
663 | 20583, -13287, /* 613 */ | ||
664 | 19996, 2577, /* 614 */ | ||
665 | 12067, 18327, /* 615 */ | ||
666 | -5772, -8556, /* 616 */ | ||
667 | 15733, -2277, /* 617 */ | ||
668 | 8787, -2255, /* 618 */ | ||
669 | 2598, 4178, /* 619 */ | ||
670 | -19485, 10043, /* 620 */ | ||
671 | 2578, 10051, /* 621 */ | ||
672 | 8446, -11534, /* 622 */ | ||
673 | -3413, -18129, /* 623 */ | ||
674 | -15871, -18429, /* 624 */ | ||
675 | 9109, -18084, /* 625 */ | ||
676 | 902, -7004, /* 626 */ | ||
677 | 14150, 10695, /* 627 */ | ||
678 | 13109, -5563, /* 628 */ | ||
679 | 20152, 9639, /* 629 */ | ||
680 | 10650, -6662, /* 630 */ | ||
681 | -19050, -22851, /* 631 */ | ||
682 | -2388, -15768, /* 632 */ | ||
683 | 22439, 17188, /* 633 */ | ||
684 | 22078, 2728, /* 634 */ | ||
685 | 6839, -21912, /* 635 */ | ||
686 | -19174, -15667, /* 636 */ | ||
687 | 12807, -15517, /* 637 */ | ||
688 | -4522, -18996, /* 638 */ | ||
689 | -10372, 12049, /* 639 */ | ||
690 | -12880, -12082, /* 640 */ | ||
691 | -16723, 12372, /* 641 */ | ||
692 | -19172, 1828, /* 642 */ | ||
693 | 9544, 21084, /* 643 */ | ||
694 | 8531, 23092, /* 644 */ | ||
695 | -1995, -21388, /* 645 */ | ||
696 | 1522, 22775, /* 646 */ | ||
697 | -9495, -8555, /* 647 */ | ||
698 | -4568, -2202, /* 648 */ | ||
699 | -16363, 10201, /* 649 */ | ||
700 | 13663, 20409, /* 650 */ | ||
701 | -14193, 2370, /* 651 */ | ||
702 | -261, -18003, /* 652 */ | ||
703 | -9263, 1149, /* 653 */ | ||
704 | -16576, 2947, /* 654 */ | ||
705 | 21846, -14646, /* 655 */ | ||
706 | 11153, -8914, /* 656 */ | ||
707 | 882, 21668, /* 657 */ | ||
708 | 18751, 20684, /* 658 */ | ||
709 | 9745, -13310, /* 659 */ | ||
710 | -4953, 14391, /* 660 */ | ||
711 | 6694, -10926, /* 661 */ | ||
712 | -9213, 14550, /* 662 */ | ||
713 | -19547, -4102, /* 663 */ | ||
714 | 18145, 5806, /* 664 */ | ||
715 | -19117, 2258, /* 665 */ | ||
716 | 21243, 690, /* 666 */ | ||
717 | 5564, -22535, /* 667 */ | ||
718 | 12268, -3385, /* 668 */ | ||
719 | 5683, -22590, /* 669 */ | ||
720 | 3730, -22400, /* 670 */ | ||
721 | -10318, -1128, /* 671 */ | ||
722 | -18844, 1262, /* 672 */ | ||
723 | 10431, 21435, /* 673 */ | ||
724 | 16075, 12899, /* 674 */ | ||
725 | 15124, -15985, /* 675 */ | ||
726 | 2051, 5723, /* 676 */ | ||
727 | -6385, 11648, /* 677 */ | ||
728 | 44, -16325, /* 678 */ | ||
729 | -7986, 4018, /* 679 */ | ||
730 | -12687, 20240, /* 680 */ | ||
731 | 4940, -1422, /* 681 */ | ||
732 | -21312, 13342, /* 682 */ | ||
733 | 11137, 5761, /* 683 */ | ||
734 | -578, -21462, /* 684 */ | ||
735 | 22870, -19842, /* 685 */ | ||
736 | 22527, -1359, /* 686 */ | ||
737 | -16841, -3493, /* 687 */ | ||
738 | 20195, 23080, /* 688 */ | ||
739 | -22796, 2187, /* 689 */ | ||
740 | 10721, 20841, /* 690 */ | ||
741 | 11005, -18416, /* 691 */ | ||
742 | -20342, -15633, /* 692 */ | ||
743 | 14005, -6097, /* 693 */ | ||
744 | -2199, 8707, /* 694 */ | ||
745 | -13620, 22580, /* 695 */ | ||
746 | 11075, -21097, /* 696 */ | ||
747 | 3643, -19270, /* 697 */ | ||
748 | 13628, -19725, /* 698 */ | ||
749 | -19645, 8414, /* 699 */ | ||
750 | -5849, 19629, /* 700 */ | ||
751 | -14080, -20223, /* 701 */ | ||
752 | 6861, 4353, /* 702 */ | ||
753 | -17709, -12808, /* 703 */ | ||
754 | 354, 22344, /* 704 */ | ||
755 | -18571, -4606, /* 705 */ | ||
756 | -22171, 727, /* 706 */ | ||
757 | -21155, 477, /* 707 */ | ||
758 | -14938, 4403, /* 708 */ | ||
759 | 455, -6227, /* 709 */ | ||
760 | 6949, -18256, /* 710 */ | ||
761 | 451, 5119, /* 711 */ | ||
762 | 4669, 1291, /* 712 */ | ||
763 | -7702, 341, /* 713 */ | ||
764 | 10522, -16919, /* 714 */ | ||
765 | -17982, -8346, /* 715 */ | ||
766 | 934, 461, /* 716 */ | ||
767 | 23313, 11562, /* 717 */ | ||
768 | -8788, 10645, /* 718 */ | ||
769 | 273, 10027, /* 719 */ | ||
770 | 15055, -3806, /* 720 */ | ||
771 | -9478, 3747, /* 721 */ | ||
772 | 9820, -11527, /* 722 */ | ||
773 | 17396, 5199, /* 723 */ | ||
774 | 7367, 5792, /* 724 */ | ||
775 | 17052, 18961, /* 725 */ | ||
776 | 20084, 5022, /* 726 */ | ||
777 | 20656, 23319, /* 727 */ | ||
778 | 7802, 19704, /* 728 */ | ||
779 | 4601, -23358, /* 729 */ | ||
780 | -4496, 20370, /* 730 */ | ||
781 | -17231, -12222, /* 731 */ | ||
782 | -9325, 22794, /* 732 */ | ||
783 | -1868, 9687, /* 733 */ | ||
784 | 154, 10772, /* 734 */ | ||
785 | 12379, 18591, /* 735 */ | ||
786 | 20917, -2826, /* 736 */ | ||
787 | 7054, 22751, /* 737 */ | ||
788 | 21015, 13314, /* 738 */ | ||
789 | -1709, 2570, /* 739 */ | ||
790 | -10774, -14199, /* 740 */ | ||
791 | -20274, 1449, /* 741 */ | ||
792 | -14719, -18933, /* 742 */ | ||
793 | -7108, -2755, /* 743 */ | ||
794 | 19505, -8984, /* 744 */ | ||
795 | -22893, 13542, /* 745 */ | ||
796 | 22953, 13864, /* 746 */ | ||
797 | -15348, 2690, /* 747 */ | ||
798 | -4569, 9486, /* 748 */ | ||
799 | -4743, -20793, /* 749 */ | ||
800 | 13449, -9413, /* 750 */ | ||
801 | 277, -21300, /* 751 */ | ||
802 | 2936, 19224, /* 752 */ | ||
803 | 9474, -10026, /* 753 */ | ||
804 | -10105, 17083, /* 754 */ | ||
805 | 22911, -5194, /* 755 */ | ||
806 | -12980, -2700, /* 756 */ | ||
807 | 44, -3828, /* 757 */ | ||
808 | -3300, 22547, /* 758 */ | ||
809 | 753, 4786, /* 759 */ | ||
810 | -21335, -14255, /* 760 */ | ||
811 | 21876, 3562, /* 761 */ | ||
812 | -20445, 21980, /* 762 */ | ||
813 | 471, 8279, /* 763 */ | ||
814 | 9670, -22620, /* 764 */ | ||
815 | 5880, -4336, /* 765 */ | ||
816 | -12830, 5367, /* 766 */ | ||
817 | 6152, -11190, /* 767 */ | ||
818 | -16330, 16072, /* 768 */ | ||
819 | -8909, -9821, /* 769 */ | ||
820 | 7030, -13034, /* 770 */ | ||
821 | 15799, -12904, /* 771 */ | ||
822 | -22708, -10206, /* 772 */ | ||
823 | -4501, 15499, /* 773 */ | ||
824 | 14101, 2472, /* 774 */ | ||
825 | -16028, 346, /* 775 */ | ||
826 | -8832, 4850, /* 776 */ | ||
827 | 6171, 7605, /* 777 */ | ||
828 | 4285, 4078, /* 778 */ | ||
829 | -20976, 19886, /* 779 */ | ||
830 | 17395, -39, /* 780 */ | ||
831 | 10733, 15939, /* 781 */ | ||
832 | -22762, 19748, /* 782 */ | ||
833 | 11491, 4991, /* 783 */ | ||
834 | -9809, 16739, /* 784 */ | ||
835 | 12075, -13896, /* 785 */ | ||
836 | -18656, -1035, /* 786 */ | ||
837 | -12833, -5594, /* 787 */ | ||
838 | -568, -3572, /* 788 */ | ||
839 | 17573, -121, /* 789 */ | ||
840 | 3722, -19378, /* 790 */ | ||
841 | -3706, 3864, /* 791 */ | ||
842 | 14749, -22548, /* 792 */ | ||
843 | 9193, -23319, /* 793 */ | ||
844 | -2764, 2546, /* 794 */ | ||
845 | -1380, -18268, /* 795 */ | ||
846 | 17957, 9331, /* 796 */ | ||
847 | 6832, 11820, /* 797 */ | ||
848 | -16656, -11778, /* 798 */ | ||
849 | -13542, -11811, /* 799 */ | ||
850 | -17610, 21855, /* 800 */ | ||
851 | 1699, -7167, /* 801 */ | ||
852 | 16000, -1227, /* 802 */ | ||
853 | -12246, 16995, /* 803 */ | ||
854 | -22490, -18287, /* 804 */ | ||
855 | -16557, -4978, /* 805 */ | ||
856 | -1145, 16632, /* 806 */ | ||
857 | 17797, 11268, /* 807 */ | ||
858 | 17100, 12358, /* 808 */ | ||
859 | 23358, -12455, /* 809 */ | ||
860 | 12114, 12101, /* 810 */ | ||
861 | 18162, -12611, /* 811 */ | ||
862 | -6183, -1843, /* 812 */ | ||
863 | 10167, -21875, /* 813 */ | ||
864 | -10089, 1140, /* 814 */ | ||
865 | 13629, -4745, /* 815 */ | ||
866 | -13870, 18805, /* 816 */ | ||
867 | -3303, -15470, /* 817 */ | ||
868 | 6065, -22377, /* 818 */ | ||
869 | 2794, 4340, /* 819 */ | ||
870 | -11943, 3306, /* 820 */ | ||
871 | 7369, 3882, /* 821 */ | ||
872 | -17311, -7471, /* 822 */ | ||
873 | 631, 2804, /* 823 */ | ||
874 | -10641, -4818, /* 824 */ | ||
875 | 4112, 20983, /* 825 */ | ||
876 | -10903, 17726, /* 826 */ | ||
877 | 13384, 22996, /* 827 */ | ||
878 | -16544, -5115, /* 828 */ | ||
879 | 12866, 19779, /* 829 */ | ||
880 | 937, -2001, /* 830 */ | ||
881 | 4082, 7610, /* 831 */ | ||
882 | 893, 1009, /* 832 */ | ||
883 | -16923, 22735, /* 833 */ | ||
884 | -8667, 18816, /* 834 */ | ||
885 | 17009, 6130, /* 835 */ | ||
886 | -3134, -7212, /* 836 */ | ||
887 | -20741, -9142, /* 837 */ | ||
888 | 18166, 18890, /* 838 */ | ||
889 | -11489, -18522, /* 839 */ | ||
890 | -10003, -9590, /* 840 */ | ||
891 | -12998, 16551, /* 841 */ | ||
892 | 4294, 10801, /* 842 */ | ||
893 | 3028, 6722, /* 843 */ | ||
894 | 17229, -10915, /* 844 */ | ||
895 | -13200, 10740, /* 845 */ | ||
896 | -9358, 18465, /* 846 */ | ||
897 | 4098, 467, /* 847 */ | ||
898 | 18928, 2499, /* 848 */ | ||
899 | 1117, 17931, /* 849 */ | ||
900 | 7944, 16773, /* 850 */ | ||
901 | 8327, 4686, /* 851 */ | ||
902 | 21324, -836, /* 852 */ | ||
903 | 5835, -22976, /* 853 */ | ||
904 | -1983, -10415, /* 854 */ | ||
905 | 6956, 3490, /* 855 */ | ||
906 | 22545, 15438, /* 856 */ | ||
907 | -3699, 9631, /* 857 */ | ||
908 | 22400, -7446, /* 858 */ | ||
909 | 876, -4613, /* 859 */ | ||
910 | 2019, 1831, /* 860 */ | ||
911 | -5691, -14608, /* 861 */ | ||
912 | 16439, -3075, /* 862 */ | ||
913 | 2145, -4300, /* 863 */ | ||
914 | 14837, -13860, /* 864 */ | ||
915 | -671, -9728, /* 865 */ | ||
916 | -18071, -11483, /* 866 */ | ||
917 | -16788, -8823, /* 867 */ | ||
918 | 13403, 2291, /* 868 */ | ||
919 | -10879, 15575, /* 869 */ | ||
920 | 2672, -9535, /* 870 */ | ||
921 | -17152, 17757, /* 871 */ | ||
922 | -3553, 12000, /* 872 */ | ||
923 | -20828, -8229, /* 873 */ | ||
924 | 13974, -11389, /* 874 */ | ||
925 | 2801, 11023, /* 875 */ | ||
926 | 12775, -2946, /* 876 */ | ||
927 | 23305, -8830, /* 877 */ | ||
928 | -19324, 19004, /* 878 */ | ||
929 | 10420, 9184, /* 879 */ | ||
930 | 23414, 12090, /* 880 */ | ||
931 | -18452, -10987, /* 881 */ | ||
932 | -2036, 5236, /* 882 */ | ||
933 | -17277, -15430, /* 883 */ | ||
934 | 9596, -16391, /* 884 */ | ||
935 | -9121, 8660, /* 885 */ | ||
936 | -20513, -13280, /* 886 */ | ||
937 | -15360, 12414, /* 887 */ | ||
938 | -14478, -20389, /* 888 */ | ||
939 | 8020, -12233, /* 889 */ | ||
940 | -5318, -6864, /* 890 */ | ||
941 | -20233, 5068, /* 891 */ | ||
942 | 8524, -4102, /* 892 */ | ||
943 | 16768, 5467, /* 893 */ | ||
944 | -18970, -3210, /* 894 */ | ||
945 | -5092, -3960, /* 895 */ | ||
946 | -5841, 10160, /* 896 */ | ||
947 | 730, 17725, /* 897 */ | ||
948 | 18562, -11194, /* 898 */ | ||
949 | 6677, -22108, /* 899 */ | ||
950 | -13971, 6747, /* 900 */ | ||
951 | -20298, 15280, /* 901 */ | ||
952 | 14131, 13118, /* 902 */ | ||
953 | -3623, -1165, /* 903 */ | ||
954 | 18470, 16161, /* 904 */ | ||
955 | 23159, -12119, /* 905 */ | ||
956 | -4667, -6123, /* 906 */ | ||
957 | -7501, 21876, /* 907 */ | ||
958 | -8629, -1457, /* 908 */ | ||
959 | -6390, 1550, /* 909 */ | ||
960 | 5448, -20997, /* 910 */ | ||
961 | 4588, 5757, /* 911 */ | ||
962 | 8721, 7776, /* 912 */ | ||
963 | 22308, 12218, /* 913 */ | ||
964 | -10343, 8263, /* 914 */ | ||
965 | -15351, -8139, /* 915 */ | ||
966 | 19864, 22802, /* 916 */ | ||
967 | -11289, 577, /* 917 */ | ||
968 | -5883, 14942, /* 918 */ | ||
969 | 6814, -4966, /* 919 */ | ||
970 | -8641, -854, /* 920 */ | ||
971 | -14482, 10492, /* 921 */ | ||
972 | -12563, 3730, /* 922 */ | ||
973 | -13191, -13067, /* 923 */ | ||
974 | -19801, -12904, /* 924 */ | ||
975 | -17709, -6809, /* 925 */ | ||
976 | 1769, 6688, /* 926 */ | ||
977 | 8891, 6733, /* 927 */ | ||
978 | 10363, -21086, /* 928 */ | ||
979 | 20659, 23188, /* 929 */ | ||
980 | -23154, -5281, /* 930 */ | ||
981 | 3845, -9461, /* 931 */ | ||
982 | 2652, -11886, /* 932 */ | ||
983 | 8916, -21170, /* 933 */ | ||
984 | 12285, 2552, /* 934 */ | ||
985 | 15268, 6549, /* 935 */ | ||
986 | 1303, -13519, /* 936 */ | ||
987 | -7462, -12880, /* 937 */ | ||
988 | -20326, -20411, /* 938 */ | ||
989 | -11110, 2210, /* 939 */ | ||
990 | 23266, -7041, /* 940 */ | ||
991 | -5394, -20747, /* 941 */ | ||
992 | 13477, 6920, /* 942 */ | ||
993 | 17401, 22273, /* 943 */ | ||
994 | -19530, -300, /* 944 */ | ||
995 | -768, -4116, /* 945 */ | ||
996 | 16221, 22610, /* 946 */ | ||
997 | -1609, 2211, /* 947 */ | ||
998 | 4672, 8383, /* 948 */ | ||
999 | -13741, 434, /* 949 */ | ||
1000 | 803, 15506, /* 950 */ | ||
1001 | -16102, 14909, /* 951 */ | ||
1002 | 11505, -13175, /* 952 */ | ||
1003 | -515, -19234, /* 953 */ | ||
1004 | 7045, -2233, /* 954 */ | ||
1005 | -21575, 12532, /* 955 */ | ||
1006 | -7778, -11156, /* 956 */ | ||
1007 | -3138, 20869, /* 957 */ | ||
1008 | -18899, -1704, /* 958 */ | ||
1009 | 8518, -497, /* 959 */ | ||
1010 | -22264, 10719, /* 960 */ | ||
1011 | -8435, 19447, /* 961 */ | ||
1012 | -21070, 2531, /* 962 */ | ||
1013 | -6142, -2504, /* 963 */ | ||
1014 | -5468, 12137, /* 964 */ | ||
1015 | -7728, 9014, /* 965 */ | ||
1016 | 18394, 4804, /* 966 */ | ||
1017 | -12329, -17782, /* 967 */ | ||
1018 | -19730, -5140, /* 968 */ | ||
1019 | -9347, 8297, /* 969 */ | ||
1020 | -15065, 14400, /* 970 */ | ||
1021 | 10177, -19041, /* 971 */ | ||
1022 | 13666, -10506, /* 972 */ | ||
1023 | -7942, -21882, /* 973 */ | ||
1024 | 13258, -2147, /* 974 */ | ||
1025 | 13025, 1535, /* 975 */ | ||
1026 | -18612, -11020, /* 976 */ | ||
1027 | -8052, -18707, /* 977 */ | ||
1028 | -11248, 2312, /* 978 */ | ||
1029 | -5255, 20516, /* 979 */ | ||
1030 | 18708, -16778, /* 980 */ | ||
1031 | 12560, 1875, /* 981 */ | ||
1032 | -12040, -13886, /* 982 */ | ||
1033 | -2136, 3570, /* 983 */ | ||
1034 | -10718, -11620, /* 984 */ | ||
1035 | -3617, 7053, /* 985 */ | ||
1036 | 9368, -23226, /* 986 */ | ||
1037 | 14945, -23022, /* 987 */ | ||
1038 | 15323, 11032, /* 988 */ | ||
1039 | -4555, -18809, /* 989 */ | ||
1040 | 7137, 12950, /* 990 */ | ||
1041 | -16364, 11571, /* 991 */ | ||
1042 | -7538, -16483, /* 992 */ | ||
1043 | -22633, -22829, /* 993 */ | ||
1044 | 12631, -21120, /* 994 */ | ||
1045 | -1984, -5482, /* 995 */ | ||
1046 | -21490, -2868, /* 996 */ | ||
1047 | -18854, -21853, /* 997 */ | ||
1048 | 21512, 15782, /* 998 */ | ||
1049 | 5122, 13287, /* 999 */ | ||
1050 | -11924, 16866, /* 1000 */ | ||
1051 | 20222, 10019, /* 1001 */ | ||
1052 | -3300, 4453, /* 1002 */ | ||
1053 | -21235, 11788, /* 1003 */ | ||
1054 | 19062, -13855, /* 1004 */ | ||
1055 | 22515, -19078, /* 1005 */ | ||
1056 | 7428, -13148, /* 1006 */ | ||
1057 | 10685, -16007, /* 1007 */ | ||
1058 | -536, 6609, /* 1008 */ | ||
1059 | 8746, 6625, /* 1009 */ | ||
1060 | -6453, -11819, /* 1010 */ | ||
1061 | -4662, -17584, /* 1011 */ | ||
1062 | 675, 14827, /* 1012 */ | ||
1063 | -21398, 5381, /* 1013 */ | ||
1064 | 23133, 667, /* 1014 */ | ||
1065 | -8964, -23237, /* 1015 */ | ||
1066 | -11466, -22351, /* 1016 */ | ||
1067 | 5183, 15747, /* 1017 */ | ||
1068 | -2497, -16392, /* 1018 */ | ||
1069 | -3840, 18779, /* 1019 */ | ||
1070 | -4151, 15090, /* 1020 */ | ||
1071 | 10078, 2416, /* 1021 */ | ||
1072 | -18702, 22939, /* 1022 */ | ||
1073 | -5642, 2964, /* 1023 */ | ||
1074 | }; | ||
1075 | |||
1076 | #pragma DATA_SECTION (rtest,".test") | ||
1077 | |||
1078 | DATA rtest[2*NX] ={ | ||
1079 | 391, -191, /* 0 */ | ||
1080 | -284, 123, /* 1 */ | ||
1081 | 145, -470, /* 2 */ | ||
1082 | 187, -403, /* 3 */ | ||
1083 | 491, 313, /* 4 */ | ||
1084 | 493, -1026, /* 5 */ | ||
1085 | 147, 77, /* 6 */ | ||
1086 | 235, 27, /* 7 */ | ||
1087 | 355, -434, /* 8 */ | ||
1088 | -377, -226, /* 9 */ | ||
1089 | 493, -16, /* 10 */ | ||
1090 | 103, 492, /* 11 */ | ||
1091 | -584, 81, /* 12 */ | ||
1092 | 330, 294, /* 13 */ | ||
1093 | -143, 192, /* 14 */ | ||
1094 | 123, 729, /* 15 */ | ||
1095 | -202, 244, /* 16 */ | ||
1096 | 4, -6, /* 17 */ | ||
1097 | -438, 132, /* 18 */ | ||
1098 | -486, 274, /* 19 */ | ||
1099 | 116, -180, /* 20 */ | ||
1100 | -220, 335, /* 21 */ | ||
1101 | -714, -409, /* 22 */ | ||
1102 | 272, -534, /* 23 */ | ||
1103 | 897, -127, /* 24 */ | ||
1104 | 570, -18, /* 25 */ | ||
1105 | -70, -167, /* 26 */ | ||
1106 | 423, 221, /* 27 */ | ||
1107 | -230, 926, /* 28 */ | ||
1108 | 155, -504, /* 29 */ | ||
1109 | -1056, -396, /* 30 */ | ||
1110 | -820, 631, /* 31 */ | ||
1111 | 111, 765, /* 32 */ | ||
1112 | -5, -525, /* 33 */ | ||
1113 | 504, -465, /* 34 */ | ||
1114 | -207, 87, /* 35 */ | ||
1115 | -539, -387, /* 36 */ | ||
1116 | 278, 780, /* 37 */ | ||
1117 | -101, -202, /* 38 */ | ||
1118 | -807, 415, /* 39 */ | ||
1119 | 525, -48, /* 40 */ | ||
1120 | 249, -201, /* 41 */ | ||
1121 | -254, 777, /* 42 */ | ||
1122 | 243, -169, /* 43 */ | ||
1123 | -246, -631, /* 44 */ | ||
1124 | -106, 193, /* 45 */ | ||
1125 | 139, 579, /* 46 */ | ||
1126 | 316, 25, /* 47 */ | ||
1127 | -75, 210, /* 48 */ | ||
1128 | 398, 452, /* 49 */ | ||
1129 | 452, -155, /* 50 */ | ||
1130 | -882, 662, /* 51 */ | ||
1131 | 322, -638, /* 52 */ | ||
1132 | -42, 314, /* 53 */ | ||
1133 | 482, 24, /* 54 */ | ||
1134 | -95, -59, /* 55 */ | ||
1135 | 366, -256, /* 56 */ | ||
1136 | -200, -313, /* 57 */ | ||
1137 | 193, 611, /* 58 */ | ||
1138 | -46, 33, /* 59 */ | ||
1139 | -343, -326, /* 60 */ | ||
1140 | 556, -882, /* 61 */ | ||
1141 | -292, -589, /* 62 */ | ||
1142 | -150, 292, /* 63 */ | ||
1143 | -43, 684, /* 64 */ | ||
1144 | 427, 455, /* 65 */ | ||
1145 | 227, -442, /* 66 */ | ||
1146 | -49, -110, /* 67 */ | ||
1147 | -304, 484, /* 68 */ | ||
1148 | -700, -234, /* 69 */ | ||
1149 | 343, -15, /* 70 */ | ||
1150 | -476, -243, /* 71 */ | ||
1151 | -156, -574, /* 72 */ | ||
1152 | 102, 636, /* 73 */ | ||
1153 | -457, -554, /* 74 */ | ||
1154 | 632, -593, /* 75 */ | ||
1155 | 212, 352, /* 76 */ | ||
1156 | -68, -167, /* 77 */ | ||
1157 | -261, -64, /* 78 */ | ||
1158 | 72, 655, /* 79 */ | ||
1159 | -173, -116, /* 80 */ | ||
1160 | -516, 274, /* 81 */ | ||
1161 | -51, -70, /* 82 */ | ||
1162 | 314, 434, /* 83 */ | ||
1163 | 172, -400, /* 84 */ | ||
1164 | 1213, 21, /* 85 */ | ||
1165 | -496, -28, /* 86 */ | ||
1166 | -149, 149, /* 87 */ | ||
1167 | -400, -82, /* 88 */ | ||
1168 | -61, -439, /* 89 */ | ||
1169 | -765, 424, /* 90 */ | ||
1170 | 145, 211, /* 91 */ | ||
1171 | 146, 360, /* 92 */ | ||
1172 | -191, -116, /* 93 */ | ||
1173 | -987, 86, /* 94 */ | ||
1174 | -290, -213, /* 95 */ | ||
1175 | -370, 237, /* 96 */ | ||
1176 | -630, -289, /* 97 */ | ||
1177 | 84, -391, /* 98 */ | ||
1178 | -1287, -223, /* 99 */ | ||
1179 | 190, 135, /* 100 */ | ||
1180 | -651, -105, /* 101 */ | ||
1181 | -208, -437, /* 102 */ | ||
1182 | 604, -7, /* 103 */ | ||
1183 | -620, -139, /* 104 */ | ||
1184 | 44, -378, /* 105 */ | ||
1185 | -547, -2, /* 106 */ | ||
1186 | 587, 1043, /* 107 */ | ||
1187 | -196, -1329, /* 108 */ | ||
1188 | -8, -454, /* 109 */ | ||
1189 | -96, -330, /* 110 */ | ||
1190 | 140, 178, /* 111 */ | ||
1191 | -335, -909, /* 112 */ | ||
1192 | -686, 373, /* 113 */ | ||
1193 | 820, 405, /* 114 */ | ||
1194 | -283, -617, /* 115 */ | ||
1195 | -94, 94, /* 116 */ | ||
1196 | 221, -184, /* 117 */ | ||
1197 | 302, 836, /* 118 */ | ||
1198 | 258, 355, /* 119 */ | ||
1199 | 102, -518, /* 120 */ | ||
1200 | -205, 236, /* 121 */ | ||
1201 | -358, 581, /* 122 */ | ||
1202 | 142, 332, /* 123 */ | ||
1203 | 612, 37, /* 124 */ | ||
1204 | 111, 263, /* 125 */ | ||
1205 | 225, 85, /* 126 */ | ||
1206 | -135, -57, /* 127 */ | ||
1207 | 125, 459, /* 128 */ | ||
1208 | -645, 480, /* 129 */ | ||
1209 | -22, 49, /* 130 */ | ||
1210 | -74, 159, /* 131 */ | ||
1211 | -391, -493, /* 132 */ | ||
1212 | -420, 173, /* 133 */ | ||
1213 | 486, 36, /* 134 */ | ||
1214 | -295, -132, /* 135 */ | ||
1215 | 464, 112, /* 136 */ | ||
1216 | 375, -529, /* 137 */ | ||
1217 | 641, 115, /* 138 */ | ||
1218 | 757, -468, /* 139 */ | ||
1219 | 461, 817, /* 140 */ | ||
1220 | -794, -224, /* 141 */ | ||
1221 | 268, -390, /* 142 */ | ||
1222 | -191, -216, /* 143 */ | ||
1223 | -91, -636, /* 144 */ | ||
1224 | 260, -335, /* 145 */ | ||
1225 | -92, -763, /* 146 */ | ||
1226 | 846, 488, /* 147 */ | ||
1227 | -876, 598, /* 148 */ | ||
1228 | 49, 315, /* 149 */ | ||
1229 | -400, 255, /* 150 */ | ||
1230 | -133, 193, /* 151 */ | ||
1231 | -309, 194, /* 152 */ | ||
1232 | -287, -48, /* 153 */ | ||
1233 | 560, -186, /* 154 */ | ||
1234 | -584, -89, /* 155 */ | ||
1235 | -3, -357, /* 156 */ | ||
1236 | 621, -419, /* 157 */ | ||
1237 | 412, -150, /* 158 */ | ||
1238 | 67, -610, /* 159 */ | ||
1239 | 843, -531, /* 160 */ | ||
1240 | 49, -654, /* 161 */ | ||
1241 | -225, -222, /* 162 */ | ||
1242 | -734, -119, /* 163 */ | ||
1243 | 649, 209, /* 164 */ | ||
1244 | 212, 178, /* 165 */ | ||
1245 | 73, -514, /* 166 */ | ||
1246 | -129, 46, /* 167 */ | ||
1247 | -930, -228, /* 168 */ | ||
1248 | 259, -402, /* 169 */ | ||
1249 | 869, -6, /* 170 */ | ||
1250 | 399, -197, /* 171 */ | ||
1251 | -789, -222, /* 172 */ | ||
1252 | 702, 878, /* 173 */ | ||
1253 | -311, -205, /* 174 */ | ||
1254 | 453, 442, /* 175 */ | ||
1255 | 370, 655, /* 176 */ | ||
1256 | -300, 520, /* 177 */ | ||
1257 | 233, -221, /* 178 */ | ||
1258 | 305, -302, /* 179 */ | ||
1259 | 620, 100, /* 180 */ | ||
1260 | -211, -372, /* 181 */ | ||
1261 | -109, -467, /* 182 */ | ||
1262 | -565, 296, /* 183 */ | ||
1263 | -1, 324, /* 184 */ | ||
1264 | -68, 372, /* 185 */ | ||
1265 | 286, -191, /* 186 */ | ||
1266 | -208, 642, /* 187 */ | ||
1267 | 518, -1072, /* 188 */ | ||
1268 | -292, -32, /* 189 */ | ||
1269 | -253, -868, /* 190 */ | ||
1270 | -157, 822, /* 191 */ | ||
1271 | 608, -99, /* 192 */ | ||
1272 | -527, -309, /* 193 */ | ||
1273 | -474, -182, /* 194 */ | ||
1274 | -145, 264, /* 195 */ | ||
1275 | -517, -241, /* 196 */ | ||
1276 | 168, -618, /* 197 */ | ||
1277 | -394, -52, /* 198 */ | ||
1278 | 556, -179, /* 199 */ | ||
1279 | -139, 360, /* 200 */ | ||
1280 | -56, -436, /* 201 */ | ||
1281 | -118, 221, /* 202 */ | ||
1282 | 208, -97, /* 203 */ | ||
1283 | 68, -17, /* 204 */ | ||
1284 | 943, -33, /* 205 */ | ||
1285 | 213, -571, /* 206 */ | ||
1286 | 333, -29, /* 207 */ | ||
1287 | -624, 263, /* 208 */ | ||
1288 | -323, -735, /* 209 */ | ||
1289 | 255, -185, /* 210 */ | ||
1290 | -1044, -146, /* 211 */ | ||
1291 | 296, 859, /* 212 */ | ||
1292 | -120, -440, /* 213 */ | ||
1293 | 75, -761, /* 214 */ | ||
1294 | -184, 360, /* 215 */ | ||
1295 | -257, -1018, /* 216 */ | ||
1296 | -180, -263, /* 217 */ | ||
1297 | -829, -11, /* 218 */ | ||
1298 | -111, -371, /* 219 */ | ||
1299 | -39, -13, /* 220 */ | ||
1300 | -361, -454, /* 221 */ | ||
1301 | -582, 81, /* 222 */ | ||
1302 | -237, -363, /* 223 */ | ||
1303 | -722, 145, /* 224 */ | ||
1304 | -534, -545, /* 225 */ | ||
1305 | -242, 652, /* 226 */ | ||
1306 | -50, 577, /* 227 */ | ||
1307 | 38, 537, /* 228 */ | ||
1308 | 463, -714, /* 229 */ | ||
1309 | -601, 467, /* 230 */ | ||
1310 | -83, -110, /* 231 */ | ||
1311 | -647, -195, /* 232 */ | ||
1312 | -329, -596, /* 233 */ | ||
1313 | 183, 174, /* 234 */ | ||
1314 | 514, -508, /* 235 */ | ||
1315 | 153, 151, /* 236 */ | ||
1316 | -606, 202, /* 237 */ | ||
1317 | 366, 419, /* 238 */ | ||
1318 | 383, -29, /* 239 */ | ||
1319 | 171, 417, /* 240 */ | ||
1320 | -19, -348, /* 241 */ | ||
1321 | -135, -51, /* 242 */ | ||
1322 | -497, 37, /* 243 */ | ||
1323 | -68, -297, /* 244 */ | ||
1324 | 163, 937, /* 245 */ | ||
1325 | 269, -248, /* 246 */ | ||
1326 | -374, 241, /* 247 */ | ||
1327 | 383, -493, /* 248 */ | ||
1328 | -103, 826, /* 249 */ | ||
1329 | 427, 576, /* 250 */ | ||
1330 | -45, 38, /* 251 */ | ||
1331 | -127, 200, /* 252 */ | ||
1332 | -230, -510, /* 253 */ | ||
1333 | -438, -298, /* 254 */ | ||
1334 | -512, 253, /* 255 */ | ||
1335 | -299, -121, /* 256 */ | ||
1336 | 184, -5, /* 257 */ | ||
1337 | -206, 224, /* 258 */ | ||
1338 | -659, -134, /* 259 */ | ||
1339 | -360, 428, /* 260 */ | ||
1340 | 56, 43, /* 261 */ | ||
1341 | 377, 204, /* 262 */ | ||
1342 | 29, 87, /* 263 */ | ||
1343 | 126, -501, /* 264 */ | ||
1344 | -46, 315, /* 265 */ | ||
1345 | -113, 58, /* 266 */ | ||
1346 | 357, -179, /* 267 */ | ||
1347 | -474, -163, /* 268 */ | ||
1348 | -152, 195, /* 269 */ | ||
1349 | 215, 528, /* 270 */ | ||
1350 | 120, 87, /* 271 */ | ||
1351 | 359, -597, /* 272 */ | ||
1352 | 789, -272, /* 273 */ | ||
1353 | -170, 413, /* 274 */ | ||
1354 | 867, 570, /* 275 */ | ||
1355 | -176, -587, /* 276 */ | ||
1356 | -394, 678, /* 277 */ | ||
1357 | 643, 269, /* 278 */ | ||
1358 | 649, 476, /* 279 */ | ||
1359 | 222, 116, /* 280 */ | ||
1360 | 109, -30, /* 281 */ | ||
1361 | -550, -392, /* 282 */ | ||
1362 | -734, 491, /* 283 */ | ||
1363 | -18, -135, /* 284 */ | ||
1364 | -27, 401, /* 285 */ | ||
1365 | 441, -461, /* 286 */ | ||
1366 | -245, 25, /* 287 */ | ||
1367 | 353, 273, /* 288 */ | ||
1368 | -302, 446, /* 289 */ | ||
1369 | 80, -23, /* 290 */ | ||
1370 | -315, 222, /* 291 */ | ||
1371 | -249, 161, /* 292 */ | ||
1372 | -320, 592, /* 293 */ | ||
1373 | -420, 31, /* 294 */ | ||
1374 | 105, -702, /* 295 */ | ||
1375 | -455, -79, /* 296 */ | ||
1376 | -580, 485, /* 297 */ | ||
1377 | -169, -265, /* 298 */ | ||
1378 | -382, -345, /* 299 */ | ||
1379 | 165, -122, /* 300 */ | ||
1380 | 131, 33, /* 301 */ | ||
1381 | 370, -662, /* 302 */ | ||
1382 | 700, -865, /* 303 */ | ||
1383 | -28, 464, /* 304 */ | ||
1384 | -235, 599, /* 305 */ | ||
1385 | 766, -50, /* 306 */ | ||
1386 | 231, -446, /* 307 */ | ||
1387 | 34, -394, /* 308 */ | ||
1388 | 186, -195, /* 309 */ | ||
1389 | 109, -311, /* 310 */ | ||
1390 | 429, 112, /* 311 */ | ||
1391 | 176, -688, /* 312 */ | ||
1392 | -463, -223, /* 313 */ | ||
1393 | 603, 535, /* 314 */ | ||
1394 | 555, 821, /* 315 */ | ||
1395 | 275, 474, /* 316 */ | ||
1396 | -226, 62, /* 317 */ | ||
1397 | 208, -23, /* 318 */ | ||
1398 | 700, -1437, /* 319 */ | ||
1399 | -130, 468, /* 320 */ | ||
1400 | -85, -145, /* 321 */ | ||
1401 | -1048, 135, /* 322 */ | ||
1402 | 230, 193, /* 323 */ | ||
1403 | 42, 1235, /* 324 */ | ||
1404 | -382, 308, /* 325 */ | ||
1405 | 556, 134, /* 326 */ | ||
1406 | 1018, -1393, /* 327 */ | ||
1407 | -73, -161, /* 328 */ | ||
1408 | -25, 255, /* 329 */ | ||
1409 | -102, -230, /* 330 */ | ||
1410 | -243, -47, /* 331 */ | ||
1411 | 9, -133, /* 332 */ | ||
1412 | 124, 179, /* 333 */ | ||
1413 | 212, 404, /* 334 */ | ||
1414 | 239, 95, /* 335 */ | ||
1415 | 567, 521, /* 336 */ | ||
1416 | -406, 685, /* 337 */ | ||
1417 | -60, -26, /* 338 */ | ||
1418 | -615, 146, /* 339 */ | ||
1419 | 136, -346, /* 340 */ | ||
1420 | 137, 107, /* 341 */ | ||
1421 | 214, -314, /* 342 */ | ||
1422 | -799, 196, /* 343 */ | ||
1423 | -34, 456, /* 344 */ | ||
1424 | -856, -216, /* 345 */ | ||
1425 | -343, 49, /* 346 */ | ||
1426 | 440, -478, /* 347 */ | ||
1427 | 406, 340, /* 348 */ | ||
1428 | -832, -776, /* 349 */ | ||
1429 | 1046, -300, /* 350 */ | ||
1430 | 62, 598, /* 351 */ | ||
1431 | 692, -370, /* 352 */ | ||
1432 | 1157, 117, /* 353 */ | ||
1433 | 224, -712, /* 354 */ | ||
1434 | 242, 321, /* 355 */ | ||
1435 | 82, -189, /* 356 */ | ||
1436 | -506, -701, /* 357 */ | ||
1437 | -498, -69, /* 358 */ | ||
1438 | 180, -385, /* 359 */ | ||
1439 | -828, -211, /* 360 */ | ||
1440 | -620, 508, /* 361 */ | ||
1441 | 482, -98, /* 362 */ | ||
1442 | -465, -121, /* 363 */ | ||
1443 | -268, 211, /* 364 */ | ||
1444 | 308, 159, /* 365 */ | ||
1445 | -173, 390, /* 366 */ | ||
1446 | 395, -125, /* 367 */ | ||
1447 | 386, 217, /* 368 */ | ||
1448 | 69, -201, /* 369 */ | ||
1449 | -282, 733, /* 370 */ | ||
1450 | -175, -765, /* 371 */ | ||
1451 | -954, -232, /* 372 */ | ||
1452 | 663, -237, /* 373 */ | ||
1453 | 120, -592, /* 374 */ | ||
1454 | -163, 265, /* 375 */ | ||
1455 | -116, -219, /* 376 */ | ||
1456 | -419, -304, /* 377 */ | ||
1457 | 200, 225, /* 378 */ | ||
1458 | -473, 565, /* 379 */ | ||
1459 | -34, 858, /* 380 */ | ||
1460 | -445, 177, /* 381 */ | ||
1461 | 785, -36, /* 382 */ | ||
1462 | -145, -47, /* 383 */ | ||
1463 | 789, -389, /* 384 */ | ||
1464 | -401, -662, /* 385 */ | ||
1465 | -584, -1275, /* 386 */ | ||
1466 | -41, -49, /* 387 */ | ||
1467 | 145, 415, /* 388 */ | ||
1468 | 39, -175, /* 389 */ | ||
1469 | 501, 324, /* 390 */ | ||
1470 | -101, 694, /* 391 */ | ||
1471 | 316, 510, /* 392 */ | ||
1472 | 201, 445, /* 393 */ | ||
1473 | 742, -441, /* 394 */ | ||
1474 | 536, -514, /* 395 */ | ||
1475 | 369, -287, /* 396 */ | ||
1476 | 761, 295, /* 397 */ | ||
1477 | 53, 91, /* 398 */ | ||
1478 | 35, -513, /* 399 */ | ||
1479 | -27, -203, /* 400 */ | ||
1480 | -612, 315, /* 401 */ | ||
1481 | 2, -853, /* 402 */ | ||
1482 | -535, -342, /* 403 */ | ||
1483 | 188, -22, /* 404 */ | ||
1484 | -841, -293, /* 405 */ | ||
1485 | -71, -148, /* 406 */ | ||
1486 | -366, 670, /* 407 */ | ||
1487 | 438, -372, /* 408 */ | ||
1488 | -155, 377, /* 409 */ | ||
1489 | -85, -229, /* 410 */ | ||
1490 | -51, -51, /* 411 */ | ||
1491 | -410, 526, /* 412 */ | ||
1492 | 119, 684, /* 413 */ | ||
1493 | -62, 488, /* 414 */ | ||
1494 | 199, -54, /* 415 */ | ||
1495 | 194, -237, /* 416 */ | ||
1496 | 887, -176, /* 417 */ | ||
1497 | 91, 275, /* 418 */ | ||
1498 | -192, 127, /* 419 */ | ||
1499 | 227, 527, /* 420 */ | ||
1500 | -200, 442, /* 421 */ | ||
1501 | 195, 551, /* 422 */ | ||
1502 | 219, -123, /* 423 */ | ||
1503 | 1055, -523, /* 424 */ | ||
1504 | -224, 468, /* 425 */ | ||
1505 | 444, 96, /* 426 */ | ||
1506 | -61, 510, /* 427 */ | ||
1507 | 405, 791, /* 428 */ | ||
1508 | -23, -113, /* 429 */ | ||
1509 | -205, 757, /* 430 */ | ||
1510 | 55, 565, /* 431 */ | ||
1511 | 27, -9, /* 432 */ | ||
1512 | -87, 799, /* 433 */ | ||
1513 | 210, 337, /* 434 */ | ||
1514 | 44, 534, /* 435 */ | ||
1515 | 89, -52, /* 436 */ | ||
1516 | -330, -1054, /* 437 */ | ||
1517 | 212, -944, /* 438 */ | ||
1518 | -199, 593, /* 439 */ | ||
1519 | -122, 22, /* 440 */ | ||
1520 | 810, -202, /* 441 */ | ||
1521 | 217, 0, /* 442 */ | ||
1522 | -355, -549, /* 443 */ | ||
1523 | -54, 275, /* 444 */ | ||
1524 | -400, 72, /* 445 */ | ||
1525 | 152, 88, /* 446 */ | ||
1526 | -437, 423, /* 447 */ | ||
1527 | -357, -11, /* 448 */ | ||
1528 | -864, 60, /* 449 */ | ||
1529 | -835, -182, /* 450 */ | ||
1530 | -190, 51, /* 451 */ | ||
1531 | 413, 617, /* 452 */ | ||
1532 | 154, 179, /* 453 */ | ||
1533 | 10, 374, /* 454 */ | ||
1534 | 153, 190, /* 455 */ | ||
1535 | -587, 1001, /* 456 */ | ||
1536 | 1, -169, /* 457 */ | ||
1537 | -667, 469, /* 458 */ | ||
1538 | -351, 652, /* 459 */ | ||
1539 | 549, -553, /* 460 */ | ||
1540 | -668, 346, /* 461 */ | ||
1541 | 94, -133, /* 462 */ | ||
1542 | 270, 726, /* 463 */ | ||
1543 | -920, 484, /* 464 */ | ||
1544 | -583, -564, /* 465 */ | ||
1545 | 22, -317, /* 466 */ | ||
1546 | 111, -446, /* 467 */ | ||
1547 | -218, -271, /* 468 */ | ||
1548 | 96, 422, /* 469 */ | ||
1549 | 164, 38, /* 470 */ | ||
1550 | 360, 255, /* 471 */ | ||
1551 | 1052, -536, /* 472 */ | ||
1552 | -60, 168, /* 473 */ | ||
1553 | -175, -79, /* 474 */ | ||
1554 | -434, -147, /* 475 */ | ||
1555 | -171, 969, /* 476 */ | ||
1556 | 543, -229, /* 477 */ | ||
1557 | -769, -215, /* 478 */ | ||
1558 | -511, 1, /* 479 */ | ||
1559 | 218, 389, /* 480 */ | ||
1560 | -111, -76, /* 481 */ | ||
1561 | 57, -742, /* 482 */ | ||
1562 | -284, -231, /* 483 */ | ||
1563 | 498, 346, /* 484 */ | ||
1564 | -518, -46, /* 485 */ | ||
1565 | -75, -307, /* 486 */ | ||
1566 | 219, 691, /* 487 */ | ||
1567 | -167, -272, /* 488 */ | ||
1568 | -732, 5, /* 489 */ | ||
1569 | -21, 624, /* 490 */ | ||
1570 | -162, 200, /* 491 */ | ||
1571 | 56, -335, /* 492 */ | ||
1572 | -190, 380, /* 493 */ | ||
1573 | 437, 223, /* 494 */ | ||
1574 | -103, -290, /* 495 */ | ||
1575 | -254, 271, /* 496 */ | ||
1576 | -274, -489, /* 497 */ | ||
1577 | -296, 174, /* 498 */ | ||
1578 | 352, 116, /* 499 */ | ||
1579 | 126, 207, /* 500 */ | ||
1580 | -245, 497, /* 501 */ | ||
1581 | 106, 596, /* 502 */ | ||
1582 | 769, -215, /* 503 */ | ||
1583 | -617, -451, /* 504 */ | ||
1584 | 697, -544, /* 505 */ | ||
1585 | -43, 473, /* 506 */ | ||
1586 | 424, 618, /* 507 */ | ||
1587 | -430, -684, /* 508 */ | ||
1588 | 100, 412, /* 509 */ | ||
1589 | -547, -480, /* 510 */ | ||
1590 | 734, 817, /* 511 */ | ||
1591 | 808, -570, /* 512 */ | ||
1592 | -117, -85, /* 513 */ | ||
1593 | 170, -586, /* 514 */ | ||
1594 | 194, 484, /* 515 */ | ||
1595 | -211, -331, /* 516 */ | ||
1596 | -1283, -652, /* 517 */ | ||
1597 | -35, 397, /* 518 */ | ||
1598 | 554, 452, /* 519 */ | ||
1599 | -381, -103, /* 520 */ | ||
1600 | -817, 1034, /* 521 */ | ||
1601 | -139, -54, /* 522 */ | ||
1602 | -61, 376, /* 523 */ | ||
1603 | 425, 519, /* 524 */ | ||
1604 | 719, -299, /* 525 */ | ||
1605 | 48, 155, /* 526 */ | ||
1606 | -199, 151, /* 527 */ | ||
1607 | -621, -155, /* 528 */ | ||
1608 | 701, -285, /* 529 */ | ||
1609 | -355, 78, /* 530 */ | ||
1610 | 270, 924, /* 531 */ | ||
1611 | -650, 19, /* 532 */ | ||
1612 | -375, -657, /* 533 */ | ||
1613 | 623, -237, /* 534 */ | ||
1614 | -404, 247, /* 535 */ | ||
1615 | -12, -341, /* 536 */ | ||
1616 | -68, -251, /* 537 */ | ||
1617 | 218, -99, /* 538 */ | ||
1618 | 740, -157, /* 539 */ | ||
1619 | -409, -828, /* 540 */ | ||
1620 | 37, 798, /* 541 */ | ||
1621 | -577, 74, /* 542 */ | ||
1622 | -357, 159, /* 543 */ | ||
1623 | -469, -2, /* 544 */ | ||
1624 | 897, 528, /* 545 */ | ||
1625 | 455, 578, /* 546 */ | ||
1626 | -365, 61, /* 547 */ | ||
1627 | 217, 174, /* 548 */ | ||
1628 | 803, -503, /* 549 */ | ||
1629 | -282, 396, /* 550 */ | ||
1630 | -989, 767, /* 551 */ | ||
1631 | 698, 363, /* 552 */ | ||
1632 | -2, 302, /* 553 */ | ||
1633 | -134, 550, /* 554 */ | ||
1634 | -661, 81, /* 555 */ | ||
1635 | 267, 47, /* 556 */ | ||
1636 | -71, 331, /* 557 */ | ||
1637 | -253, -291, /* 558 */ | ||
1638 | 76, -347, /* 559 */ | ||
1639 | 563, -269, /* 560 */ | ||
1640 | -183, 518, /* 561 */ | ||
1641 | -176, 64, /* 562 */ | ||
1642 | 177, -291, /* 563 */ | ||
1643 | -24, 562, /* 564 */ | ||
1644 | 357, -324, /* 565 */ | ||
1645 | 448, -368, /* 566 */ | ||
1646 | 475, -169, /* 567 */ | ||
1647 | 77, 117, /* 568 */ | ||
1648 | 175, -164, /* 569 */ | ||
1649 | 204, 246, /* 570 */ | ||
1650 | 280, -313, /* 571 */ | ||
1651 | 24, 127, /* 572 */ | ||
1652 | -794, -223, /* 573 */ | ||
1653 | -21, -35, /* 574 */ | ||
1654 | -47, 425, /* 575 */ | ||
1655 | 103, 558, /* 576 */ | ||
1656 | -110, -998, /* 577 */ | ||
1657 | -173, 208, /* 578 */ | ||
1658 | 802, 230, /* 579 */ | ||
1659 | -656, 197, /* 580 */ | ||
1660 | -475, -442, /* 581 */ | ||
1661 | 253, 704, /* 582 */ | ||
1662 | 428, 252, /* 583 */ | ||
1663 | 123, -165, /* 584 */ | ||
1664 | 219, -199, /* 585 */ | ||
1665 | -234, -141, /* 586 */ | ||
1666 | 538, 266, /* 587 */ | ||
1667 | 882, 565, /* 588 */ | ||
1668 | -431, 597, /* 589 */ | ||
1669 | -243, -591, /* 590 */ | ||
1670 | -119, -159, /* 591 */ | ||
1671 | 460, 430, /* 592 */ | ||
1672 | -223, -623, /* 593 */ | ||
1673 | -97, 73, /* 594 */ | ||
1674 | 124, 576, /* 595 */ | ||
1675 | 235, 41, /* 596 */ | ||
1676 | 425, -131, /* 597 */ | ||
1677 | 381, 90, /* 598 */ | ||
1678 | -231, 263, /* 599 */ | ||
1679 | -5, -441, /* 600 */ | ||
1680 | 714, 609, /* 601 */ | ||
1681 | -635, -496, /* 602 */ | ||
1682 | 298, -423, /* 603 */ | ||
1683 | 300, -110, /* 604 */ | ||
1684 | -536, -72, /* 605 */ | ||
1685 | 468, 43, /* 606 */ | ||
1686 | -53, 144, /* 607 */ | ||
1687 | -329, -906, /* 608 */ | ||
1688 | -166, 20, /* 609 */ | ||
1689 | -184, -527, /* 610 */ | ||
1690 | -61, 70, /* 611 */ | ||
1691 | 712, -442, /* 612 */ | ||
1692 | 5, -70, /* 613 */ | ||
1693 | 44, -19, /* 614 */ | ||
1694 | -564, -626, /* 615 */ | ||
1695 | -252, 689, /* 616 */ | ||
1696 | -663, 377, /* 617 */ | ||
1697 | 495, -25, /* 618 */ | ||
1698 | 535, 199, /* 619 */ | ||
1699 | 116, 170, /* 620 */ | ||
1700 | 361, -74, /* 621 */ | ||
1701 | -162, -23, /* 622 */ | ||
1702 | 188, 403, /* 623 */ | ||
1703 | -403, -141, /* 624 */ | ||
1704 | -433, 476, /* 625 */ | ||
1705 | -59, 294, /* 626 */ | ||
1706 | 253, 430, /* 627 */ | ||
1707 | 487, 549, /* 628 */ | ||
1708 | -516, -517, /* 629 */ | ||
1709 | 205, -295, /* 630 */ | ||
1710 | -588, 233, /* 631 */ | ||
1711 | -531, 119, /* 632 */ | ||
1712 | -73, 275, /* 633 */ | ||
1713 | 91, 103, /* 634 */ | ||
1714 | 22, 604, /* 635 */ | ||
1715 | -537, 656, /* 636 */ | ||
1716 | 287, 474, /* 637 */ | ||
1717 | -121, 731, /* 638 */ | ||
1718 | -229, -148, /* 639 */ | ||
1719 | 275, -437, /* 640 */ | ||
1720 | -532, 336, /* 641 */ | ||
1721 | -106, -654, /* 642 */ | ||
1722 | 133, -546, /* 643 */ | ||
1723 | 206, -200, /* 644 */ | ||
1724 | -694, -13, /* 645 */ | ||
1725 | 410, -547, /* 646 */ | ||
1726 | 17, -287, /* 647 */ | ||
1727 | -405, 103, /* 648 */ | ||
1728 | 156, 213, /* 649 */ | ||
1729 | -230, -87, /* 650 */ | ||
1730 | -378, 11, /* 651 */ | ||
1731 | 295, 131, /* 652 */ | ||
1732 | -291, -206, /* 653 */ | ||
1733 | 653, -855, /* 654 */ | ||
1734 | 868, 248, /* 655 */ | ||
1735 | -413, -60, /* 656 */ | ||
1736 | 229, 344, /* 657 */ | ||
1737 | 696, -637, /* 658 */ | ||
1738 | -881, 21, /* 659 */ | ||
1739 | -194, -478, /* 660 */ | ||
1740 | -161, 386, /* 661 */ | ||
1741 | 116, -553, /* 662 */ | ||
1742 | 28, -106, /* 663 */ | ||
1743 | -295, -480, /* 664 */ | ||
1744 | 60, -467, /* 665 */ | ||
1745 | -227, -548, /* 666 */ | ||
1746 | 124, 617, /* 667 */ | ||
1747 | 16, -62, /* 668 */ | ||
1748 | 4, -794, /* 669 */ | ||
1749 | -198, -533, /* 670 */ | ||
1750 | 578, -288, /* 671 */ | ||
1751 | 129, 222, /* 672 */ | ||
1752 | 64, 119, /* 673 */ | ||
1753 | -275, 282, /* 674 */ | ||
1754 | 332, -19, /* 675 */ | ||
1755 | -388, -504, /* 676 */ | ||
1756 | -124, 333, /* 677 */ | ||
1757 | 8, 481, /* 678 */ | ||
1758 | -750, -222, /* 679 */ | ||
1759 | 492, 206, /* 680 */ | ||
1760 | 725, -159, /* 681 */ | ||
1761 | -122, -98, /* 682 */ | ||
1762 | 378, 315, /* 683 */ | ||
1763 | 128, -245, /* 684 */ | ||
1764 | 67, 926, /* 685 */ | ||
1765 | -264, -274, /* 686 */ | ||
1766 | -746, -297, /* 687 */ | ||
1767 | 196, -188, /* 688 */ | ||
1768 | 101, 50, /* 689 */ | ||
1769 | -115, -336, /* 690 */ | ||
1770 | -58, 13, /* 691 */ | ||
1771 | 456, -316, /* 692 */ | ||
1772 | 255, -331, /* 693 */ | ||
1773 | 162, -278, /* 694 */ | ||
1774 | -1048, -625, /* 695 */ | ||
1775 | 57, -339, /* 696 */ | ||
1776 | 257, -188, /* 697 */ | ||
1777 | -256, -437, /* 698 */ | ||
1778 | 269, 730, /* 699 */ | ||
1779 | -562, -347, /* 700 */ | ||
1780 | 54, 817, /* 701 */ | ||
1781 | 342, 221, /* 702 */ | ||
1782 | 256, -254, /* 703 */ | ||
1783 | 525, -457, /* 704 */ | ||
1784 | 415, -164, /* 705 */ | ||
1785 | 514, -230, /* 706 */ | ||
1786 | 3, -294, /* 707 */ | ||
1787 | 673, 52, /* 708 */ | ||
1788 | 682, 84, /* 709 */ | ||
1789 | -74, -1264, /* 710 */ | ||
1790 | -558, 106, /* 711 */ | ||
1791 | 504, 419, /* 712 */ | ||
1792 | -251, -287, /* 713 */ | ||
1793 | 31, 374, /* 714 */ | ||
1794 | -370, 779, /* 715 */ | ||
1795 | 195, -61, /* 716 */ | ||
1796 | 259, -72, /* 717 */ | ||
1797 | -143, -118, /* 718 */ | ||
1798 | -379, -375, /* 719 */ | ||
1799 | 221, 111, /* 720 */ | ||
1800 | 8, 283, /* 721 */ | ||
1801 | 745, 515, /* 722 */ | ||
1802 | 326, 426, /* 723 */ | ||
1803 | -437, -297, /* 724 */ | ||
1804 | 383, -93, /* 725 */ | ||
1805 | 55, 230, /* 726 */ | ||
1806 | 18, -415, /* 727 */ | ||
1807 | -866, 308, /* 728 */ | ||
1808 | -15, -545, /* 729 */ | ||
1809 | -188, 715, /* 730 */ | ||
1810 | 191, 67, /* 731 */ | ||
1811 | 514, 547, /* 732 */ | ||
1812 | 494, -117, /* 733 */ | ||
1813 | 224, 509, /* 734 */ | ||
1814 | -504, -50, /* 735 */ | ||
1815 | 15, -161, /* 736 */ | ||
1816 | -258, -286, /* 737 */ | ||
1817 | 41, -210, /* 738 */ | ||
1818 | -328, 428, /* 739 */ | ||
1819 | 46, 32, /* 740 */ | ||
1820 | 840, -52, /* 741 */ | ||
1821 | 738, 1053, /* 742 */ | ||
1822 | 162, -617, /* 743 */ | ||
1823 | 170, 101, /* 744 */ | ||
1824 | -280, 143, /* 745 */ | ||
1825 | 1107, -539, /* 746 */ | ||
1826 | 304, -4, /* 747 */ | ||
1827 | -75, -544, /* 748 */ | ||
1828 | -13, 650, /* 749 */ | ||
1829 | 323, 302, /* 750 */ | ||
1830 | -296, -239, /* 751 */ | ||
1831 | -358, 66, /* 752 */ | ||
1832 | 300, -368, /* 753 */ | ||
1833 | 366, -521, /* 754 */ | ||
1834 | 72, 292, /* 755 */ | ||
1835 | -99, -203, /* 756 */ | ||
1836 | -435, -777, /* 757 */ | ||
1837 | 260, 63, /* 758 */ | ||
1838 | -271, 1128, /* 759 */ | ||
1839 | 441, 263, /* 760 */ | ||
1840 | -88, 190, /* 761 */ | ||
1841 | 224, 67, /* 762 */ | ||
1842 | -622, -540, /* 763 */ | ||
1843 | -17, 114, /* 764 */ | ||
1844 | -450, -301, /* 765 */ | ||
1845 | -503, -427, /* 766 */ | ||
1846 | -23, -331, /* 767 */ | ||
1847 | -709, 113, /* 768 */ | ||
1848 | 302, 102, /* 769 */ | ||
1849 | -257, 584, /* 770 */ | ||
1850 | 140, 362, /* 771 */ | ||
1851 | 124, -100, /* 772 */ | ||
1852 | -184, -404, /* 773 */ | ||
1853 | -5, -160, /* 774 */ | ||
1854 | 28, 433, /* 775 */ | ||
1855 | -17, 61, /* 776 */ | ||
1856 | -685, 326, /* 777 */ | ||
1857 | -723, 709, /* 778 */ | ||
1858 | -679, -722, /* 779 */ | ||
1859 | 263, 170, /* 780 */ | ||
1860 | 1000, 327, /* 781 */ | ||
1861 | -25, -116, /* 782 */ | ||
1862 | -878, -99, /* 783 */ | ||
1863 | -707, 881, /* 784 */ | ||
1864 | -39, -1, /* 785 */ | ||
1865 | -176, 788, /* 786 */ | ||
1866 | 591, -894, /* 787 */ | ||
1867 | -686, 61, /* 788 */ | ||
1868 | 69, -574, /* 789 */ | ||
1869 | -231, -449, /* 790 */ | ||
1870 | 749, 181, /* 791 */ | ||
1871 | 82, -868, /* 792 */ | ||
1872 | 255, 147, /* 793 */ | ||
1873 | -280, 511, /* 794 */ | ||
1874 | -102, 65, /* 795 */ | ||
1875 | 542, -63, /* 796 */ | ||
1876 | 260, -224, /* 797 */ | ||
1877 | -234, 521, /* 798 */ | ||
1878 | 374, 499, /* 799 */ | ||
1879 | -609, 254, /* 800 */ | ||
1880 | -1, -299, /* 801 */ | ||
1881 | 368, -522, /* 802 */ | ||
1882 | 747, -259, /* 803 */ | ||
1883 | 205, -155, /* 804 */ | ||
1884 | -205, -514, /* 805 */ | ||
1885 | 380, -402, /* 806 */ | ||
1886 | -339, -586, /* 807 */ | ||
1887 | 206, -456, /* 808 */ | ||
1888 | -255, -488, /* 809 */ | ||
1889 | -285, -1062, /* 810 */ | ||
1890 | 292, 98, /* 811 */ | ||
1891 | 689, -66, /* 812 */ | ||
1892 | 458, 221, /* 813 */ | ||
1893 | 18, 185, /* 814 */ | ||
1894 | 114, 130, /* 815 */ | ||
1895 | 17, 630, /* 816 */ | ||
1896 | -385, 802, /* 817 */ | ||
1897 | -355, -14, /* 818 */ | ||
1898 | 187, 131, /* 819 */ | ||
1899 | 521, 216, /* 820 */ | ||
1900 | -46, -290, /* 821 */ | ||
1901 | 194, 400, /* 822 */ | ||
1902 | -99, 328, /* 823 */ | ||
1903 | -194, -34, /* 824 */ | ||
1904 | -215, -538, /* 825 */ | ||
1905 | -510, -161, /* 826 */ | ||
1906 | 707, -171, /* 827 */ | ||
1907 | -231, 171, /* 828 */ | ||
1908 | -802, 197, /* 829 */ | ||
1909 | 637, 161, /* 830 */ | ||
1910 | 401, 221, /* 831 */ | ||
1911 | -443, 349, /* 832 */ | ||
1912 | 102, -183, /* 833 */ | ||
1913 | -197, -153, /* 834 */ | ||
1914 | -268, -255, /* 835 */ | ||
1915 | -617, 732, /* 836 */ | ||
1916 | 454, 89, /* 837 */ | ||
1917 | 239, -226, /* 838 */ | ||
1918 | -770, 135, /* 839 */ | ||
1919 | 379, 1032, /* 840 */ | ||
1920 | -421, 1002, /* 841 */ | ||
1921 | -663, -121, /* 842 */ | ||
1922 | 150, 166, /* 843 */ | ||
1923 | -322, 429, /* 844 */ | ||
1924 | 334, -165, /* 845 */ | ||
1925 | 90, 332, /* 846 */ | ||
1926 | -529, 228, /* 847 */ | ||
1927 | -596, -157, /* 848 */ | ||
1928 | 61, 858, /* 849 */ | ||
1929 | -66, -706, /* 850 */ | ||
1930 | 153, -366, /* 851 */ | ||
1931 | 117, -104, /* 852 */ | ||
1932 | 984, -77, /* 853 */ | ||
1933 | -604, 450, /* 854 */ | ||
1934 | 295, 276, /* 855 */ | ||
1935 | -468, 546, /* 856 */ | ||
1936 | -61, 35, /* 857 */ | ||
1937 | 613, -111, /* 858 */ | ||
1938 | -162, -310, /* 859 */ | ||
1939 | -334, -18, /* 860 */ | ||
1940 | -115, -833, /* 861 */ | ||
1941 | -213, 358, /* 862 */ | ||
1942 | 294, 276, /* 863 */ | ||
1943 | -239, 513, /* 864 */ | ||
1944 | 418, 410, /* 865 */ | ||
1945 | 806, 475, /* 866 */ | ||
1946 | 38, -487, /* 867 */ | ||
1947 | 236, 798, /* 868 */ | ||
1948 | -632, -652, /* 869 */ | ||
1949 | -407, 672, /* 870 */ | ||
1950 | 676, -27, /* 871 */ | ||
1951 | 175, 916, /* 872 */ | ||
1952 | -476, 111, /* 873 */ | ||
1953 | -534, -28, /* 874 */ | ||
1954 | -153, -37, /* 875 */ | ||
1955 | -60, -579, /* 876 */ | ||
1956 | 118, 529, /* 877 */ | ||
1957 | 103, -60, /* 878 */ | ||
1958 | 168, -184, /* 879 */ | ||
1959 | -288, -381, /* 880 */ | ||
1960 | 99, 171, /* 881 */ | ||
1961 | 134, -432, /* 882 */ | ||
1962 | 144, -39, /* 883 */ | ||
1963 | 728, 455, /* 884 */ | ||
1964 | 69, -760, /* 885 */ | ||
1965 | 206, -847, /* 886 */ | ||
1966 | 409, 433, /* 887 */ | ||
1967 | -329, 214, /* 888 */ | ||
1968 | 621, 302, /* 889 */ | ||
1969 | -140, 478, /* 890 */ | ||
1970 | -718, 124, /* 891 */ | ||
1971 | -35, -782, /* 892 */ | ||
1972 | -644, 796, /* 893 */ | ||
1973 | 202, -733, /* 894 */ | ||
1974 | 723, 106, /* 895 */ | ||
1975 | -422, 195, /* 896 */ | ||
1976 | 253, 63, /* 897 */ | ||
1977 | -35, 230, /* 898 */ | ||
1978 | 342, -332, /* 899 */ | ||
1979 | 294, 16, /* 900 */ | ||
1980 | 93, -180, /* 901 */ | ||
1981 | -514, -355, /* 902 */ | ||
1982 | 42, -451, /* 903 */ | ||
1983 | 278, 473, /* 904 */ | ||
1984 | 95, 89, /* 905 */ | ||
1985 | 1041, 274, /* 906 */ | ||
1986 | 102, -24, /* 907 */ | ||
1987 | -33, -111, /* 908 */ | ||
1988 | 204, -1269, /* 909 */ | ||
1989 | 472, 399, /* 910 */ | ||
1990 | -504, 149, /* 911 */ | ||
1991 | -322, 73, /* 912 */ | ||
1992 | 394, -187, /* 913 */ | ||
1993 | 120, -130, /* 914 */ | ||
1994 | -312, -196, /* 915 */ | ||
1995 | 191, 162, /* 916 */ | ||
1996 | -88, -779, /* 917 */ | ||
1997 | -285, -133, /* 918 */ | ||
1998 | 327, 6, /* 919 */ | ||
1999 | 135, -567, /* 920 */ | ||
2000 | -121, -66, /* 921 */ | ||
2001 | 39, -420, /* 922 */ | ||
2002 | -607, -191, /* 923 */ | ||
2003 | 983, -74, /* 924 */ | ||
2004 | -408, 1036, /* 925 */ | ||
2005 | 405, -97, /* 926 */ | ||
2006 | 328, -502, /* 927 */ | ||
2007 | -249, 498, /* 928 */ | ||
2008 | 900, 123, /* 929 */ | ||
2009 | 61, -198, /* 930 */ | ||
2010 | -124, 234, /* 931 */ | ||
2011 | -11, 380, /* 932 */ | ||
2012 | -101, -40, /* 933 */ | ||
2013 | -255, -202, /* 934 */ | ||
2014 | 290, -27, /* 935 */ | ||
2015 | -228, 552, /* 936 */ | ||
2016 | 91, -117, /* 937 */ | ||
2017 | 277, 655, /* 938 */ | ||
2018 | 465, 313, /* 939 */ | ||
2019 | 57, -128, /* 940 */ | ||
2020 | -746, 3, /* 941 */ | ||
2021 | 619, 471, /* 942 */ | ||
2022 | -111, 180, /* 943 */ | ||
2023 | 65, 290, /* 944 */ | ||
2024 | 100, -602, /* 945 */ | ||
2025 | -50, -21, /* 946 */ | ||
2026 | -821, 274, /* 947 */ | ||
2027 | 704, 580, /* 948 */ | ||
2028 | 313, -109, /* 949 */ | ||
2029 | -562, 857, /* 950 */ | ||
2030 | -12, -308, /* 951 */ | ||
2031 | -2, -581, /* 952 */ | ||
2032 | -7, -245, /* 953 */ | ||
2033 | -296, 95, /* 954 */ | ||
2034 | -243, -236, /* 955 */ | ||
2035 | 8, -117, /* 956 */ | ||
2036 | -259, 1061, /* 957 */ | ||
2037 | 230, -28, /* 958 */ | ||
2038 | 524, 144, /* 959 */ | ||
2039 | 40, -300, /* 960 */ | ||
2040 | 248, -149, /* 961 */ | ||
2041 | -24, -1, /* 962 */ | ||
2042 | -432, 265, /* 963 */ | ||
2043 | 653, -375, /* 964 */ | ||
2044 | -160, -694, /* 965 */ | ||
2045 | 85, -301, /* 966 */ | ||
2046 | 1268, -16, /* 967 */ | ||
2047 | 225, -292, /* 968 */ | ||
2048 | 492, -109, /* 969 */ | ||
2049 | 220, 615, /* 970 */ | ||
2050 | 638, -74, /* 971 */ | ||
2051 | 564, 739, /* 972 */ | ||
2052 | 247, 91, /* 973 */ | ||
2053 | 243, -117, /* 974 */ | ||
2054 | 347, -496, /* 975 */ | ||
2055 | 593, -295, /* 976 */ | ||
2056 | -541, 109, /* 977 */ | ||
2057 | -191, 958, /* 978 */ | ||
2058 | -380, -1200, /* 979 */ | ||
2059 | -437, -359, /* 980 */ | ||
2060 | 894, 117, /* 981 */ | ||
2061 | 559, 716, /* 982 */ | ||
2062 | -727, -258, /* 983 */ | ||
2063 | -1028, 621, /* 984 */ | ||
2064 | 286, 100, /* 985 */ | ||
2065 | -391, 195, /* 986 */ | ||
2066 | -197, -55, /* 987 */ | ||
2067 | -192, 444, /* 988 */ | ||
2068 | 220, 57, /* 989 */ | ||
2069 | -243, 117, /* 990 */ | ||
2070 | -201, 1279, /* 991 */ | ||
2071 | -289, 84, /* 992 */ | ||
2072 | 145, -459, /* 993 */ | ||
2073 | 22, 412, /* 994 */ | ||
2074 | -77, 59, /* 995 */ | ||
2075 | 572, -316, /* 996 */ | ||
2076 | -482, 257, /* 997 */ | ||
2077 | 146, -999, /* 998 */ | ||
2078 | -449, -243, /* 999 */ | ||
2079 | 166, 55, /* 1000 */ | ||
2080 | 110, -215, /* 1001 */ | ||
2081 | -17, 124, /* 1002 */ | ||
2082 | -42, -511, /* 1003 */ | ||
2083 | -415, 339, /* 1004 */ | ||
2084 | 104, -169, /* 1005 */ | ||
2085 | 561, -166, /* 1006 */ | ||
2086 | 303, 961, /* 1007 */ | ||
2087 | -679, -36, /* 1008 */ | ||
2088 | -556, -364, /* 1009 */ | ||
2089 | -307, -193, /* 1010 */ | ||
2090 | -619, -120, /* 1011 */ | ||
2091 | 35, -75, /* 1012 */ | ||
2092 | 29, 773, /* 1013 */ | ||
2093 | -66, 7, /* 1014 */ | ||
2094 | -589, 209, /* 1015 */ | ||
2095 | 121, -276, /* 1016 */ | ||
2096 | -122, -211, /* 1017 */ | ||
2097 | -720, 369, /* 1018 */ | ||
2098 | 274, 424, /* 1019 */ | ||
2099 | -389, 99, /* 1020 */ | ||
2100 | -575, 576, /* 1021 */ | ||
2101 | 138, 138, /* 1022 */ | ||
2102 | 195, 548, /* 1023 */ | ||
2103 | }; | ||
2104 | |||
2105 | DATA error; | ||
2106 | |||
diff --git a/dsplib_benchmarks/convol2/55xConvolve2.cmd b/dsplib_benchmarks/convol2/55xConvolve2.cmd new file mode 100644 index 0000000..94dce6b --- /dev/null +++ b/dsplib_benchmarks/convol2/55xConvolve2.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } | ||
diff --git a/dsplib_benchmarks/convol2/CONV2_T_ran.C b/dsplib_benchmarks/convol2/CONV2_T_ran.C new file mode 100644 index 0000000..9e9fa6a --- /dev/null +++ b/dsplib_benchmarks/convol2/CONV2_T_ran.C | |||
@@ -0,0 +1,132 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //============================================================================= | ||
36 | // Filename: conv2_t.c | ||
37 | // Version: 1.0 | ||
38 | // Description: test for convolution | ||
39 | //============================================================================= | ||
40 | |||
41 | #include <stdlib.h> | ||
42 | #include <math.h> | ||
43 | #include <tms320.h> | ||
44 | #include <stdio.h> | ||
45 | #include <dsplib.h> | ||
46 | |||
47 | #pragma DATA_SECTION(h, ".bss:saram") | ||
48 | |||
49 | //#include "t1.h" | ||
50 | //#include "t2.h" | ||
51 | //#include "t3.h" | ||
52 | //#include "t4.h" | ||
53 | //#include "t5.h" | ||
54 | //#include "t6.h" | ||
55 | //#include "t7.h" | ||
56 | //#include "t8.h" | ||
57 | //#include "test.h" | ||
58 | #include "t4_ran.h" | ||
59 | #include <time.h> | ||
60 | |||
61 | #define NUMBER_OF_ITERATIONS 1000l | ||
62 | |||
63 | |||
64 | |||
65 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
66 | |||
67 | |||
68 | |||
69 | short eflag=PASS; // error flag (-1: no error; else error) | ||
70 | |||
71 | #pragma DATA_SECTION(r, ".bss:saram2") | ||
72 | #pragma DATA_ALIGN(r, 2); | ||
73 | DATA r[NX]; | ||
74 | void clear_ran(short x[], int N) | ||
75 | { | ||
76 | int i ; | ||
77 | for (i=0; i<N; i++) | ||
78 | { | ||
79 | x[i] = 0 ; | ||
80 | } | ||
81 | return ; | ||
82 | } | ||
83 | |||
84 | void main() | ||
85 | { | ||
86 | short i; | ||
87 | int nx ; | ||
88 | long iterations1 ; | ||
89 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
90 | |||
91 | |||
92 | //clear | ||
93 | // for (i = 0; i < NX; i++) r[i] = 0; | ||
94 | clear_ran(r,NX) ; | ||
95 | t1 = clock() ; | ||
96 | t2 = clock() ; | ||
97 | diff = t2 - t1 ; /// overhead of calling | ||
98 | nx = 80 ; | ||
99 | t1 = clock() ; | ||
100 | |||
101 | //clear | ||
102 | // for (i = 0; i < NX; i++) r[i] = 0; | ||
103 | |||
104 | // compute | ||
105 | (void)convol2(x_np, h, r, 80, 80); | ||
106 | t2 = clock() ; | ||
107 | |||
108 | total1_t = (double) (t2 - t1-diff) ; | ||
109 | printf("80 tap, %d values convuolution Real 16-bit \n" , nx) ; | ||
110 | printf(" Convolv2 time (in cycles) %ld \n", total1_t) ; | ||
111 | |||
112 | // test | ||
113 | eflag = test(r, rtest, 80, MAXERROR); | ||
114 | |||
115 | if(eflag != PASS) | ||
116 | { | ||
117 | exit(-1); | ||
118 | } | ||
119 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
120 | |||
121 | { | ||
122 | |||
123 | (void)convol2(x_np, h, r, 80, 80); | ||
124 | |||
125 | } | ||
126 | |||
127 | |||
128 | printf("Done with %ld iteration \n",iterations1 ); | ||
129 | |||
130 | |||
131 | return; | ||
132 | } | ||
diff --git a/dsplib_benchmarks/convol2/TEST.C b/dsplib_benchmarks/convol2/TEST.C new file mode 100644 index 0000000..209777d --- /dev/null +++ b/dsplib_benchmarks/convol2/TEST.C | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | break; | ||
61 | } | ||
62 | else | ||
63 | if (elevel>emax) emax = elevel; | ||
64 | } | ||
65 | // Pass to Host: eflag and emax | ||
66 | return(eflag); | ||
67 | } | ||
diff --git a/dsplib_benchmarks/convol2/t1.h b/dsplib_benchmarks/convol2/t1.h new file mode 100644 index 0000000..e46de7f --- /dev/null +++ b/dsplib_benchmarks/convol2/t1.h | |||
@@ -0,0 +1,82 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 8 | ||
36 | #define NH 4 | ||
37 | #define FNAME "t1" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 0, | ||
43 | 0, | ||
44 | 0, | ||
45 | 0, | ||
46 | 0, | ||
47 | 0, | ||
48 | 0, | ||
49 | }; | ||
50 | |||
51 | DATA h[NH] ={ | ||
52 | 17562, | ||
53 | -10491, | ||
54 | 4168, | ||
55 | -547, | ||
56 | }; | ||
57 | |||
58 | DATA rtest[NX+NH-1] ={ | ||
59 | 17562, | ||
60 | -10491, | ||
61 | 4168, | ||
62 | -547, | ||
63 | 0, | ||
64 | 0, | ||
65 | 0, | ||
66 | 0, | ||
67 | }; | ||
68 | |||
69 | DATA x_np[NX+NH-1] = { | ||
70 | 0, | ||
71 | 0, | ||
72 | 0, | ||
73 | 32767, | ||
74 | 0, | ||
75 | 0, | ||
76 | 0, | ||
77 | 0, | ||
78 | 0, | ||
79 | 0, | ||
80 | 0, | ||
81 | }; | ||
82 | |||
diff --git a/dsplib_benchmarks/convol2/t2.h b/dsplib_benchmarks/convol2/t2.h new file mode 100644 index 0000000..7400688 --- /dev/null +++ b/dsplib_benchmarks/convol2/t2.h | |||
@@ -0,0 +1,562 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 0, | ||
43 | 0, | ||
44 | 0, | ||
45 | 0, | ||
46 | 0, | ||
47 | 0, | ||
48 | 0, | ||
49 | 0, | ||
50 | 0, | ||
51 | 0, | ||
52 | 0, | ||
53 | 0, | ||
54 | 0, | ||
55 | 0, | ||
56 | 0, | ||
57 | 0, | ||
58 | 0, | ||
59 | 0, | ||
60 | 0, | ||
61 | 0, | ||
62 | 0, | ||
63 | 0, | ||
64 | 0, | ||
65 | 0, | ||
66 | 0, | ||
67 | 0, | ||
68 | 0, | ||
69 | 0, | ||
70 | 0, | ||
71 | 0, | ||
72 | 0, | ||
73 | 0, | ||
74 | 0, | ||
75 | 0, | ||
76 | 0, | ||
77 | 0, | ||
78 | 0, | ||
79 | 0, | ||
80 | 0, | ||
81 | 0, | ||
82 | 0, | ||
83 | 0, | ||
84 | 0, | ||
85 | 0, | ||
86 | 0, | ||
87 | 0, | ||
88 | 0, | ||
89 | 0, | ||
90 | 0, | ||
91 | 0, | ||
92 | 0, | ||
93 | 0, | ||
94 | 0, | ||
95 | 0, | ||
96 | 0, | ||
97 | 0, | ||
98 | 0, | ||
99 | 0, | ||
100 | 0, | ||
101 | 0, | ||
102 | 0, | ||
103 | 0, | ||
104 | 0, | ||
105 | 0, | ||
106 | 0, | ||
107 | 0, | ||
108 | 0, | ||
109 | 0, | ||
110 | 0, | ||
111 | 0, | ||
112 | 0, | ||
113 | 0, | ||
114 | 0, | ||
115 | 0, | ||
116 | 0, | ||
117 | 0, | ||
118 | 0, | ||
119 | 0, | ||
120 | 0, | ||
121 | 0, | ||
122 | 0, | ||
123 | 0, | ||
124 | 0, | ||
125 | 0, | ||
126 | 0, | ||
127 | 0, | ||
128 | 0, | ||
129 | 0, | ||
130 | 0, | ||
131 | 0, | ||
132 | 0, | ||
133 | 0, | ||
134 | 0, | ||
135 | 0, | ||
136 | 0, | ||
137 | 0, | ||
138 | 0, | ||
139 | 0, | ||
140 | 0, | ||
141 | 0, | ||
142 | 0, | ||
143 | 0, | ||
144 | 0, | ||
145 | 0, | ||
146 | 0, | ||
147 | 0, | ||
148 | 0, | ||
149 | 0, | ||
150 | 0, | ||
151 | 0, | ||
152 | 0, | ||
153 | 0, | ||
154 | 0, | ||
155 | 0, | ||
156 | 0, | ||
157 | 0, | ||
158 | 0, | ||
159 | 0, | ||
160 | 0, | ||
161 | 0, | ||
162 | 0, | ||
163 | 0, | ||
164 | 0, | ||
165 | 0, | ||
166 | 0, | ||
167 | 0, | ||
168 | 0, | ||
169 | }; | ||
170 | |||
171 | DATA h[NH] ={ | ||
172 | 816, | ||
173 | 547, | ||
174 | -91, | ||
175 | -1006, | ||
176 | 670, | ||
177 | -116, | ||
178 | 240, | ||
179 | 609, | ||
180 | 880, | ||
181 | 497, | ||
182 | -676, | ||
183 | -197, | ||
184 | 909, | ||
185 | 870, | ||
186 | -188, | ||
187 | 821, | ||
188 | -923, | ||
189 | -308, | ||
190 | 653, | ||
191 | -1024, | ||
192 | -754, | ||
193 | -621, | ||
194 | -629, | ||
195 | 216, | ||
196 | -476, | ||
197 | -629, | ||
198 | -1012, | ||
199 | 515, | ||
200 | -115, | ||
201 | 901, | ||
202 | -71, | ||
203 | -170, | ||
204 | 722, | ||
205 | 52, | ||
206 | -621, | ||
207 | 359, | ||
208 | 705, | ||
209 | -1003, | ||
210 | 378, | ||
211 | -252, | ||
212 | 692, | ||
213 | 5, | ||
214 | 437, | ||
215 | -149, | ||
216 | -408, | ||
217 | -648, | ||
218 | -640, | ||
219 | 380, | ||
220 | -412, | ||
221 | 86, | ||
222 | -729, | ||
223 | 413, | ||
224 | -254, | ||
225 | 751, | ||
226 | 738, | ||
227 | 195, | ||
228 | -8, | ||
229 | 834, | ||
230 | 671, | ||
231 | 302, | ||
232 | 663, | ||
233 | 334, | ||
234 | -330, | ||
235 | -439, | ||
236 | }; | ||
237 | |||
238 | DATA rtest[NX+NH-1] ={ | ||
239 | 816, | ||
240 | 547, | ||
241 | -91, | ||
242 | -1006, | ||
243 | 670, | ||
244 | -116, | ||
245 | 240, | ||
246 | 609, | ||
247 | 880, | ||
248 | 497, | ||
249 | -676, | ||
250 | -197, | ||
251 | 909, | ||
252 | 870, | ||
253 | -188, | ||
254 | 821, | ||
255 | -923, | ||
256 | -308, | ||
257 | 653, | ||
258 | -1024, | ||
259 | -754, | ||
260 | -621, | ||
261 | -629, | ||
262 | 216, | ||
263 | -476, | ||
264 | -629, | ||
265 | -1012, | ||
266 | 515, | ||
267 | -115, | ||
268 | 901, | ||
269 | -71, | ||
270 | -170, | ||
271 | 722, | ||
272 | 52, | ||
273 | -621, | ||
274 | 359, | ||
275 | 705, | ||
276 | -1003, | ||
277 | 378, | ||
278 | -252, | ||
279 | 692, | ||
280 | 5, | ||
281 | 437, | ||
282 | -149, | ||
283 | -408, | ||
284 | -648, | ||
285 | -640, | ||
286 | 380, | ||
287 | -412, | ||
288 | 86, | ||
289 | -729, | ||
290 | 413, | ||
291 | -254, | ||
292 | 751, | ||
293 | 738, | ||
294 | 195, | ||
295 | -8, | ||
296 | 834, | ||
297 | 671, | ||
298 | 302, | ||
299 | 663, | ||
300 | 334, | ||
301 | -330, | ||
302 | -439, | ||
303 | 0, | ||
304 | 0, | ||
305 | 0, | ||
306 | 0, | ||
307 | 0, | ||
308 | 0, | ||
309 | 0, | ||
310 | 0, | ||
311 | 0, | ||
312 | 0, | ||
313 | 0, | ||
314 | 0, | ||
315 | 0, | ||
316 | 0, | ||
317 | 0, | ||
318 | 0, | ||
319 | 0, | ||
320 | 0, | ||
321 | 0, | ||
322 | 0, | ||
323 | 0, | ||
324 | 0, | ||
325 | 0, | ||
326 | 0, | ||
327 | 0, | ||
328 | 0, | ||
329 | 0, | ||
330 | 0, | ||
331 | 0, | ||
332 | 0, | ||
333 | 0, | ||
334 | 0, | ||
335 | 0, | ||
336 | 0, | ||
337 | 0, | ||
338 | 0, | ||
339 | 0, | ||
340 | 0, | ||
341 | 0, | ||
342 | 0, | ||
343 | 0, | ||
344 | 0, | ||
345 | 0, | ||
346 | 0, | ||
347 | 0, | ||
348 | 0, | ||
349 | 0, | ||
350 | 0, | ||
351 | 0, | ||
352 | 0, | ||
353 | 0, | ||
354 | 0, | ||
355 | 0, | ||
356 | 0, | ||
357 | 0, | ||
358 | 0, | ||
359 | 0, | ||
360 | 0, | ||
361 | 0, | ||
362 | 0, | ||
363 | 0, | ||
364 | 0, | ||
365 | 0, | ||
366 | 0, | ||
367 | }; | ||
368 | |||
369 | DATA x_np[NX+NH-1] = { | ||
370 | 0, | ||
371 | 0, | ||
372 | 0, | ||
373 | 0, | ||
374 | 0, | ||
375 | 0, | ||
376 | 0, | ||
377 | 0, | ||
378 | 0, | ||
379 | 0, | ||
380 | 0, | ||
381 | 0, | ||
382 | 0, | ||
383 | 0, | ||
384 | 0, | ||
385 | 0, | ||
386 | 0, | ||
387 | 0, | ||
388 | 0, | ||
389 | 0, | ||
390 | 0, | ||
391 | 0, | ||
392 | 0, | ||
393 | 0, | ||
394 | 0, | ||
395 | 0, | ||
396 | 0, | ||
397 | 0, | ||
398 | 0, | ||
399 | 0, | ||
400 | 0, | ||
401 | 0, | ||
402 | 0, | ||
403 | 0, | ||
404 | 0, | ||
405 | 0, | ||
406 | 0, | ||
407 | 0, | ||
408 | 0, | ||
409 | 0, | ||
410 | 0, | ||
411 | 0, | ||
412 | 0, | ||
413 | 0, | ||
414 | 0, | ||
415 | 0, | ||
416 | 0, | ||
417 | 0, | ||
418 | 0, | ||
419 | 0, | ||
420 | 0, | ||
421 | 0, | ||
422 | 0, | ||
423 | 0, | ||
424 | 0, | ||
425 | 0, | ||
426 | 0, | ||
427 | 0, | ||
428 | 0, | ||
429 | 0, | ||
430 | 0, | ||
431 | 0, | ||
432 | 0, | ||
433 | 32767, | ||
434 | 0, | ||
435 | 0, | ||
436 | 0, | ||
437 | 0, | ||
438 | 0, | ||
439 | 0, | ||
440 | 0, | ||
441 | 0, | ||
442 | 0, | ||
443 | 0, | ||
444 | 0, | ||
445 | 0, | ||
446 | 0, | ||
447 | 0, | ||
448 | 0, | ||
449 | 0, | ||
450 | 0, | ||
451 | 0, | ||
452 | 0, | ||
453 | 0, | ||
454 | 0, | ||
455 | 0, | ||
456 | 0, | ||
457 | 0, | ||
458 | 0, | ||
459 | 0, | ||
460 | 0, | ||
461 | 0, | ||
462 | 0, | ||
463 | 0, | ||
464 | 0, | ||
465 | 0, | ||
466 | 0, | ||
467 | 0, | ||
468 | 0, | ||
469 | 0, | ||
470 | 0, | ||
471 | 0, | ||
472 | 0, | ||
473 | 0, | ||
474 | 0, | ||
475 | 0, | ||
476 | 0, | ||
477 | 0, | ||
478 | 0, | ||
479 | 0, | ||
480 | 0, | ||
481 | 0, | ||
482 | 0, | ||
483 | 0, | ||
484 | 0, | ||
485 | 0, | ||
486 | 0, | ||
487 | 0, | ||
488 | 0, | ||
489 | 0, | ||
490 | 0, | ||
491 | 0, | ||
492 | 0, | ||
493 | 0, | ||
494 | 0, | ||
495 | 0, | ||
496 | 0, | ||
497 | 0, | ||
498 | 0, | ||
499 | 0, | ||
500 | 0, | ||
501 | 0, | ||
502 | 0, | ||
503 | 0, | ||
504 | 0, | ||
505 | 0, | ||
506 | 0, | ||
507 | 0, | ||
508 | 0, | ||
509 | 0, | ||
510 | 0, | ||
511 | 0, | ||
512 | 0, | ||
513 | 0, | ||
514 | 0, | ||
515 | 0, | ||
516 | 0, | ||
517 | 0, | ||
518 | 0, | ||
519 | 0, | ||
520 | 0, | ||
521 | 0, | ||
522 | 0, | ||
523 | 0, | ||
524 | 0, | ||
525 | 0, | ||
526 | 0, | ||
527 | 0, | ||
528 | 0, | ||
529 | 0, | ||
530 | 0, | ||
531 | 0, | ||
532 | 0, | ||
533 | 0, | ||
534 | 0, | ||
535 | 0, | ||
536 | 0, | ||
537 | 0, | ||
538 | 0, | ||
539 | 0, | ||
540 | 0, | ||
541 | 0, | ||
542 | 0, | ||
543 | 0, | ||
544 | 0, | ||
545 | 0, | ||
546 | 0, | ||
547 | 0, | ||
548 | 0, | ||
549 | 0, | ||
550 | 0, | ||
551 | 0, | ||
552 | 0, | ||
553 | 0, | ||
554 | 0, | ||
555 | 0, | ||
556 | 0, | ||
557 | 0, | ||
558 | 0, | ||
559 | 0, | ||
560 | 0, | ||
561 | }; | ||
562 | |||
diff --git a/dsplib_benchmarks/convol2/t3.h b/dsplib_benchmarks/convol2/t3.h new file mode 100644 index 0000000..ff89578 --- /dev/null +++ b/dsplib_benchmarks/convol2/t3.h | |||
@@ -0,0 +1,82 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 8 | ||
36 | #define NH 4 | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -10408, | ||
42 | 2233, | ||
43 | 14884, | ||
44 | -12499, | ||
45 | 22183, | ||
46 | 4461, | ||
47 | -8493, | ||
48 | 13286, | ||
49 | }; | ||
50 | |||
51 | DATA h[NH] ={ | ||
52 | 3654, | ||
53 | -4326, | ||
54 | 15268, | ||
55 | 9519, | ||
56 | }; | ||
57 | |||
58 | DATA rtest[NX+NH-1] ={ | ||
59 | -1161, | ||
60 | 1622, | ||
61 | -3485, | ||
62 | -5342, | ||
63 | 11708, | ||
64 | -3931, | ||
65 | 5169, | ||
66 | 11126, | ||
67 | }; | ||
68 | |||
69 | DATA x_np[NX+NH-1] = { | ||
70 | 0, | ||
71 | 0, | ||
72 | 0, | ||
73 | -10408, | ||
74 | 2233, | ||
75 | 14884, | ||
76 | -12499, | ||
77 | 22183, | ||
78 | 4461, | ||
79 | -8493, | ||
80 | 13286, | ||
81 | }; | ||
82 | |||
diff --git a/dsplib_benchmarks/convol2/t4.h b/dsplib_benchmarks/convol2/t4.h new file mode 100644 index 0000000..387625c --- /dev/null +++ b/dsplib_benchmarks/convol2/t4.h | |||
@@ -0,0 +1,562 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 19321, | ||
42 | 29939, | ||
43 | 1480, | ||
44 | 24912, | ||
45 | -21434, | ||
46 | 31440, | ||
47 | -14979, | ||
48 | -16232, | ||
49 | 24624, | ||
50 | 15552, | ||
51 | -23822, | ||
52 | -31998, | ||
53 | 25814, | ||
54 | -19718, | ||
55 | -13191, | ||
56 | 10580, | ||
57 | -14129, | ||
58 | -2017, | ||
59 | -28523, | ||
60 | 32003, | ||
61 | 5425, | ||
62 | -5014, | ||
63 | 1016, | ||
64 | -10883, | ||
65 | -4398, | ||
66 | -17961, | ||
67 | 5230, | ||
68 | 17063, | ||
69 | 1954, | ||
70 | 9209, | ||
71 | -19067, | ||
72 | -7877, | ||
73 | 18568, | ||
74 | 11851, | ||
75 | -2550, | ||
76 | 4445, | ||
77 | 19281, | ||
78 | -28890, | ||
79 | 6741, | ||
80 | -29474, | ||
81 | -5546, | ||
82 | -12780, | ||
83 | 24534, | ||
84 | -31785, | ||
85 | 17560, | ||
86 | 30857, | ||
87 | 32118, | ||
88 | 18930, | ||
89 | -4021, | ||
90 | -111, | ||
91 | -18746, | ||
92 | 9403, | ||
93 | -11795, | ||
94 | 30152, | ||
95 | 14852, | ||
96 | -5771, | ||
97 | 16027, | ||
98 | -15208, | ||
99 | -3938, | ||
100 | 28401, | ||
101 | 12014, | ||
102 | -18838, | ||
103 | 22232, | ||
104 | 8440, | ||
105 | -24002, | ||
106 | -19194, | ||
107 | 7025, | ||
108 | 8512, | ||
109 | -8489, | ||
110 | 4924, | ||
111 | -3184, | ||
112 | -29892, | ||
113 | -30987, | ||
114 | -12276, | ||
115 | -31926, | ||
116 | -7605, | ||
117 | 12000, | ||
118 | -26684, | ||
119 | -30453, | ||
120 | 7365, | ||
121 | 7113, | ||
122 | -31736, | ||
123 | -31697, | ||
124 | -20312, | ||
125 | 5696, | ||
126 | -28995, | ||
127 | -8680, | ||
128 | 8614, | ||
129 | 14262, | ||
130 | 12626, | ||
131 | -27258, | ||
132 | -2992, | ||
133 | -3813, | ||
134 | -9618, | ||
135 | -22702, | ||
136 | 11511, | ||
137 | 13055, | ||
138 | 14910, | ||
139 | -1417, | ||
140 | 3594, | ||
141 | -24836, | ||
142 | -3228, | ||
143 | 14148, | ||
144 | 25745, | ||
145 | -14870, | ||
146 | -16072, | ||
147 | 23960, | ||
148 | -17541, | ||
149 | 19980, | ||
150 | 26764, | ||
151 | -17571, | ||
152 | -17085, | ||
153 | -29508, | ||
154 | -27631, | ||
155 | 9228, | ||
156 | -20259, | ||
157 | 22535, | ||
158 | -21372, | ||
159 | -21575, | ||
160 | 32394, | ||
161 | -3946, | ||
162 | -10483, | ||
163 | -12176, | ||
164 | -8843, | ||
165 | -6997, | ||
166 | 5998, | ||
167 | -24921, | ||
168 | -30270, | ||
169 | }; | ||
170 | |||
171 | DATA h[NH] ={ | ||
172 | -88, | ||
173 | 783, | ||
174 | 919, | ||
175 | -499, | ||
176 | -720, | ||
177 | 789, | ||
178 | -556, | ||
179 | 308, | ||
180 | 989, | ||
181 | 349, | ||
182 | 784, | ||
183 | -1039, | ||
184 | -769, | ||
185 | 675, | ||
186 | -148, | ||
187 | 826, | ||
188 | 497, | ||
189 | 396, | ||
190 | -326, | ||
191 | -708, | ||
192 | -730, | ||
193 | -655, | ||
194 | -165, | ||
195 | 754, | ||
196 | -21, | ||
197 | 669, | ||
198 | -84, | ||
199 | -91, | ||
200 | -105, | ||
201 | -186, | ||
202 | 850, | ||
203 | -1048, | ||
204 | -430, | ||
205 | -956, | ||
206 | 409, | ||
207 | 317, | ||
208 | 1023, | ||
209 | 111, | ||
210 | -212, | ||
211 | -639, | ||
212 | 265, | ||
213 | 494, | ||
214 | -263, | ||
215 | -1039, | ||
216 | -170, | ||
217 | 537, | ||
218 | 622, | ||
219 | 889, | ||
220 | 730, | ||
221 | -281, | ||
222 | 255, | ||
223 | 489, | ||
224 | -649, | ||
225 | 857, | ||
226 | 146, | ||
227 | 279, | ||
228 | -563, | ||
229 | 103, | ||
230 | 914, | ||
231 | -350, | ||
232 | 329, | ||
233 | -229, | ||
234 | 269, | ||
235 | 421, | ||
236 | }; | ||
237 | |||
238 | DATA rtest[NX+NH-1] ={ | ||
239 | -52, | ||
240 | 381, | ||
241 | 1254, | ||
242 | 514, | ||
243 | -186, | ||
244 | -112, | ||
245 | 172, | ||
246 | 57, | ||
247 | 558, | ||
248 | -186, | ||
249 | 3885, | ||
250 | -290, | ||
251 | -3870, | ||
252 | 1485, | ||
253 | 179, | ||
254 | -613, | ||
255 | 706, | ||
256 | 1790, | ||
257 | 1013, | ||
258 | -3139, | ||
259 | -1208, | ||
260 | -732, | ||
261 | 942, | ||
262 | -2527, | ||
263 | 499, | ||
264 | 1081, | ||
265 | -2032, | ||
266 | -243, | ||
267 | 1445, | ||
268 | 870, | ||
269 | 224, | ||
270 | -1416, | ||
271 | -887, | ||
272 | -1676, | ||
273 | 18, | ||
274 | 2711, | ||
275 | -755, | ||
276 | 4141, | ||
277 | -1751, | ||
278 | -1729, | ||
279 | -2885, | ||
280 | -680, | ||
281 | 2962, | ||
282 | 1168, | ||
283 | 569, | ||
284 | -11, | ||
285 | 287, | ||
286 | 60, | ||
287 | -1040, | ||
288 | 4636, | ||
289 | 776, | ||
290 | -288, | ||
291 | -1547, | ||
292 | 629, | ||
293 | 2258, | ||
294 | 2764, | ||
295 | 2265, | ||
296 | -2618, | ||
297 | -651, | ||
298 | 465, | ||
299 | 14, | ||
300 | 5215, | ||
301 | -210, | ||
302 | 3121, | ||
303 | -3384, | ||
304 | -4135, | ||
305 | -3715, | ||
306 | 593, | ||
307 | 3041, | ||
308 | 1129, | ||
309 | 3628, | ||
310 | -3537, | ||
311 | 2692, | ||
312 | -6115, | ||
313 | -460, | ||
314 | -1810, | ||
315 | -75, | ||
316 | 595, | ||
317 | -2497, | ||
318 | -3921, | ||
319 | -2139, | ||
320 | 1357, | ||
321 | 1899, | ||
322 | 694, | ||
323 | -2462, | ||
324 | -927, | ||
325 | -956, | ||
326 | -4961, | ||
327 | -4144, | ||
328 | 2941, | ||
329 | -1722, | ||
330 | -1725, | ||
331 | 1981, | ||
332 | 3227, | ||
333 | 608, | ||
334 | -590, | ||
335 | 1237, | ||
336 | 387, | ||
337 | -909, | ||
338 | -24, | ||
339 | 148, | ||
340 | -1730, | ||
341 | 594, | ||
342 | 2333, | ||
343 | 7396, | ||
344 | 1215, | ||
345 | -401, | ||
346 | -81, | ||
347 | -2759, | ||
348 | -164, | ||
349 | 1736, | ||
350 | 3600, | ||
351 | -1530, | ||
352 | 894, | ||
353 | 1652, | ||
354 | -2929, | ||
355 | 4403, | ||
356 | -501, | ||
357 | -2613, | ||
358 | -4180, | ||
359 | -3444, | ||
360 | 1784, | ||
361 | -3339, | ||
362 | -2383, | ||
363 | 3612, | ||
364 | -1300, | ||
365 | -878, | ||
366 | -3168, | ||
367 | }; | ||
368 | |||
369 | DATA x_np[NX+NH-1] = { | ||
370 | 0, | ||
371 | 0, | ||
372 | 0, | ||
373 | 0, | ||
374 | 0, | ||
375 | 0, | ||
376 | 0, | ||
377 | 0, | ||
378 | 0, | ||
379 | 0, | ||
380 | 0, | ||
381 | 0, | ||
382 | 0, | ||
383 | 0, | ||
384 | 0, | ||
385 | 0, | ||
386 | 0, | ||
387 | 0, | ||
388 | 0, | ||
389 | 0, | ||
390 | 0, | ||
391 | 0, | ||
392 | 0, | ||
393 | 0, | ||
394 | 0, | ||
395 | 0, | ||
396 | 0, | ||
397 | 0, | ||
398 | 0, | ||
399 | 0, | ||
400 | 0, | ||
401 | 0, | ||
402 | 0, | ||
403 | 0, | ||
404 | 0, | ||
405 | 0, | ||
406 | 0, | ||
407 | 0, | ||
408 | 0, | ||
409 | 0, | ||
410 | 0, | ||
411 | 0, | ||
412 | 0, | ||
413 | 0, | ||
414 | 0, | ||
415 | 0, | ||
416 | 0, | ||
417 | 0, | ||
418 | 0, | ||
419 | 0, | ||
420 | 0, | ||
421 | 0, | ||
422 | 0, | ||
423 | 0, | ||
424 | 0, | ||
425 | 0, | ||
426 | 0, | ||
427 | 0, | ||
428 | 0, | ||
429 | 0, | ||
430 | 0, | ||
431 | 0, | ||
432 | 0, | ||
433 | 19321, | ||
434 | 29939, | ||
435 | 1480, | ||
436 | 24912, | ||
437 | -21434, | ||
438 | 31440, | ||
439 | -14979, | ||
440 | -16232, | ||
441 | 24624, | ||
442 | 15552, | ||
443 | -23822, | ||
444 | -31998, | ||
445 | 25814, | ||
446 | -19718, | ||
447 | -13191, | ||
448 | 10580, | ||
449 | -14129, | ||
450 | -2017, | ||
451 | -28523, | ||
452 | 32003, | ||
453 | 5425, | ||
454 | -5014, | ||
455 | 1016, | ||
456 | -10883, | ||
457 | -4398, | ||
458 | -17961, | ||
459 | 5230, | ||
460 | 17063, | ||
461 | 1954, | ||
462 | 9209, | ||
463 | -19067, | ||
464 | -7877, | ||
465 | 18568, | ||
466 | 11851, | ||
467 | -2550, | ||
468 | 4445, | ||
469 | 19281, | ||
470 | -28890, | ||
471 | 6741, | ||
472 | -29474, | ||
473 | -5546, | ||
474 | -12780, | ||
475 | 24534, | ||
476 | -31785, | ||
477 | 17560, | ||
478 | 30857, | ||
479 | 32118, | ||
480 | 18930, | ||
481 | -4021, | ||
482 | -111, | ||
483 | -18746, | ||
484 | 9403, | ||
485 | -11795, | ||
486 | 30152, | ||
487 | 14852, | ||
488 | -5771, | ||
489 | 16027, | ||
490 | -15208, | ||
491 | -3938, | ||
492 | 28401, | ||
493 | 12014, | ||
494 | -18838, | ||
495 | 22232, | ||
496 | 8440, | ||
497 | -24002, | ||
498 | -19194, | ||
499 | 7025, | ||
500 | 8512, | ||
501 | -8489, | ||
502 | 4924, | ||
503 | -3184, | ||
504 | -29892, | ||
505 | -30987, | ||
506 | -12276, | ||
507 | -31926, | ||
508 | -7605, | ||
509 | 12000, | ||
510 | -26684, | ||
511 | -30453, | ||
512 | 7365, | ||
513 | 7113, | ||
514 | -31736, | ||
515 | -31697, | ||
516 | -20312, | ||
517 | 5696, | ||
518 | -28995, | ||
519 | -8680, | ||
520 | 8614, | ||
521 | 14262, | ||
522 | 12626, | ||
523 | -27258, | ||
524 | -2992, | ||
525 | -3813, | ||
526 | -9618, | ||
527 | -22702, | ||
528 | 11511, | ||
529 | 13055, | ||
530 | 14910, | ||
531 | -1417, | ||
532 | 3594, | ||
533 | -24836, | ||
534 | -3228, | ||
535 | 14148, | ||
536 | 25745, | ||
537 | -14870, | ||
538 | -16072, | ||
539 | 23960, | ||
540 | -17541, | ||
541 | 19980, | ||
542 | 26764, | ||
543 | -17571, | ||
544 | -17085, | ||
545 | -29508, | ||
546 | -27631, | ||
547 | 9228, | ||
548 | -20259, | ||
549 | 22535, | ||
550 | -21372, | ||
551 | -21575, | ||
552 | 32394, | ||
553 | -3946, | ||
554 | -10483, | ||
555 | -12176, | ||
556 | -8843, | ||
557 | -6997, | ||
558 | 5998, | ||
559 | -24921, | ||
560 | -30270, | ||
561 | }; | ||
562 | |||
diff --git a/dsplib_benchmarks/convol2/t4_ran.h b/dsplib_benchmarks/convol2/t4_ran.h new file mode 100644 index 0000000..6193f6e --- /dev/null +++ b/dsplib_benchmarks/convol2/t4_ran.h | |||
@@ -0,0 +1,578 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 80 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 19321, | ||
42 | 29939, | ||
43 | 1480, | ||
44 | 24912, | ||
45 | -21434, | ||
46 | 31440, | ||
47 | -14979, | ||
48 | -16232, | ||
49 | 24624, | ||
50 | 15552, | ||
51 | -23822, | ||
52 | -31998, | ||
53 | 25814, | ||
54 | -19718, | ||
55 | -13191, | ||
56 | 10580, | ||
57 | -14129, | ||
58 | -2017, | ||
59 | -28523, | ||
60 | 32003, | ||
61 | 5425, | ||
62 | -5014, | ||
63 | 1016, | ||
64 | -10883, | ||
65 | -4398, | ||
66 | -17961, | ||
67 | 5230, | ||
68 | 17063, | ||
69 | 1954, | ||
70 | 9209, | ||
71 | -19067, | ||
72 | -7877, | ||
73 | 18568, | ||
74 | 11851, | ||
75 | -2550, | ||
76 | 4445, | ||
77 | 19281, | ||
78 | -28890, | ||
79 | 6741, | ||
80 | -29474, | ||
81 | -5546, | ||
82 | -12780, | ||
83 | 24534, | ||
84 | -31785, | ||
85 | 17560, | ||
86 | 30857, | ||
87 | 32118, | ||
88 | 18930, | ||
89 | -4021, | ||
90 | -111, | ||
91 | -18746, | ||
92 | 9403, | ||
93 | -11795, | ||
94 | 30152, | ||
95 | 14852, | ||
96 | -5771, | ||
97 | 16027, | ||
98 | -15208, | ||
99 | -3938, | ||
100 | 28401, | ||
101 | 12014, | ||
102 | -18838, | ||
103 | 22232, | ||
104 | 8440, | ||
105 | -24002, | ||
106 | -19194, | ||
107 | 7025, | ||
108 | 8512, | ||
109 | -8489, | ||
110 | 4924, | ||
111 | -3184, | ||
112 | -29892, | ||
113 | -30987, | ||
114 | -12276, | ||
115 | -31926, | ||
116 | -7605, | ||
117 | 12000, | ||
118 | -26684, | ||
119 | -30453, | ||
120 | 7365, | ||
121 | 7113, | ||
122 | -31736, | ||
123 | -31697, | ||
124 | -20312, | ||
125 | 5696, | ||
126 | -28995, | ||
127 | -8680, | ||
128 | 8614, | ||
129 | 14262, | ||
130 | 12626, | ||
131 | -27258, | ||
132 | -2992, | ||
133 | -3813, | ||
134 | -9618, | ||
135 | -22702, | ||
136 | 11511, | ||
137 | 13055, | ||
138 | 14910, | ||
139 | -1417, | ||
140 | 3594, | ||
141 | -24836, | ||
142 | -3228, | ||
143 | 14148, | ||
144 | 25745, | ||
145 | -14870, | ||
146 | -16072, | ||
147 | 23960, | ||
148 | -17541, | ||
149 | 19980, | ||
150 | 26764, | ||
151 | -17571, | ||
152 | -17085, | ||
153 | -29508, | ||
154 | -27631, | ||
155 | 9228, | ||
156 | -20259, | ||
157 | 22535, | ||
158 | -21372, | ||
159 | -21575, | ||
160 | 32394, | ||
161 | -3946, | ||
162 | -10483, | ||
163 | -12176, | ||
164 | -8843, | ||
165 | -6997, | ||
166 | 5998, | ||
167 | -24921, | ||
168 | -30270, | ||
169 | }; | ||
170 | |||
171 | DATA h[NH] ={ | ||
172 | 0, | ||
173 | 0, | ||
174 | 0, | ||
175 | 0, | ||
176 | 0, | ||
177 | 0, | ||
178 | 0, | ||
179 | 0, | ||
180 | 0, | ||
181 | 0, | ||
182 | 0, | ||
183 | 0, | ||
184 | 0, | ||
185 | 0, | ||
186 | 0, | ||
187 | 0, | ||
188 | -88, | ||
189 | 783, | ||
190 | 919, | ||
191 | -499, | ||
192 | -720, | ||
193 | 789, | ||
194 | -556, | ||
195 | 308, | ||
196 | 989, | ||
197 | 349, | ||
198 | 784, | ||
199 | -1039, | ||
200 | -769, | ||
201 | 675, | ||
202 | -148, | ||
203 | 826, | ||
204 | 497, | ||
205 | 396, | ||
206 | -326, | ||
207 | -708, | ||
208 | -730, | ||
209 | -655, | ||
210 | -165, | ||
211 | 754, | ||
212 | -21, | ||
213 | 669, | ||
214 | -84, | ||
215 | -91, | ||
216 | -105, | ||
217 | -186, | ||
218 | 850, | ||
219 | -1048, | ||
220 | -430, | ||
221 | -956, | ||
222 | 409, | ||
223 | 317, | ||
224 | 1023, | ||
225 | 111, | ||
226 | -212, | ||
227 | -639, | ||
228 | 265, | ||
229 | 494, | ||
230 | -263, | ||
231 | -1039, | ||
232 | -170, | ||
233 | 537, | ||
234 | 622, | ||
235 | 889, | ||
236 | 730, | ||
237 | -281, | ||
238 | 255, | ||
239 | 489, | ||
240 | -649, | ||
241 | 857, | ||
242 | 146, | ||
243 | 279, | ||
244 | -563, | ||
245 | 103, | ||
246 | 914, | ||
247 | -350, | ||
248 | 329, | ||
249 | -229, | ||
250 | 269, | ||
251 | 421, | ||
252 | }; | ||
253 | |||
254 | DATA rtest[NX+NH-1] ={ | ||
255 | -52, | ||
256 | 381, | ||
257 | 1254, | ||
258 | 514, | ||
259 | -186, | ||
260 | -112, | ||
261 | 172, | ||
262 | 57, | ||
263 | 558, | ||
264 | -186, | ||
265 | 3885, | ||
266 | -290, | ||
267 | -3870, | ||
268 | 1485, | ||
269 | 179, | ||
270 | -613, | ||
271 | 706, | ||
272 | 1790, | ||
273 | 1013, | ||
274 | -3139, | ||
275 | -1208, | ||
276 | -732, | ||
277 | 942, | ||
278 | -2527, | ||
279 | 499, | ||
280 | 1081, | ||
281 | -2032, | ||
282 | -243, | ||
283 | 1445, | ||
284 | 870, | ||
285 | 224, | ||
286 | -1416, | ||
287 | -887, | ||
288 | -1676, | ||
289 | 18, | ||
290 | 2711, | ||
291 | -755, | ||
292 | 4141, | ||
293 | -1751, | ||
294 | -1729, | ||
295 | -2885, | ||
296 | -680, | ||
297 | 2962, | ||
298 | 1168, | ||
299 | 569, | ||
300 | -11, | ||
301 | 287, | ||
302 | 60, | ||
303 | -1040, | ||
304 | 4636, | ||
305 | 776, | ||
306 | -288, | ||
307 | -1547, | ||
308 | 629, | ||
309 | 2258, | ||
310 | 2764, | ||
311 | 2265, | ||
312 | -2618, | ||
313 | -651, | ||
314 | 465, | ||
315 | 14, | ||
316 | 5215, | ||
317 | -210, | ||
318 | 3121, | ||
319 | -3384, | ||
320 | -4135, | ||
321 | -3715, | ||
322 | 593, | ||
323 | 3041, | ||
324 | 1129, | ||
325 | 3628, | ||
326 | -3537, | ||
327 | 2692, | ||
328 | -6115, | ||
329 | -460, | ||
330 | -1810, | ||
331 | -75, | ||
332 | 595, | ||
333 | -2497, | ||
334 | -3921, | ||
335 | -2139, | ||
336 | 1357, | ||
337 | 1899, | ||
338 | 694, | ||
339 | -2462, | ||
340 | -927, | ||
341 | -956, | ||
342 | -4961, | ||
343 | -4144, | ||
344 | 2941, | ||
345 | -1722, | ||
346 | -1725, | ||
347 | 1981, | ||
348 | 3227, | ||
349 | 608, | ||
350 | -590, | ||
351 | 1237, | ||
352 | 387, | ||
353 | -909, | ||
354 | -24, | ||
355 | 148, | ||
356 | -1730, | ||
357 | 594, | ||
358 | 2333, | ||
359 | 7396, | ||
360 | 1215, | ||
361 | -401, | ||
362 | -81, | ||
363 | -2759, | ||
364 | -164, | ||
365 | 1736, | ||
366 | 3600, | ||
367 | -1530, | ||
368 | 894, | ||
369 | 1652, | ||
370 | -2929, | ||
371 | 4403, | ||
372 | -501, | ||
373 | -2613, | ||
374 | -4180, | ||
375 | -3444, | ||
376 | 1784, | ||
377 | -3339, | ||
378 | -2383, | ||
379 | 3612, | ||
380 | -1300, | ||
381 | -878, | ||
382 | -3168, | ||
383 | }; | ||
384 | |||
385 | DATA x_np[NX+NH-1] = { | ||
386 | 0, | ||
387 | 0, | ||
388 | 0, | ||
389 | 0, | ||
390 | 0, | ||
391 | 0, | ||
392 | 0, | ||
393 | 0, | ||
394 | 0, | ||
395 | 0, | ||
396 | 0, | ||
397 | 0, | ||
398 | 0, | ||
399 | 0, | ||
400 | 0, | ||
401 | 0, | ||
402 | 0, | ||
403 | 0, | ||
404 | 0, | ||
405 | 0, | ||
406 | 0, | ||
407 | 0, | ||
408 | 0, | ||
409 | 0, | ||
410 | 0, | ||
411 | 0, | ||
412 | 0, | ||
413 | 0, | ||
414 | 0, | ||
415 | 0, | ||
416 | 0, | ||
417 | 0, | ||
418 | 0, | ||
419 | 0, | ||
420 | 0, | ||
421 | 0, | ||
422 | 0, | ||
423 | 0, | ||
424 | 0, | ||
425 | 0, | ||
426 | 0, | ||
427 | 0, | ||
428 | 0, | ||
429 | 0, | ||
430 | 0, | ||
431 | 0, | ||
432 | 0, | ||
433 | 0, | ||
434 | 0, | ||
435 | 0, | ||
436 | 0, | ||
437 | 0, | ||
438 | 0, | ||
439 | 0, | ||
440 | 0, | ||
441 | 0, | ||
442 | 0, | ||
443 | 0, | ||
444 | 0, | ||
445 | 0, | ||
446 | 0, | ||
447 | 0, | ||
448 | 0, | ||
449 | 19321, | ||
450 | 29939, | ||
451 | 1480, | ||
452 | 24912, | ||
453 | -21434, | ||
454 | 31440, | ||
455 | -14979, | ||
456 | -16232, | ||
457 | 24624, | ||
458 | 15552, | ||
459 | -23822, | ||
460 | -31998, | ||
461 | 25814, | ||
462 | -19718, | ||
463 | -13191, | ||
464 | 10580, | ||
465 | -14129, | ||
466 | -2017, | ||
467 | -28523, | ||
468 | 32003, | ||
469 | 5425, | ||
470 | -5014, | ||
471 | 1016, | ||
472 | -10883, | ||
473 | -4398, | ||
474 | -17961, | ||
475 | 5230, | ||
476 | 17063, | ||
477 | 1954, | ||
478 | 9209, | ||
479 | -19067, | ||
480 | -7877, | ||
481 | 18568, | ||
482 | 11851, | ||
483 | -2550, | ||
484 | 4445, | ||
485 | 19281, | ||
486 | -28890, | ||
487 | 6741, | ||
488 | -29474, | ||
489 | -5546, | ||
490 | -12780, | ||
491 | 24534, | ||
492 | -31785, | ||
493 | 17560, | ||
494 | 30857, | ||
495 | 32118, | ||
496 | 18930, | ||
497 | -4021, | ||
498 | -111, | ||
499 | -18746, | ||
500 | 9403, | ||
501 | -11795, | ||
502 | 30152, | ||
503 | 14852, | ||
504 | -5771, | ||
505 | 16027, | ||
506 | -15208, | ||
507 | -3938, | ||
508 | 28401, | ||
509 | 12014, | ||
510 | -18838, | ||
511 | 22232, | ||
512 | 8440, | ||
513 | -24002, | ||
514 | -19194, | ||
515 | 7025, | ||
516 | 8512, | ||
517 | -8489, | ||
518 | 4924, | ||
519 | -3184, | ||
520 | -29892, | ||
521 | -30987, | ||
522 | -12276, | ||
523 | -31926, | ||
524 | -7605, | ||
525 | 12000, | ||
526 | -26684, | ||
527 | -30453, | ||
528 | 7365, | ||
529 | 7113, | ||
530 | -31736, | ||
531 | -31697, | ||
532 | -20312, | ||
533 | 5696, | ||
534 | -28995, | ||
535 | -8680, | ||
536 | 8614, | ||
537 | 14262, | ||
538 | 12626, | ||
539 | -27258, | ||
540 | -2992, | ||
541 | -3813, | ||
542 | -9618, | ||
543 | -22702, | ||
544 | 11511, | ||
545 | 13055, | ||
546 | 14910, | ||
547 | -1417, | ||
548 | 3594, | ||
549 | -24836, | ||
550 | -3228, | ||
551 | 14148, | ||
552 | 25745, | ||
553 | -14870, | ||
554 | -16072, | ||
555 | 23960, | ||
556 | -17541, | ||
557 | 19980, | ||
558 | 26764, | ||
559 | -17571, | ||
560 | -17085, | ||
561 | -29508, | ||
562 | -27631, | ||
563 | 9228, | ||
564 | -20259, | ||
565 | 22535, | ||
566 | -21372, | ||
567 | -21575, | ||
568 | 32394, | ||
569 | -3946, | ||
570 | -10483, | ||
571 | -12176, | ||
572 | -8843, | ||
573 | -6997, | ||
574 | 5998, | ||
575 | -24921, | ||
576 | -30270, | ||
577 | }; | ||
578 | |||
diff --git a/dsplib_benchmarks/convol2/t5.h b/dsplib_benchmarks/convol2/t5.h new file mode 100644 index 0000000..1e22e61 --- /dev/null +++ b/dsplib_benchmarks/convol2/t5.h | |||
@@ -0,0 +1,498 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 32 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -6739, | ||
42 | -5661, | ||
43 | 10172, | ||
44 | 22123, | ||
45 | -8415, | ||
46 | -4899, | ||
47 | 6203, | ||
48 | 4308, | ||
49 | 14191, | ||
50 | 741, | ||
51 | 18114, | ||
52 | -699, | ||
53 | -20585, | ||
54 | 13148, | ||
55 | 31634, | ||
56 | 20095, | ||
57 | 13340, | ||
58 | -986, | ||
59 | -25257, | ||
60 | 10803, | ||
61 | -8823, | ||
62 | -23591, | ||
63 | 4376, | ||
64 | 21168, | ||
65 | 11399, | ||
66 | 32731, | ||
67 | 30253, | ||
68 | -28911, | ||
69 | -9155, | ||
70 | 3179, | ||
71 | -15613, | ||
72 | 6379, | ||
73 | -29539, | ||
74 | 4656, | ||
75 | 13163, | ||
76 | 30296, | ||
77 | 16417, | ||
78 | 15728, | ||
79 | -4465, | ||
80 | 8799, | ||
81 | 19859, | ||
82 | -27271, | ||
83 | 29193, | ||
84 | 27259, | ||
85 | 6683, | ||
86 | -16151, | ||
87 | 24474, | ||
88 | 878, | ||
89 | 15246, | ||
90 | -5097, | ||
91 | 30236, | ||
92 | -28046, | ||
93 | 3500, | ||
94 | -13633, | ||
95 | 23459, | ||
96 | -10764, | ||
97 | 11809, | ||
98 | -29266, | ||
99 | -9395, | ||
100 | -112, | ||
101 | -4297, | ||
102 | 4093, | ||
103 | 7642, | ||
104 | -25341, | ||
105 | 26099, | ||
106 | 16682, | ||
107 | 19079, | ||
108 | 20640, | ||
109 | 11141, | ||
110 | -19604, | ||
111 | -14871, | ||
112 | 8272, | ||
113 | 2415, | ||
114 | -28869, | ||
115 | -26938, | ||
116 | -14988, | ||
117 | -5960, | ||
118 | -1702, | ||
119 | 26803, | ||
120 | 6307, | ||
121 | -11210, | ||
122 | -1430, | ||
123 | 6368, | ||
124 | -22188, | ||
125 | 21592, | ||
126 | 29892, | ||
127 | 6261, | ||
128 | -30884, | ||
129 | 20454, | ||
130 | 7216, | ||
131 | 13205, | ||
132 | -26726, | ||
133 | -4923, | ||
134 | -8155, | ||
135 | -21879, | ||
136 | 21833, | ||
137 | 22193, | ||
138 | -3172, | ||
139 | 29923, | ||
140 | -23125, | ||
141 | 24243, | ||
142 | 17657, | ||
143 | -3660, | ||
144 | 7904, | ||
145 | 29601, | ||
146 | 9175, | ||
147 | -16560, | ||
148 | -9654, | ||
149 | -20457, | ||
150 | -614, | ||
151 | -5946, | ||
152 | -2391, | ||
153 | 7270, | ||
154 | -28104, | ||
155 | -12172, | ||
156 | 7103, | ||
157 | -21298, | ||
158 | 7931, | ||
159 | -16649, | ||
160 | 5725, | ||
161 | 396, | ||
162 | -2309, | ||
163 | 2714, | ||
164 | 28988, | ||
165 | -10371, | ||
166 | -6436, | ||
167 | -12604, | ||
168 | -5796, | ||
169 | }; | ||
170 | |||
171 | DATA h[NH] ={ | ||
172 | -1118, | ||
173 | -553, | ||
174 | 15, | ||
175 | 1158, | ||
176 | -1012, | ||
177 | -2025, | ||
178 | -296, | ||
179 | -174, | ||
180 | -2533, | ||
181 | 856, | ||
182 | 1169, | ||
183 | -1140, | ||
184 | -1244, | ||
185 | 1088, | ||
186 | 1481, | ||
187 | 2537, | ||
188 | -140, | ||
189 | 2102, | ||
190 | -256, | ||
191 | 1589, | ||
192 | 1716, | ||
193 | -1742, | ||
194 | -554, | ||
195 | 108, | ||
196 | 1138, | ||
197 | 361, | ||
198 | -205, | ||
199 | -286, | ||
200 | -2152, | ||
201 | -295, | ||
202 | -698, | ||
203 | -1031, | ||
204 | }; | ||
205 | |||
206 | DATA rtest[NX+NH-1] ={ | ||
207 | 229, | ||
208 | 306, | ||
209 | -255, | ||
210 | -1167, | ||
211 | -74, | ||
212 | 1270, | ||
213 | 745, | ||
214 | -1776, | ||
215 | -1375, | ||
216 | 635, | ||
217 | -1576, | ||
218 | -1620, | ||
219 | 2058, | ||
220 | 153, | ||
221 | -4647, | ||
222 | -4452, | ||
223 | 708, | ||
224 | 3250, | ||
225 | -448, | ||
226 | -2550, | ||
227 | 511, | ||
228 | -2305, | ||
229 | 485, | ||
230 | 2966, | ||
231 | -2051, | ||
232 | 1150, | ||
233 | 1673, | ||
234 | 297, | ||
235 | 3814, | ||
236 | 4550, | ||
237 | -1212, | ||
238 | -4938, | ||
239 | 3888, | ||
240 | 1664, | ||
241 | -270, | ||
242 | -1974, | ||
243 | -3495, | ||
244 | -3922, | ||
245 | 1943, | ||
246 | 5204, | ||
247 | 3118, | ||
248 | -3067, | ||
249 | -3789, | ||
250 | -731, | ||
251 | -5444, | ||
252 | -1585, | ||
253 | -670, | ||
254 | -11322, | ||
255 | -453, | ||
256 | 7705, | ||
257 | 1128, | ||
258 | -3251, | ||
259 | 1252, | ||
260 | 3795, | ||
261 | -5835, | ||
262 | 795, | ||
263 | -553, | ||
264 | 6278, | ||
265 | -446, | ||
266 | 7153, | ||
267 | 2595, | ||
268 | 1266, | ||
269 | 2060, | ||
270 | 6381, | ||
271 | -3674, | ||
272 | 146, | ||
273 | -3916, | ||
274 | 1106, | ||
275 | -2456, | ||
276 | 3561, | ||
277 | -4437, | ||
278 | -2881, | ||
279 | -8242, | ||
280 | -1706, | ||
281 | 1355, | ||
282 | -781, | ||
283 | -4256, | ||
284 | -2260, | ||
285 | 178, | ||
286 | 4528, | ||
287 | 2380, | ||
288 | 10589, | ||
289 | 1150, | ||
290 | -1939, | ||
291 | 1367, | ||
292 | 3131, | ||
293 | -1914, | ||
294 | 138, | ||
295 | 712, | ||
296 | -7647, | ||
297 | -8176, | ||
298 | 6438, | ||
299 | -1996, | ||
300 | -6422, | ||
301 | -2344, | ||
302 | 2275, | ||
303 | -4766, | ||
304 | -2394, | ||
305 | 2911, | ||
306 | 6088, | ||
307 | -3897, | ||
308 | 1876, | ||
309 | 2545, | ||
310 | 2593, | ||
311 | 1785, | ||
312 | 2921, | ||
313 | -8343, | ||
314 | -781, | ||
315 | -1424, | ||
316 | -3858, | ||
317 | 1776, | ||
318 | -359, | ||
319 | -1503, | ||
320 | 3227, | ||
321 | 3672, | ||
322 | 7824, | ||
323 | -4031, | ||
324 | 1428, | ||
325 | 5954, | ||
326 | 2871, | ||
327 | 4765, | ||
328 | 3335, | ||
329 | 1736, | ||
330 | -4792, | ||
331 | 2019, | ||
332 | -1447, | ||
333 | -3388, | ||
334 | -2749, | ||
335 | }; | ||
336 | |||
337 | DATA x_np[NX+NH-1] = { | ||
338 | 0, | ||
339 | 0, | ||
340 | 0, | ||
341 | 0, | ||
342 | 0, | ||
343 | 0, | ||
344 | 0, | ||
345 | 0, | ||
346 | 0, | ||
347 | 0, | ||
348 | 0, | ||
349 | 0, | ||
350 | 0, | ||
351 | 0, | ||
352 | 0, | ||
353 | 0, | ||
354 | 0, | ||
355 | 0, | ||
356 | 0, | ||
357 | 0, | ||
358 | 0, | ||
359 | 0, | ||
360 | 0, | ||
361 | 0, | ||
362 | 0, | ||
363 | 0, | ||
364 | 0, | ||
365 | 0, | ||
366 | 0, | ||
367 | 0, | ||
368 | 0, | ||
369 | -6739, | ||
370 | -5661, | ||
371 | 10172, | ||
372 | 22123, | ||
373 | -8415, | ||
374 | -4899, | ||
375 | 6203, | ||
376 | 4308, | ||
377 | 14191, | ||
378 | 741, | ||
379 | 18114, | ||
380 | -699, | ||
381 | -20585, | ||
382 | 13148, | ||
383 | 31634, | ||
384 | 20095, | ||
385 | 13340, | ||
386 | -986, | ||
387 | -25257, | ||
388 | 10803, | ||
389 | -8823, | ||
390 | -23591, | ||
391 | 4376, | ||
392 | 21168, | ||
393 | 11399, | ||
394 | 32731, | ||
395 | 30253, | ||
396 | -28911, | ||
397 | -9155, | ||
398 | 3179, | ||
399 | -15613, | ||
400 | 6379, | ||
401 | -29539, | ||
402 | 4656, | ||
403 | 13163, | ||
404 | 30296, | ||
405 | 16417, | ||
406 | 15728, | ||
407 | -4465, | ||
408 | 8799, | ||
409 | 19859, | ||
410 | -27271, | ||
411 | 29193, | ||
412 | 27259, | ||
413 | 6683, | ||
414 | -16151, | ||
415 | 24474, | ||
416 | 878, | ||
417 | 15246, | ||
418 | -5097, | ||
419 | 30236, | ||
420 | -28046, | ||
421 | 3500, | ||
422 | -13633, | ||
423 | 23459, | ||
424 | -10764, | ||
425 | 11809, | ||
426 | -29266, | ||
427 | -9395, | ||
428 | -112, | ||
429 | -4297, | ||
430 | 4093, | ||
431 | 7642, | ||
432 | -25341, | ||
433 | 26099, | ||
434 | 16682, | ||
435 | 19079, | ||
436 | 20640, | ||
437 | 11141, | ||
438 | -19604, | ||
439 | -14871, | ||
440 | 8272, | ||
441 | 2415, | ||
442 | -28869, | ||
443 | -26938, | ||
444 | -14988, | ||
445 | -5960, | ||
446 | -1702, | ||
447 | 26803, | ||
448 | 6307, | ||
449 | -11210, | ||
450 | -1430, | ||
451 | 6368, | ||
452 | -22188, | ||
453 | 21592, | ||
454 | 29892, | ||
455 | 6261, | ||
456 | -30884, | ||
457 | 20454, | ||
458 | 7216, | ||
459 | 13205, | ||
460 | -26726, | ||
461 | -4923, | ||
462 | -8155, | ||
463 | -21879, | ||
464 | 21833, | ||
465 | 22193, | ||
466 | -3172, | ||
467 | 29923, | ||
468 | -23125, | ||
469 | 24243, | ||
470 | 17657, | ||
471 | -3660, | ||
472 | 7904, | ||
473 | 29601, | ||
474 | 9175, | ||
475 | -16560, | ||
476 | -9654, | ||
477 | -20457, | ||
478 | -614, | ||
479 | -5946, | ||
480 | -2391, | ||
481 | 7270, | ||
482 | -28104, | ||
483 | -12172, | ||
484 | 7103, | ||
485 | -21298, | ||
486 | 7931, | ||
487 | -16649, | ||
488 | 5725, | ||
489 | 396, | ||
490 | -2309, | ||
491 | 2714, | ||
492 | 28988, | ||
493 | -10371, | ||
494 | -6436, | ||
495 | -12604, | ||
496 | -5796, | ||
497 | }; | ||
498 | |||
diff --git a/dsplib_benchmarks/convol2/t6.h b/dsplib_benchmarks/convol2/t6.h new file mode 100644 index 0000000..5cf0093 --- /dev/null +++ b/dsplib_benchmarks/convol2/t6.h | |||
@@ -0,0 +1,466 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 16 | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 23058, | ||
42 | 17005, | ||
43 | 29475, | ||
44 | 3797, | ||
45 | -31836, | ||
46 | 6303, | ||
47 | 20722, | ||
48 | 31266, | ||
49 | -18226, | ||
50 | 13348, | ||
51 | 1445, | ||
52 | 28370, | ||
53 | 13982, | ||
54 | -17824, | ||
55 | -3301, | ||
56 | -21483, | ||
57 | 30724, | ||
58 | -9456, | ||
59 | -29554, | ||
60 | 16733, | ||
61 | 25874, | ||
62 | -14015, | ||
63 | -16306, | ||
64 | 28359, | ||
65 | -24184, | ||
66 | 28889, | ||
67 | 13228, | ||
68 | 22785, | ||
69 | -19054, | ||
70 | -2944, | ||
71 | -27455, | ||
72 | 23011, | ||
73 | 4066, | ||
74 | -11843, | ||
75 | -8199, | ||
76 | 24103, | ||
77 | -8378, | ||
78 | -27939, | ||
79 | -19672, | ||
80 | -29525, | ||
81 | 4371, | ||
82 | -24778, | ||
83 | 1449, | ||
84 | -25097, | ||
85 | 17689, | ||
86 | -8189, | ||
87 | 21193, | ||
88 | -29712, | ||
89 | 6416, | ||
90 | 29435, | ||
91 | -13842, | ||
92 | 25482, | ||
93 | -26111, | ||
94 | -28488, | ||
95 | -17413, | ||
96 | 28383, | ||
97 | -28631, | ||
98 | -15453, | ||
99 | 32737, | ||
100 | -18876, | ||
101 | -105, | ||
102 | -13731, | ||
103 | 11321, | ||
104 | 30014, | ||
105 | 17468, | ||
106 | 10887, | ||
107 | -24187, | ||
108 | -26515, | ||
109 | -31794, | ||
110 | -13881, | ||
111 | 20757, | ||
112 | 31816, | ||
113 | -31631, | ||
114 | 20931, | ||
115 | 7938, | ||
116 | 3946, | ||
117 | -16776, | ||
118 | 21103, | ||
119 | -15519, | ||
120 | 16622, | ||
121 | 10462, | ||
122 | -18740, | ||
123 | 6692, | ||
124 | 6877, | ||
125 | 10453, | ||
126 | -20752, | ||
127 | 8948, | ||
128 | -21607, | ||
129 | 2595, | ||
130 | 8086, | ||
131 | 12182, | ||
132 | 11622, | ||
133 | 24695, | ||
134 | -31924, | ||
135 | -12426, | ||
136 | 18289, | ||
137 | -12630, | ||
138 | 27962, | ||
139 | 11712, | ||
140 | -27898, | ||
141 | -28137, | ||
142 | -31987, | ||
143 | -17882, | ||
144 | 1065, | ||
145 | -2740, | ||
146 | 13317, | ||
147 | 5405, | ||
148 | 603, | ||
149 | -27900, | ||
150 | -20105, | ||
151 | -7891, | ||
152 | -14652, | ||
153 | 17752, | ||
154 | -12195, | ||
155 | 9056, | ||
156 | 31887, | ||
157 | 188, | ||
158 | 29340, | ||
159 | 21497, | ||
160 | 27365, | ||
161 | -25358, | ||
162 | 20455, | ||
163 | 26755, | ||
164 | -22520, | ||
165 | -24765, | ||
166 | 17214, | ||
167 | 14535, | ||
168 | 9937, | ||
169 | }; | ||
170 | |||
171 | DATA h[NH] ={ | ||
172 | 1883, | ||
173 | 1210, | ||
174 | 2843, | ||
175 | -1690, | ||
176 | -598, | ||
177 | -2129, | ||
178 | -3444, | ||
179 | -3107, | ||
180 | 2599, | ||
181 | -1186, | ||
182 | -251, | ||
183 | 3068, | ||
184 | -2013, | ||
185 | 2684, | ||
186 | 1161, | ||
187 | 2901, | ||
188 | }; | ||
189 | |||
190 | DATA rtest[NX+NH-1] ={ | ||
191 | 1325, | ||
192 | 1829, | ||
193 | 4323, | ||
194 | 1593, | ||
195 | -430, | ||
196 | -3812, | ||
197 | -5601, | ||
198 | -1206, | ||
199 | -967, | ||
200 | 1014, | ||
201 | 1127, | ||
202 | 5486, | ||
203 | -5899, | ||
204 | 2796, | ||
205 | -624, | ||
206 | -384, | ||
207 | 762, | ||
208 | -1638, | ||
209 | -65, | ||
210 | -3809, | ||
211 | 9195, | ||
212 | 2501, | ||
213 | 5947, | ||
214 | -4731, | ||
215 | 5677, | ||
216 | 5055, | ||
217 | -7333, | ||
218 | 12116, | ||
219 | -3509, | ||
220 | -2867, | ||
221 | -5970, | ||
222 | 3322, | ||
223 | -12644, | ||
224 | 2905, | ||
225 | 3889, | ||
226 | 883, | ||
227 | 4162, | ||
228 | -1940, | ||
229 | -2407, | ||
230 | -3841, | ||
231 | 4954, | ||
232 | -6750, | ||
233 | 6527, | ||
234 | -993, | ||
235 | 5866, | ||
236 | -356, | ||
237 | 11153, | ||
238 | -4409, | ||
239 | 5136, | ||
240 | -2824, | ||
241 | 2014, | ||
242 | -1448, | ||
243 | -8797, | ||
244 | -1386, | ||
245 | -10237, | ||
246 | -3641, | ||
247 | -7786, | ||
248 | 7771, | ||
249 | -8703, | ||
250 | 14076, | ||
251 | 3210, | ||
252 | -6578, | ||
253 | 4927, | ||
254 | 3079, | ||
255 | 3030, | ||
256 | -321, | ||
257 | 7564, | ||
258 | -13939, | ||
259 | -7703, | ||
260 | -8395, | ||
261 | -7810, | ||
262 | 5111, | ||
263 | 2866, | ||
264 | 13250, | ||
265 | 90, | ||
266 | 5423, | ||
267 | -3352, | ||
268 | -2297, | ||
269 | 2595, | ||
270 | 3771, | ||
271 | -9221, | ||
272 | 760, | ||
273 | -2748, | ||
274 | -8103, | ||
275 | 5244, | ||
276 | 912, | ||
277 | 147, | ||
278 | -4337, | ||
279 | 7445, | ||
280 | -8708, | ||
281 | 6894, | ||
282 | 1086, | ||
283 | 5683, | ||
284 | 337, | ||
285 | 2599, | ||
286 | -6063, | ||
287 | -5260, | ||
288 | 4489, | ||
289 | -4371, | ||
290 | 6307, | ||
291 | -946, | ||
292 | -8969, | ||
293 | -6488, | ||
294 | 1339, | ||
295 | -5552, | ||
296 | 12758, | ||
297 | 10294, | ||
298 | 3581, | ||
299 | 3405, | ||
300 | -4309, | ||
301 | -4341, | ||
302 | -2055, | ||
303 | -1311, | ||
304 | -127, | ||
305 | 1769, | ||
306 | 69, | ||
307 | 1726, | ||
308 | 2679, | ||
309 | 1968, | ||
310 | 632, | ||
311 | 1284, | ||
312 | -6039, | ||
313 | -9106, | ||
314 | -1192, | ||
315 | -14044, | ||
316 | -2989, | ||
317 | 143, | ||
318 | 3914, | ||
319 | }; | ||
320 | |||
321 | DATA x_np[NX+NH-1] = { | ||
322 | 0, | ||
323 | 0, | ||
324 | 0, | ||
325 | 0, | ||
326 | 0, | ||
327 | 0, | ||
328 | 0, | ||
329 | 0, | ||
330 | 0, | ||
331 | 0, | ||
332 | 0, | ||
333 | 0, | ||
334 | 0, | ||
335 | 0, | ||
336 | 0, | ||
337 | 23058, | ||
338 | 17005, | ||
339 | 29475, | ||
340 | 3797, | ||
341 | -31836, | ||
342 | 6303, | ||
343 | 20722, | ||
344 | 31266, | ||
345 | -18226, | ||
346 | 13348, | ||
347 | 1445, | ||
348 | 28370, | ||
349 | 13982, | ||
350 | -17824, | ||
351 | -3301, | ||
352 | -21483, | ||
353 | 30724, | ||
354 | -9456, | ||
355 | -29554, | ||
356 | 16733, | ||
357 | 25874, | ||
358 | -14015, | ||
359 | -16306, | ||
360 | 28359, | ||
361 | -24184, | ||
362 | 28889, | ||
363 | 13228, | ||
364 | 22785, | ||
365 | -19054, | ||
366 | -2944, | ||
367 | -27455, | ||
368 | 23011, | ||
369 | 4066, | ||
370 | -11843, | ||
371 | -8199, | ||
372 | 24103, | ||
373 | -8378, | ||
374 | -27939, | ||
375 | -19672, | ||
376 | -29525, | ||
377 | 4371, | ||
378 | -24778, | ||
379 | 1449, | ||
380 | -25097, | ||
381 | 17689, | ||
382 | -8189, | ||
383 | 21193, | ||
384 | -29712, | ||
385 | 6416, | ||
386 | 29435, | ||
387 | -13842, | ||
388 | 25482, | ||
389 | -26111, | ||
390 | -28488, | ||
391 | -17413, | ||
392 | 28383, | ||
393 | -28631, | ||
394 | -15453, | ||
395 | 32737, | ||
396 | -18876, | ||
397 | -105, | ||
398 | -13731, | ||
399 | 11321, | ||
400 | 30014, | ||
401 | 17468, | ||
402 | 10887, | ||
403 | -24187, | ||
404 | -26515, | ||
405 | -31794, | ||
406 | -13881, | ||
407 | 20757, | ||
408 | 31816, | ||
409 | -31631, | ||
410 | 20931, | ||
411 | 7938, | ||
412 | 3946, | ||
413 | -16776, | ||
414 | 21103, | ||
415 | -15519, | ||
416 | 16622, | ||
417 | 10462, | ||
418 | -18740, | ||
419 | 6692, | ||
420 | 6877, | ||
421 | 10453, | ||
422 | -20752, | ||
423 | 8948, | ||
424 | -21607, | ||
425 | 2595, | ||
426 | 8086, | ||
427 | 12182, | ||
428 | 11622, | ||
429 | 24695, | ||
430 | -31924, | ||
431 | -12426, | ||
432 | 18289, | ||
433 | -12630, | ||
434 | 27962, | ||
435 | 11712, | ||
436 | -27898, | ||
437 | -28137, | ||
438 | -31987, | ||
439 | -17882, | ||
440 | 1065, | ||
441 | -2740, | ||
442 | 13317, | ||
443 | 5405, | ||
444 | 603, | ||
445 | -27900, | ||
446 | -20105, | ||
447 | -7891, | ||
448 | -14652, | ||
449 | 17752, | ||
450 | -12195, | ||
451 | 9056, | ||
452 | 31887, | ||
453 | 188, | ||
454 | 29340, | ||
455 | 21497, | ||
456 | 27365, | ||
457 | -25358, | ||
458 | 20455, | ||
459 | 26755, | ||
460 | -22520, | ||
461 | -24765, | ||
462 | 17214, | ||
463 | 14535, | ||
464 | 9937, | ||
465 | }; | ||
466 | |||
diff --git a/dsplib_benchmarks/convol2/t7.h b/dsplib_benchmarks/convol2/t7.h new file mode 100644 index 0000000..34cd51d --- /dev/null +++ b/dsplib_benchmarks/convol2/t7.h | |||
@@ -0,0 +1,834 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 256 | ||
36 | #define NH 8 | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -778, | ||
42 | 32285, | ||
43 | -8302, | ||
44 | 2056, | ||
45 | -20886, | ||
46 | 127, | ||
47 | -5100, | ||
48 | 10513, | ||
49 | 11380, | ||
50 | 29971, | ||
51 | -20194, | ||
52 | -25480, | ||
53 | 4263, | ||
54 | 30747, | ||
55 | -31212, | ||
56 | 24262, | ||
57 | -31007, | ||
58 | 1279, | ||
59 | -20166, | ||
60 | 14135, | ||
61 | -16340, | ||
62 | 28433, | ||
63 | -23778, | ||
64 | 1417, | ||
65 | 25899, | ||
66 | 28992, | ||
67 | -10808, | ||
68 | -4105, | ||
69 | -1891, | ||
70 | -22983, | ||
71 | -23864, | ||
72 | 2129, | ||
73 | 14797, | ||
74 | -6639, | ||
75 | -9279, | ||
76 | -14072, | ||
77 | 24158, | ||
78 | 8284, | ||
79 | -16963, | ||
80 | 31331, | ||
81 | 9207, | ||
82 | -17705, | ||
83 | 11883, | ||
84 | 10867, | ||
85 | -23940, | ||
86 | -31294, | ||
87 | -15585, | ||
88 | -25133, | ||
89 | -28226, | ||
90 | 23129, | ||
91 | -20950, | ||
92 | -30644, | ||
93 | 15330, | ||
94 | 2393, | ||
95 | -14679, | ||
96 | -8621, | ||
97 | -31924, | ||
98 | 25506, | ||
99 | 23987, | ||
100 | -16106, | ||
101 | 4553, | ||
102 | -22331, | ||
103 | 6184, | ||
104 | -11070, | ||
105 | 10394, | ||
106 | 23831, | ||
107 | 4431, | ||
108 | 31488, | ||
109 | 19125, | ||
110 | -22768, | ||
111 | 21825, | ||
112 | -20195, | ||
113 | 9108, | ||
114 | 11075, | ||
115 | 17831, | ||
116 | -7877, | ||
117 | -3829, | ||
118 | -1111, | ||
119 | 7084, | ||
120 | -21234, | ||
121 | -32636, | ||
122 | 19020, | ||
123 | 891, | ||
124 | -18794, | ||
125 | -25989, | ||
126 | -22457, | ||
127 | -6062, | ||
128 | -6046, | ||
129 | -29315, | ||
130 | 28954, | ||
131 | -22940, | ||
132 | -7578, | ||
133 | -12383, | ||
134 | -21723, | ||
135 | 25994, | ||
136 | -11618, | ||
137 | 15335, | ||
138 | -5839, | ||
139 | -6568, | ||
140 | 361, | ||
141 | -21673, | ||
142 | 1621, | ||
143 | 9253, | ||
144 | -31707, | ||
145 | 22075, | ||
146 | 19887, | ||
147 | 12962, | ||
148 | -2498, | ||
149 | -27354, | ||
150 | 21018, | ||
151 | -20119, | ||
152 | -3582, | ||
153 | -31919, | ||
154 | -12535, | ||
155 | 24598, | ||
156 | 21971, | ||
157 | -10939, | ||
158 | 24949, | ||
159 | -1332, | ||
160 | 3985, | ||
161 | 7596, | ||
162 | 10610, | ||
163 | 7643, | ||
164 | 12133, | ||
165 | 665, | ||
166 | 14022, | ||
167 | 996, | ||
168 | 6938, | ||
169 | 30585, | ||
170 | 21110, | ||
171 | -11944, | ||
172 | 5747, | ||
173 | -24236, | ||
174 | -16099, | ||
175 | 19859, | ||
176 | 10999, | ||
177 | -31875, | ||
178 | 4035, | ||
179 | -2978, | ||
180 | 26538, | ||
181 | -14277, | ||
182 | -28506, | ||
183 | -1535, | ||
184 | 31700, | ||
185 | 27679, | ||
186 | 4010, | ||
187 | 9982, | ||
188 | 17870, | ||
189 | -25810, | ||
190 | -32698, | ||
191 | 2737, | ||
192 | -32319, | ||
193 | -3190, | ||
194 | -19946, | ||
195 | 18818, | ||
196 | 7770, | ||
197 | -31751, | ||
198 | 25614, | ||
199 | 17150, | ||
200 | 26675, | ||
201 | 16945, | ||
202 | -7817, | ||
203 | -11069, | ||
204 | 267, | ||
205 | 4231, | ||
206 | 17511, | ||
207 | 18341, | ||
208 | -1043, | ||
209 | 19805, | ||
210 | -1900, | ||
211 | -19480, | ||
212 | 5217, | ||
213 | 10911, | ||
214 | 11584, | ||
215 | 29000, | ||
216 | 17704, | ||
217 | 15558, | ||
218 | 24003, | ||
219 | 32174, | ||
220 | 257, | ||
221 | 8459, | ||
222 | 19176, | ||
223 | -3366, | ||
224 | 1596, | ||
225 | -21531, | ||
226 | -24205, | ||
227 | -18430, | ||
228 | -25856, | ||
229 | -23500, | ||
230 | -2821, | ||
231 | 18883, | ||
232 | -14349, | ||
233 | -18037, | ||
234 | 26795, | ||
235 | -32288, | ||
236 | 5815, | ||
237 | 2760, | ||
238 | 10061, | ||
239 | -12227, | ||
240 | -17619, | ||
241 | -5501, | ||
242 | -13186, | ||
243 | 11300, | ||
244 | 28721, | ||
245 | -10280, | ||
246 | 4126, | ||
247 | -24977, | ||
248 | -21692, | ||
249 | -14491, | ||
250 | 3723, | ||
251 | -945, | ||
252 | 29636, | ||
253 | -17569, | ||
254 | -1399, | ||
255 | 1738, | ||
256 | 19183, | ||
257 | -20120, | ||
258 | 26843, | ||
259 | 27669, | ||
260 | -31899, | ||
261 | 17534, | ||
262 | 29317, | ||
263 | 20532, | ||
264 | 27776, | ||
265 | -19727, | ||
266 | 11421, | ||
267 | 27990, | ||
268 | -10236, | ||
269 | 6192, | ||
270 | 7568, | ||
271 | -32547, | ||
272 | 31589, | ||
273 | 26182, | ||
274 | 12632, | ||
275 | -3955, | ||
276 | 13174, | ||
277 | 7190, | ||
278 | -13115, | ||
279 | 23333, | ||
280 | -25424, | ||
281 | -13661, | ||
282 | -26382, | ||
283 | -6721, | ||
284 | -10925, | ||
285 | 29113, | ||
286 | 22187, | ||
287 | -15832, | ||
288 | -29957, | ||
289 | -32383, | ||
290 | 4877, | ||
291 | 15984, | ||
292 | 20108, | ||
293 | 9015, | ||
294 | -16301, | ||
295 | -23310, | ||
296 | 9932, | ||
297 | }; | ||
298 | |||
299 | DATA h[NH] ={ | ||
300 | 6423, | ||
301 | 4548, | ||
302 | 6195, | ||
303 | -2737, | ||
304 | -3329, | ||
305 | 524, | ||
306 | -4849, | ||
307 | -4162, | ||
308 | }; | ||
309 | |||
310 | DATA rtest[NX+NH-1] ={ | ||
311 | -153, | ||
312 | 6221, | ||
313 | 2707, | ||
314 | 5419, | ||
315 | -7996, | ||
316 | -5085, | ||
317 | -3627, | ||
318 | -1899, | ||
319 | 1998, | ||
320 | 10271, | ||
321 | 4824, | ||
322 | -1598, | ||
323 | -9272, | ||
324 | -283, | ||
325 | 596, | ||
326 | 2265, | ||
327 | -12839, | ||
328 | 6420, | ||
329 | -5396, | ||
330 | -5253, | ||
331 | -909, | ||
332 | 7409, | ||
333 | -1409, | ||
334 | 5707, | ||
335 | 3111, | ||
336 | 8851, | ||
337 | 10177, | ||
338 | -1644, | ||
339 | -8107, | ||
340 | -4362, | ||
341 | -10333, | ||
342 | -14418, | ||
343 | -1353, | ||
344 | 7433, | ||
345 | 2736, | ||
346 | -3496, | ||
347 | 6563, | ||
348 | 6719, | ||
349 | 1944, | ||
350 | 3719, | ||
351 | 1791, | ||
352 | 7953, | ||
353 | -936, | ||
354 | -8086, | ||
355 | 1565, | ||
356 | -8932, | ||
357 | -19666, | ||
358 | -10471, | ||
359 | -6259, | ||
360 | -3156, | ||
361 | -890, | ||
362 | 7789, | ||
363 | 1604, | ||
364 | 1449, | ||
365 | 12779, | ||
366 | -1616, | ||
367 | -12316, | ||
368 | 7362, | ||
369 | 6080, | ||
370 | 6000, | ||
371 | 6034, | ||
372 | -8757, | ||
373 | 4108, | ||
374 | -3614, | ||
375 | -3974, | ||
376 | 5183, | ||
377 | 7452, | ||
378 | 14374, | ||
379 | 7655, | ||
380 | 2373, | ||
381 | 1903, | ||
382 | -14806, | ||
383 | -111, | ||
384 | -4809, | ||
385 | -970, | ||
386 | 5605, | ||
387 | -985, | ||
388 | -4491, | ||
389 | 751, | ||
390 | -4779, | ||
391 | -11696, | ||
392 | -6456, | ||
393 | -753, | ||
394 | 5682, | ||
395 | -7056, | ||
396 | -11851, | ||
397 | 90, | ||
398 | -848, | ||
399 | -6065, | ||
400 | 5502, | ||
401 | 973, | ||
402 | 10393, | ||
403 | -3605, | ||
404 | -7241, | ||
405 | 8271, | ||
406 | -1901, | ||
407 | 8975, | ||
408 | 2659, | ||
409 | 1577, | ||
410 | 3158, | ||
411 | -7784, | ||
412 | -2818, | ||
413 | -2309, | ||
414 | -4040, | ||
415 | 5461, | ||
416 | 464, | ||
417 | 14370, | ||
418 | 9107, | ||
419 | -9245, | ||
420 | 617, | ||
421 | -6228, | ||
422 | -2522, | ||
423 | -14019, | ||
424 | -9735, | ||
425 | 4091, | ||
426 | 8423, | ||
427 | 10096, | ||
428 | 9319, | ||
429 | 1777, | ||
430 | 10297, | ||
431 | -878, | ||
432 | -5086, | ||
433 | 3437, | ||
434 | 2082, | ||
435 | -1306, | ||
436 | 3119, | ||
437 | -983, | ||
438 | 449, | ||
439 | 3624, | ||
440 | 5432, | ||
441 | 4276, | ||
442 | -1943, | ||
443 | -12899, | ||
444 | -7244, | ||
445 | -7260, | ||
446 | -3890, | ||
447 | 2018, | ||
448 | -1299, | ||
449 | -6389, | ||
450 | 12874, | ||
451 | 2505, | ||
452 | -7374, | ||
453 | -5487, | ||
454 | 2511, | ||
455 | 13720, | ||
456 | 9868, | ||
457 | 3540, | ||
458 | 6121, | ||
459 | 516, | ||
460 | -11908, | ||
461 | -19447, | ||
462 | -15747, | ||
463 | -942, | ||
464 | -11696, | ||
465 | 3764, | ||
466 | 12073, | ||
467 | 3632, | ||
468 | 6920, | ||
469 | 2610, | ||
470 | 17972, | ||
471 | 11226, | ||
472 | -2220, | ||
473 | 100, | ||
474 | -6571, | ||
475 | -7659, | ||
476 | -65, | ||
477 | 1907, | ||
478 | 4099, | ||
479 | 7947, | ||
480 | 302, | ||
481 | -2494, | ||
482 | -6424, | ||
483 | -7628, | ||
484 | 4734, | ||
485 | 8070, | ||
486 | 5698, | ||
487 | 12121, | ||
488 | 8490, | ||
489 | 6064, | ||
490 | 3321, | ||
491 | -1287, | ||
492 | -6198, | ||
493 | -3855, | ||
494 | -2274, | ||
495 | -14902, | ||
496 | -13088, | ||
497 | -11813, | ||
498 | -14533, | ||
499 | -9384, | ||
500 | -4859, | ||
501 | 5494, | ||
502 | 9885, | ||
503 | 6052, | ||
504 | 4535, | ||
505 | -25, | ||
506 | 8392, | ||
507 | -7828, | ||
508 | 2865, | ||
509 | 7236, | ||
510 | -6262, | ||
511 | -5489, | ||
512 | -3397, | ||
513 | 1072, | ||
514 | 4920, | ||
515 | 6017, | ||
516 | 9279, | ||
517 | -6974, | ||
518 | -6168, | ||
519 | -9412, | ||
520 | -9566, | ||
521 | -120, | ||
522 | 10091, | ||
523 | 4476, | ||
524 | 8740, | ||
525 | -596, | ||
526 | 3468, | ||
527 | 1090, | ||
528 | 1546, | ||
529 | 2380, | ||
530 | 4860, | ||
531 | 4270, | ||
532 | -6270, | ||
533 | 12233, | ||
534 | 14640, | ||
535 | -8374, | ||
536 | 1545, | ||
537 | 863, | ||
538 | -3372, | ||
539 | -182, | ||
540 | -10124, | ||
541 | -6574, | ||
542 | 4891, | ||
543 | -3654, | ||
544 | 12091, | ||
545 | 7101, | ||
546 | -3402, | ||
547 | 3136, | ||
548 | -157, | ||
549 | -4270, | ||
550 | -11421, | ||
551 | -2239, | ||
552 | -13823, | ||
553 | -10757, | ||
554 | -2938, | ||
555 | 4316, | ||
556 | 10146, | ||
557 | 11903, | ||
558 | 334, | ||
559 | -14141, | ||
560 | -7199, | ||
561 | -767, | ||
562 | 5596, | ||
563 | 9507, | ||
564 | 5952, | ||
565 | 243, | ||
566 | -3520, | ||
567 | }; | ||
568 | |||
569 | DATA x_np[NX+NH-1] = { | ||
570 | 0, | ||
571 | 0, | ||
572 | 0, | ||
573 | 0, | ||
574 | 0, | ||
575 | 0, | ||
576 | 0, | ||
577 | -778, | ||
578 | 32285, | ||
579 | -8302, | ||
580 | 2056, | ||
581 | -20886, | ||
582 | 127, | ||
583 | -5100, | ||
584 | 10513, | ||
585 | 11380, | ||
586 | 29971, | ||
587 | -20194, | ||
588 | -25480, | ||
589 | 4263, | ||
590 | 30747, | ||
591 | -31212, | ||
592 | 24262, | ||
593 | -31007, | ||
594 | 1279, | ||
595 | -20166, | ||
596 | 14135, | ||
597 | -16340, | ||
598 | 28433, | ||
599 | -23778, | ||
600 | 1417, | ||
601 | 25899, | ||
602 | 28992, | ||
603 | -10808, | ||
604 | -4105, | ||
605 | -1891, | ||
606 | -22983, | ||
607 | -23864, | ||
608 | 2129, | ||
609 | 14797, | ||
610 | -6639, | ||
611 | -9279, | ||
612 | -14072, | ||
613 | 24158, | ||
614 | 8284, | ||
615 | -16963, | ||
616 | 31331, | ||
617 | 9207, | ||
618 | -17705, | ||
619 | 11883, | ||
620 | 10867, | ||
621 | -23940, | ||
622 | -31294, | ||
623 | -15585, | ||
624 | -25133, | ||
625 | -28226, | ||
626 | 23129, | ||
627 | -20950, | ||
628 | -30644, | ||
629 | 15330, | ||
630 | 2393, | ||
631 | -14679, | ||
632 | -8621, | ||
633 | -31924, | ||
634 | 25506, | ||
635 | 23987, | ||
636 | -16106, | ||
637 | 4553, | ||
638 | -22331, | ||
639 | 6184, | ||
640 | -11070, | ||
641 | 10394, | ||
642 | 23831, | ||
643 | 4431, | ||
644 | 31488, | ||
645 | 19125, | ||
646 | -22768, | ||
647 | 21825, | ||
648 | -20195, | ||
649 | 9108, | ||
650 | 11075, | ||
651 | 17831, | ||
652 | -7877, | ||
653 | -3829, | ||
654 | -1111, | ||
655 | 7084, | ||
656 | -21234, | ||
657 | -32636, | ||
658 | 19020, | ||
659 | 891, | ||
660 | -18794, | ||
661 | -25989, | ||
662 | -22457, | ||
663 | -6062, | ||
664 | -6046, | ||
665 | -29315, | ||
666 | 28954, | ||
667 | -22940, | ||
668 | -7578, | ||
669 | -12383, | ||
670 | -21723, | ||
671 | 25994, | ||
672 | -11618, | ||
673 | 15335, | ||
674 | -5839, | ||
675 | -6568, | ||
676 | 361, | ||
677 | -21673, | ||
678 | 1621, | ||
679 | 9253, | ||
680 | -31707, | ||
681 | 22075, | ||
682 | 19887, | ||
683 | 12962, | ||
684 | -2498, | ||
685 | -27354, | ||
686 | 21018, | ||
687 | -20119, | ||
688 | -3582, | ||
689 | -31919, | ||
690 | -12535, | ||
691 | 24598, | ||
692 | 21971, | ||
693 | -10939, | ||
694 | 24949, | ||
695 | -1332, | ||
696 | 3985, | ||
697 | 7596, | ||
698 | 10610, | ||
699 | 7643, | ||
700 | 12133, | ||
701 | 665, | ||
702 | 14022, | ||
703 | 996, | ||
704 | 6938, | ||
705 | 30585, | ||
706 | 21110, | ||
707 | -11944, | ||
708 | 5747, | ||
709 | -24236, | ||
710 | -16099, | ||
711 | 19859, | ||
712 | 10999, | ||
713 | -31875, | ||
714 | 4035, | ||
715 | -2978, | ||
716 | 26538, | ||
717 | -14277, | ||
718 | -28506, | ||
719 | -1535, | ||
720 | 31700, | ||
721 | 27679, | ||
722 | 4010, | ||
723 | 9982, | ||
724 | 17870, | ||
725 | -25810, | ||
726 | -32698, | ||
727 | 2737, | ||
728 | -32319, | ||
729 | -3190, | ||
730 | -19946, | ||
731 | 18818, | ||
732 | 7770, | ||
733 | -31751, | ||
734 | 25614, | ||
735 | 17150, | ||
736 | 26675, | ||
737 | 16945, | ||
738 | -7817, | ||
739 | -11069, | ||
740 | 267, | ||
741 | 4231, | ||
742 | 17511, | ||
743 | 18341, | ||
744 | -1043, | ||
745 | 19805, | ||
746 | -1900, | ||
747 | -19480, | ||
748 | 5217, | ||
749 | 10911, | ||
750 | 11584, | ||
751 | 29000, | ||
752 | 17704, | ||
753 | 15558, | ||
754 | 24003, | ||
755 | 32174, | ||
756 | 257, | ||
757 | 8459, | ||
758 | 19176, | ||
759 | -3366, | ||
760 | 1596, | ||
761 | -21531, | ||
762 | -24205, | ||
763 | -18430, | ||
764 | -25856, | ||
765 | -23500, | ||
766 | -2821, | ||
767 | 18883, | ||
768 | -14349, | ||
769 | -18037, | ||
770 | 26795, | ||
771 | -32288, | ||
772 | 5815, | ||
773 | 2760, | ||
774 | 10061, | ||
775 | -12227, | ||
776 | -17619, | ||
777 | -5501, | ||
778 | -13186, | ||
779 | 11300, | ||
780 | 28721, | ||
781 | -10280, | ||
782 | 4126, | ||
783 | -24977, | ||
784 | -21692, | ||
785 | -14491, | ||
786 | 3723, | ||
787 | -945, | ||
788 | 29636, | ||
789 | -17569, | ||
790 | -1399, | ||
791 | 1738, | ||
792 | 19183, | ||
793 | -20120, | ||
794 | 26843, | ||
795 | 27669, | ||
796 | -31899, | ||
797 | 17534, | ||
798 | 29317, | ||
799 | 20532, | ||
800 | 27776, | ||
801 | -19727, | ||
802 | 11421, | ||
803 | 27990, | ||
804 | -10236, | ||
805 | 6192, | ||
806 | 7568, | ||
807 | -32547, | ||
808 | 31589, | ||
809 | 26182, | ||
810 | 12632, | ||
811 | -3955, | ||
812 | 13174, | ||
813 | 7190, | ||
814 | -13115, | ||
815 | 23333, | ||
816 | -25424, | ||
817 | -13661, | ||
818 | -26382, | ||
819 | -6721, | ||
820 | -10925, | ||
821 | 29113, | ||
822 | 22187, | ||
823 | -15832, | ||
824 | -29957, | ||
825 | -32383, | ||
826 | 4877, | ||
827 | 15984, | ||
828 | 20108, | ||
829 | 9015, | ||
830 | -16301, | ||
831 | -23310, | ||
832 | 9932, | ||
833 | }; | ||
834 | |||
diff --git a/dsplib_benchmarks/convol2/t8.h b/dsplib_benchmarks/convol2/t8.h new file mode 100644 index 0000000..0f31a2f --- /dev/null +++ b/dsplib_benchmarks/convol2/t8.h | |||
@@ -0,0 +1,918 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 256 | ||
36 | #define NH 50 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -18559, | ||
42 | 9947, | ||
43 | -29310, | ||
44 | -17742, | ||
45 | 10972, | ||
46 | -12391, | ||
47 | -12673, | ||
48 | 14462, | ||
49 | 29779, | ||
50 | -24174, | ||
51 | -28294, | ||
52 | -24562, | ||
53 | -21879, | ||
54 | 26962, | ||
55 | -23839, | ||
56 | 7667, | ||
57 | -15141, | ||
58 | -18307, | ||
59 | 13952, | ||
60 | 3211, | ||
61 | 28924, | ||
62 | -11150, | ||
63 | 13401, | ||
64 | 29060, | ||
65 | 5347, | ||
66 | 24913, | ||
67 | 16358, | ||
68 | -7890, | ||
69 | 14782, | ||
70 | -22099, | ||
71 | 29897, | ||
72 | -19908, | ||
73 | 18100, | ||
74 | 7424, | ||
75 | -22133, | ||
76 | -30733, | ||
77 | -13853, | ||
78 | 30871, | ||
79 | 29523, | ||
80 | -17823, | ||
81 | 30049, | ||
82 | 11787, | ||
83 | -29166, | ||
84 | 6543, | ||
85 | -7003, | ||
86 | -18654, | ||
87 | -20815, | ||
88 | -27738, | ||
89 | -32282, | ||
90 | 18925, | ||
91 | -31603, | ||
92 | 24768, | ||
93 | -9664, | ||
94 | 14558, | ||
95 | 30700, | ||
96 | -22567, | ||
97 | -22089, | ||
98 | -12230, | ||
99 | -30843, | ||
100 | -9331, | ||
101 | -30987, | ||
102 | 19245, | ||
103 | 32717, | ||
104 | -25544, | ||
105 | 8034, | ||
106 | -24080, | ||
107 | -12450, | ||
108 | -23935, | ||
109 | -18133, | ||
110 | -6780, | ||
111 | -23912, | ||
112 | -16970, | ||
113 | 28017, | ||
114 | -7137, | ||
115 | 738, | ||
116 | -26680, | ||
117 | -31346, | ||
118 | -22313, | ||
119 | 22578, | ||
120 | 24848, | ||
121 | -20514, | ||
122 | 32198, | ||
123 | 13895, | ||
124 | 24337, | ||
125 | -1335, | ||
126 | -262, | ||
127 | -13925, | ||
128 | -28775, | ||
129 | -15567, | ||
130 | -20562, | ||
131 | 27334, | ||
132 | -24689, | ||
133 | -31887, | ||
134 | -8540, | ||
135 | 13018, | ||
136 | 25516, | ||
137 | 6145, | ||
138 | -22500, | ||
139 | -12014, | ||
140 | -17473, | ||
141 | -32217, | ||
142 | -6757, | ||
143 | 9821, | ||
144 | -27198, | ||
145 | 17616, | ||
146 | 30782, | ||
147 | 14076, | ||
148 | 18478, | ||
149 | -17199, | ||
150 | -19941, | ||
151 | -15518, | ||
152 | 14010, | ||
153 | 31299, | ||
154 | 8986, | ||
155 | 3009, | ||
156 | 22810, | ||
157 | 19798, | ||
158 | 11030, | ||
159 | 11205, | ||
160 | 21013, | ||
161 | 30832, | ||
162 | -857, | ||
163 | 20805, | ||
164 | 9277, | ||
165 | -12692, | ||
166 | 10546, | ||
167 | -9305, | ||
168 | 28717, | ||
169 | -809, | ||
170 | -26805, | ||
171 | 11392, | ||
172 | 975, | ||
173 | -18247, | ||
174 | 14746, | ||
175 | -28296, | ||
176 | 30416, | ||
177 | -19159, | ||
178 | -22209, | ||
179 | 9058, | ||
180 | -32754, | ||
181 | -10772, | ||
182 | -14740, | ||
183 | -29850, | ||
184 | -26615, | ||
185 | -5899, | ||
186 | 20767, | ||
187 | 24282, | ||
188 | -31290, | ||
189 | 14888, | ||
190 | 22807, | ||
191 | 14981, | ||
192 | 29825, | ||
193 | 10246, | ||
194 | 15879, | ||
195 | -10161, | ||
196 | 25167, | ||
197 | -10012, | ||
198 | -28871, | ||
199 | 14314, | ||
200 | 30029, | ||
201 | -22490, | ||
202 | -5482, | ||
203 | -26606, | ||
204 | -3281, | ||
205 | 24192, | ||
206 | -7103, | ||
207 | -16202, | ||
208 | -9544, | ||
209 | 15923, | ||
210 | 9884, | ||
211 | 28822, | ||
212 | 21810, | ||
213 | -1968, | ||
214 | 8510, | ||
215 | -28955, | ||
216 | 2764, | ||
217 | -2902, | ||
218 | 23795, | ||
219 | 23278, | ||
220 | -1819, | ||
221 | 18803, | ||
222 | 10222, | ||
223 | -32766, | ||
224 | -24168, | ||
225 | -336, | ||
226 | -30256, | ||
227 | -17863, | ||
228 | -11280, | ||
229 | 26179, | ||
230 | -12208, | ||
231 | -16275, | ||
232 | -4392, | ||
233 | 22438, | ||
234 | -20678, | ||
235 | 536, | ||
236 | -3131, | ||
237 | -11431, | ||
238 | -7860, | ||
239 | 25328, | ||
240 | 17121, | ||
241 | 25150, | ||
242 | -2792, | ||
243 | 19608, | ||
244 | -23982, | ||
245 | -28488, | ||
246 | -8183, | ||
247 | -8289, | ||
248 | -1048, | ||
249 | 30766, | ||
250 | -10351, | ||
251 | -16208, | ||
252 | 5563, | ||
253 | 1553, | ||
254 | -22059, | ||
255 | -892, | ||
256 | -259, | ||
257 | 22491, | ||
258 | 20066, | ||
259 | 23447, | ||
260 | 7192, | ||
261 | 4307, | ||
262 | 7333, | ||
263 | -26020, | ||
264 | -22393, | ||
265 | -5660, | ||
266 | 3959, | ||
267 | -15160, | ||
268 | 18628, | ||
269 | -7349, | ||
270 | -30738, | ||
271 | 5603, | ||
272 | 3837, | ||
273 | -19616, | ||
274 | -27039, | ||
275 | 28392, | ||
276 | -15770, | ||
277 | -19388, | ||
278 | -29544, | ||
279 | 6957, | ||
280 | 3037, | ||
281 | -26488, | ||
282 | 8978, | ||
283 | -3739, | ||
284 | -28418, | ||
285 | -8239, | ||
286 | -16443, | ||
287 | 27844, | ||
288 | 8486, | ||
289 | 24792, | ||
290 | 9284, | ||
291 | 19555, | ||
292 | -4259, | ||
293 | 31531, | ||
294 | -26480, | ||
295 | 1801, | ||
296 | 2991, | ||
297 | }; | ||
298 | |||
299 | DATA h[NH] ={ | ||
300 | -556, | ||
301 | -333, | ||
302 | -1122, | ||
303 | 115, | ||
304 | 866, | ||
305 | -915, | ||
306 | -847, | ||
307 | -1114, | ||
308 | 834, | ||
309 | -944, | ||
310 | 991, | ||
311 | 37, | ||
312 | 1194, | ||
313 | -978, | ||
314 | -1165, | ||
315 | -309, | ||
316 | -225, | ||
317 | -255, | ||
318 | -204, | ||
319 | -318, | ||
320 | 1049, | ||
321 | 438, | ||
322 | 1190, | ||
323 | -869, | ||
324 | 640, | ||
325 | -325, | ||
326 | -118, | ||
327 | -1190, | ||
328 | 160, | ||
329 | -330, | ||
330 | 754, | ||
331 | 760, | ||
332 | -302, | ||
333 | -638, | ||
334 | -405, | ||
335 | 1205, | ||
336 | -53, | ||
337 | -340, | ||
338 | 681, | ||
339 | -317, | ||
340 | 1031, | ||
341 | -816, | ||
342 | -340, | ||
343 | 1075, | ||
344 | 41, | ||
345 | -1056, | ||
346 | 606, | ||
347 | -1277, | ||
348 | 265, | ||
349 | 1177, | ||
350 | }; | ||
351 | |||
352 | DATA rtest[NX+NH-1] ={ | ||
353 | 314, | ||
354 | 19, | ||
355 | 1031, | ||
356 | 192, | ||
357 | 541, | ||
358 | 1383, | ||
359 | -671, | ||
360 | 1068, | ||
361 | 469, | ||
362 | 1175, | ||
363 | -1509, | ||
364 | 2991, | ||
365 | 1874, | ||
366 | -1193, | ||
367 | -904, | ||
368 | -716, | ||
369 | 4697, | ||
370 | 2189, | ||
371 | 1328, | ||
372 | 2492, | ||
373 | -1940, | ||
374 | -776, | ||
375 | -4855, | ||
376 | 2599, | ||
377 | -1771, | ||
378 | 94, | ||
379 | -1286, | ||
380 | -1435, | ||
381 | 1387, | ||
382 | 497, | ||
383 | 462, | ||
384 | -2700, | ||
385 | -2128, | ||
386 | -1508, | ||
387 | -656, | ||
388 | 652, | ||
389 | 1549, | ||
390 | -1321, | ||
391 | -86, | ||
392 | -3556, | ||
393 | -1141, | ||
394 | -456, | ||
395 | 1509, | ||
396 | -645, | ||
397 | 4069, | ||
398 | -1701, | ||
399 | -3726, | ||
400 | 718, | ||
401 | 6354, | ||
402 | -1288, | ||
403 | 5034, | ||
404 | -2735, | ||
405 | -517, | ||
406 | 2039, | ||
407 | -2355, | ||
408 | -1831, | ||
409 | 182, | ||
410 | 1848, | ||
411 | 2097, | ||
412 | 533, | ||
413 | -1510, | ||
414 | 7064, | ||
415 | 3730, | ||
416 | 3246, | ||
417 | -1520, | ||
418 | 1854, | ||
419 | -245, | ||
420 | -5191, | ||
421 | 606, | ||
422 | 1194, | ||
423 | -2868, | ||
424 | 2784, | ||
425 | 3767, | ||
426 | 5899, | ||
427 | 2791, | ||
428 | 1591, | ||
429 | 4764, | ||
430 | -2817, | ||
431 | -2273, | ||
432 | -2145, | ||
433 | -1584, | ||
434 | 1964, | ||
435 | 3366, | ||
436 | 1488, | ||
437 | 3019, | ||
438 | -6909, | ||
439 | 2009, | ||
440 | -2190, | ||
441 | -6662, | ||
442 | 7108, | ||
443 | -2538, | ||
444 | 1019, | ||
445 | 3515, | ||
446 | 4519, | ||
447 | 5210, | ||
448 | -4828, | ||
449 | -6348, | ||
450 | -403, | ||
451 | -1820, | ||
452 | -914, | ||
453 | 3300, | ||
454 | -1874, | ||
455 | 6200, | ||
456 | 4019, | ||
457 | 57, | ||
458 | 3948, | ||
459 | -2471, | ||
460 | -1005, | ||
461 | -3773, | ||
462 | -3816, | ||
463 | 2369, | ||
464 | -4127, | ||
465 | 668, | ||
466 | -2734, | ||
467 | 2105, | ||
468 | 1973, | ||
469 | 3422, | ||
470 | -740, | ||
471 | -1861, | ||
472 | -4969, | ||
473 | -5190, | ||
474 | -1020, | ||
475 | -3495, | ||
476 | -1425, | ||
477 | 214, | ||
478 | -315, | ||
479 | 145, | ||
480 | -179, | ||
481 | -1892, | ||
482 | -4315, | ||
483 | -153, | ||
484 | -515, | ||
485 | -1401, | ||
486 | 924, | ||
487 | 403, | ||
488 | -958, | ||
489 | 1078, | ||
490 | 692, | ||
491 | -802, | ||
492 | 3337, | ||
493 | -2838, | ||
494 | -353, | ||
495 | 3454, | ||
496 | 2590, | ||
497 | 1555, | ||
498 | 3847, | ||
499 | -2914, | ||
500 | 2756, | ||
501 | 1119, | ||
502 | -1857, | ||
503 | 2566, | ||
504 | -3012, | ||
505 | -3637, | ||
506 | 331, | ||
507 | -1096, | ||
508 | 4018, | ||
509 | 2006, | ||
510 | 1119, | ||
511 | -824, | ||
512 | -2775, | ||
513 | -1555, | ||
514 | 286, | ||
515 | 763, | ||
516 | 2528, | ||
517 | -6436, | ||
518 | 679, | ||
519 | 1123, | ||
520 | -1064, | ||
521 | 2355, | ||
522 | -1593, | ||
523 | 2797, | ||
524 | 3327, | ||
525 | -6512, | ||
526 | 2063, | ||
527 | -1080, | ||
528 | 1004, | ||
529 | 4050, | ||
530 | -6598, | ||
531 | -6370, | ||
532 | 1968, | ||
533 | -130, | ||
534 | 6644, | ||
535 | -7170, | ||
536 | 441, | ||
537 | 1722, | ||
538 | -1851, | ||
539 | -2020, | ||
540 | -997, | ||
541 | 4327, | ||
542 | 5975, | ||
543 | 1523, | ||
544 | -208, | ||
545 | 925, | ||
546 | -1907, | ||
547 | 110, | ||
548 | -398, | ||
549 | -1634, | ||
550 | -3476, | ||
551 | 1834, | ||
552 | 6095, | ||
553 | -711, | ||
554 | 2089, | ||
555 | 1607, | ||
556 | -1525, | ||
557 | 285, | ||
558 | -5002, | ||
559 | -2037, | ||
560 | -739, | ||
561 | 4476, | ||
562 | -726, | ||
563 | 5139, | ||
564 | -1169, | ||
565 | 3652, | ||
566 | -1158, | ||
567 | -2347, | ||
568 | -3709, | ||
569 | 821, | ||
570 | -4079, | ||
571 | 1478, | ||
572 | 3645, | ||
573 | 3440, | ||
574 | -1562, | ||
575 | -186, | ||
576 | -1148, | ||
577 | 1016, | ||
578 | -8985, | ||
579 | 361, | ||
580 | 856, | ||
581 | 3512, | ||
582 | 3025, | ||
583 | 4055, | ||
584 | -544, | ||
585 | -467, | ||
586 | -3230, | ||
587 | -3126, | ||
588 | -675, | ||
589 | 822, | ||
590 | 4591, | ||
591 | 7562, | ||
592 | -870, | ||
593 | 1868, | ||
594 | -2329, | ||
595 | 5293, | ||
596 | -1010, | ||
597 | -3183, | ||
598 | -1299, | ||
599 | 3314, | ||
600 | -1214, | ||
601 | -569, | ||
602 | 1922, | ||
603 | 1047, | ||
604 | 4226, | ||
605 | -1944, | ||
606 | -6173, | ||
607 | 853, | ||
608 | -2717, | ||
609 | }; | ||
610 | |||
611 | DATA x_np[NX+NH-1] = { | ||
612 | 0, | ||
613 | 0, | ||
614 | 0, | ||
615 | 0, | ||
616 | 0, | ||
617 | 0, | ||
618 | 0, | ||
619 | 0, | ||
620 | 0, | ||
621 | 0, | ||
622 | 0, | ||
623 | 0, | ||
624 | 0, | ||
625 | 0, | ||
626 | 0, | ||
627 | 0, | ||
628 | 0, | ||
629 | 0, | ||
630 | 0, | ||
631 | 0, | ||
632 | 0, | ||
633 | 0, | ||
634 | 0, | ||
635 | 0, | ||
636 | 0, | ||
637 | 0, | ||
638 | 0, | ||
639 | 0, | ||
640 | 0, | ||
641 | 0, | ||
642 | 0, | ||
643 | 0, | ||
644 | 0, | ||
645 | 0, | ||
646 | 0, | ||
647 | 0, | ||
648 | 0, | ||
649 | 0, | ||
650 | 0, | ||
651 | 0, | ||
652 | 0, | ||
653 | 0, | ||
654 | 0, | ||
655 | 0, | ||
656 | 0, | ||
657 | 0, | ||
658 | 0, | ||
659 | 0, | ||
660 | 0, | ||
661 | -18559, | ||
662 | 9947, | ||
663 | -29310, | ||
664 | -17742, | ||
665 | 10972, | ||
666 | -12391, | ||
667 | -12673, | ||
668 | 14462, | ||
669 | 29779, | ||
670 | -24174, | ||
671 | -28294, | ||
672 | -24562, | ||
673 | -21879, | ||
674 | 26962, | ||
675 | -23839, | ||
676 | 7667, | ||
677 | -15141, | ||
678 | -18307, | ||
679 | 13952, | ||
680 | 3211, | ||
681 | 28924, | ||
682 | -11150, | ||
683 | 13401, | ||
684 | 29060, | ||
685 | 5347, | ||
686 | 24913, | ||
687 | 16358, | ||
688 | -7890, | ||
689 | 14782, | ||
690 | -22099, | ||
691 | 29897, | ||
692 | -19908, | ||
693 | 18100, | ||
694 | 7424, | ||
695 | -22133, | ||
696 | -30733, | ||
697 | -13853, | ||
698 | 30871, | ||
699 | 29523, | ||
700 | -17823, | ||
701 | 30049, | ||
702 | 11787, | ||
703 | -29166, | ||
704 | 6543, | ||
705 | -7003, | ||
706 | -18654, | ||
707 | -20815, | ||
708 | -27738, | ||
709 | -32282, | ||
710 | 18925, | ||
711 | -31603, | ||
712 | 24768, | ||
713 | -9664, | ||
714 | 14558, | ||
715 | 30700, | ||
716 | -22567, | ||
717 | -22089, | ||
718 | -12230, | ||
719 | -30843, | ||
720 | -9331, | ||
721 | -30987, | ||
722 | 19245, | ||
723 | 32717, | ||
724 | -25544, | ||
725 | 8034, | ||
726 | -24080, | ||
727 | -12450, | ||
728 | -23935, | ||
729 | -18133, | ||
730 | -6780, | ||
731 | -23912, | ||
732 | -16970, | ||
733 | 28017, | ||
734 | -7137, | ||
735 | 738, | ||
736 | -26680, | ||
737 | -31346, | ||
738 | -22313, | ||
739 | 22578, | ||
740 | 24848, | ||
741 | -20514, | ||
742 | 32198, | ||
743 | 13895, | ||
744 | 24337, | ||
745 | -1335, | ||
746 | -262, | ||
747 | -13925, | ||
748 | -28775, | ||
749 | -15567, | ||
750 | -20562, | ||
751 | 27334, | ||
752 | -24689, | ||
753 | -31887, | ||
754 | -8540, | ||
755 | 13018, | ||
756 | 25516, | ||
757 | 6145, | ||
758 | -22500, | ||
759 | -12014, | ||
760 | -17473, | ||
761 | -32217, | ||
762 | -6757, | ||
763 | 9821, | ||
764 | -27198, | ||
765 | 17616, | ||
766 | 30782, | ||
767 | 14076, | ||
768 | 18478, | ||
769 | -17199, | ||
770 | -19941, | ||
771 | -15518, | ||
772 | 14010, | ||
773 | 31299, | ||
774 | 8986, | ||
775 | 3009, | ||
776 | 22810, | ||
777 | 19798, | ||
778 | 11030, | ||
779 | 11205, | ||
780 | 21013, | ||
781 | 30832, | ||
782 | -857, | ||
783 | 20805, | ||
784 | 9277, | ||
785 | -12692, | ||
786 | 10546, | ||
787 | -9305, | ||
788 | 28717, | ||
789 | -809, | ||
790 | -26805, | ||
791 | 11392, | ||
792 | 975, | ||
793 | -18247, | ||
794 | 14746, | ||
795 | -28296, | ||
796 | 30416, | ||
797 | -19159, | ||
798 | -22209, | ||
799 | 9058, | ||
800 | -32754, | ||
801 | -10772, | ||
802 | -14740, | ||
803 | -29850, | ||
804 | -26615, | ||
805 | -5899, | ||
806 | 20767, | ||
807 | 24282, | ||
808 | -31290, | ||
809 | 14888, | ||
810 | 22807, | ||
811 | 14981, | ||
812 | 29825, | ||
813 | 10246, | ||
814 | 15879, | ||
815 | -10161, | ||
816 | 25167, | ||
817 | -10012, | ||
818 | -28871, | ||
819 | 14314, | ||
820 | 30029, | ||
821 | -22490, | ||
822 | -5482, | ||
823 | -26606, | ||
824 | -3281, | ||
825 | 24192, | ||
826 | -7103, | ||
827 | -16202, | ||
828 | -9544, | ||
829 | 15923, | ||
830 | 9884, | ||
831 | 28822, | ||
832 | 21810, | ||
833 | -1968, | ||
834 | 8510, | ||
835 | -28955, | ||
836 | 2764, | ||
837 | -2902, | ||
838 | 23795, | ||
839 | 23278, | ||
840 | -1819, | ||
841 | 18803, | ||
842 | 10222, | ||
843 | -32766, | ||
844 | -24168, | ||
845 | -336, | ||
846 | -30256, | ||
847 | -17863, | ||
848 | -11280, | ||
849 | 26179, | ||
850 | -12208, | ||
851 | -16275, | ||
852 | -4392, | ||
853 | 22438, | ||
854 | -20678, | ||
855 | 536, | ||
856 | -3131, | ||
857 | -11431, | ||
858 | -7860, | ||
859 | 25328, | ||
860 | 17121, | ||
861 | 25150, | ||
862 | -2792, | ||
863 | 19608, | ||
864 | -23982, | ||
865 | -28488, | ||
866 | -8183, | ||
867 | -8289, | ||
868 | -1048, | ||
869 | 30766, | ||
870 | -10351, | ||
871 | -16208, | ||
872 | 5563, | ||
873 | 1553, | ||
874 | -22059, | ||
875 | -892, | ||
876 | -259, | ||
877 | 22491, | ||
878 | 20066, | ||
879 | 23447, | ||
880 | 7192, | ||
881 | 4307, | ||
882 | 7333, | ||
883 | -26020, | ||
884 | -22393, | ||
885 | -5660, | ||
886 | 3959, | ||
887 | -15160, | ||
888 | 18628, | ||
889 | -7349, | ||
890 | -30738, | ||
891 | 5603, | ||
892 | 3837, | ||
893 | -19616, | ||
894 | -27039, | ||
895 | 28392, | ||
896 | -15770, | ||
897 | -19388, | ||
898 | -29544, | ||
899 | 6957, | ||
900 | 3037, | ||
901 | -26488, | ||
902 | 8978, | ||
903 | -3739, | ||
904 | -28418, | ||
905 | -8239, | ||
906 | -16443, | ||
907 | 27844, | ||
908 | 8486, | ||
909 | 24792, | ||
910 | 9284, | ||
911 | 19555, | ||
912 | -4259, | ||
913 | 31531, | ||
914 | -26480, | ||
915 | 1801, | ||
916 | 2991, | ||
917 | }; | ||
918 | |||
diff --git a/dsplib_benchmarks/convol2/test.h b/dsplib_benchmarks/convol2/test.h new file mode 100644 index 0000000..1e22e61 --- /dev/null +++ b/dsplib_benchmarks/convol2/test.h | |||
@@ -0,0 +1,498 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 32 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 10 // max absolute value | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -6739, | ||
42 | -5661, | ||
43 | 10172, | ||
44 | 22123, | ||
45 | -8415, | ||
46 | -4899, | ||
47 | 6203, | ||
48 | 4308, | ||
49 | 14191, | ||
50 | 741, | ||
51 | 18114, | ||
52 | -699, | ||
53 | -20585, | ||
54 | 13148, | ||
55 | 31634, | ||
56 | 20095, | ||
57 | 13340, | ||
58 | -986, | ||
59 | -25257, | ||
60 | 10803, | ||
61 | -8823, | ||
62 | -23591, | ||
63 | 4376, | ||
64 | 21168, | ||
65 | 11399, | ||
66 | 32731, | ||
67 | 30253, | ||
68 | -28911, | ||
69 | -9155, | ||
70 | 3179, | ||
71 | -15613, | ||
72 | 6379, | ||
73 | -29539, | ||
74 | 4656, | ||
75 | 13163, | ||
76 | 30296, | ||
77 | 16417, | ||
78 | 15728, | ||
79 | -4465, | ||
80 | 8799, | ||
81 | 19859, | ||
82 | -27271, | ||
83 | 29193, | ||
84 | 27259, | ||
85 | 6683, | ||
86 | -16151, | ||
87 | 24474, | ||
88 | 878, | ||
89 | 15246, | ||
90 | -5097, | ||
91 | 30236, | ||
92 | -28046, | ||
93 | 3500, | ||
94 | -13633, | ||
95 | 23459, | ||
96 | -10764, | ||
97 | 11809, | ||
98 | -29266, | ||
99 | -9395, | ||
100 | -112, | ||
101 | -4297, | ||
102 | 4093, | ||
103 | 7642, | ||
104 | -25341, | ||
105 | 26099, | ||
106 | 16682, | ||
107 | 19079, | ||
108 | 20640, | ||
109 | 11141, | ||
110 | -19604, | ||
111 | -14871, | ||
112 | 8272, | ||
113 | 2415, | ||
114 | -28869, | ||
115 | -26938, | ||
116 | -14988, | ||
117 | -5960, | ||
118 | -1702, | ||
119 | 26803, | ||
120 | 6307, | ||
121 | -11210, | ||
122 | -1430, | ||
123 | 6368, | ||
124 | -22188, | ||
125 | 21592, | ||
126 | 29892, | ||
127 | 6261, | ||
128 | -30884, | ||
129 | 20454, | ||
130 | 7216, | ||
131 | 13205, | ||
132 | -26726, | ||
133 | -4923, | ||
134 | -8155, | ||
135 | -21879, | ||
136 | 21833, | ||
137 | 22193, | ||
138 | -3172, | ||
139 | 29923, | ||
140 | -23125, | ||
141 | 24243, | ||
142 | 17657, | ||
143 | -3660, | ||
144 | 7904, | ||
145 | 29601, | ||
146 | 9175, | ||
147 | -16560, | ||
148 | -9654, | ||
149 | -20457, | ||
150 | -614, | ||
151 | -5946, | ||
152 | -2391, | ||
153 | 7270, | ||
154 | -28104, | ||
155 | -12172, | ||
156 | 7103, | ||
157 | -21298, | ||
158 | 7931, | ||
159 | -16649, | ||
160 | 5725, | ||
161 | 396, | ||
162 | -2309, | ||
163 | 2714, | ||
164 | 28988, | ||
165 | -10371, | ||
166 | -6436, | ||
167 | -12604, | ||
168 | -5796, | ||
169 | }; | ||
170 | |||
171 | DATA h[NH] ={ | ||
172 | -1118, | ||
173 | -553, | ||
174 | 15, | ||
175 | 1158, | ||
176 | -1012, | ||
177 | -2025, | ||
178 | -296, | ||
179 | -174, | ||
180 | -2533, | ||
181 | 856, | ||
182 | 1169, | ||
183 | -1140, | ||
184 | -1244, | ||
185 | 1088, | ||
186 | 1481, | ||
187 | 2537, | ||
188 | -140, | ||
189 | 2102, | ||
190 | -256, | ||
191 | 1589, | ||
192 | 1716, | ||
193 | -1742, | ||
194 | -554, | ||
195 | 108, | ||
196 | 1138, | ||
197 | 361, | ||
198 | -205, | ||
199 | -286, | ||
200 | -2152, | ||
201 | -295, | ||
202 | -698, | ||
203 | -1031, | ||
204 | }; | ||
205 | |||
206 | DATA rtest[NX+NH-1] ={ | ||
207 | 229, | ||
208 | 306, | ||
209 | -255, | ||
210 | -1167, | ||
211 | -74, | ||
212 | 1270, | ||
213 | 745, | ||
214 | -1776, | ||
215 | -1375, | ||
216 | 635, | ||
217 | -1576, | ||
218 | -1620, | ||
219 | 2058, | ||
220 | 153, | ||
221 | -4647, | ||
222 | -4452, | ||
223 | 708, | ||
224 | 3250, | ||
225 | -448, | ||
226 | -2550, | ||
227 | 511, | ||
228 | -2305, | ||
229 | 485, | ||
230 | 2966, | ||
231 | -2051, | ||
232 | 1150, | ||
233 | 1673, | ||
234 | 297, | ||
235 | 3814, | ||
236 | 4550, | ||
237 | -1212, | ||
238 | -4938, | ||
239 | 3888, | ||
240 | 1664, | ||
241 | -270, | ||
242 | -1974, | ||
243 | -3495, | ||
244 | -3922, | ||
245 | 1943, | ||
246 | 5204, | ||
247 | 3118, | ||
248 | -3067, | ||
249 | -3789, | ||
250 | -731, | ||
251 | -5444, | ||
252 | -1585, | ||
253 | -670, | ||
254 | -11322, | ||
255 | -453, | ||
256 | 7705, | ||
257 | 1128, | ||
258 | -3251, | ||
259 | 1252, | ||
260 | 3795, | ||
261 | -5835, | ||
262 | 795, | ||
263 | -553, | ||
264 | 6278, | ||
265 | -446, | ||
266 | 7153, | ||
267 | 2595, | ||
268 | 1266, | ||
269 | 2060, | ||
270 | 6381, | ||
271 | -3674, | ||
272 | 146, | ||
273 | -3916, | ||
274 | 1106, | ||
275 | -2456, | ||
276 | 3561, | ||
277 | -4437, | ||
278 | -2881, | ||
279 | -8242, | ||
280 | -1706, | ||
281 | 1355, | ||
282 | -781, | ||
283 | -4256, | ||
284 | -2260, | ||
285 | 178, | ||
286 | 4528, | ||
287 | 2380, | ||
288 | 10589, | ||
289 | 1150, | ||
290 | -1939, | ||
291 | 1367, | ||
292 | 3131, | ||
293 | -1914, | ||
294 | 138, | ||
295 | 712, | ||
296 | -7647, | ||
297 | -8176, | ||
298 | 6438, | ||
299 | -1996, | ||
300 | -6422, | ||
301 | -2344, | ||
302 | 2275, | ||
303 | -4766, | ||
304 | -2394, | ||
305 | 2911, | ||
306 | 6088, | ||
307 | -3897, | ||
308 | 1876, | ||
309 | 2545, | ||
310 | 2593, | ||
311 | 1785, | ||
312 | 2921, | ||
313 | -8343, | ||
314 | -781, | ||
315 | -1424, | ||
316 | -3858, | ||
317 | 1776, | ||
318 | -359, | ||
319 | -1503, | ||
320 | 3227, | ||
321 | 3672, | ||
322 | 7824, | ||
323 | -4031, | ||
324 | 1428, | ||
325 | 5954, | ||
326 | 2871, | ||
327 | 4765, | ||
328 | 3335, | ||
329 | 1736, | ||
330 | -4792, | ||
331 | 2019, | ||
332 | -1447, | ||
333 | -3388, | ||
334 | -2749, | ||
335 | }; | ||
336 | |||
337 | DATA x_np[NX+NH-1] = { | ||
338 | 0, | ||
339 | 0, | ||
340 | 0, | ||
341 | 0, | ||
342 | 0, | ||
343 | 0, | ||
344 | 0, | ||
345 | 0, | ||
346 | 0, | ||
347 | 0, | ||
348 | 0, | ||
349 | 0, | ||
350 | 0, | ||
351 | 0, | ||
352 | 0, | ||
353 | 0, | ||
354 | 0, | ||
355 | 0, | ||
356 | 0, | ||
357 | 0, | ||
358 | 0, | ||
359 | 0, | ||
360 | 0, | ||
361 | 0, | ||
362 | 0, | ||
363 | 0, | ||
364 | 0, | ||
365 | 0, | ||
366 | 0, | ||
367 | 0, | ||
368 | 0, | ||
369 | -6739, | ||
370 | -5661, | ||
371 | 10172, | ||
372 | 22123, | ||
373 | -8415, | ||
374 | -4899, | ||
375 | 6203, | ||
376 | 4308, | ||
377 | 14191, | ||
378 | 741, | ||
379 | 18114, | ||
380 | -699, | ||
381 | -20585, | ||
382 | 13148, | ||
383 | 31634, | ||
384 | 20095, | ||
385 | 13340, | ||
386 | -986, | ||
387 | -25257, | ||
388 | 10803, | ||
389 | -8823, | ||
390 | -23591, | ||
391 | 4376, | ||
392 | 21168, | ||
393 | 11399, | ||
394 | 32731, | ||
395 | 30253, | ||
396 | -28911, | ||
397 | -9155, | ||
398 | 3179, | ||
399 | -15613, | ||
400 | 6379, | ||
401 | -29539, | ||
402 | 4656, | ||
403 | 13163, | ||
404 | 30296, | ||
405 | 16417, | ||
406 | 15728, | ||
407 | -4465, | ||
408 | 8799, | ||
409 | 19859, | ||
410 | -27271, | ||
411 | 29193, | ||
412 | 27259, | ||
413 | 6683, | ||
414 | -16151, | ||
415 | 24474, | ||
416 | 878, | ||
417 | 15246, | ||
418 | -5097, | ||
419 | 30236, | ||
420 | -28046, | ||
421 | 3500, | ||
422 | -13633, | ||
423 | 23459, | ||
424 | -10764, | ||
425 | 11809, | ||
426 | -29266, | ||
427 | -9395, | ||
428 | -112, | ||
429 | -4297, | ||
430 | 4093, | ||
431 | 7642, | ||
432 | -25341, | ||
433 | 26099, | ||
434 | 16682, | ||
435 | 19079, | ||
436 | 20640, | ||
437 | 11141, | ||
438 | -19604, | ||
439 | -14871, | ||
440 | 8272, | ||
441 | 2415, | ||
442 | -28869, | ||
443 | -26938, | ||
444 | -14988, | ||
445 | -5960, | ||
446 | -1702, | ||
447 | 26803, | ||
448 | 6307, | ||
449 | -11210, | ||
450 | -1430, | ||
451 | 6368, | ||
452 | -22188, | ||
453 | 21592, | ||
454 | 29892, | ||
455 | 6261, | ||
456 | -30884, | ||
457 | 20454, | ||
458 | 7216, | ||
459 | 13205, | ||
460 | -26726, | ||
461 | -4923, | ||
462 | -8155, | ||
463 | -21879, | ||
464 | 21833, | ||
465 | 22193, | ||
466 | -3172, | ||
467 | 29923, | ||
468 | -23125, | ||
469 | 24243, | ||
470 | 17657, | ||
471 | -3660, | ||
472 | 7904, | ||
473 | 29601, | ||
474 | 9175, | ||
475 | -16560, | ||
476 | -9654, | ||
477 | -20457, | ||
478 | -614, | ||
479 | -5946, | ||
480 | -2391, | ||
481 | 7270, | ||
482 | -28104, | ||
483 | -12172, | ||
484 | 7103, | ||
485 | -21298, | ||
486 | 7931, | ||
487 | -16649, | ||
488 | 5725, | ||
489 | 396, | ||
490 | -2309, | ||
491 | 2714, | ||
492 | 28988, | ||
493 | -10371, | ||
494 | -6436, | ||
495 | -12604, | ||
496 | -5796, | ||
497 | }; | ||
498 | |||
diff --git a/dsplib_benchmarks/correlation/ARAW_T.C b/dsplib_benchmarks/correlation/ARAW_T.C new file mode 100644 index 0000000..e675205 --- /dev/null +++ b/dsplib_benchmarks/correlation/ARAW_T.C | |||
@@ -0,0 +1,141 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //============================================================================= | ||
36 | // Filename: araw_t.c | ||
37 | // Version: 2.00 | ||
38 | // Description: test for real auto-correlation (raw) | ||
39 | //============================================================================= | ||
40 | |||
41 | #include <stdlib.h> | ||
42 | #include <math.h> | ||
43 | #include <tms320.h> | ||
44 | #include <stdio.h> | ||
45 | #include <dsplib.h> | ||
46 | #include <dsplib_c.h> | ||
47 | |||
48 | //#include "t1.h" | ||
49 | //#include "t2.h" // 64, 64 | ||
50 | //#include "t3.h" // 128,128 | ||
51 | //#include "t4.h" // 16,1 | ||
52 | //#include "t5.h" | ||
53 | //#include "t6.h" | ||
54 | //#include "t7.h" | ||
55 | //#include "t8.h" // 16,15 | ||
56 | //#include "t9.h" // 5,5 | ||
57 | //#include "test.h" // default | ||
58 | #include "t3_ran.h" | ||
59 | #include <time.h> | ||
60 | |||
61 | #define NUMBER_OF_ITERATIONS 1000000l | ||
62 | |||
63 | |||
64 | |||
65 | |||
66 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
67 | |||
68 | short eflag=PASS; // error flag (-1: no error; else error) | ||
69 | |||
70 | DATA r[NLAGS]; | ||
71 | |||
72 | //array for C model | ||
73 | DATA CMODELERROR=0; | ||
74 | DATA rc[NLAGS]; | ||
75 | |||
76 | void clear_ran(short x[], int N) | ||
77 | { | ||
78 | int i ; | ||
79 | for (i=0; i<N; i++) | ||
80 | { | ||
81 | x[i] = 0 ; | ||
82 | } | ||
83 | return ; | ||
84 | } | ||
85 | |||
86 | |||
87 | void main() | ||
88 | { | ||
89 | short i; | ||
90 | int nx ; | ||
91 | long iterations1 ; | ||
92 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
93 | |||
94 | |||
95 | //clear | ||
96 | // for (i = 0; i < NX; i++) r[i] = 0; | ||
97 | clear_ran(r,NLAGS) ; | ||
98 | t1 = clock() ; | ||
99 | t2 = clock() ; | ||
100 | diff = t2 - t1 ; /// overhead of calling | ||
101 | nx = 80 ; | ||
102 | t1 = clock() ; | ||
103 | |||
104 | //clear | ||
105 | // for (i = 0; i < NLAGS; i++) r[i] = 0; | ||
106 | |||
107 | // compute | ||
108 | (void)acorr(x, r, 80, 80, raw); | ||
109 | |||
110 | |||
111 | t2 = clock() ; | ||
112 | |||
113 | total1_t = (double) (t2 - t1-diff) ; | ||
114 | printf("80 tap, %d values Auto-Correlation Real 16-bit \n" , nx) ; | ||
115 | printf(" time (in cycles) %ld \n", total1_t) ; | ||
116 | |||
117 | acorr_c(x, rc, 80, 80, raw); | ||
118 | |||
119 | // test | ||
120 | eflag = test(r, rc, nx, MAXERROR); | ||
121 | |||
122 | if(eflag != PASS) | ||
123 | { | ||
124 | exit(-1); | ||
125 | } | ||
126 | |||
127 | |||
128 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
129 | |||
130 | { | ||
131 | |||
132 | (void)acorr(x, r, 80, NLAGS, raw); | ||
133 | |||
134 | } | ||
135 | |||
136 | |||
137 | printf("Done with %ld iteration \n",iterations1 ); | ||
138 | |||
139 | |||
140 | return; | ||
141 | } | ||
diff --git a/dsplib_benchmarks/correlation/TEST.C b/dsplib_benchmarks/correlation/TEST.C new file mode 100644 index 0000000..d946f23 --- /dev/null +++ b/dsplib_benchmarks/correlation/TEST.C | |||
@@ -0,0 +1,68 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | printf(" result %d reference %d i %d \n", r[i], rtest[i], i) ; | ||
61 | break; | ||
62 | } | ||
63 | else | ||
64 | if (elevel>emax) emax = elevel; | ||
65 | } | ||
66 | // Pass to Host: eflag and emax | ||
67 | return(eflag); | ||
68 | } | ||
diff --git a/dsplib_benchmarks/correlation/araw_c.c b/dsplib_benchmarks/correlation/araw_c.c new file mode 100644 index 0000000..e9f61bd --- /dev/null +++ b/dsplib_benchmarks/correlation/araw_c.c | |||
@@ -0,0 +1,186 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //;*********************************************************** | ||
36 | //; Version 3.00.00 | ||
37 | //;*********************************************************** | ||
38 | //; Function: acorr_raw | ||
39 | //; Processor: C55xx | ||
40 | //; Description: calculates positive raw auto-correlation | ||
41 | //; | ||
42 | //; Usage: short acorr_raw(DATA *x, DATA *r, ushort nx, ushort nr) | ||
43 | //; | ||
44 | //; 05/31/2012: Fixed for odd values of nr | ||
45 | //;**************************************************************** | ||
46 | |||
47 | |||
48 | #include <tms320.h> | ||
49 | |||
50 | #define BIAS 0 | ||
51 | |||
52 | void | ||
53 | #if BIAS | ||
54 | acorr_c_bias | ||
55 | #else | ||
56 | acorr_c_raw | ||
57 | #endif | ||
58 | (DATA *x, DATA *r, ushort nx, ushort nr) | ||
59 | { | ||
60 | |||
61 | DATA *x_ptr,*xb_ptr,*r_ptr,*x2_save,*x_save,*cdp; | ||
62 | |||
63 | short counter,loop_count,i,j,csr; | ||
64 | #if BIAS | ||
65 | short n_inverse, t2, t3; | ||
66 | long nxs; | ||
67 | #endif | ||
68 | long ac0,ac3,ac1,ac2; | ||
69 | DATA rSUBnr; | ||
70 | short loop_count2; | ||
71 | short mac2flag; // do 2 macs at the end | ||
72 | short mac1flag; // do 1 mac at the end (note: this can only be true if if mac2flag is set) | ||
73 | short restoreFlag; // restore original r[nr] at end | ||
74 | |||
75 | //initialize some of the variables | ||
76 | //loop_count = MIN(((nr+1)>>1, ((nx-1)>>1) - 1; // number of passes thru RPTBLOCAL block minus 1 | ||
77 | loop_count = (nr+1)>>1; | ||
78 | loop_count2 = ((nx-1)>>1); | ||
79 | if (loop_count > loop_count2) | ||
80 | loop_count = loop_count2; | ||
81 | loop_count--; | ||
82 | mac2flag = (((nx & 1) == 0) && ((nx - nr) <= 1)); // do 2 macs at the end | ||
83 | mac1flag = (nx == nr); // do 1 mac at the end | ||
84 | restoreFlag = (nr & 1) && (!(mac2flag | mac1flag)); // restore original r[nr] at end | ||
85 | if (restoreFlag) { | ||
86 | rSUBnr = r[nr]; // save original value if it needs to be restored | ||
87 | } | ||
88 | |||
89 | x_save=x; | ||
90 | x2_save=x; | ||
91 | r_ptr=r; | ||
92 | |||
93 | #if BIAS | ||
94 | //prepare for scaling | ||
95 | ac0=32767; | ||
96 | nxs=((long)(nx))<<15; | ||
97 | for(i=0;i<16;i++){ | ||
98 | if(ac0<nxs) | ||
99 | ac0<<=1; | ||
100 | else | ||
101 | ac0=((ac0-nxs)<<1)+1; | ||
102 | } | ||
103 | n_inverse=(short)(ac0+1); | ||
104 | #endif | ||
105 | |||
106 | //generic pointer and loop setup | ||
107 | cdp=x_save; | ||
108 | x_ptr=x2_save; | ||
109 | xb_ptr=x_ptr+1; | ||
110 | counter=nx-3; | ||
111 | csr = counter; | ||
112 | for(i=0;i<=loop_count;i++) { | ||
113 | ac1 = (long)(*x_ptr) * (*cdp); | ||
114 | x_ptr++; | ||
115 | ac0 = ac1<<1; | ||
116 | ac2 = (long)(*xb_ptr) * (*cdp); | ||
117 | xb_ptr++;cdp++; | ||
118 | ac3=ac2<<1; | ||
119 | for(j=0;j<=csr;j++){ | ||
120 | ac1 = (long)(*x_ptr) * (*cdp); | ||
121 | x_ptr++; | ||
122 | ac0 += ac1<<1; | ||
123 | ac2 = (long)(*xb_ptr) * (*cdp); | ||
124 | xb_ptr++;cdp++; | ||
125 | ac3 += ac2<<1; | ||
126 | } | ||
127 | csr-=2; | ||
128 | ac1 = (long)(*x_ptr) * (*cdp); | ||
129 | ac0 += ac1<<1; | ||
130 | #if BIAS | ||
131 | t2=(short)(ac3>>16); | ||
132 | ac3 = (long)(n_inverse)*t2; | ||
133 | ac3<<=1; | ||
134 | #endif | ||
135 | ac3 += (long)0x8000; | ||
136 | ac3>>=16; | ||
137 | #if BIAS | ||
138 | t3=(short)(ac0>>16); | ||
139 | ac0 = (long)(n_inverse)*t3; | ||
140 | ac0<<=1; | ||
141 | #endif | ||
142 | ac0 += (long)0x8000; | ||
143 | ac0>>=16; | ||
144 | x2_save+=2; | ||
145 | *r_ptr++ = (short)ac0; | ||
146 | cdp=x_save; | ||
147 | *r_ptr++ = (short)ac3; | ||
148 | x_ptr=x2_save; | ||
149 | xb_ptr=x_ptr+1; | ||
150 | } | ||
151 | |||
152 | if (mac2flag) { | ||
153 | ac1 = (long)(*x_ptr) * (*cdp); | ||
154 | x_ptr++;cdp++; | ||
155 | ac0 = ac1<<1; | ||
156 | ac1 = (long)(*x_ptr) * (*cdp); | ||
157 | cdp--; | ||
158 | ac0 += ac1<<1; | ||
159 | #if BIAS | ||
160 | t3=(short)(ac0>>16); | ||
161 | ac0 = (long)(n_inverse) * t3; | ||
162 | ac0<<=1; | ||
163 | #endif | ||
164 | ac0 += (long)0x8000; | ||
165 | ac0>>=16; | ||
166 | *r_ptr++=(short)ac0; | ||
167 | } | ||
168 | |||
169 | if(mac1flag){ | ||
170 | ac1 = (long)(*x_ptr) * (*cdp); | ||
171 | ac0=ac1<<1; | ||
172 | #if BIAS | ||
173 | t3=(short)(ac0>>16); | ||
174 | ac0 = (long)(n_inverse) * t3; | ||
175 | ac0<<=1; | ||
176 | #endif | ||
177 | ac0 += (long)0x8000; | ||
178 | ac0>>=16; | ||
179 | *r_ptr++=(short)ac0; | ||
180 | } | ||
181 | if(restoreFlag) { | ||
182 | r[nr] = rSUBnr; /* restore the overwritten value */ | ||
183 | } | ||
184 | //finish | ||
185 | return; | ||
186 | } | ||
diff --git a/dsplib_benchmarks/correlation/correlation.cmd b/dsplib_benchmarks/correlation/correlation.cmd new file mode 100644 index 0000000..94bf6e6 --- /dev/null +++ b/dsplib_benchmarks/correlation/correlation.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } \ No newline at end of file | ||
diff --git a/dsplib_benchmarks/correlation/t1.h b/dsplib_benchmarks/correlation/t1.h new file mode 100644 index 0000000..f2513a1 --- /dev/null +++ b/dsplib_benchmarks/correlation/t1.h | |||
@@ -0,0 +1,61 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 8 | ||
36 | #define NLAGS 8 // max NLAGS = N | ||
37 | #define FNAME "t1" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -10433, | ||
42 | -9770, | ||
43 | 3262, | ||
44 | -7163, | ||
45 | 7967, | ||
46 | -7556, | ||
47 | -7628, | ||
48 | 11453, | ||
49 | }; | ||
50 | |||
51 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
52 | 17583, | ||
53 | -3062, | ||
54 | -954, | ||
55 | 3605, | ||
56 | -3547, | ||
57 | 5820, | ||
58 | -986, | ||
59 | -3646, | ||
60 | }; | ||
61 | |||
diff --git a/dsplib_benchmarks/correlation/t2.h b/dsplib_benchmarks/correlation/t2.h new file mode 100644 index 0000000..a3009e8 --- /dev/null +++ b/dsplib_benchmarks/correlation/t2.h | |||
@@ -0,0 +1,173 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 64 | ||
36 | #define NLAGS 64 // max NLAGS = N | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -494, | ||
42 | -1311, | ||
43 | -1522, | ||
44 | -1106, | ||
45 | -875, | ||
46 | 749, | ||
47 | -3116, | ||
48 | -3784, | ||
49 | -340, | ||
50 | 3029, | ||
51 | 3557, | ||
52 | -1930, | ||
53 | -2783, | ||
54 | 3054, | ||
55 | -2148, | ||
56 | 1194, | ||
57 | 3824, | ||
58 | 1351, | ||
59 | 3034, | ||
60 | -4015, | ||
61 | -2974, | ||
62 | 2611, | ||
63 | -573, | ||
64 | 3197, | ||
65 | 1924, | ||
66 | 1534, | ||
67 | -1261, | ||
68 | -2736, | ||
69 | -2822, | ||
70 | -2531, | ||
71 | -636, | ||
72 | 2916, | ||
73 | -80, | ||
74 | 2588, | ||
75 | -322, | ||
76 | -350, | ||
77 | -404, | ||
78 | -720, | ||
79 | 3289, | ||
80 | -4051, | ||
81 | -1660, | ||
82 | -3694, | ||
83 | 1582, | ||
84 | 1229, | ||
85 | 3956, | ||
86 | 431, | ||
87 | -819, | ||
88 | -2468, | ||
89 | 1025, | ||
90 | 1911, | ||
91 | -1017, | ||
92 | -4016, | ||
93 | -657, | ||
94 | 2078, | ||
95 | 2407, | ||
96 | 3440, | ||
97 | 2823, | ||
98 | -1084, | ||
99 | 989, | ||
100 | 1894, | ||
101 | -2508, | ||
102 | 3316, | ||
103 | 566, | ||
104 | 1079, | ||
105 | }; | ||
106 | |||
107 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
108 | 10394, | ||
109 | 1450, | ||
110 | -670, | ||
111 | -2423, | ||
112 | -2357, | ||
113 | 500, | ||
114 | 399, | ||
115 | 815, | ||
116 | 1164, | ||
117 | -1014, | ||
118 | -133, | ||
119 | 188, | ||
120 | 631, | ||
121 | 838, | ||
122 | -1121, | ||
123 | -180, | ||
124 | -1646, | ||
125 | -378, | ||
126 | -855, | ||
127 | -554, | ||
128 | 459, | ||
129 | 1402, | ||
130 | 441, | ||
131 | 569, | ||
132 | -831, | ||
133 | 76, | ||
134 | -895, | ||
135 | -399, | ||
136 | 789, | ||
137 | -508, | ||
138 | -573, | ||
139 | 13, | ||
140 | 596, | ||
141 | 724, | ||
142 | -56, | ||
143 | -71, | ||
144 | -716, | ||
145 | -348, | ||
146 | 813, | ||
147 | 961, | ||
148 | 1566, | ||
149 | -576, | ||
150 | -1697, | ||
151 | 256, | ||
152 | 306, | ||
153 | 1377, | ||
154 | 909, | ||
155 | -857, | ||
156 | -80, | ||
157 | -276, | ||
158 | -243, | ||
159 | -146, | ||
160 | -384, | ||
161 | -86, | ||
162 | -302, | ||
163 | -648, | ||
164 | -145, | ||
165 | -205, | ||
166 | -76, | ||
167 | -130, | ||
168 | -158, | ||
169 | -123, | ||
170 | -52, | ||
171 | -16, | ||
172 | }; | ||
173 | |||
diff --git a/dsplib_benchmarks/correlation/t3.h b/dsplib_benchmarks/correlation/t3.h new file mode 100644 index 0000000..b20b251 --- /dev/null +++ b/dsplib_benchmarks/correlation/t3.h | |||
@@ -0,0 +1,301 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NLAGS 128 // max NLAGS = N | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -1539, | ||
42 | 282, | ||
43 | 2499, | ||
44 | -955, | ||
45 | 900, | ||
46 | -627, | ||
47 | 737, | ||
48 | 1153, | ||
49 | -596, | ||
50 | -501, | ||
51 | 899, | ||
52 | 1955, | ||
53 | -744, | ||
54 | -433, | ||
55 | 548, | ||
56 | 380, | ||
57 | 1254, | ||
58 | 65, | ||
59 | 1601, | ||
60 | -62, | ||
61 | -1820, | ||
62 | 1162, | ||
63 | 2796, | ||
64 | 1776, | ||
65 | 1179, | ||
66 | -88, | ||
67 | -2233, | ||
68 | 954, | ||
69 | -780, | ||
70 | -2086, | ||
71 | 386, | ||
72 | 1871, | ||
73 | 1007, | ||
74 | 2893, | ||
75 | 2674, | ||
76 | -2556, | ||
77 | -810, | ||
78 | 281, | ||
79 | -1380, | ||
80 | 563, | ||
81 | -2611, | ||
82 | 411, | ||
83 | 1163, | ||
84 | 2677, | ||
85 | 1451, | ||
86 | 1390, | ||
87 | -395, | ||
88 | 777, | ||
89 | 1755, | ||
90 | -2411, | ||
91 | 2580, | ||
92 | 2409, | ||
93 | 590, | ||
94 | -1428, | ||
95 | 2163, | ||
96 | 77, | ||
97 | 1347, | ||
98 | -451, | ||
99 | 2672, | ||
100 | -2479, | ||
101 | 309, | ||
102 | -1205, | ||
103 | 2073, | ||
104 | -952, | ||
105 | 1043, | ||
106 | -2587, | ||
107 | -831, | ||
108 | -10, | ||
109 | -380, | ||
110 | 361, | ||
111 | 675, | ||
112 | -2240, | ||
113 | 2306, | ||
114 | 1474, | ||
115 | 1686, | ||
116 | 1824, | ||
117 | 984, | ||
118 | -1733, | ||
119 | -1315, | ||
120 | 731, | ||
121 | 213, | ||
122 | -2552, | ||
123 | -2381, | ||
124 | -1325, | ||
125 | -527, | ||
126 | -151, | ||
127 | 2369, | ||
128 | 557, | ||
129 | -991, | ||
130 | -127, | ||
131 | 562, | ||
132 | -1962, | ||
133 | 1908, | ||
134 | 2642, | ||
135 | 553, | ||
136 | -2730, | ||
137 | 1807, | ||
138 | 637, | ||
139 | 1167, | ||
140 | -2363, | ||
141 | -436, | ||
142 | -721, | ||
143 | -1934, | ||
144 | 1929, | ||
145 | 1961, | ||
146 | -281, | ||
147 | 2644, | ||
148 | -2044, | ||
149 | 2142, | ||
150 | 1560, | ||
151 | -324, | ||
152 | 698, | ||
153 | 2616, | ||
154 | 811, | ||
155 | -1464, | ||
156 | -854, | ||
157 | -1809, | ||
158 | -55, | ||
159 | -526, | ||
160 | -212, | ||
161 | 642, | ||
162 | -2485, | ||
163 | -1076, | ||
164 | 627, | ||
165 | -1883, | ||
166 | 701, | ||
167 | -1472, | ||
168 | 506, | ||
169 | }; | ||
170 | |||
171 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
172 | 9141, | ||
173 | 11, | ||
174 | 46, | ||
175 | -147, | ||
176 | 237, | ||
177 | -1017, | ||
178 | 913, | ||
179 | -606, | ||
180 | 13, | ||
181 | -1109, | ||
182 | 474, | ||
183 | 499, | ||
184 | 1183, | ||
185 | -1005, | ||
186 | 606, | ||
187 | -1231, | ||
188 | 35, | ||
189 | 1032, | ||
190 | -72, | ||
191 | 803, | ||
192 | 975, | ||
193 | 161, | ||
194 | -144, | ||
195 | 81, | ||
196 | 297, | ||
197 | -19, | ||
198 | -197, | ||
199 | -867, | ||
200 | -235, | ||
201 | 470, | ||
202 | 379, | ||
203 | 57, | ||
204 | 372, | ||
205 | -142, | ||
206 | -32, | ||
207 | -157, | ||
208 | 1302, | ||
209 | -452, | ||
210 | -523, | ||
211 | 496, | ||
212 | 775, | ||
213 | 195, | ||
214 | 1498, | ||
215 | -163, | ||
216 | -444, | ||
217 | -220, | ||
218 | 496, | ||
219 | -1062, | ||
220 | 44, | ||
221 | -487, | ||
222 | 250, | ||
223 | 18, | ||
224 | 209, | ||
225 | 932, | ||
226 | 52, | ||
227 | 307, | ||
228 | 578, | ||
229 | -598, | ||
230 | 37, | ||
231 | 68, | ||
232 | -260, | ||
233 | 642, | ||
234 | 717, | ||
235 | 121, | ||
236 | -415, | ||
237 | 700, | ||
238 | -730, | ||
239 | -203, | ||
240 | -794, | ||
241 | 373, | ||
242 | 108, | ||
243 | -151, | ||
244 | -60, | ||
245 | -315, | ||
246 | -397, | ||
247 | 530, | ||
248 | -104, | ||
249 | -593, | ||
250 | 1, | ||
251 | 163, | ||
252 | -440, | ||
253 | 383, | ||
254 | 490, | ||
255 | -490, | ||
256 | -278, | ||
257 | -12, | ||
258 | 548, | ||
259 | 256, | ||
260 | 58, | ||
261 | -77, | ||
262 | 490, | ||
263 | 6, | ||
264 | -148, | ||
265 | -465, | ||
266 | 53, | ||
267 | 341, | ||
268 | 164, | ||
269 | -121, | ||
270 | -50, | ||
271 | -164, | ||
272 | -508, | ||
273 | 227, | ||
274 | 530, | ||
275 | -557, | ||
276 | 90, | ||
277 | -248, | ||
278 | -9, | ||
279 | 161, | ||
280 | -268, | ||
281 | 18, | ||
282 | -50, | ||
283 | -28, | ||
284 | -222, | ||
285 | -58, | ||
286 | -132, | ||
287 | -139, | ||
288 | 127, | ||
289 | -113, | ||
290 | 104, | ||
291 | -135, | ||
292 | -232, | ||
293 | 269, | ||
294 | -158, | ||
295 | 65, | ||
296 | -33, | ||
297 | -7, | ||
298 | 73, | ||
299 | -24, | ||
300 | }; | ||
301 | |||
diff --git a/dsplib_benchmarks/correlation/t3_ran.h b/dsplib_benchmarks/correlation/t3_ran.h new file mode 100644 index 0000000..b20b251 --- /dev/null +++ b/dsplib_benchmarks/correlation/t3_ran.h | |||
@@ -0,0 +1,301 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NLAGS 128 // max NLAGS = N | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -1539, | ||
42 | 282, | ||
43 | 2499, | ||
44 | -955, | ||
45 | 900, | ||
46 | -627, | ||
47 | 737, | ||
48 | 1153, | ||
49 | -596, | ||
50 | -501, | ||
51 | 899, | ||
52 | 1955, | ||
53 | -744, | ||
54 | -433, | ||
55 | 548, | ||
56 | 380, | ||
57 | 1254, | ||
58 | 65, | ||
59 | 1601, | ||
60 | -62, | ||
61 | -1820, | ||
62 | 1162, | ||
63 | 2796, | ||
64 | 1776, | ||
65 | 1179, | ||
66 | -88, | ||
67 | -2233, | ||
68 | 954, | ||
69 | -780, | ||
70 | -2086, | ||
71 | 386, | ||
72 | 1871, | ||
73 | 1007, | ||
74 | 2893, | ||
75 | 2674, | ||
76 | -2556, | ||
77 | -810, | ||
78 | 281, | ||
79 | -1380, | ||
80 | 563, | ||
81 | -2611, | ||
82 | 411, | ||
83 | 1163, | ||
84 | 2677, | ||
85 | 1451, | ||
86 | 1390, | ||
87 | -395, | ||
88 | 777, | ||
89 | 1755, | ||
90 | -2411, | ||
91 | 2580, | ||
92 | 2409, | ||
93 | 590, | ||
94 | -1428, | ||
95 | 2163, | ||
96 | 77, | ||
97 | 1347, | ||
98 | -451, | ||
99 | 2672, | ||
100 | -2479, | ||
101 | 309, | ||
102 | -1205, | ||
103 | 2073, | ||
104 | -952, | ||
105 | 1043, | ||
106 | -2587, | ||
107 | -831, | ||
108 | -10, | ||
109 | -380, | ||
110 | 361, | ||
111 | 675, | ||
112 | -2240, | ||
113 | 2306, | ||
114 | 1474, | ||
115 | 1686, | ||
116 | 1824, | ||
117 | 984, | ||
118 | -1733, | ||
119 | -1315, | ||
120 | 731, | ||
121 | 213, | ||
122 | -2552, | ||
123 | -2381, | ||
124 | -1325, | ||
125 | -527, | ||
126 | -151, | ||
127 | 2369, | ||
128 | 557, | ||
129 | -991, | ||
130 | -127, | ||
131 | 562, | ||
132 | -1962, | ||
133 | 1908, | ||
134 | 2642, | ||
135 | 553, | ||
136 | -2730, | ||
137 | 1807, | ||
138 | 637, | ||
139 | 1167, | ||
140 | -2363, | ||
141 | -436, | ||
142 | -721, | ||
143 | -1934, | ||
144 | 1929, | ||
145 | 1961, | ||
146 | -281, | ||
147 | 2644, | ||
148 | -2044, | ||
149 | 2142, | ||
150 | 1560, | ||
151 | -324, | ||
152 | 698, | ||
153 | 2616, | ||
154 | 811, | ||
155 | -1464, | ||
156 | -854, | ||
157 | -1809, | ||
158 | -55, | ||
159 | -526, | ||
160 | -212, | ||
161 | 642, | ||
162 | -2485, | ||
163 | -1076, | ||
164 | 627, | ||
165 | -1883, | ||
166 | 701, | ||
167 | -1472, | ||
168 | 506, | ||
169 | }; | ||
170 | |||
171 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
172 | 9141, | ||
173 | 11, | ||
174 | 46, | ||
175 | -147, | ||
176 | 237, | ||
177 | -1017, | ||
178 | 913, | ||
179 | -606, | ||
180 | 13, | ||
181 | -1109, | ||
182 | 474, | ||
183 | 499, | ||
184 | 1183, | ||
185 | -1005, | ||
186 | 606, | ||
187 | -1231, | ||
188 | 35, | ||
189 | 1032, | ||
190 | -72, | ||
191 | 803, | ||
192 | 975, | ||
193 | 161, | ||
194 | -144, | ||
195 | 81, | ||
196 | 297, | ||
197 | -19, | ||
198 | -197, | ||
199 | -867, | ||
200 | -235, | ||
201 | 470, | ||
202 | 379, | ||
203 | 57, | ||
204 | 372, | ||
205 | -142, | ||
206 | -32, | ||
207 | -157, | ||
208 | 1302, | ||
209 | -452, | ||
210 | -523, | ||
211 | 496, | ||
212 | 775, | ||
213 | 195, | ||
214 | 1498, | ||
215 | -163, | ||
216 | -444, | ||
217 | -220, | ||
218 | 496, | ||
219 | -1062, | ||
220 | 44, | ||
221 | -487, | ||
222 | 250, | ||
223 | 18, | ||
224 | 209, | ||
225 | 932, | ||
226 | 52, | ||
227 | 307, | ||
228 | 578, | ||
229 | -598, | ||
230 | 37, | ||
231 | 68, | ||
232 | -260, | ||
233 | 642, | ||
234 | 717, | ||
235 | 121, | ||
236 | -415, | ||
237 | 700, | ||
238 | -730, | ||
239 | -203, | ||
240 | -794, | ||
241 | 373, | ||
242 | 108, | ||
243 | -151, | ||
244 | -60, | ||
245 | -315, | ||
246 | -397, | ||
247 | 530, | ||
248 | -104, | ||
249 | -593, | ||
250 | 1, | ||
251 | 163, | ||
252 | -440, | ||
253 | 383, | ||
254 | 490, | ||
255 | -490, | ||
256 | -278, | ||
257 | -12, | ||
258 | 548, | ||
259 | 256, | ||
260 | 58, | ||
261 | -77, | ||
262 | 490, | ||
263 | 6, | ||
264 | -148, | ||
265 | -465, | ||
266 | 53, | ||
267 | 341, | ||
268 | 164, | ||
269 | -121, | ||
270 | -50, | ||
271 | -164, | ||
272 | -508, | ||
273 | 227, | ||
274 | 530, | ||
275 | -557, | ||
276 | 90, | ||
277 | -248, | ||
278 | -9, | ||
279 | 161, | ||
280 | -268, | ||
281 | 18, | ||
282 | -50, | ||
283 | -28, | ||
284 | -222, | ||
285 | -58, | ||
286 | -132, | ||
287 | -139, | ||
288 | 127, | ||
289 | -113, | ||
290 | 104, | ||
291 | -135, | ||
292 | -232, | ||
293 | 269, | ||
294 | -158, | ||
295 | 65, | ||
296 | -33, | ||
297 | -7, | ||
298 | 73, | ||
299 | -24, | ||
300 | }; | ||
301 | |||
diff --git a/dsplib_benchmarks/correlation/t4.h b/dsplib_benchmarks/correlation/t4.h new file mode 100644 index 0000000..5b834cc --- /dev/null +++ b/dsplib_benchmarks/correlation/t4.h | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 16 | ||
36 | #define NLAGS 1 // max NLAGS = N | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 99, | ||
42 | -578, | ||
43 | 678, | ||
44 | 7247, | ||
45 | -2593, | ||
46 | -1609, | ||
47 | -3151, | ||
48 | -1449, | ||
49 | -3508, | ||
50 | -1735, | ||
51 | 49, | ||
52 | 3636, | ||
53 | -3176, | ||
54 | -6355, | ||
55 | -930, | ||
56 | -545, | ||
57 | }; | ||
58 | |||
59 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
60 | 4725, | ||
61 | }; | ||
62 | |||
diff --git a/dsplib_benchmarks/correlation/t5.h b/dsplib_benchmarks/correlation/t5.h new file mode 100644 index 0000000..ed3f8e0 --- /dev/null +++ b/dsplib_benchmarks/correlation/t5.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 16 | ||
36 | #define NLAGS 2 // max NLAGS = N | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -7952, | ||
42 | 2687, | ||
43 | 3671, | ||
44 | -3578, | ||
45 | -3903, | ||
46 | 3415, | ||
47 | 4650, | ||
48 | 7965, | ||
49 | -437, | ||
50 | 6599, | ||
51 | -802, | ||
52 | 4989, | ||
53 | 5388, | ||
54 | -5468, | ||
55 | -1739, | ||
56 | 340, | ||
57 | }; | ||
58 | |||
59 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
60 | 10377, | ||
61 | 598, | ||
62 | }; | ||
63 | |||
diff --git a/dsplib_benchmarks/correlation/t6.h b/dsplib_benchmarks/correlation/t6.h new file mode 100644 index 0000000..9d52940 --- /dev/null +++ b/dsplib_benchmarks/correlation/t6.h | |||
@@ -0,0 +1,69 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 16 | ||
36 | #define NLAGS 8 // max NLAGS = N | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 3573, | ||
42 | 1133, | ||
43 | -643, | ||
44 | -897, | ||
45 | -6755, | ||
46 | -926, | ||
47 | -2191, | ||
48 | -3236, | ||
49 | 5764, | ||
50 | 4251, | ||
51 | 7368, | ||
52 | 949, | ||
53 | -7959, | ||
54 | 1575, | ||
55 | 5180, | ||
56 | 7816, | ||
57 | }; | ||
58 | |||
59 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
60 | 10293, | ||
61 | 2993, | ||
62 | -1413, | ||
63 | -3021, | ||
64 | -2336, | ||
65 | 2074, | ||
66 | 176, | ||
67 | 349, | ||
68 | }; | ||
69 | |||
diff --git a/dsplib_benchmarks/correlation/t7.h b/dsplib_benchmarks/correlation/t7.h new file mode 100644 index 0000000..154ded2 --- /dev/null +++ b/dsplib_benchmarks/correlation/t7.h | |||
@@ -0,0 +1,75 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 16 | ||
36 | #define NLAGS 14 // max NLAGS = N | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -4557, | ||
42 | 3337, | ||
43 | 361, | ||
44 | 7092, | ||
45 | 3495, | ||
46 | -4456, | ||
47 | -826, | ||
48 | -5371, | ||
49 | 7681, | ||
50 | -2364, | ||
51 | -7389, | ||
52 | 4183, | ||
53 | 6468, | ||
54 | -3504, | ||
55 | -4077, | ||
56 | 7089, | ||
57 | }; | ||
58 | |||
59 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
60 | 12256, | ||
61 | -2356, | ||
62 | -4920, | ||
63 | 978, | ||
64 | 2123, | ||
65 | -400, | ||
66 | -3272, | ||
67 | 1889, | ||
68 | -378, | ||
69 | 1025, | ||
70 | -633, | ||
71 | -88, | ||
72 | 233, | ||
73 | 150, | ||
74 | }; | ||
75 | |||
diff --git a/dsplib_benchmarks/correlation/t8.h b/dsplib_benchmarks/correlation/t8.h new file mode 100644 index 0000000..697e696 --- /dev/null +++ b/dsplib_benchmarks/correlation/t8.h | |||
@@ -0,0 +1,76 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 16 | ||
36 | #define NLAGS 15 // max NLAGS = N | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -6046, | ||
42 | 7222, | ||
43 | 3307, | ||
44 | 5696, | ||
45 | -4764, | ||
46 | -736, | ||
47 | -6864, | ||
48 | 5752, | ||
49 | 1016, | ||
50 | -2961, | ||
51 | -2050, | ||
52 | 6025, | ||
53 | -2095, | ||
54 | -6985, | ||
55 | -4918, | ||
56 | -7382, | ||
57 | }; | ||
58 | |||
59 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
60 | 12747, | ||
61 | 311, | ||
62 | 299, | ||
63 | -3587, | ||
64 | 1946, | ||
65 | -1084, | ||
66 | 2012, | ||
67 | -1951, | ||
68 | 196, | ||
69 | 3010, | ||
70 | 1161, | ||
71 | -2060, | ||
72 | -2933, | ||
73 | -540, | ||
74 | -719, | ||
75 | }; | ||
76 | |||
diff --git a/dsplib_benchmarks/correlation/test.h b/dsplib_benchmarks/correlation/test.h new file mode 100644 index 0000000..9d52940 --- /dev/null +++ b/dsplib_benchmarks/correlation/test.h | |||
@@ -0,0 +1,69 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 16 | ||
36 | #define NLAGS 8 // max NLAGS = N | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 10 // max absolute error allowed | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 3573, | ||
42 | 1133, | ||
43 | -643, | ||
44 | -897, | ||
45 | -6755, | ||
46 | -926, | ||
47 | -2191, | ||
48 | -3236, | ||
49 | 5764, | ||
50 | 4251, | ||
51 | 7368, | ||
52 | 949, | ||
53 | -7959, | ||
54 | 1575, | ||
55 | 5180, | ||
56 | 7816, | ||
57 | }; | ||
58 | |||
59 | DATA rtest[NLAGS] ={ // lag0, lag1,... | ||
60 | 10293, | ||
61 | 2993, | ||
62 | -1413, | ||
63 | -3021, | ||
64 | -2336, | ||
65 | 2074, | ||
66 | 176, | ||
67 | 349, | ||
68 | }; | ||
69 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/TEST.C b/dsplib_benchmarks/dlmas_fast/TEST.C new file mode 100644 index 0000000..209777d --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/TEST.C | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | break; | ||
61 | } | ||
62 | else | ||
63 | if (elevel>emax) emax = elevel; | ||
64 | } | ||
65 | // Pass to Host: eflag and emax | ||
66 | return(eflag); | ||
67 | } | ||
diff --git a/dsplib_benchmarks/dlmas_fast/dlmas.cmd b/dsplib_benchmarks/dlmas_fast/dlmas.cmd new file mode 100644 index 0000000..94bf6e6 --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/dlmas.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } \ No newline at end of file | ||
diff --git a/dsplib_benchmarks/dlmas_fast/dlmsfast_T.C b/dsplib_benchmarks/dlmas_fast/dlmsfast_T.C new file mode 100644 index 0000000..d8c88c3 --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/dlmsfast_T.C | |||
@@ -0,0 +1,134 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: dlmsfast_t.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test for fast dlms routine | ||
39 | //----------------------------------------------------------------------------- | ||
40 | // Revision History: | ||
41 | // 1.000, Li Yuan, 09/23/02, - original release | ||
42 | //*****************************************************************************/ | ||
43 | |||
44 | #include <stdlib.h> | ||
45 | #include <math.h> | ||
46 | #include <tms320.h> | ||
47 | #include <stdio.h> | ||
48 | #include <dsplib.h> | ||
49 | #include <time.h> | ||
50 | |||
51 | #define NUMBER_OF_ITERATIONS 1000l | ||
52 | |||
53 | |||
54 | //#include "t3.h" // 12,20 | ||
55 | #include "t4.h" // 32,64 | ||
56 | //#include "t6.h" // 12,100 | ||
57 | //#include "t7.h" // 10,50 | ||
58 | |||
59 | |||
60 | //#include "t8.h" | ||
61 | //#include "test.h" // 32,64 | ||
62 | |||
63 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
64 | |||
65 | short eflagr = PASS; | ||
66 | short eflagh = PASS; | ||
67 | |||
68 | void clear_ran(short x[], int N) | ||
69 | { | ||
70 | int i ; | ||
71 | for (i=0; i<N; i++) | ||
72 | { | ||
73 | x[i] = 0 ; | ||
74 | } | ||
75 | return ; | ||
76 | } | ||
77 | |||
78 | void main() | ||
79 | { | ||
80 | short i; | ||
81 | int nx ,nh ,nstep; | ||
82 | long iterations1 ; | ||
83 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
84 | |||
85 | // clear | ||
86 | // for (i = 0; i< NH; i++) h[i] = 0; // clear coeff buffer (optional) | ||
87 | // for (i = 0; i< NX; i++) r[i] = 0; // clear output buffer (optional) | ||
88 | nx = NX ; | ||
89 | nh = NH ; | ||
90 | nstep = STEP ; | ||
91 | clear_ran(h, NH) ; | ||
92 | clear_ran(r, NX) ; | ||
93 | |||
94 | |||
95 | dbuffer[0] = 0; // clear index | ||
96 | // for (i = 1; i < NH+3; i++) dbuffer[i] = 0; // clear delay buffer (a must) | ||
97 | |||
98 | |||
99 | clear_ran(dbuffer, NH + 3) ; | ||
100 | |||
101 | t1 = clock() ; | ||
102 | t2 = clock() ; | ||
103 | diff = t2 - t1 ; /// overhead of calling | ||
104 | t1 = clock() ; | ||
105 | |||
106 | // compute | ||
107 | dlmsfast(x, h, r, des, dbuffer, nstep, nh, nx); | ||
108 | |||
109 | t2 = clock() ; | ||
110 | |||
111 | total1_t = (double) (t2 - t1-diff) ; | ||
112 | printf("fast LMS Delay filter #values %d #of taps %d step %d \n" , nx, nh,nstep ) ; | ||
113 | printf(" time (in cycles) %ld \n", total1_t) ; | ||
114 | |||
115 | // test | ||
116 | eflagr = test(r, rtest, NX, MAXERROR); // for r | ||
117 | eflagh = test(h, htest, NH, MAXERROR); // for h | ||
118 | |||
119 | if(eflagr != PASS || eflagh != PASS){ | ||
120 | printf("FAIL THE TEST \n"); | ||
121 | } | ||
122 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
123 | |||
124 | { | ||
125 | |||
126 | dlmsfast(x, h, r, des, dbuffer, nstep, nh, nx); | ||
127 | |||
128 | } | ||
129 | |||
130 | |||
131 | printf("Done with %ld iteration \n",iterations1 ); | ||
132 | |||
133 | return; | ||
134 | } | ||
diff --git a/dsplib_benchmarks/dlmas_fast/t1.h b/dsplib_benchmarks/dlmas_fast/t1.h new file mode 100644 index 0000000..a47a5cf --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t1.h | |||
@@ -0,0 +1,75 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: mtst */ | ||
36 | #define NX 3 | ||
37 | #define NH 3 | ||
38 | #define STEP 32767 | ||
39 | #define FNAME "t1" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 32764, | ||
44 | 0, | ||
45 | 0, | ||
46 | }; | ||
47 | |||
48 | DATA des[NX] ={ | ||
49 | 3276, | ||
50 | 6553, | ||
51 | 0, | ||
52 | }; | ||
53 | |||
54 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
55 | 0, | ||
56 | 6553, | ||
57 | 3276, | ||
58 | }; | ||
59 | |||
60 | DATA rtest[NX] ={ | ||
61 | 0, | ||
62 | 0, | ||
63 | 0, | ||
64 | }; | ||
65 | |||
66 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
67 | DATA dbuffer[NH+2]; | ||
68 | |||
69 | #pragma DATA_SECTION (h,".coeffs") | ||
70 | DATA h[NH]; | ||
71 | |||
72 | DATA r[NX]; | ||
73 | |||
74 | DATA error; | ||
75 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/t2.h b/dsplib_benchmarks/dlmas_fast/t2.h new file mode 100644 index 0000000..04a9587 --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t2.h | |||
@@ -0,0 +1,204 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: sine */ | ||
36 | #define NX 40 | ||
37 | #define NH 21 | ||
38 | #define STEP 1638 | ||
39 | #define FNAME "t2" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 0, | ||
44 | 11585, | ||
45 | 16384, | ||
46 | 11585, | ||
47 | 0, | ||
48 | -11586, | ||
49 | -16384, | ||
50 | -11586, | ||
51 | -1, | ||
52 | 11585, | ||
53 | 16384, | ||
54 | 11585, | ||
55 | 0, | ||
56 | -11586, | ||
57 | -16384, | ||
58 | -11586, | ||
59 | -1, | ||
60 | 11585, | ||
61 | 16384, | ||
62 | 11585, | ||
63 | 0, | ||
64 | -11586, | ||
65 | -16384, | ||
66 | -11586, | ||
67 | -1, | ||
68 | 11585, | ||
69 | 16384, | ||
70 | 11585, | ||
71 | 0, | ||
72 | -11586, | ||
73 | -16384, | ||
74 | -11586, | ||
75 | -1, | ||
76 | 11585, | ||
77 | 16384, | ||
78 | 11585, | ||
79 | 0, | ||
80 | -11586, | ||
81 | -16384, | ||
82 | -11586, | ||
83 | }; | ||
84 | |||
85 | DATA des[NX] ={ | ||
86 | 32767, | ||
87 | 23170, | ||
88 | 0, | ||
89 | -23171, | ||
90 | -32768, | ||
91 | -23171, | ||
92 | -1, | ||
93 | 23170, | ||
94 | 32767, | ||
95 | 23170, | ||
96 | 0, | ||
97 | -23171, | ||
98 | -32768, | ||
99 | -23171, | ||
100 | -1, | ||
101 | 23170, | ||
102 | 32767, | ||
103 | 23170, | ||
104 | 0, | ||
105 | -23171, | ||
106 | -32768, | ||
107 | -23171, | ||
108 | -1, | ||
109 | 23170, | ||
110 | 32767, | ||
111 | 23170, | ||
112 | -1, | ||
113 | -23171, | ||
114 | -32768, | ||
115 | -23171, | ||
116 | -1, | ||
117 | 23170, | ||
118 | 32767, | ||
119 | 23170, | ||
120 | -1, | ||
121 | -23171, | ||
122 | -32768, | ||
123 | -23171, | ||
124 | -1, | ||
125 | 23170, | ||
126 | }; | ||
127 | |||
128 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
129 | -155, | ||
130 | -1991, | ||
131 | -2909, | ||
132 | -2116, | ||
133 | 205, | ||
134 | 2827, | ||
135 | 4100, | ||
136 | 2963, | ||
137 | -253, | ||
138 | -3815, | ||
139 | -5501, | ||
140 | -3957, | ||
141 | 288, | ||
142 | 4915, | ||
143 | 7057, | ||
144 | 5061, | ||
145 | -307, | ||
146 | -6074, | ||
147 | -8695, | ||
148 | -6223, | ||
149 | 304, | ||
150 | }; | ||
151 | |||
152 | DATA rtest[NX] ={ | ||
153 | 0, | ||
154 | 0, | ||
155 | 0, | ||
156 | 145, | ||
157 | 0, | ||
158 | -145, | ||
159 | 207, | ||
160 | 873, | ||
161 | 1637, | ||
162 | 1449, | ||
163 | -376, | ||
164 | -2946, | ||
165 | -4748, | ||
166 | -3788, | ||
167 | 463, | ||
168 | 5808, | ||
169 | 8947, | ||
170 | 6878, | ||
171 | -448, | ||
172 | -9094, | ||
173 | -13706, | ||
174 | -10329, | ||
175 | 343, | ||
176 | 12418, | ||
177 | 18468, | ||
178 | 13665, | ||
179 | -93, | ||
180 | -15001, | ||
181 | -22046, | ||
182 | -16135, | ||
183 | -50, | ||
184 | 16968, | ||
185 | 24730, | ||
186 | 17962, | ||
187 | 124, | ||
188 | -18465, | ||
189 | -26743, | ||
190 | -19315, | ||
191 | -156, | ||
192 | 19603, | ||
193 | }; | ||
194 | |||
195 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
196 | DATA dbuffer[NH+2]; | ||
197 | |||
198 | #pragma DATA_SECTION (h,".coeffs") | ||
199 | DATA h[NH]; | ||
200 | |||
201 | DATA r[NX]; | ||
202 | |||
203 | DATA error; | ||
204 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/t3.h b/dsplib_benchmarks/dlmas_fast/t3.h new file mode 100644 index 0000000..dba25ef --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t3.h | |||
@@ -0,0 +1,135 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: rand */ | ||
36 | #define NX 20 | ||
37 | #define NH 12 | ||
38 | #define STEP 327 | ||
39 | #define FNAME "t3" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 29499, | ||
44 | -17620, | ||
45 | 7001, | ||
46 | -919, | ||
47 | 25643, | ||
48 | 17176, | ||
49 | -2853, | ||
50 | -31556, | ||
51 | 21063, | ||
52 | -3624, | ||
53 | 7564, | ||
54 | 19132, | ||
55 | 27643, | ||
56 | 15610, | ||
57 | -21217, | ||
58 | -6180, | ||
59 | 28538, | ||
60 | 27321, | ||
61 | -5881, | ||
62 | 25797, | ||
63 | }; | ||
64 | |||
65 | DATA des[NX] ={ | ||
66 | -28974, | ||
67 | -9643, | ||
68 | 20523, | ||
69 | -32122, | ||
70 | -23666, | ||
71 | -19480, | ||
72 | -19745, | ||
73 | 6802, | ||
74 | -14930, | ||
75 | -19739, | ||
76 | -31767, | ||
77 | 16173, | ||
78 | -3599, | ||
79 | 28299, | ||
80 | -2229, | ||
81 | -5332, | ||
82 | 22689, | ||
83 | 1648, | ||
84 | -19488, | ||
85 | 11281, | ||
86 | }; | ||
87 | |||
88 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
89 | 484, | ||
90 | -599, | ||
91 | 60, | ||
92 | 188, | ||
93 | 46, | ||
94 | -767, | ||
95 | -106, | ||
96 | -255, | ||
97 | 346, | ||
98 | -38, | ||
99 | -351, | ||
100 | -139, | ||
101 | }; | ||
102 | |||
103 | DATA rtest[NX] ={ | ||
104 | 0, | ||
105 | 0, | ||
106 | -56, | ||
107 | -13, | ||
108 | -84, | ||
109 | -362, | ||
110 | 93, | ||
111 | 431, | ||
112 | -51, | ||
113 | -554, | ||
114 | 31, | ||
115 | -331, | ||
116 | -683, | ||
117 | -278, | ||
118 | -415, | ||
119 | 361, | ||
120 | -1214, | ||
121 | -910, | ||
122 | -839, | ||
123 | 588, | ||
124 | }; | ||
125 | |||
126 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
127 | DATA dbuffer[NH+3]; | ||
128 | |||
129 | #pragma DATA_SECTION (h,".coeffs") | ||
130 | DATA h[2*NH]; | ||
131 | |||
132 | DATA r[NX]; | ||
133 | |||
134 | DATA error; | ||
135 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/t4.h b/dsplib_benchmarks/dlmas_fast/t4.h new file mode 100644 index 0000000..05a01dd --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t4.h | |||
@@ -0,0 +1,287 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: nois */ | ||
36 | #define NX 64 | ||
37 | #define NH 32 | ||
38 | #define STEP 327 | ||
39 | #define FNAME "t4" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 22158, | ||
44 | -31481, | ||
45 | 11880, | ||
46 | -7899, | ||
47 | 21744, | ||
48 | 184, | ||
49 | 13727, | ||
50 | -4661, | ||
51 | -12805, | ||
52 | -20339, | ||
53 | -20092, | ||
54 | 11942, | ||
55 | -12927, | ||
56 | 2731, | ||
57 | -22881, | ||
58 | 12969, | ||
59 | -7971, | ||
60 | 23593, | ||
61 | 23177, | ||
62 | 6131, | ||
63 | -226, | ||
64 | 26199, | ||
65 | 21078, | ||
66 | 9496, | ||
67 | 20838, | ||
68 | 10500, | ||
69 | -10357, | ||
70 | -13781, | ||
71 | -10408, | ||
72 | 2233, | ||
73 | 14884, | ||
74 | -12499, | ||
75 | 22183, | ||
76 | 4461, | ||
77 | -8493, | ||
78 | 13286, | ||
79 | 3052, | ||
80 | -3613, | ||
81 | 12751, | ||
82 | 7950, | ||
83 | 19321, | ||
84 | 29939, | ||
85 | 1480, | ||
86 | 24912, | ||
87 | -21434, | ||
88 | 31440, | ||
89 | -14979, | ||
90 | -16232, | ||
91 | 24624, | ||
92 | 15552, | ||
93 | -23822, | ||
94 | -31998, | ||
95 | 25814, | ||
96 | -19718, | ||
97 | -13191, | ||
98 | 10580, | ||
99 | -14129, | ||
100 | -2017, | ||
101 | -28523, | ||
102 | 32003, | ||
103 | 5425, | ||
104 | -5014, | ||
105 | 1016, | ||
106 | -10883, | ||
107 | }; | ||
108 | |||
109 | DATA des[NX] ={ | ||
110 | -206, | ||
111 | -549, | ||
112 | 1328, | ||
113 | 73, | ||
114 | -815, | ||
115 | -185, | ||
116 | -1635, | ||
117 | 1405, | ||
118 | 1304, | ||
119 | 981, | ||
120 | -477, | ||
121 | 208, | ||
122 | -790, | ||
123 | -2430, | ||
124 | 3582, | ||
125 | -1508, | ||
126 | 3299, | ||
127 | -4350, | ||
128 | 1485, | ||
129 | -7020, | ||
130 | 5136, | ||
131 | -2488, | ||
132 | 955, | ||
133 | -1463, | ||
134 | -73, | ||
135 | 3255, | ||
136 | 1555, | ||
137 | 7734, | ||
138 | -3018, | ||
139 | 7491, | ||
140 | -8688, | ||
141 | -2529, | ||
142 | -4112, | ||
143 | 3887, | ||
144 | -3058, | ||
145 | 1099, | ||
146 | -3404, | ||
147 | -4485, | ||
148 | -93, | ||
149 | -1267, | ||
150 | 3646, | ||
151 | 551, | ||
152 | 3272, | ||
153 | 1263, | ||
154 | 5355, | ||
155 | 1379, | ||
156 | 2986, | ||
157 | 1270, | ||
158 | 436, | ||
159 | -6044, | ||
160 | 2969, | ||
161 | 2435, | ||
162 | 3012, | ||
163 | 3380, | ||
164 | -281, | ||
165 | -1885, | ||
166 | -5000, | ||
167 | 5358, | ||
168 | -6417, | ||
169 | 3270, | ||
170 | -1250, | ||
171 | 3213, | ||
172 | 1179, | ||
173 | 5985, | ||
174 | }; | ||
175 | |||
176 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
177 | -8, | ||
178 | -71, | ||
179 | 325, | ||
180 | -125, | ||
181 | 262, | ||
182 | -195, | ||
183 | 126, | ||
184 | -53, | ||
185 | 194, | ||
186 | 230, | ||
187 | 169, | ||
188 | 142, | ||
189 | -211, | ||
190 | 205, | ||
191 | -312, | ||
192 | 214, | ||
193 | -388, | ||
194 | 189, | ||
195 | -425, | ||
196 | 223, | ||
197 | -27, | ||
198 | 75, | ||
199 | 114, | ||
200 | 5, | ||
201 | 68, | ||
202 | -219, | ||
203 | 401, | ||
204 | -10, | ||
205 | 284, | ||
206 | 76, | ||
207 | -47, | ||
208 | -121, | ||
209 | }; | ||
210 | |||
211 | DATA rtest[NX] ={ | ||
212 | 0, | ||
213 | 0, | ||
214 | -1, | ||
215 | -2, | ||
216 | 13, | ||
217 | -13, | ||
218 | 1, | ||
219 | -1, | ||
220 | -12, | ||
221 | 39, | ||
222 | 0, | ||
223 | 6, | ||
224 | -32, | ||
225 | -2, | ||
226 | 0, | ||
227 | -27, | ||
228 | 114, | ||
229 | -165, | ||
230 | 120, | ||
231 | -225, | ||
232 | 185, | ||
233 | -238, | ||
234 | 206, | ||
235 | -224, | ||
236 | -14, | ||
237 | -19, | ||
238 | -61, | ||
239 | 416, | ||
240 | -149, | ||
241 | 510, | ||
242 | -510, | ||
243 | 572, | ||
244 | -637, | ||
245 | 433, | ||
246 | -447, | ||
247 | 166, | ||
248 | -316, | ||
249 | -199, | ||
250 | 24, | ||
251 | -245, | ||
252 | 337, | ||
253 | -383, | ||
254 | 375, | ||
255 | -280, | ||
256 | 892, | ||
257 | -242, | ||
258 | 1054, | ||
259 | -280, | ||
260 | 534, | ||
261 | -523, | ||
262 | 507, | ||
263 | -2, | ||
264 | -100, | ||
265 | 179, | ||
266 | -526, | ||
267 | 167, | ||
268 | -938, | ||
269 | 729, | ||
270 | -791, | ||
271 | 380, | ||
272 | -471, | ||
273 | 180, | ||
274 | 80, | ||
275 | 249, | ||
276 | }; | ||
277 | |||
278 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
279 | DATA dbuffer[NH+3]; | ||
280 | |||
281 | #pragma DATA_SECTION (h,".coeffs") | ||
282 | DATA h[2*NH]; | ||
283 | |||
284 | DATA r[NX]; | ||
285 | |||
286 | DATA error; | ||
287 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/t5.h b/dsplib_benchmarks/dlmas_fast/t5.h new file mode 100644 index 0000000..6889d68 --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t5.h | |||
@@ -0,0 +1,468 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: sine */ | ||
36 | #define NX 128 | ||
37 | #define NH 21 | ||
38 | #define STEP 1638 | ||
39 | #define FNAME "t5" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 0, | ||
44 | 11585, | ||
45 | 16384, | ||
46 | 11585, | ||
47 | 0, | ||
48 | -11586, | ||
49 | -16384, | ||
50 | -11586, | ||
51 | -1, | ||
52 | 11585, | ||
53 | 16384, | ||
54 | 11585, | ||
55 | 0, | ||
56 | -11586, | ||
57 | -16384, | ||
58 | -11586, | ||
59 | -1, | ||
60 | 11585, | ||
61 | 16384, | ||
62 | 11585, | ||
63 | 0, | ||
64 | -11586, | ||
65 | -16384, | ||
66 | -11586, | ||
67 | -1, | ||
68 | 11585, | ||
69 | 16384, | ||
70 | 11585, | ||
71 | 0, | ||
72 | -11586, | ||
73 | -16384, | ||
74 | -11586, | ||
75 | -1, | ||
76 | 11585, | ||
77 | 16384, | ||
78 | 11585, | ||
79 | 0, | ||
80 | -11586, | ||
81 | -16384, | ||
82 | -11586, | ||
83 | -1, | ||
84 | 11585, | ||
85 | 16384, | ||
86 | 11585, | ||
87 | 0, | ||
88 | -11586, | ||
89 | -16384, | ||
90 | -11586, | ||
91 | -1, | ||
92 | 11585, | ||
93 | 16384, | ||
94 | 11585, | ||
95 | -1, | ||
96 | -11586, | ||
97 | -16384, | ||
98 | -11586, | ||
99 | -1, | ||
100 | 11585, | ||
101 | 16384, | ||
102 | 11585, | ||
103 | 0, | ||
104 | -11586, | ||
105 | -16384, | ||
106 | -11586, | ||
107 | -1, | ||
108 | 11585, | ||
109 | 16384, | ||
110 | 11585, | ||
111 | -1, | ||
112 | -11586, | ||
113 | -16384, | ||
114 | -11586, | ||
115 | -1, | ||
116 | 11585, | ||
117 | 16384, | ||
118 | 11585, | ||
119 | 0, | ||
120 | -11586, | ||
121 | -16384, | ||
122 | -11586, | ||
123 | -1, | ||
124 | 11585, | ||
125 | 16384, | ||
126 | 11585, | ||
127 | -1, | ||
128 | -11586, | ||
129 | -16384, | ||
130 | -11586, | ||
131 | -1, | ||
132 | 11585, | ||
133 | 16384, | ||
134 | 11585, | ||
135 | 0, | ||
136 | -11586, | ||
137 | -16384, | ||
138 | -11586, | ||
139 | -1, | ||
140 | 11585, | ||
141 | 16384, | ||
142 | 11585, | ||
143 | -1, | ||
144 | -11586, | ||
145 | -16384, | ||
146 | -11586, | ||
147 | 0, | ||
148 | 11585, | ||
149 | 16384, | ||
150 | 11585, | ||
151 | 0, | ||
152 | -11586, | ||
153 | -16384, | ||
154 | -11586, | ||
155 | -1, | ||
156 | 11585, | ||
157 | 16384, | ||
158 | 11585, | ||
159 | -1, | ||
160 | -11586, | ||
161 | -16384, | ||
162 | -11586, | ||
163 | -1, | ||
164 | 11585, | ||
165 | 16384, | ||
166 | 11585, | ||
167 | 0, | ||
168 | -11586, | ||
169 | -16384, | ||
170 | -11586, | ||
171 | }; | ||
172 | |||
173 | DATA des[NX] ={ | ||
174 | 32767, | ||
175 | 23170, | ||
176 | 0, | ||
177 | -23171, | ||
178 | -32768, | ||
179 | -23171, | ||
180 | -1, | ||
181 | 23170, | ||
182 | 32767, | ||
183 | 23170, | ||
184 | 0, | ||
185 | -23171, | ||
186 | -32768, | ||
187 | -23171, | ||
188 | -1, | ||
189 | 23170, | ||
190 | 32767, | ||
191 | 23170, | ||
192 | 0, | ||
193 | -23171, | ||
194 | -32768, | ||
195 | -23171, | ||
196 | -1, | ||
197 | 23170, | ||
198 | 32767, | ||
199 | 23170, | ||
200 | -1, | ||
201 | -23171, | ||
202 | -32768, | ||
203 | -23171, | ||
204 | -1, | ||
205 | 23170, | ||
206 | 32767, | ||
207 | 23170, | ||
208 | -1, | ||
209 | -23171, | ||
210 | -32768, | ||
211 | -23171, | ||
212 | -1, | ||
213 | 23170, | ||
214 | 32767, | ||
215 | 23170, | ||
216 | -1, | ||
217 | -23171, | ||
218 | -32768, | ||
219 | -23171, | ||
220 | -1, | ||
221 | 23170, | ||
222 | 32767, | ||
223 | 23170, | ||
224 | -1, | ||
225 | -23171, | ||
226 | -32768, | ||
227 | -23171, | ||
228 | -1, | ||
229 | 23170, | ||
230 | 32767, | ||
231 | 23170, | ||
232 | -1, | ||
233 | -23171, | ||
234 | -32768, | ||
235 | -23171, | ||
236 | -1, | ||
237 | 23170, | ||
238 | 32767, | ||
239 | 23170, | ||
240 | 0, | ||
241 | -23171, | ||
242 | -32768, | ||
243 | -23171, | ||
244 | -1, | ||
245 | 23170, | ||
246 | 32767, | ||
247 | 23170, | ||
248 | 0, | ||
249 | -23171, | ||
250 | -32768, | ||
251 | -23171, | ||
252 | -1, | ||
253 | 23170, | ||
254 | 32767, | ||
255 | 23170, | ||
256 | 0, | ||
257 | -23171, | ||
258 | -32768, | ||
259 | -23171, | ||
260 | -1, | ||
261 | 23170, | ||
262 | 32767, | ||
263 | 23170, | ||
264 | 0, | ||
265 | -23171, | ||
266 | -32768, | ||
267 | -23171, | ||
268 | 0, | ||
269 | 23170, | ||
270 | 32767, | ||
271 | 23170, | ||
272 | 0, | ||
273 | -23171, | ||
274 | -32768, | ||
275 | -23171, | ||
276 | -1, | ||
277 | 23170, | ||
278 | 32767, | ||
279 | 23170, | ||
280 | 0, | ||
281 | -23171, | ||
282 | -32768, | ||
283 | -23171, | ||
284 | 0, | ||
285 | 23170, | ||
286 | 32767, | ||
287 | 23170, | ||
288 | 0, | ||
289 | -23171, | ||
290 | -32768, | ||
291 | -23171, | ||
292 | -1, | ||
293 | 23170, | ||
294 | 32767, | ||
295 | 23170, | ||
296 | 0, | ||
297 | -23171, | ||
298 | -32768, | ||
299 | -23171, | ||
300 | 0, | ||
301 | 23170, | ||
302 | }; | ||
303 | |||
304 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
305 | -63, | ||
306 | -2563, | ||
307 | -3811, | ||
308 | -2818, | ||
309 | 113, | ||
310 | 3399, | ||
311 | 5001, | ||
312 | 3665, | ||
313 | -160, | ||
314 | -4388, | ||
315 | -6402, | ||
316 | -4660, | ||
317 | 196, | ||
318 | 5488, | ||
319 | 7958, | ||
320 | 5764, | ||
321 | -214, | ||
322 | -6646, | ||
323 | -9597, | ||
324 | -6926, | ||
325 | 212, | ||
326 | }; | ||
327 | |||
328 | DATA rtest[NX] ={ | ||
329 | 0, | ||
330 | 0, | ||
331 | 0, | ||
332 | 145, | ||
333 | 0, | ||
334 | -145, | ||
335 | 207, | ||
336 | 873, | ||
337 | 1637, | ||
338 | 1449, | ||
339 | -376, | ||
340 | -2946, | ||
341 | -4748, | ||
342 | -3788, | ||
343 | 463, | ||
344 | 5808, | ||
345 | 8947, | ||
346 | 6878, | ||
347 | -448, | ||
348 | -9094, | ||
349 | -13706, | ||
350 | -10329, | ||
351 | 343, | ||
352 | 12418, | ||
353 | 18468, | ||
354 | 13665, | ||
355 | -93, | ||
356 | -15001, | ||
357 | -22046, | ||
358 | -16135, | ||
359 | -50, | ||
360 | 16968, | ||
361 | 24730, | ||
362 | 17962, | ||
363 | 124, | ||
364 | -18465, | ||
365 | -26743, | ||
366 | -19315, | ||
367 | -156, | ||
368 | 19603, | ||
369 | 28253, | ||
370 | 20316, | ||
371 | 162, | ||
372 | -20467, | ||
373 | -29385, | ||
374 | -21057, | ||
375 | -155, | ||
376 | 21124, | ||
377 | 30234, | ||
378 | 21605, | ||
379 | 140, | ||
380 | -21622, | ||
381 | -30870, | ||
382 | -22012, | ||
383 | -122, | ||
384 | 21999, | ||
385 | 31346, | ||
386 | 22312, | ||
387 | 104, | ||
388 | -22285, | ||
389 | -31703, | ||
390 | -22535, | ||
391 | -87, | ||
392 | 22501, | ||
393 | 31971, | ||
394 | 22700, | ||
395 | 72, | ||
396 | -22665, | ||
397 | -32171, | ||
398 | -22822, | ||
399 | -59, | ||
400 | 22789, | ||
401 | 32321, | ||
402 | 22912, | ||
403 | 48, | ||
404 | -22883, | ||
405 | -32434, | ||
406 | -22979, | ||
407 | -38, | ||
408 | 22953, | ||
409 | 32518, | ||
410 | 23029, | ||
411 | 30, | ||
412 | -23007, | ||
413 | -32581, | ||
414 | -23065, | ||
415 | -24, | ||
416 | 23047, | ||
417 | 32628, | ||
418 | 23093, | ||
419 | 19, | ||
420 | -23078, | ||
421 | -32663, | ||
422 | -23113, | ||
423 | -15, | ||
424 | 23101, | ||
425 | 32690, | ||
426 | 23128, | ||
427 | 12, | ||
428 | -23118, | ||
429 | -32709, | ||
430 | -23139, | ||
431 | -9, | ||
432 | 23131, | ||
433 | 32724, | ||
434 | 23147, | ||
435 | 7, | ||
436 | -23141, | ||
437 | -32735, | ||
438 | -23153, | ||
439 | -6, | ||
440 | 23148, | ||
441 | 32743, | ||
442 | 23158, | ||
443 | 4, | ||
444 | -23154, | ||
445 | -32750, | ||
446 | -23161, | ||
447 | -3, | ||
448 | 23158, | ||
449 | 32754, | ||
450 | 23163, | ||
451 | 3, | ||
452 | -23161, | ||
453 | -32758, | ||
454 | -23165, | ||
455 | -2, | ||
456 | 23163, | ||
457 | }; | ||
458 | |||
459 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
460 | DATA dbuffer[NH+2]; | ||
461 | |||
462 | #pragma DATA_SECTION (h,".coeffs") | ||
463 | DATA h[NH]; | ||
464 | |||
465 | DATA r[NX]; | ||
466 | |||
467 | DATA error; | ||
468 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/t6.h b/dsplib_benchmarks/dlmas_fast/t6.h new file mode 100644 index 0000000..4a8bce1 --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t6.h | |||
@@ -0,0 +1,375 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: rand */ | ||
36 | #define NX 100 | ||
37 | #define NH 12 | ||
38 | #define STEP 655 | ||
39 | #define FNAME "t6" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 16027, | ||
44 | -15208, | ||
45 | -3938, | ||
46 | 28401, | ||
47 | 12014, | ||
48 | -18838, | ||
49 | 22232, | ||
50 | 8439, | ||
51 | -24001, | ||
52 | -19194, | ||
53 | 7025, | ||
54 | 8512, | ||
55 | -8489, | ||
56 | 4924, | ||
57 | -3184, | ||
58 | -29891, | ||
59 | -30987, | ||
60 | -12276, | ||
61 | -31925, | ||
62 | -7605, | ||
63 | 12000, | ||
64 | -26684, | ||
65 | -30452, | ||
66 | 7365, | ||
67 | 7113, | ||
68 | -31735, | ||
69 | -31696, | ||
70 | -20312, | ||
71 | 5696, | ||
72 | -28995, | ||
73 | -8679, | ||
74 | 8614, | ||
75 | 14262, | ||
76 | 12626, | ||
77 | -27258, | ||
78 | -2992, | ||
79 | -3813, | ||
80 | -9618, | ||
81 | -22702, | ||
82 | 11510, | ||
83 | 13055, | ||
84 | 14909, | ||
85 | -1417, | ||
86 | 3594, | ||
87 | -24835, | ||
88 | -3228, | ||
89 | 14147, | ||
90 | 25745, | ||
91 | -14870, | ||
92 | -16072, | ||
93 | 23959, | ||
94 | -17541, | ||
95 | 19979, | ||
96 | 26764, | ||
97 | -17571, | ||
98 | -17085, | ||
99 | -29507, | ||
100 | -27631, | ||
101 | 9228, | ||
102 | -20258, | ||
103 | 22535, | ||
104 | -21372, | ||
105 | -21575, | ||
106 | 32393, | ||
107 | -3946, | ||
108 | -10483, | ||
109 | -12176, | ||
110 | -8843, | ||
111 | -6997, | ||
112 | 5998, | ||
113 | -24921, | ||
114 | -30269, | ||
115 | -2714, | ||
116 | 24239, | ||
117 | 28457, | ||
118 | -15437, | ||
119 | -22263, | ||
120 | 24435, | ||
121 | -17179, | ||
122 | 9557, | ||
123 | 30597, | ||
124 | 10808, | ||
125 | 24273, | ||
126 | -32118, | ||
127 | -23789, | ||
128 | 20889, | ||
129 | -4577, | ||
130 | 25579, | ||
131 | 15394, | ||
132 | 12276, | ||
133 | -10086, | ||
134 | -21887, | ||
135 | -22570, | ||
136 | -20243, | ||
137 | -5083, | ||
138 | 23328, | ||
139 | -639, | ||
140 | 20704, | ||
141 | -2571, | ||
142 | -2795, | ||
143 | }; | ||
144 | |||
145 | DATA des[NX] ={ | ||
146 | -3232, | ||
147 | -5753, | ||
148 | 26319, | ||
149 | -32402, | ||
150 | -13278, | ||
151 | -29546, | ||
152 | 12660, | ||
153 | 9837, | ||
154 | 31652, | ||
155 | 3451, | ||
156 | -6549, | ||
157 | -19740, | ||
158 | 8205, | ||
159 | 15293, | ||
160 | -8134, | ||
161 | -32121, | ||
162 | -5253, | ||
163 | 16624, | ||
164 | 19258, | ||
165 | 27522, | ||
166 | 22591, | ||
167 | -8667, | ||
168 | 7916, | ||
169 | 15156, | ||
170 | -20061, | ||
171 | 26529, | ||
172 | 4535, | ||
173 | 8636, | ||
174 | -17406, | ||
175 | 3196, | ||
176 | 28283, | ||
177 | -10801, | ||
178 | 10192, | ||
179 | -7085, | ||
180 | 8343, | ||
181 | 13046, | ||
182 | -6739, | ||
183 | -5661, | ||
184 | 10171, | ||
185 | 22123, | ||
186 | -8415, | ||
187 | -4899, | ||
188 | 6203, | ||
189 | 4308, | ||
190 | 14191, | ||
191 | 741, | ||
192 | 18114, | ||
193 | -699, | ||
194 | -20585, | ||
195 | 13148, | ||
196 | 31634, | ||
197 | 20095, | ||
198 | 13340, | ||
199 | -986, | ||
200 | -25257, | ||
201 | 10803, | ||
202 | -8823, | ||
203 | -23590, | ||
204 | 4375, | ||
205 | 21168, | ||
206 | 11399, | ||
207 | 32731, | ||
208 | 30253, | ||
209 | -28911, | ||
210 | -9155, | ||
211 | 3179, | ||
212 | -15613, | ||
213 | 6379, | ||
214 | -29539, | ||
215 | 4656, | ||
216 | 13163, | ||
217 | 30296, | ||
218 | 16417, | ||
219 | 15728, | ||
220 | -4465, | ||
221 | 8799, | ||
222 | 19858, | ||
223 | -27271, | ||
224 | 29193, | ||
225 | 27258, | ||
226 | 6683, | ||
227 | -16151, | ||
228 | 24474, | ||
229 | 878, | ||
230 | 15246, | ||
231 | -5097, | ||
232 | 30236, | ||
233 | -28046, | ||
234 | 3500, | ||
235 | -13633, | ||
236 | 23459, | ||
237 | -10764, | ||
238 | 11809, | ||
239 | -29266, | ||
240 | -9395, | ||
241 | -112, | ||
242 | -4297, | ||
243 | 4093, | ||
244 | 7642, | ||
245 | -25340, | ||
246 | }; | ||
247 | |||
248 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
249 | -753, | ||
250 | 481, | ||
251 | 1445, | ||
252 | -2282, | ||
253 | -1169, | ||
254 | 376, | ||
255 | -2054, | ||
256 | -2327, | ||
257 | -767, | ||
258 | 986, | ||
259 | -1730, | ||
260 | -2667, | ||
261 | }; | ||
262 | |||
263 | DATA rtest[NX] ={ | ||
264 | 0, | ||
265 | 0, | ||
266 | 4, | ||
267 | 26, | ||
268 | -307, | ||
269 | 787, | ||
270 | -156, | ||
271 | -457, | ||
272 | -361, | ||
273 | 375, | ||
274 | -150, | ||
275 | -71, | ||
276 | 377, | ||
277 | 61, | ||
278 | -859, | ||
279 | 752, | ||
280 | 2236, | ||
281 | 28, | ||
282 | -1686, | ||
283 | 262, | ||
284 | 555, | ||
285 | 463, | ||
286 | 1732, | ||
287 | 2315, | ||
288 | -259, | ||
289 | 1391, | ||
290 | 5677, | ||
291 | 3189, | ||
292 | 1305, | ||
293 | 4888, | ||
294 | 6036, | ||
295 | 381, | ||
296 | -1269, | ||
297 | 1552, | ||
298 | 3173, | ||
299 | 770, | ||
300 | -582, | ||
301 | 2254, | ||
302 | 4767, | ||
303 | 2674, | ||
304 | -2141, | ||
305 | -1114, | ||
306 | 679, | ||
307 | 559, | ||
308 | -2189, | ||
309 | 1869, | ||
310 | 213, | ||
311 | -923, | ||
312 | -353, | ||
313 | 2579, | ||
314 | -2188, | ||
315 | -4241, | ||
316 | 1581, | ||
317 | 381, | ||
318 | -3642, | ||
319 | -490, | ||
320 | 4108, | ||
321 | 2482, | ||
322 | 2602, | ||
323 | 1069, | ||
324 | 2709, | ||
325 | -849, | ||
326 | 2340, | ||
327 | 2555, | ||
328 | -1414, | ||
329 | 1269, | ||
330 | 5343, | ||
331 | 1297, | ||
332 | -1752, | ||
333 | 3348, | ||
334 | 2612, | ||
335 | 2518, | ||
336 | 4227, | ||
337 | -1521, | ||
338 | -2467, | ||
339 | 3427, | ||
340 | 5007, | ||
341 | -3164, | ||
342 | -5066, | ||
343 | 1383, | ||
344 | -1858, | ||
345 | -3275, | ||
346 | -4996, | ||
347 | 2432, | ||
348 | -577, | ||
349 | -7362, | ||
350 | -597, | ||
351 | 1407, | ||
352 | -2297, | ||
353 | -1960, | ||
354 | -5172, | ||
355 | 5024, | ||
356 | -1165, | ||
357 | 618, | ||
358 | 4294, | ||
359 | -420, | ||
360 | 1248, | ||
361 | 2285, | ||
362 | 1105, | ||
363 | 955, | ||
364 | }; | ||
365 | |||
366 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
367 | DATA dbuffer[NH+3]; | ||
368 | |||
369 | #pragma DATA_SECTION (h,".coeffs") | ||
370 | DATA h[2*NH]; | ||
371 | |||
372 | DATA r[NX]; | ||
373 | |||
374 | DATA error; | ||
375 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/t7.h b/dsplib_benchmarks/dlmas_fast/t7.h new file mode 100644 index 0000000..7000773 --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t7.h | |||
@@ -0,0 +1,223 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: nois */ | ||
36 | #define NX 50 | ||
37 | #define NH 10 | ||
38 | #define STEP 983 | ||
39 | #define FNAME "t7" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 26099, | ||
44 | 16682, | ||
45 | 19079, | ||
46 | 20640, | ||
47 | 11141, | ||
48 | -19604, | ||
49 | -14871, | ||
50 | 8272, | ||
51 | 2415, | ||
52 | -28869, | ||
53 | -26938, | ||
54 | -14988, | ||
55 | -5960, | ||
56 | -1702, | ||
57 | 26803, | ||
58 | 6307, | ||
59 | -11210, | ||
60 | -1430, | ||
61 | 6368, | ||
62 | -22188, | ||
63 | 21592, | ||
64 | 29892, | ||
65 | 6261, | ||
66 | -30884, | ||
67 | 20454, | ||
68 | 7216, | ||
69 | 13205, | ||
70 | -26726, | ||
71 | -4923, | ||
72 | -8155, | ||
73 | -21879, | ||
74 | 21833, | ||
75 | 22193, | ||
76 | -3172, | ||
77 | 29923, | ||
78 | -23125, | ||
79 | 24243, | ||
80 | 17657, | ||
81 | -3660, | ||
82 | 7904, | ||
83 | 29601, | ||
84 | 9175, | ||
85 | -16560, | ||
86 | -9654, | ||
87 | -20457, | ||
88 | -614, | ||
89 | -5946, | ||
90 | -2391, | ||
91 | 7270, | ||
92 | -28104, | ||
93 | }; | ||
94 | |||
95 | DATA des[NX] ={ | ||
96 | -3018, | ||
97 | -168, | ||
98 | -6360, | ||
99 | -2508, | ||
100 | -6626, | ||
101 | -939, | ||
102 | -2314, | ||
103 | 109, | ||
104 | 1549, | ||
105 | 11687, | ||
106 | 7261, | ||
107 | 9287, | ||
108 | 9364, | ||
109 | 8412, | ||
110 | -6401, | ||
111 | -2164, | ||
112 | -830, | ||
113 | 551, | ||
114 | -10758, | ||
115 | -4780, | ||
116 | -7416, | ||
117 | 337, | ||
118 | -5790, | ||
119 | 11210, | ||
120 | -6581, | ||
121 | 365, | ||
122 | -6531, | ||
123 | 10106, | ||
124 | -14460, | ||
125 | 13444, | ||
126 | 8411, | ||
127 | 2729, | ||
128 | -6041, | ||
129 | 2248, | ||
130 | -607, | ||
131 | 5387, | ||
132 | -20366, | ||
133 | 7230, | ||
134 | -13141, | ||
135 | -3582, | ||
136 | 856, | ||
137 | 2873, | ||
138 | -824, | ||
139 | 6101, | ||
140 | -4640, | ||
141 | 6795, | ||
142 | 11879, | ||
143 | -2334, | ||
144 | 5540, | ||
145 | 11473, | ||
146 | }; | ||
147 | |||
148 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
149 | 3446, | ||
150 | 498, | ||
151 | -138, | ||
152 | 184, | ||
153 | 656, | ||
154 | -1951, | ||
155 | 324, | ||
156 | -2104, | ||
157 | 156, | ||
158 | -2132, | ||
159 | }; | ||
160 | |||
161 | DATA rtest[NX] ={ | ||
162 | 0, | ||
163 | 0, | ||
164 | -42, | ||
165 | -49, | ||
166 | -214, | ||
167 | -63, | ||
168 | 3, | ||
169 | 67, | ||
170 | 69, | ||
171 | 285, | ||
172 | 438, | ||
173 | 739, | ||
174 | 798, | ||
175 | 716, | ||
176 | -498, | ||
177 | -534, | ||
178 | -226, | ||
179 | -895, | ||
180 | -1674, | ||
181 | -157, | ||
182 | -599, | ||
183 | -1118, | ||
184 | -362, | ||
185 | 1386, | ||
186 | -962, | ||
187 | -1573, | ||
188 | -793, | ||
189 | 1323, | ||
190 | -595, | ||
191 | 2432, | ||
192 | 2655, | ||
193 | 503, | ||
194 | -2814, | ||
195 | 1293, | ||
196 | -1213, | ||
197 | 193, | ||
198 | -4405, | ||
199 | -588, | ||
200 | -3163, | ||
201 | -1392, | ||
202 | -1057, | ||
203 | 99, | ||
204 | 389, | ||
205 | 1935, | ||
206 | -893, | ||
207 | 2818, | ||
208 | 4163, | ||
209 | -230, | ||
210 | 1913, | ||
211 | 4800, | ||
212 | }; | ||
213 | |||
214 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
215 | DATA dbuffer[NH+3]; | ||
216 | |||
217 | #pragma DATA_SECTION (h,".coeffs") | ||
218 | DATA h[2*NH]; | ||
219 | |||
220 | DATA r[NX]; | ||
221 | |||
222 | DATA error; | ||
223 | |||
diff --git a/dsplib_benchmarks/dlmas_fast/t8.h b/dsplib_benchmarks/dlmas_fast/t8.h new file mode 100644 index 0000000..95aca2a --- /dev/null +++ b/dsplib_benchmarks/dlmas_fast/t8.h | |||
@@ -0,0 +1,163 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: rand */ | ||
36 | #define NX 32 | ||
37 | #define NH 4 | ||
38 | #define STEP 1310 | ||
39 | #define FNAME "t8" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | -10371, | ||
44 | -6436, | ||
45 | -12604, | ||
46 | -5796, | ||
47 | -14029, | ||
48 | -6939, | ||
49 | 197, | ||
50 | 14547, | ||
51 | -12701, | ||
52 | -25417, | ||
53 | -3717, | ||
54 | -2179, | ||
55 | -31807, | ||
56 | 10751, | ||
57 | 14683, | ||
58 | -14311, | ||
59 | -15610, | ||
60 | 13662, | ||
61 | 18602, | ||
62 | 31860, | ||
63 | -1747, | ||
64 | 26398, | ||
65 | -3208, | ||
66 | 19956, | ||
67 | 21552, | ||
68 | -21872, | ||
69 | -6953, | ||
70 | 1360, | ||
71 | 14294, | ||
72 | 4534, | ||
73 | -2569, | ||
74 | -3585, | ||
75 | }; | ||
76 | |||
77 | DATA des[NX] ={ | ||
78 | -27018, | ||
79 | -3704, | ||
80 | -8763, | ||
81 | -12942, | ||
82 | 23058, | ||
83 | 17005, | ||
84 | 29475, | ||
85 | 3797, | ||
86 | -31835, | ||
87 | 6302, | ||
88 | 20722, | ||
89 | 31266, | ||
90 | -18225, | ||
91 | 13348, | ||
92 | 1445, | ||
93 | 28370, | ||
94 | 13982, | ||
95 | -17824, | ||
96 | -3301, | ||
97 | -21483, | ||
98 | 30724, | ||
99 | -9456, | ||
100 | -29554, | ||
101 | 16733, | ||
102 | 25874, | ||
103 | -14015, | ||
104 | -16306, | ||
105 | 28359, | ||
106 | -24184, | ||
107 | 28889, | ||
108 | 13228, | ||
109 | 22785, | ||
110 | }; | ||
111 | |||
112 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
113 | -1196, | ||
114 | -682, | ||
115 | 288, | ||
116 | 0 | ||
117 | }; | ||
118 | |||
119 | DATA rtest[NX] ={ | ||
120 | 0, | ||
121 | 0, | ||
122 | -132, | ||
123 | -84, | ||
124 | -278, | ||
125 | -297, | ||
126 | 34, | ||
127 | 78, | ||
128 | -203, | ||
129 | -299, | ||
130 | 990, | ||
131 | 634, | ||
132 | -84, | ||
133 | 1967, | ||
134 | 1659, | ||
135 | -2089, | ||
136 | -401, | ||
137 | 1676, | ||
138 | -50, | ||
139 | -1293, | ||
140 | -2019, | ||
141 | -1756, | ||
142 | -512, | ||
143 | -1254, | ||
144 | -1700, | ||
145 | -769, | ||
146 | 596, | ||
147 | 668, | ||
148 | 403, | ||
149 | -525, | ||
150 | -840, | ||
151 | -176, | ||
152 | }; | ||
153 | |||
154 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
155 | DATA dbuffer[NH+2]; | ||
156 | |||
157 | #pragma DATA_SECTION (h,".coeffs") | ||
158 | DATA h[NH]; | ||
159 | |||
160 | DATA r[NX]; | ||
161 | |||
162 | DATA error; | ||
163 | |||
diff --git a/dsplib_benchmarks/dlms/DLMS_T.C b/dsplib_benchmarks/dlms/DLMS_T.C new file mode 100644 index 0000000..582b004 --- /dev/null +++ b/dsplib_benchmarks/dlms/DLMS_T.C | |||
@@ -0,0 +1,136 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: dlms_t.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test for dlms routine | ||
39 | //*****************************************************************************/ | ||
40 | |||
41 | #include <stdlib.h> | ||
42 | #include <math.h> | ||
43 | #include <tms320.h> | ||
44 | #include <stdio.h> | ||
45 | #include <dsplib.h> | ||
46 | #include <time.h> | ||
47 | |||
48 | #define NUMBER_OF_ITERATIONS 1000l | ||
49 | |||
50 | |||
51 | //#include "t1.h" //3,3 | ||
52 | //#include "t2.h" //21,40 | ||
53 | //#include "t3.h" //12,20 | ||
54 | #include "t4.h" //32,64 | ||
55 | //#include "t5.h" //21,128 | ||
56 | //#include "t6.h" //12,100 | ||
57 | //#include "t7.h" | ||
58 | //#include "t8.h" //3,32 | ||
59 | //#include "test.h" //12,100 | ||
60 | |||
61 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
62 | |||
63 | short eflagr = PASS; | ||
64 | short eflagh = PASS; | ||
65 | |||
66 | void clear_ran(short x[], int N) | ||
67 | { | ||
68 | int i ; | ||
69 | for (i=0; i<N; i++) | ||
70 | { | ||
71 | x[i] = 0 ; | ||
72 | } | ||
73 | return ; | ||
74 | } | ||
75 | |||
76 | void main() | ||
77 | { | ||
78 | int nx ,nh ,nstep; | ||
79 | long iterations1 ; | ||
80 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
81 | |||
82 | // clear | ||
83 | // for (i = 0; i< NH; i++) h[i] = 0; // clear coeff buffer (optional) | ||
84 | // for (i = 0; i< NX; i++) r[i] = 0; // clear output buffer (optional) | ||
85 | nx = NX ; | ||
86 | nh = NH ; | ||
87 | nstep = STEP ; | ||
88 | clear_ran(h, NH) ; | ||
89 | clear_ran(r, NX) ; | ||
90 | |||
91 | dbuffer[0] = 0; // clear index | ||
92 | clear_ran(dbuffer, NH + 3) ; | ||
93 | |||
94 | t1 = clock() ; | ||
95 | t2 = clock() ; | ||
96 | diff = t2 - t1 ; /// overhead of calling | ||
97 | t1 = clock() ; | ||
98 | |||
99 | // compute | ||
100 | dlms(x, h, r, des, dbuffer, nstep, nh, nx); | ||
101 | |||
102 | |||
103 | t2 = clock() ; | ||
104 | |||
105 | total1_t = (double) (t2 - t1-diff) ; | ||
106 | printf("standard LMS Delay filter #values %d #of taps %d step %d \n" , nx, nh,nstep ) ; | ||
107 | printf(" time (in cycles) %ld \n", total1_t) ; | ||
108 | |||
109 | // test | ||
110 | eflagr = test(r, rtest, NX, MAXERROR); // for r | ||
111 | eflagh = test(h, htest, NH, MAXERROR); // for h | ||
112 | |||
113 | if( (eflagr != PASS) || (eflagh != PASS) ) | ||
114 | { | ||
115 | exit(-1); | ||
116 | } | ||
117 | |||
118 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
119 | |||
120 | { | ||
121 | |||
122 | dlms(x, h, r, des, dbuffer, nstep, nh, nx); | ||
123 | |||
124 | } | ||
125 | |||
126 | |||
127 | printf("Done with %ld iteration \n",iterations1 ); | ||
128 | |||
129 | |||
130 | |||
131 | return; | ||
132 | } | ||
133 | |||
134 | |||
135 | |||
136 | |||
diff --git a/dsplib_benchmarks/dlms/TEST.C b/dsplib_benchmarks/dlms/TEST.C new file mode 100644 index 0000000..209777d --- /dev/null +++ b/dsplib_benchmarks/dlms/TEST.C | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | break; | ||
61 | } | ||
62 | else | ||
63 | if (elevel>emax) emax = elevel; | ||
64 | } | ||
65 | // Pass to Host: eflag and emax | ||
66 | return(eflag); | ||
67 | } | ||
diff --git a/dsplib_benchmarks/dlms/dlms.cmd b/dsplib_benchmarks/dlms/dlms.cmd new file mode 100644 index 0000000..94bf6e6 --- /dev/null +++ b/dsplib_benchmarks/dlms/dlms.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } \ No newline at end of file | ||
diff --git a/dsplib_benchmarks/dlms/t1.h b/dsplib_benchmarks/dlms/t1.h new file mode 100644 index 0000000..a47a5cf --- /dev/null +++ b/dsplib_benchmarks/dlms/t1.h | |||
@@ -0,0 +1,75 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: mtst */ | ||
36 | #define NX 3 | ||
37 | #define NH 3 | ||
38 | #define STEP 32767 | ||
39 | #define FNAME "t1" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 32764, | ||
44 | 0, | ||
45 | 0, | ||
46 | }; | ||
47 | |||
48 | DATA des[NX] ={ | ||
49 | 3276, | ||
50 | 6553, | ||
51 | 0, | ||
52 | }; | ||
53 | |||
54 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
55 | 0, | ||
56 | 6553, | ||
57 | 3276, | ||
58 | }; | ||
59 | |||
60 | DATA rtest[NX] ={ | ||
61 | 0, | ||
62 | 0, | ||
63 | 0, | ||
64 | }; | ||
65 | |||
66 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
67 | DATA dbuffer[NH+2]; | ||
68 | |||
69 | #pragma DATA_SECTION (h,".coeffs") | ||
70 | DATA h[NH]; | ||
71 | |||
72 | DATA r[NX]; | ||
73 | |||
74 | DATA error; | ||
75 | |||
diff --git a/dsplib_benchmarks/dlms/t2.h b/dsplib_benchmarks/dlms/t2.h new file mode 100644 index 0000000..04a9587 --- /dev/null +++ b/dsplib_benchmarks/dlms/t2.h | |||
@@ -0,0 +1,204 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: sine */ | ||
36 | #define NX 40 | ||
37 | #define NH 21 | ||
38 | #define STEP 1638 | ||
39 | #define FNAME "t2" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 0, | ||
44 | 11585, | ||
45 | 16384, | ||
46 | 11585, | ||
47 | 0, | ||
48 | -11586, | ||
49 | -16384, | ||
50 | -11586, | ||
51 | -1, | ||
52 | 11585, | ||
53 | 16384, | ||
54 | 11585, | ||
55 | 0, | ||
56 | -11586, | ||
57 | -16384, | ||
58 | -11586, | ||
59 | -1, | ||
60 | 11585, | ||
61 | 16384, | ||
62 | 11585, | ||
63 | 0, | ||
64 | -11586, | ||
65 | -16384, | ||
66 | -11586, | ||
67 | -1, | ||
68 | 11585, | ||
69 | 16384, | ||
70 | 11585, | ||
71 | 0, | ||
72 | -11586, | ||
73 | -16384, | ||
74 | -11586, | ||
75 | -1, | ||
76 | 11585, | ||
77 | 16384, | ||
78 | 11585, | ||
79 | 0, | ||
80 | -11586, | ||
81 | -16384, | ||
82 | -11586, | ||
83 | }; | ||
84 | |||
85 | DATA des[NX] ={ | ||
86 | 32767, | ||
87 | 23170, | ||
88 | 0, | ||
89 | -23171, | ||
90 | -32768, | ||
91 | -23171, | ||
92 | -1, | ||
93 | 23170, | ||
94 | 32767, | ||
95 | 23170, | ||
96 | 0, | ||
97 | -23171, | ||
98 | -32768, | ||
99 | -23171, | ||
100 | -1, | ||
101 | 23170, | ||
102 | 32767, | ||
103 | 23170, | ||
104 | 0, | ||
105 | -23171, | ||
106 | -32768, | ||
107 | -23171, | ||
108 | -1, | ||
109 | 23170, | ||
110 | 32767, | ||
111 | 23170, | ||
112 | -1, | ||
113 | -23171, | ||
114 | -32768, | ||
115 | -23171, | ||
116 | -1, | ||
117 | 23170, | ||
118 | 32767, | ||
119 | 23170, | ||
120 | -1, | ||
121 | -23171, | ||
122 | -32768, | ||
123 | -23171, | ||
124 | -1, | ||
125 | 23170, | ||
126 | }; | ||
127 | |||
128 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
129 | -155, | ||
130 | -1991, | ||
131 | -2909, | ||
132 | -2116, | ||
133 | 205, | ||
134 | 2827, | ||
135 | 4100, | ||
136 | 2963, | ||
137 | -253, | ||
138 | -3815, | ||
139 | -5501, | ||
140 | -3957, | ||
141 | 288, | ||
142 | 4915, | ||
143 | 7057, | ||
144 | 5061, | ||
145 | -307, | ||
146 | -6074, | ||
147 | -8695, | ||
148 | -6223, | ||
149 | 304, | ||
150 | }; | ||
151 | |||
152 | DATA rtest[NX] ={ | ||
153 | 0, | ||
154 | 0, | ||
155 | 0, | ||
156 | 145, | ||
157 | 0, | ||
158 | -145, | ||
159 | 207, | ||
160 | 873, | ||
161 | 1637, | ||
162 | 1449, | ||
163 | -376, | ||
164 | -2946, | ||
165 | -4748, | ||
166 | -3788, | ||
167 | 463, | ||
168 | 5808, | ||
169 | 8947, | ||
170 | 6878, | ||
171 | -448, | ||
172 | -9094, | ||
173 | -13706, | ||
174 | -10329, | ||
175 | 343, | ||
176 | 12418, | ||
177 | 18468, | ||
178 | 13665, | ||
179 | -93, | ||
180 | -15001, | ||
181 | -22046, | ||
182 | -16135, | ||
183 | -50, | ||
184 | 16968, | ||
185 | 24730, | ||
186 | 17962, | ||
187 | 124, | ||
188 | -18465, | ||
189 | -26743, | ||
190 | -19315, | ||
191 | -156, | ||
192 | 19603, | ||
193 | }; | ||
194 | |||
195 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
196 | DATA dbuffer[NH+2]; | ||
197 | |||
198 | #pragma DATA_SECTION (h,".coeffs") | ||
199 | DATA h[NH]; | ||
200 | |||
201 | DATA r[NX]; | ||
202 | |||
203 | DATA error; | ||
204 | |||
diff --git a/dsplib_benchmarks/dlms/t3.h b/dsplib_benchmarks/dlms/t3.h new file mode 100644 index 0000000..bc54c2d --- /dev/null +++ b/dsplib_benchmarks/dlms/t3.h | |||
@@ -0,0 +1,135 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: rand */ | ||
36 | #define NX 20 | ||
37 | #define NH 12 | ||
38 | #define STEP 327 | ||
39 | #define FNAME "t3" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 29499, | ||
44 | -17620, | ||
45 | 7001, | ||
46 | -919, | ||
47 | 25643, | ||
48 | 17176, | ||
49 | -2853, | ||
50 | -31556, | ||
51 | 21063, | ||
52 | -3624, | ||
53 | 7564, | ||
54 | 19132, | ||
55 | 27643, | ||
56 | 15610, | ||
57 | -21217, | ||
58 | -6180, | ||
59 | 28538, | ||
60 | 27321, | ||
61 | -5881, | ||
62 | 25797, | ||
63 | }; | ||
64 | |||
65 | DATA des[NX] ={ | ||
66 | -28974, | ||
67 | -9643, | ||
68 | 20523, | ||
69 | -32122, | ||
70 | -23666, | ||
71 | -19480, | ||
72 | -19745, | ||
73 | 6802, | ||
74 | -14930, | ||
75 | -19739, | ||
76 | -31767, | ||
77 | 16173, | ||
78 | -3599, | ||
79 | 28299, | ||
80 | -2229, | ||
81 | -5332, | ||
82 | 22689, | ||
83 | 1648, | ||
84 | -19488, | ||
85 | 11281, | ||
86 | }; | ||
87 | |||
88 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
89 | 484, | ||
90 | -599, | ||
91 | 60, | ||
92 | 188, | ||
93 | 46, | ||
94 | -767, | ||
95 | -106, | ||
96 | -255, | ||
97 | 346, | ||
98 | -38, | ||
99 | -351, | ||
100 | -139, | ||
101 | }; | ||
102 | |||
103 | DATA rtest[NX] ={ | ||
104 | 0, | ||
105 | 0, | ||
106 | -56, | ||
107 | -13, | ||
108 | -84, | ||
109 | -362, | ||
110 | 93, | ||
111 | 431, | ||
112 | -51, | ||
113 | -554, | ||
114 | 31, | ||
115 | -331, | ||
116 | -683, | ||
117 | -278, | ||
118 | -415, | ||
119 | 361, | ||
120 | -1214, | ||
121 | -910, | ||
122 | -839, | ||
123 | 588, | ||
124 | }; | ||
125 | |||
126 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
127 | DATA dbuffer[NH+2]; | ||
128 | |||
129 | #pragma DATA_SECTION (h,".coeffs") | ||
130 | DATA h[NH]; | ||
131 | |||
132 | DATA r[NX]; | ||
133 | |||
134 | DATA error; | ||
135 | |||
diff --git a/dsplib_benchmarks/dlms/t4.h b/dsplib_benchmarks/dlms/t4.h new file mode 100644 index 0000000..977caf7 --- /dev/null +++ b/dsplib_benchmarks/dlms/t4.h | |||
@@ -0,0 +1,287 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: nois */ | ||
36 | #define NX 64 | ||
37 | #define NH 32 | ||
38 | #define STEP 327 | ||
39 | #define FNAME "t4" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 22158, | ||
44 | -31481, | ||
45 | 11880, | ||
46 | -7899, | ||
47 | 21744, | ||
48 | 184, | ||
49 | 13727, | ||
50 | -4661, | ||
51 | -12805, | ||
52 | -20339, | ||
53 | -20092, | ||
54 | 11942, | ||
55 | -12927, | ||
56 | 2731, | ||
57 | -22881, | ||
58 | 12969, | ||
59 | -7971, | ||
60 | 23593, | ||
61 | 23177, | ||
62 | 6131, | ||
63 | -226, | ||
64 | 26199, | ||
65 | 21078, | ||
66 | 9496, | ||
67 | 20838, | ||
68 | 10500, | ||
69 | -10357, | ||
70 | -13781, | ||
71 | -10408, | ||
72 | 2233, | ||
73 | 14884, | ||
74 | -12499, | ||
75 | 22183, | ||
76 | 4461, | ||
77 | -8493, | ||
78 | 13286, | ||
79 | 3052, | ||
80 | -3613, | ||
81 | 12751, | ||
82 | 7950, | ||
83 | 19321, | ||
84 | 29939, | ||
85 | 1480, | ||
86 | 24912, | ||
87 | -21434, | ||
88 | 31440, | ||
89 | -14979, | ||
90 | -16232, | ||
91 | 24624, | ||
92 | 15552, | ||
93 | -23822, | ||
94 | -31998, | ||
95 | 25814, | ||
96 | -19718, | ||
97 | -13191, | ||
98 | 10580, | ||
99 | -14129, | ||
100 | -2017, | ||
101 | -28523, | ||
102 | 32003, | ||
103 | 5425, | ||
104 | -5014, | ||
105 | 1016, | ||
106 | -10883, | ||
107 | }; | ||
108 | |||
109 | DATA des[NX] ={ | ||
110 | -206, | ||
111 | -549, | ||
112 | 1328, | ||
113 | 73, | ||
114 | -815, | ||
115 | -185, | ||
116 | -1635, | ||
117 | 1405, | ||
118 | 1304, | ||
119 | 981, | ||
120 | -477, | ||
121 | 208, | ||
122 | -790, | ||
123 | -2430, | ||
124 | 3582, | ||
125 | -1508, | ||
126 | 3299, | ||
127 | -4350, | ||
128 | 1485, | ||
129 | -7020, | ||
130 | 5136, | ||
131 | -2488, | ||
132 | 955, | ||
133 | -1463, | ||
134 | -73, | ||
135 | 3255, | ||
136 | 1555, | ||
137 | 7734, | ||
138 | -3018, | ||
139 | 7491, | ||
140 | -8688, | ||
141 | -2529, | ||
142 | -4112, | ||
143 | 3887, | ||
144 | -3058, | ||
145 | 1099, | ||
146 | -3404, | ||
147 | -4485, | ||
148 | -93, | ||
149 | -1267, | ||
150 | 3646, | ||
151 | 551, | ||
152 | 3272, | ||
153 | 1263, | ||
154 | 5355, | ||
155 | 1379, | ||
156 | 2986, | ||
157 | 1270, | ||
158 | 436, | ||
159 | -6044, | ||
160 | 2969, | ||
161 | 2435, | ||
162 | 3012, | ||
163 | 3380, | ||
164 | -281, | ||
165 | -1885, | ||
166 | -5000, | ||
167 | 5358, | ||
168 | -6417, | ||
169 | 3270, | ||
170 | -1250, | ||
171 | 3213, | ||
172 | 1179, | ||
173 | 5985, | ||
174 | }; | ||
175 | |||
176 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
177 | -8, | ||
178 | -71, | ||
179 | 325, | ||
180 | -125, | ||
181 | 262, | ||
182 | -195, | ||
183 | 126, | ||
184 | -53, | ||
185 | 194, | ||
186 | 230, | ||
187 | 169, | ||
188 | 142, | ||
189 | -211, | ||
190 | 205, | ||
191 | -312, | ||
192 | 214, | ||
193 | -388, | ||
194 | 189, | ||
195 | -425, | ||
196 | 223, | ||
197 | -27, | ||
198 | 75, | ||
199 | 114, | ||
200 | 5, | ||
201 | 68, | ||
202 | -219, | ||
203 | 401, | ||
204 | -10, | ||
205 | 284, | ||
206 | 76, | ||
207 | -47, | ||
208 | -121, | ||
209 | }; | ||
210 | |||
211 | DATA rtest[NX] ={ | ||
212 | 0, | ||
213 | 0, | ||
214 | -1, | ||
215 | -2, | ||
216 | 13, | ||
217 | -13, | ||
218 | 1, | ||
219 | -1, | ||
220 | -12, | ||
221 | 39, | ||
222 | 0, | ||
223 | 6, | ||
224 | -32, | ||
225 | -2, | ||
226 | 0, | ||
227 | -27, | ||
228 | 114, | ||
229 | -165, | ||
230 | 120, | ||
231 | -225, | ||
232 | 185, | ||
233 | -238, | ||
234 | 206, | ||
235 | -224, | ||
236 | -14, | ||
237 | -19, | ||
238 | -61, | ||
239 | 416, | ||
240 | -149, | ||
241 | 510, | ||
242 | -510, | ||
243 | 572, | ||
244 | -637, | ||
245 | 433, | ||
246 | -447, | ||
247 | 166, | ||
248 | -316, | ||
249 | -199, | ||
250 | 24, | ||
251 | -245, | ||
252 | 337, | ||
253 | -383, | ||
254 | 375, | ||
255 | -280, | ||
256 | 892, | ||
257 | -242, | ||
258 | 1054, | ||
259 | -280, | ||
260 | 534, | ||
261 | -523, | ||
262 | 507, | ||
263 | -2, | ||
264 | -100, | ||
265 | 179, | ||
266 | -526, | ||
267 | 167, | ||
268 | -938, | ||
269 | 729, | ||
270 | -791, | ||
271 | 380, | ||
272 | -471, | ||
273 | 180, | ||
274 | 80, | ||
275 | 249, | ||
276 | }; | ||
277 | |||
278 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
279 | DATA dbuffer[NH+2]; | ||
280 | |||
281 | #pragma DATA_SECTION (h,".coeffs") | ||
282 | DATA h[NH]; | ||
283 | |||
284 | DATA r[NX]; | ||
285 | |||
286 | DATA error; | ||
287 | |||
diff --git a/dsplib_benchmarks/dlms/t5.h b/dsplib_benchmarks/dlms/t5.h new file mode 100644 index 0000000..6889d68 --- /dev/null +++ b/dsplib_benchmarks/dlms/t5.h | |||
@@ -0,0 +1,468 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: sine */ | ||
36 | #define NX 128 | ||
37 | #define NH 21 | ||
38 | #define STEP 1638 | ||
39 | #define FNAME "t5" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 0, | ||
44 | 11585, | ||
45 | 16384, | ||
46 | 11585, | ||
47 | 0, | ||
48 | -11586, | ||
49 | -16384, | ||
50 | -11586, | ||
51 | -1, | ||
52 | 11585, | ||
53 | 16384, | ||
54 | 11585, | ||
55 | 0, | ||
56 | -11586, | ||
57 | -16384, | ||
58 | -11586, | ||
59 | -1, | ||
60 | 11585, | ||
61 | 16384, | ||
62 | 11585, | ||
63 | 0, | ||
64 | -11586, | ||
65 | -16384, | ||
66 | -11586, | ||
67 | -1, | ||
68 | 11585, | ||
69 | 16384, | ||
70 | 11585, | ||
71 | 0, | ||
72 | -11586, | ||
73 | -16384, | ||
74 | -11586, | ||
75 | -1, | ||
76 | 11585, | ||
77 | 16384, | ||
78 | 11585, | ||
79 | 0, | ||
80 | -11586, | ||
81 | -16384, | ||
82 | -11586, | ||
83 | -1, | ||
84 | 11585, | ||
85 | 16384, | ||
86 | 11585, | ||
87 | 0, | ||
88 | -11586, | ||
89 | -16384, | ||
90 | -11586, | ||
91 | -1, | ||
92 | 11585, | ||
93 | 16384, | ||
94 | 11585, | ||
95 | -1, | ||
96 | -11586, | ||
97 | -16384, | ||
98 | -11586, | ||
99 | -1, | ||
100 | 11585, | ||
101 | 16384, | ||
102 | 11585, | ||
103 | 0, | ||
104 | -11586, | ||
105 | -16384, | ||
106 | -11586, | ||
107 | -1, | ||
108 | 11585, | ||
109 | 16384, | ||
110 | 11585, | ||
111 | -1, | ||
112 | -11586, | ||
113 | -16384, | ||
114 | -11586, | ||
115 | -1, | ||
116 | 11585, | ||
117 | 16384, | ||
118 | 11585, | ||
119 | 0, | ||
120 | -11586, | ||
121 | -16384, | ||
122 | -11586, | ||
123 | -1, | ||
124 | 11585, | ||
125 | 16384, | ||
126 | 11585, | ||
127 | -1, | ||
128 | -11586, | ||
129 | -16384, | ||
130 | -11586, | ||
131 | -1, | ||
132 | 11585, | ||
133 | 16384, | ||
134 | 11585, | ||
135 | 0, | ||
136 | -11586, | ||
137 | -16384, | ||
138 | -11586, | ||
139 | -1, | ||
140 | 11585, | ||
141 | 16384, | ||
142 | 11585, | ||
143 | -1, | ||
144 | -11586, | ||
145 | -16384, | ||
146 | -11586, | ||
147 | 0, | ||
148 | 11585, | ||
149 | 16384, | ||
150 | 11585, | ||
151 | 0, | ||
152 | -11586, | ||
153 | -16384, | ||
154 | -11586, | ||
155 | -1, | ||
156 | 11585, | ||
157 | 16384, | ||
158 | 11585, | ||
159 | -1, | ||
160 | -11586, | ||
161 | -16384, | ||
162 | -11586, | ||
163 | -1, | ||
164 | 11585, | ||
165 | 16384, | ||
166 | 11585, | ||
167 | 0, | ||
168 | -11586, | ||
169 | -16384, | ||
170 | -11586, | ||
171 | }; | ||
172 | |||
173 | DATA des[NX] ={ | ||
174 | 32767, | ||
175 | 23170, | ||
176 | 0, | ||
177 | -23171, | ||
178 | -32768, | ||
179 | -23171, | ||
180 | -1, | ||
181 | 23170, | ||
182 | 32767, | ||
183 | 23170, | ||
184 | 0, | ||
185 | -23171, | ||
186 | -32768, | ||
187 | -23171, | ||
188 | -1, | ||
189 | 23170, | ||
190 | 32767, | ||
191 | 23170, | ||
192 | 0, | ||
193 | -23171, | ||
194 | -32768, | ||
195 | -23171, | ||
196 | -1, | ||
197 | 23170, | ||
198 | 32767, | ||
199 | 23170, | ||
200 | -1, | ||
201 | -23171, | ||
202 | -32768, | ||
203 | -23171, | ||
204 | -1, | ||
205 | 23170, | ||
206 | 32767, | ||
207 | 23170, | ||
208 | -1, | ||
209 | -23171, | ||
210 | -32768, | ||
211 | -23171, | ||
212 | -1, | ||
213 | 23170, | ||
214 | 32767, | ||
215 | 23170, | ||
216 | -1, | ||
217 | -23171, | ||
218 | -32768, | ||
219 | -23171, | ||
220 | -1, | ||
221 | 23170, | ||
222 | 32767, | ||
223 | 23170, | ||
224 | -1, | ||
225 | -23171, | ||
226 | -32768, | ||
227 | -23171, | ||
228 | -1, | ||
229 | 23170, | ||
230 | 32767, | ||
231 | 23170, | ||
232 | -1, | ||
233 | -23171, | ||
234 | -32768, | ||
235 | -23171, | ||
236 | -1, | ||
237 | 23170, | ||
238 | 32767, | ||
239 | 23170, | ||
240 | 0, | ||
241 | -23171, | ||
242 | -32768, | ||
243 | -23171, | ||
244 | -1, | ||
245 | 23170, | ||
246 | 32767, | ||
247 | 23170, | ||
248 | 0, | ||
249 | -23171, | ||
250 | -32768, | ||
251 | -23171, | ||
252 | -1, | ||
253 | 23170, | ||
254 | 32767, | ||
255 | 23170, | ||
256 | 0, | ||
257 | -23171, | ||
258 | -32768, | ||
259 | -23171, | ||
260 | -1, | ||
261 | 23170, | ||
262 | 32767, | ||
263 | 23170, | ||
264 | 0, | ||
265 | -23171, | ||
266 | -32768, | ||
267 | -23171, | ||
268 | 0, | ||
269 | 23170, | ||
270 | 32767, | ||
271 | 23170, | ||
272 | 0, | ||
273 | -23171, | ||
274 | -32768, | ||
275 | -23171, | ||
276 | -1, | ||
277 | 23170, | ||
278 | 32767, | ||
279 | 23170, | ||
280 | 0, | ||
281 | -23171, | ||
282 | -32768, | ||
283 | -23171, | ||
284 | 0, | ||
285 | 23170, | ||
286 | 32767, | ||
287 | 23170, | ||
288 | 0, | ||
289 | -23171, | ||
290 | -32768, | ||
291 | -23171, | ||
292 | -1, | ||
293 | 23170, | ||
294 | 32767, | ||
295 | 23170, | ||
296 | 0, | ||
297 | -23171, | ||
298 | -32768, | ||
299 | -23171, | ||
300 | 0, | ||
301 | 23170, | ||
302 | }; | ||
303 | |||
304 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
305 | -63, | ||
306 | -2563, | ||
307 | -3811, | ||
308 | -2818, | ||
309 | 113, | ||
310 | 3399, | ||
311 | 5001, | ||
312 | 3665, | ||
313 | -160, | ||
314 | -4388, | ||
315 | -6402, | ||
316 | -4660, | ||
317 | 196, | ||
318 | 5488, | ||
319 | 7958, | ||
320 | 5764, | ||
321 | -214, | ||
322 | -6646, | ||
323 | -9597, | ||
324 | -6926, | ||
325 | 212, | ||
326 | }; | ||
327 | |||
328 | DATA rtest[NX] ={ | ||
329 | 0, | ||
330 | 0, | ||
331 | 0, | ||
332 | 145, | ||
333 | 0, | ||
334 | -145, | ||
335 | 207, | ||
336 | 873, | ||
337 | 1637, | ||
338 | 1449, | ||
339 | -376, | ||
340 | -2946, | ||
341 | -4748, | ||
342 | -3788, | ||
343 | 463, | ||
344 | 5808, | ||
345 | 8947, | ||
346 | 6878, | ||
347 | -448, | ||
348 | -9094, | ||
349 | -13706, | ||
350 | -10329, | ||
351 | 343, | ||
352 | 12418, | ||
353 | 18468, | ||
354 | 13665, | ||
355 | -93, | ||
356 | -15001, | ||
357 | -22046, | ||
358 | -16135, | ||
359 | -50, | ||
360 | 16968, | ||
361 | 24730, | ||
362 | 17962, | ||
363 | 124, | ||
364 | -18465, | ||
365 | -26743, | ||
366 | -19315, | ||
367 | -156, | ||
368 | 19603, | ||
369 | 28253, | ||
370 | 20316, | ||
371 | 162, | ||
372 | -20467, | ||
373 | -29385, | ||
374 | -21057, | ||
375 | -155, | ||
376 | 21124, | ||
377 | 30234, | ||
378 | 21605, | ||
379 | 140, | ||
380 | -21622, | ||
381 | -30870, | ||
382 | -22012, | ||
383 | -122, | ||
384 | 21999, | ||
385 | 31346, | ||
386 | 22312, | ||
387 | 104, | ||
388 | -22285, | ||
389 | -31703, | ||
390 | -22535, | ||
391 | -87, | ||
392 | 22501, | ||
393 | 31971, | ||
394 | 22700, | ||
395 | 72, | ||
396 | -22665, | ||
397 | -32171, | ||
398 | -22822, | ||
399 | -59, | ||
400 | 22789, | ||
401 | 32321, | ||
402 | 22912, | ||
403 | 48, | ||
404 | -22883, | ||
405 | -32434, | ||
406 | -22979, | ||
407 | -38, | ||
408 | 22953, | ||
409 | 32518, | ||
410 | 23029, | ||
411 | 30, | ||
412 | -23007, | ||
413 | -32581, | ||
414 | -23065, | ||
415 | -24, | ||
416 | 23047, | ||
417 | 32628, | ||
418 | 23093, | ||
419 | 19, | ||
420 | -23078, | ||
421 | -32663, | ||
422 | -23113, | ||
423 | -15, | ||
424 | 23101, | ||
425 | 32690, | ||
426 | 23128, | ||
427 | 12, | ||
428 | -23118, | ||
429 | -32709, | ||
430 | -23139, | ||
431 | -9, | ||
432 | 23131, | ||
433 | 32724, | ||
434 | 23147, | ||
435 | 7, | ||
436 | -23141, | ||
437 | -32735, | ||
438 | -23153, | ||
439 | -6, | ||
440 | 23148, | ||
441 | 32743, | ||
442 | 23158, | ||
443 | 4, | ||
444 | -23154, | ||
445 | -32750, | ||
446 | -23161, | ||
447 | -3, | ||
448 | 23158, | ||
449 | 32754, | ||
450 | 23163, | ||
451 | 3, | ||
452 | -23161, | ||
453 | -32758, | ||
454 | -23165, | ||
455 | -2, | ||
456 | 23163, | ||
457 | }; | ||
458 | |||
459 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
460 | DATA dbuffer[NH+2]; | ||
461 | |||
462 | #pragma DATA_SECTION (h,".coeffs") | ||
463 | DATA h[NH]; | ||
464 | |||
465 | DATA r[NX]; | ||
466 | |||
467 | DATA error; | ||
468 | |||
diff --git a/dsplib_benchmarks/dlms/t6.h b/dsplib_benchmarks/dlms/t6.h new file mode 100644 index 0000000..9cc7b56 --- /dev/null +++ b/dsplib_benchmarks/dlms/t6.h | |||
@@ -0,0 +1,375 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: rand */ | ||
36 | #define NX 100 | ||
37 | #define NH 12 | ||
38 | #define STEP 655 | ||
39 | #define FNAME "t6" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 16027, | ||
44 | -15208, | ||
45 | -3938, | ||
46 | 28401, | ||
47 | 12014, | ||
48 | -18838, | ||
49 | 22232, | ||
50 | 8439, | ||
51 | -24001, | ||
52 | -19194, | ||
53 | 7025, | ||
54 | 8512, | ||
55 | -8489, | ||
56 | 4924, | ||
57 | -3184, | ||
58 | -29891, | ||
59 | -30987, | ||
60 | -12276, | ||
61 | -31925, | ||
62 | -7605, | ||
63 | 12000, | ||
64 | -26684, | ||
65 | -30452, | ||
66 | 7365, | ||
67 | 7113, | ||
68 | -31735, | ||
69 | -31696, | ||
70 | -20312, | ||
71 | 5696, | ||
72 | -28995, | ||
73 | -8679, | ||
74 | 8614, | ||
75 | 14262, | ||
76 | 12626, | ||
77 | -27258, | ||
78 | -2992, | ||
79 | -3813, | ||
80 | -9618, | ||
81 | -22702, | ||
82 | 11510, | ||
83 | 13055, | ||
84 | 14909, | ||
85 | -1417, | ||
86 | 3594, | ||
87 | -24835, | ||
88 | -3228, | ||
89 | 14147, | ||
90 | 25745, | ||
91 | -14870, | ||
92 | -16072, | ||
93 | 23959, | ||
94 | -17541, | ||
95 | 19979, | ||
96 | 26764, | ||
97 | -17571, | ||
98 | -17085, | ||
99 | -29507, | ||
100 | -27631, | ||
101 | 9228, | ||
102 | -20258, | ||
103 | 22535, | ||
104 | -21372, | ||
105 | -21575, | ||
106 | 32393, | ||
107 | -3946, | ||
108 | -10483, | ||
109 | -12176, | ||
110 | -8843, | ||
111 | -6997, | ||
112 | 5998, | ||
113 | -24921, | ||
114 | -30269, | ||
115 | -2714, | ||
116 | 24239, | ||
117 | 28457, | ||
118 | -15437, | ||
119 | -22263, | ||
120 | 24435, | ||
121 | -17179, | ||
122 | 9557, | ||
123 | 30597, | ||
124 | 10808, | ||
125 | 24273, | ||
126 | -32118, | ||
127 | -23789, | ||
128 | 20889, | ||
129 | -4577, | ||
130 | 25579, | ||
131 | 15394, | ||
132 | 12276, | ||
133 | -10086, | ||
134 | -21887, | ||
135 | -22570, | ||
136 | -20243, | ||
137 | -5083, | ||
138 | 23328, | ||
139 | -639, | ||
140 | 20704, | ||
141 | -2571, | ||
142 | -2795, | ||
143 | }; | ||
144 | |||
145 | DATA des[NX] ={ | ||
146 | -3232, | ||
147 | -5753, | ||
148 | 26319, | ||
149 | -32402, | ||
150 | -13278, | ||
151 | -29546, | ||
152 | 12660, | ||
153 | 9837, | ||
154 | 31652, | ||
155 | 3451, | ||
156 | -6549, | ||
157 | -19740, | ||
158 | 8205, | ||
159 | 15293, | ||
160 | -8134, | ||
161 | -32121, | ||
162 | -5253, | ||
163 | 16624, | ||
164 | 19258, | ||
165 | 27522, | ||
166 | 22591, | ||
167 | -8667, | ||
168 | 7916, | ||
169 | 15156, | ||
170 | -20061, | ||
171 | 26529, | ||
172 | 4535, | ||
173 | 8636, | ||
174 | -17406, | ||
175 | 3196, | ||
176 | 28283, | ||
177 | -10801, | ||
178 | 10192, | ||
179 | -7085, | ||
180 | 8343, | ||
181 | 13046, | ||
182 | -6739, | ||
183 | -5661, | ||
184 | 10171, | ||
185 | 22123, | ||
186 | -8415, | ||
187 | -4899, | ||
188 | 6203, | ||
189 | 4308, | ||
190 | 14191, | ||
191 | 741, | ||
192 | 18114, | ||
193 | -699, | ||
194 | -20585, | ||
195 | 13148, | ||
196 | 31634, | ||
197 | 20095, | ||
198 | 13340, | ||
199 | -986, | ||
200 | -25257, | ||
201 | 10803, | ||
202 | -8823, | ||
203 | -23590, | ||
204 | 4375, | ||
205 | 21168, | ||
206 | 11399, | ||
207 | 32731, | ||
208 | 30253, | ||
209 | -28911, | ||
210 | -9155, | ||
211 | 3179, | ||
212 | -15613, | ||
213 | 6379, | ||
214 | -29539, | ||
215 | 4656, | ||
216 | 13163, | ||
217 | 30296, | ||
218 | 16417, | ||
219 | 15728, | ||
220 | -4465, | ||
221 | 8799, | ||
222 | 19858, | ||
223 | -27271, | ||
224 | 29193, | ||
225 | 27258, | ||
226 | 6683, | ||
227 | -16151, | ||
228 | 24474, | ||
229 | 878, | ||
230 | 15246, | ||
231 | -5097, | ||
232 | 30236, | ||
233 | -28046, | ||
234 | 3500, | ||
235 | -13633, | ||
236 | 23459, | ||
237 | -10764, | ||
238 | 11809, | ||
239 | -29266, | ||
240 | -9395, | ||
241 | -112, | ||
242 | -4297, | ||
243 | 4093, | ||
244 | 7642, | ||
245 | -25340, | ||
246 | }; | ||
247 | |||
248 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
249 | -753, | ||
250 | 481, | ||
251 | 1445, | ||
252 | -2282, | ||
253 | -1169, | ||
254 | 376, | ||
255 | -2054, | ||
256 | -2327, | ||
257 | -767, | ||
258 | 986, | ||
259 | -1730, | ||
260 | -2667, | ||
261 | }; | ||
262 | |||
263 | DATA rtest[NX] ={ | ||
264 | 0, | ||
265 | 0, | ||
266 | 4, | ||
267 | 26, | ||
268 | -307, | ||
269 | 787, | ||
270 | -156, | ||
271 | -457, | ||
272 | -361, | ||
273 | 375, | ||
274 | -150, | ||
275 | -71, | ||
276 | 377, | ||
277 | 61, | ||
278 | -859, | ||
279 | 752, | ||
280 | 2236, | ||
281 | 28, | ||
282 | -1686, | ||
283 | 262, | ||
284 | 555, | ||
285 | 463, | ||
286 | 1732, | ||
287 | 2315, | ||
288 | -259, | ||
289 | 1391, | ||
290 | 5677, | ||
291 | 3189, | ||
292 | 1305, | ||
293 | 4888, | ||
294 | 6036, | ||
295 | 381, | ||
296 | -1269, | ||
297 | 1552, | ||
298 | 3173, | ||
299 | 770, | ||
300 | -582, | ||
301 | 2254, | ||
302 | 4767, | ||
303 | 2674, | ||
304 | -2141, | ||
305 | -1114, | ||
306 | 679, | ||
307 | 559, | ||
308 | -2189, | ||
309 | 1869, | ||
310 | 213, | ||
311 | -923, | ||
312 | -353, | ||
313 | 2579, | ||
314 | -2188, | ||
315 | -4241, | ||
316 | 1581, | ||
317 | 381, | ||
318 | -3642, | ||
319 | -490, | ||
320 | 4108, | ||
321 | 2482, | ||
322 | 2602, | ||
323 | 1069, | ||
324 | 2709, | ||
325 | -849, | ||
326 | 2340, | ||
327 | 2555, | ||
328 | -1414, | ||
329 | 1269, | ||
330 | 5343, | ||
331 | 1297, | ||
332 | -1752, | ||
333 | 3348, | ||
334 | 2612, | ||
335 | 2518, | ||
336 | 4227, | ||
337 | -1521, | ||
338 | -2467, | ||
339 | 3427, | ||
340 | 5007, | ||
341 | -3164, | ||
342 | -5066, | ||
343 | 1383, | ||
344 | -1858, | ||
345 | -3275, | ||
346 | -4996, | ||
347 | 2432, | ||
348 | -577, | ||
349 | -7362, | ||
350 | -597, | ||
351 | 1407, | ||
352 | -2297, | ||
353 | -1960, | ||
354 | -5172, | ||
355 | 5024, | ||
356 | -1165, | ||
357 | 618, | ||
358 | 4294, | ||
359 | -420, | ||
360 | 1248, | ||
361 | 2285, | ||
362 | 1105, | ||
363 | 955, | ||
364 | }; | ||
365 | |||
366 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
367 | DATA dbuffer[NH+2]; | ||
368 | |||
369 | #pragma DATA_SECTION (h,".coeffs") | ||
370 | DATA h[NH]; | ||
371 | |||
372 | DATA r[NX]; | ||
373 | |||
374 | DATA error; | ||
375 | |||
diff --git a/dsplib_benchmarks/dlms/t7.h b/dsplib_benchmarks/dlms/t7.h new file mode 100644 index 0000000..e3c21e3 --- /dev/null +++ b/dsplib_benchmarks/dlms/t7.h | |||
@@ -0,0 +1,223 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: nois */ | ||
36 | #define NX 50 | ||
37 | #define NH 10 | ||
38 | #define STEP 983 | ||
39 | #define FNAME "t7" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 26099, | ||
44 | 16682, | ||
45 | 19079, | ||
46 | 20640, | ||
47 | 11141, | ||
48 | -19604, | ||
49 | -14871, | ||
50 | 8272, | ||
51 | 2415, | ||
52 | -28869, | ||
53 | -26938, | ||
54 | -14988, | ||
55 | -5960, | ||
56 | -1702, | ||
57 | 26803, | ||
58 | 6307, | ||
59 | -11210, | ||
60 | -1430, | ||
61 | 6368, | ||
62 | -22188, | ||
63 | 21592, | ||
64 | 29892, | ||
65 | 6261, | ||
66 | -30884, | ||
67 | 20454, | ||
68 | 7216, | ||
69 | 13205, | ||
70 | -26726, | ||
71 | -4923, | ||
72 | -8155, | ||
73 | -21879, | ||
74 | 21833, | ||
75 | 22193, | ||
76 | -3172, | ||
77 | 29923, | ||
78 | -23125, | ||
79 | 24243, | ||
80 | 17657, | ||
81 | -3660, | ||
82 | 7904, | ||
83 | 29601, | ||
84 | 9175, | ||
85 | -16560, | ||
86 | -9654, | ||
87 | -20457, | ||
88 | -614, | ||
89 | -5946, | ||
90 | -2391, | ||
91 | 7270, | ||
92 | -28104, | ||
93 | }; | ||
94 | |||
95 | DATA des[NX] ={ | ||
96 | -3018, | ||
97 | -168, | ||
98 | -6360, | ||
99 | -2508, | ||
100 | -6626, | ||
101 | -939, | ||
102 | -2314, | ||
103 | 109, | ||
104 | 1549, | ||
105 | 11687, | ||
106 | 7261, | ||
107 | 9287, | ||
108 | 9364, | ||
109 | 8412, | ||
110 | -6401, | ||
111 | -2164, | ||
112 | -830, | ||
113 | 551, | ||
114 | -10758, | ||
115 | -4780, | ||
116 | -7416, | ||
117 | 337, | ||
118 | -5790, | ||
119 | 11210, | ||
120 | -6581, | ||
121 | 365, | ||
122 | -6531, | ||
123 | 10106, | ||
124 | -14460, | ||
125 | 13444, | ||
126 | 8411, | ||
127 | 2729, | ||
128 | -6041, | ||
129 | 2248, | ||
130 | -607, | ||
131 | 5387, | ||
132 | -20366, | ||
133 | 7230, | ||
134 | -13141, | ||
135 | -3582, | ||
136 | 856, | ||
137 | 2873, | ||
138 | -824, | ||
139 | 6101, | ||
140 | -4640, | ||
141 | 6795, | ||
142 | 11879, | ||
143 | -2334, | ||
144 | 5540, | ||
145 | 11473, | ||
146 | }; | ||
147 | |||
148 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
149 | 3446, | ||
150 | 498, | ||
151 | -138, | ||
152 | 184, | ||
153 | 656, | ||
154 | -1951, | ||
155 | 324, | ||
156 | -2104, | ||
157 | 156, | ||
158 | -2132, | ||
159 | }; | ||
160 | |||
161 | DATA rtest[NX] ={ | ||
162 | 0, | ||
163 | 0, | ||
164 | -42, | ||
165 | -49, | ||
166 | -214, | ||
167 | -63, | ||
168 | 3, | ||
169 | 67, | ||
170 | 69, | ||
171 | 285, | ||
172 | 438, | ||
173 | 739, | ||
174 | 798, | ||
175 | 716, | ||
176 | -498, | ||
177 | -534, | ||
178 | -226, | ||
179 | -895, | ||
180 | -1674, | ||
181 | -157, | ||
182 | -599, | ||
183 | -1118, | ||
184 | -362, | ||
185 | 1386, | ||
186 | -962, | ||
187 | -1573, | ||
188 | -793, | ||
189 | 1323, | ||
190 | -595, | ||
191 | 2432, | ||
192 | 2655, | ||
193 | 503, | ||
194 | -2814, | ||
195 | 1293, | ||
196 | -1213, | ||
197 | 193, | ||
198 | -4405, | ||
199 | -588, | ||
200 | -3163, | ||
201 | -1392, | ||
202 | -1057, | ||
203 | 99, | ||
204 | 389, | ||
205 | 1935, | ||
206 | -893, | ||
207 | 2818, | ||
208 | 4163, | ||
209 | -230, | ||
210 | 1913, | ||
211 | 4800, | ||
212 | }; | ||
213 | |||
214 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
215 | DATA dbuffer[NH+2]; | ||
216 | |||
217 | #pragma DATA_SECTION (h,".coeffs") | ||
218 | DATA h[NH]; | ||
219 | |||
220 | DATA r[NX]; | ||
221 | |||
222 | DATA error; | ||
223 | |||
diff --git a/dsplib_benchmarks/dlms/t8.h b/dsplib_benchmarks/dlms/t8.h new file mode 100644 index 0000000..2277c18 --- /dev/null +++ b/dsplib_benchmarks/dlms/t8.h | |||
@@ -0,0 +1,162 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: rand */ | ||
36 | #define NX 32 | ||
37 | #define NH 3 | ||
38 | #define STEP 1310 | ||
39 | #define FNAME "t8" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | -10371, | ||
44 | -6436, | ||
45 | -12604, | ||
46 | -5796, | ||
47 | -14029, | ||
48 | -6939, | ||
49 | 197, | ||
50 | 14547, | ||
51 | -12701, | ||
52 | -25417, | ||
53 | -3717, | ||
54 | -2179, | ||
55 | -31807, | ||
56 | 10751, | ||
57 | 14683, | ||
58 | -14311, | ||
59 | -15610, | ||
60 | 13662, | ||
61 | 18602, | ||
62 | 31860, | ||
63 | -1747, | ||
64 | 26398, | ||
65 | -3208, | ||
66 | 19956, | ||
67 | 21552, | ||
68 | -21872, | ||
69 | -6953, | ||
70 | 1360, | ||
71 | 14294, | ||
72 | 4534, | ||
73 | -2569, | ||
74 | -3585, | ||
75 | }; | ||
76 | |||
77 | DATA des[NX] ={ | ||
78 | -27018, | ||
79 | -3704, | ||
80 | -8763, | ||
81 | -12942, | ||
82 | 23058, | ||
83 | 17005, | ||
84 | 29475, | ||
85 | 3797, | ||
86 | -31835, | ||
87 | 6302, | ||
88 | 20722, | ||
89 | 31266, | ||
90 | -18225, | ||
91 | 13348, | ||
92 | 1445, | ||
93 | 28370, | ||
94 | 13982, | ||
95 | -17824, | ||
96 | -3301, | ||
97 | -21483, | ||
98 | 30724, | ||
99 | -9456, | ||
100 | -29554, | ||
101 | 16733, | ||
102 | 25874, | ||
103 | -14015, | ||
104 | -16306, | ||
105 | 28359, | ||
106 | -24184, | ||
107 | 28889, | ||
108 | 13228, | ||
109 | 22785, | ||
110 | }; | ||
111 | |||
112 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
113 | -1196, | ||
114 | -682, | ||
115 | 288, | ||
116 | }; | ||
117 | |||
118 | DATA rtest[NX] ={ | ||
119 | 0, | ||
120 | 0, | ||
121 | -132, | ||
122 | -84, | ||
123 | -278, | ||
124 | -297, | ||
125 | 34, | ||
126 | 78, | ||
127 | -203, | ||
128 | -299, | ||
129 | 990, | ||
130 | 634, | ||
131 | -84, | ||
132 | 1967, | ||
133 | 1659, | ||
134 | -2089, | ||
135 | -401, | ||
136 | 1676, | ||
137 | -50, | ||
138 | -1293, | ||
139 | -2019, | ||
140 | -1756, | ||
141 | -512, | ||
142 | -1254, | ||
143 | -1700, | ||
144 | -769, | ||
145 | 596, | ||
146 | 668, | ||
147 | 403, | ||
148 | -525, | ||
149 | -840, | ||
150 | -176, | ||
151 | }; | ||
152 | |||
153 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
154 | DATA dbuffer[NH+2]; | ||
155 | |||
156 | #pragma DATA_SECTION (h,".coeffs") | ||
157 | DATA h[NH]; | ||
158 | |||
159 | DATA r[NX]; | ||
160 | |||
161 | DATA error; | ||
162 | |||
diff --git a/dsplib_benchmarks/dlms/test.h b/dsplib_benchmarks/dlms/test.h new file mode 100644 index 0000000..9cc7b56 --- /dev/null +++ b/dsplib_benchmarks/dlms/test.h | |||
@@ -0,0 +1,375 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* Test for dlms: rand */ | ||
36 | #define NX 100 | ||
37 | #define NH 12 | ||
38 | #define STEP 655 | ||
39 | #define FNAME "t6" | ||
40 | #define MAXERROR 20 | ||
41 | |||
42 | DATA x[NX] ={ | ||
43 | 16027, | ||
44 | -15208, | ||
45 | -3938, | ||
46 | 28401, | ||
47 | 12014, | ||
48 | -18838, | ||
49 | 22232, | ||
50 | 8439, | ||
51 | -24001, | ||
52 | -19194, | ||
53 | 7025, | ||
54 | 8512, | ||
55 | -8489, | ||
56 | 4924, | ||
57 | -3184, | ||
58 | -29891, | ||
59 | -30987, | ||
60 | -12276, | ||
61 | -31925, | ||
62 | -7605, | ||
63 | 12000, | ||
64 | -26684, | ||
65 | -30452, | ||
66 | 7365, | ||
67 | 7113, | ||
68 | -31735, | ||
69 | -31696, | ||
70 | -20312, | ||
71 | 5696, | ||
72 | -28995, | ||
73 | -8679, | ||
74 | 8614, | ||
75 | 14262, | ||
76 | 12626, | ||
77 | -27258, | ||
78 | -2992, | ||
79 | -3813, | ||
80 | -9618, | ||
81 | -22702, | ||
82 | 11510, | ||
83 | 13055, | ||
84 | 14909, | ||
85 | -1417, | ||
86 | 3594, | ||
87 | -24835, | ||
88 | -3228, | ||
89 | 14147, | ||
90 | 25745, | ||
91 | -14870, | ||
92 | -16072, | ||
93 | 23959, | ||
94 | -17541, | ||
95 | 19979, | ||
96 | 26764, | ||
97 | -17571, | ||
98 | -17085, | ||
99 | -29507, | ||
100 | -27631, | ||
101 | 9228, | ||
102 | -20258, | ||
103 | 22535, | ||
104 | -21372, | ||
105 | -21575, | ||
106 | 32393, | ||
107 | -3946, | ||
108 | -10483, | ||
109 | -12176, | ||
110 | -8843, | ||
111 | -6997, | ||
112 | 5998, | ||
113 | -24921, | ||
114 | -30269, | ||
115 | -2714, | ||
116 | 24239, | ||
117 | 28457, | ||
118 | -15437, | ||
119 | -22263, | ||
120 | 24435, | ||
121 | -17179, | ||
122 | 9557, | ||
123 | 30597, | ||
124 | 10808, | ||
125 | 24273, | ||
126 | -32118, | ||
127 | -23789, | ||
128 | 20889, | ||
129 | -4577, | ||
130 | 25579, | ||
131 | 15394, | ||
132 | 12276, | ||
133 | -10086, | ||
134 | -21887, | ||
135 | -22570, | ||
136 | -20243, | ||
137 | -5083, | ||
138 | 23328, | ||
139 | -639, | ||
140 | 20704, | ||
141 | -2571, | ||
142 | -2795, | ||
143 | }; | ||
144 | |||
145 | DATA des[NX] ={ | ||
146 | -3232, | ||
147 | -5753, | ||
148 | 26319, | ||
149 | -32402, | ||
150 | -13278, | ||
151 | -29546, | ||
152 | 12660, | ||
153 | 9837, | ||
154 | 31652, | ||
155 | 3451, | ||
156 | -6549, | ||
157 | -19740, | ||
158 | 8205, | ||
159 | 15293, | ||
160 | -8134, | ||
161 | -32121, | ||
162 | -5253, | ||
163 | 16624, | ||
164 | 19258, | ||
165 | 27522, | ||
166 | 22591, | ||
167 | -8667, | ||
168 | 7916, | ||
169 | 15156, | ||
170 | -20061, | ||
171 | 26529, | ||
172 | 4535, | ||
173 | 8636, | ||
174 | -17406, | ||
175 | 3196, | ||
176 | 28283, | ||
177 | -10801, | ||
178 | 10192, | ||
179 | -7085, | ||
180 | 8343, | ||
181 | 13046, | ||
182 | -6739, | ||
183 | -5661, | ||
184 | 10171, | ||
185 | 22123, | ||
186 | -8415, | ||
187 | -4899, | ||
188 | 6203, | ||
189 | 4308, | ||
190 | 14191, | ||
191 | 741, | ||
192 | 18114, | ||
193 | -699, | ||
194 | -20585, | ||
195 | 13148, | ||
196 | 31634, | ||
197 | 20095, | ||
198 | 13340, | ||
199 | -986, | ||
200 | -25257, | ||
201 | 10803, | ||
202 | -8823, | ||
203 | -23590, | ||
204 | 4375, | ||
205 | 21168, | ||
206 | 11399, | ||
207 | 32731, | ||
208 | 30253, | ||
209 | -28911, | ||
210 | -9155, | ||
211 | 3179, | ||
212 | -15613, | ||
213 | 6379, | ||
214 | -29539, | ||
215 | 4656, | ||
216 | 13163, | ||
217 | 30296, | ||
218 | 16417, | ||
219 | 15728, | ||
220 | -4465, | ||
221 | 8799, | ||
222 | 19858, | ||
223 | -27271, | ||
224 | 29193, | ||
225 | 27258, | ||
226 | 6683, | ||
227 | -16151, | ||
228 | 24474, | ||
229 | 878, | ||
230 | 15246, | ||
231 | -5097, | ||
232 | 30236, | ||
233 | -28046, | ||
234 | 3500, | ||
235 | -13633, | ||
236 | 23459, | ||
237 | -10764, | ||
238 | 11809, | ||
239 | -29266, | ||
240 | -9395, | ||
241 | -112, | ||
242 | -4297, | ||
243 | 4093, | ||
244 | 7642, | ||
245 | -25340, | ||
246 | }; | ||
247 | |||
248 | DATA htest[NH] ={ /* C54x: hn-1 ... h0 (backward order) */ | ||
249 | -753, | ||
250 | 481, | ||
251 | 1445, | ||
252 | -2282, | ||
253 | -1169, | ||
254 | 376, | ||
255 | -2054, | ||
256 | -2327, | ||
257 | -767, | ||
258 | 986, | ||
259 | -1730, | ||
260 | -2667, | ||
261 | }; | ||
262 | |||
263 | DATA rtest[NX] ={ | ||
264 | 0, | ||
265 | 0, | ||
266 | 4, | ||
267 | 26, | ||
268 | -307, | ||
269 | 787, | ||
270 | -156, | ||
271 | -457, | ||
272 | -361, | ||
273 | 375, | ||
274 | -150, | ||
275 | -71, | ||
276 | 377, | ||
277 | 61, | ||
278 | -859, | ||
279 | 752, | ||
280 | 2236, | ||
281 | 28, | ||
282 | -1686, | ||
283 | 262, | ||
284 | 555, | ||
285 | 463, | ||
286 | 1732, | ||
287 | 2315, | ||
288 | -259, | ||
289 | 1391, | ||
290 | 5677, | ||
291 | 3189, | ||
292 | 1305, | ||
293 | 4888, | ||
294 | 6036, | ||
295 | 381, | ||
296 | -1269, | ||
297 | 1552, | ||
298 | 3173, | ||
299 | 770, | ||
300 | -582, | ||
301 | 2254, | ||
302 | 4767, | ||
303 | 2674, | ||
304 | -2141, | ||
305 | -1114, | ||
306 | 679, | ||
307 | 559, | ||
308 | -2189, | ||
309 | 1869, | ||
310 | 213, | ||
311 | -923, | ||
312 | -353, | ||
313 | 2579, | ||
314 | -2188, | ||
315 | -4241, | ||
316 | 1581, | ||
317 | 381, | ||
318 | -3642, | ||
319 | -490, | ||
320 | 4108, | ||
321 | 2482, | ||
322 | 2602, | ||
323 | 1069, | ||
324 | 2709, | ||
325 | -849, | ||
326 | 2340, | ||
327 | 2555, | ||
328 | -1414, | ||
329 | 1269, | ||
330 | 5343, | ||
331 | 1297, | ||
332 | -1752, | ||
333 | 3348, | ||
334 | 2612, | ||
335 | 2518, | ||
336 | 4227, | ||
337 | -1521, | ||
338 | -2467, | ||
339 | 3427, | ||
340 | 5007, | ||
341 | -3164, | ||
342 | -5066, | ||
343 | 1383, | ||
344 | -1858, | ||
345 | -3275, | ||
346 | -4996, | ||
347 | 2432, | ||
348 | -577, | ||
349 | -7362, | ||
350 | -597, | ||
351 | 1407, | ||
352 | -2297, | ||
353 | -1960, | ||
354 | -5172, | ||
355 | 5024, | ||
356 | -1165, | ||
357 | 618, | ||
358 | 4294, | ||
359 | -420, | ||
360 | 1248, | ||
361 | 2285, | ||
362 | 1105, | ||
363 | 955, | ||
364 | }; | ||
365 | |||
366 | #pragma DATA_SECTION (dbuffer,".dbuffer") | ||
367 | DATA dbuffer[NH+2]; | ||
368 | |||
369 | #pragma DATA_SECTION (h,".coeffs") | ||
370 | DATA h[NH]; | ||
371 | |||
372 | DATA r[NX]; | ||
373 | |||
374 | DATA error; | ||
375 | |||
diff --git a/dsplib_benchmarks/fir1/FIR_T.C b/dsplib_benchmarks/fir1/FIR_T.C new file mode 100644 index 0000000..7c8da33 --- /dev/null +++ b/dsplib_benchmarks/fir1/FIR_T.C | |||
@@ -0,0 +1,142 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: fir_t.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test for fir routine | ||
39 | //***************************************************************************** | ||
40 | |||
41 | #include <stdlib.h> | ||
42 | #include <math.h> | ||
43 | #include <tms320.h> | ||
44 | #include <dsplib.h> | ||
45 | #include <stdio.h> | ||
46 | #include <time.h> | ||
47 | |||
48 | #define NUMBER_OF_ITERATIONS 1000l | ||
49 | |||
50 | |||
51 | |||
52 | //#include "t1.h" | ||
53 | //#include "t2.h" | ||
54 | //#include "t3.h" | ||
55 | //#include "t4.h" | ||
56 | #include "t5_ran.h" | ||
57 | //#include "t6.h" | ||
58 | //#include "t7.h" | ||
59 | //#include "t8.h" | ||
60 | //#include "test.h" | ||
61 | |||
62 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
63 | |||
64 | short eflag1= PASS; | ||
65 | short eflag2= PASS; | ||
66 | DATA *dbptr = &db[0]; | ||
67 | |||
68 | void main() | ||
69 | { | ||
70 | short i; | ||
71 | int nx ,nh ; | ||
72 | long iterations1 ; | ||
73 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
74 | |||
75 | |||
76 | // 1. Test for single-buffer | ||
77 | |||
78 | // clear | ||
79 | nx = NX ; | ||
80 | nx = 1 ; // check on 1 element | ||
81 | nh = NH ; | ||
82 | |||
83 | for (i = 0; i < nx; i++) r[i] = 0; // clear output buffer (optional) | ||
84 | for (i = 0; i < (NH+2); i++) db[i] = 0; // clear delay buffer (a must) | ||
85 | |||
86 | // compute | ||
87 | |||
88 | t1 = clock() ; | ||
89 | t2 = clock() ; | ||
90 | diff = t2 - t1 ; /// overhead of calling | ||
91 | t1 = clock() ; // compute | ||
92 | |||
93 | fir(x, h, r, dbptr, nx, nh); | ||
94 | |||
95 | |||
96 | t2 = clock() ; | ||
97 | |||
98 | |||
99 | total1_t = (double) (t2 - t1-diff) ; | ||
100 | printf("number of elements in the vector is is %d and corefficients %d \n",nx, nh ) ; | ||
101 | printf("FIR filter time (in cycles) %ld \n", total1_t) ; | ||
102 | |||
103 | |||
104 | nx = 32 ; | ||
105 | |||
106 | t1 = clock() ; // compute | ||
107 | |||
108 | fir(x, h, r, dbptr, nx, nh); | ||
109 | |||
110 | |||
111 | t2 = clock() ; | ||
112 | |||
113 | |||
114 | total1_t = (double) (t2 - t1-diff) ; | ||
115 | printf("number of elements in the vector is is %d and corefficients %d \n",nx, nh ) ; | ||
116 | printf("FIR filter time (in cycles) %ld \n", total1_t) ; | ||
117 | |||
118 | |||
119 | // test | ||
120 | // eflag1 = test (r, rtest, nx, MAXERROR); | ||
121 | |||
122 | // if( (eflag1 != PASS) || (eflag2 != PASS) ) | ||
123 | // { | ||
124 | // exit(-1); | ||
125 | // } | ||
126 | |||
127 | |||
128 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
129 | |||
130 | { | ||
131 | |||
132 | fir(x, h, r, dbptr, nx, nh); | ||
133 | |||
134 | } | ||
135 | |||
136 | |||
137 | printf("Done with %ld iteration \n",iterations1 ); | ||
138 | |||
139 | |||
140 | |||
141 | return; | ||
142 | } | ||
diff --git a/dsplib_benchmarks/fir1/TEST.C b/dsplib_benchmarks/fir1/TEST.C new file mode 100644 index 0000000..209777d --- /dev/null +++ b/dsplib_benchmarks/fir1/TEST.C | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | break; | ||
61 | } | ||
62 | else | ||
63 | if (elevel>emax) emax = elevel; | ||
64 | } | ||
65 | // Pass to Host: eflag and emax | ||
66 | return(eflag); | ||
67 | } | ||
diff --git a/dsplib_benchmarks/fir1/fir1.cmd b/dsplib_benchmarks/fir1/fir1.cmd new file mode 100644 index 0000000..94bf6e6 --- /dev/null +++ b/dsplib_benchmarks/fir1/fir1.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } \ No newline at end of file | ||
diff --git a/dsplib_benchmarks/fir1/t1.h b/dsplib_benchmarks/fir1/t1.h new file mode 100644 index 0000000..3590d9d --- /dev/null +++ b/dsplib_benchmarks/fir1/t1.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 8 | ||
36 | #define NH 4 | ||
37 | #define FNAME "t1" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 0, | ||
43 | 0, | ||
44 | 0, | ||
45 | 0, | ||
46 | 0, | ||
47 | 0, | ||
48 | 0, | ||
49 | }; | ||
50 | |||
51 | #pragma DATA_SECTION(h,".coeffs") | ||
52 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
53 | 17562, | ||
54 | -10491, | ||
55 | 4168, | ||
56 | -547, | ||
57 | }; | ||
58 | |||
59 | #pragma DATA_SECTION(db,".dbuffer") | ||
60 | DATA db[NH+2] ; | ||
61 | |||
62 | DATA rtest[NX] ={ | ||
63 | 17562, | ||
64 | -10490, | ||
65 | 4169, | ||
66 | -547, | ||
67 | 0, | ||
68 | 0, | ||
69 | 0, | ||
70 | 0, | ||
71 | }; | ||
72 | |||
73 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t2.h b/dsplib_benchmarks/fir1/t2.h new file mode 100644 index 0000000..f6218ee --- /dev/null +++ b/dsplib_benchmarks/fir1/t2.h | |||
@@ -0,0 +1,373 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 0, | ||
43 | 0, | ||
44 | 0, | ||
45 | 0, | ||
46 | 0, | ||
47 | 0, | ||
48 | 0, | ||
49 | 0, | ||
50 | 0, | ||
51 | 0, | ||
52 | 0, | ||
53 | 0, | ||
54 | 0, | ||
55 | 0, | ||
56 | 0, | ||
57 | 0, | ||
58 | 0, | ||
59 | 0, | ||
60 | 0, | ||
61 | 0, | ||
62 | 0, | ||
63 | 0, | ||
64 | 0, | ||
65 | 0, | ||
66 | 0, | ||
67 | 0, | ||
68 | 0, | ||
69 | 0, | ||
70 | 0, | ||
71 | 0, | ||
72 | 0, | ||
73 | 0, | ||
74 | 0, | ||
75 | 0, | ||
76 | 0, | ||
77 | 0, | ||
78 | 0, | ||
79 | 0, | ||
80 | 0, | ||
81 | 0, | ||
82 | 0, | ||
83 | 0, | ||
84 | 0, | ||
85 | 0, | ||
86 | 0, | ||
87 | 0, | ||
88 | 0, | ||
89 | 0, | ||
90 | 0, | ||
91 | 0, | ||
92 | 0, | ||
93 | 0, | ||
94 | 0, | ||
95 | 0, | ||
96 | 0, | ||
97 | 0, | ||
98 | 0, | ||
99 | 0, | ||
100 | 0, | ||
101 | 0, | ||
102 | 0, | ||
103 | 0, | ||
104 | 0, | ||
105 | 0, | ||
106 | 0, | ||
107 | 0, | ||
108 | 0, | ||
109 | 0, | ||
110 | 0, | ||
111 | 0, | ||
112 | 0, | ||
113 | 0, | ||
114 | 0, | ||
115 | 0, | ||
116 | 0, | ||
117 | 0, | ||
118 | 0, | ||
119 | 0, | ||
120 | 0, | ||
121 | 0, | ||
122 | 0, | ||
123 | 0, | ||
124 | 0, | ||
125 | 0, | ||
126 | 0, | ||
127 | 0, | ||
128 | 0, | ||
129 | 0, | ||
130 | 0, | ||
131 | 0, | ||
132 | 0, | ||
133 | 0, | ||
134 | 0, | ||
135 | 0, | ||
136 | 0, | ||
137 | 0, | ||
138 | 0, | ||
139 | 0, | ||
140 | 0, | ||
141 | 0, | ||
142 | 0, | ||
143 | 0, | ||
144 | 0, | ||
145 | 0, | ||
146 | 0, | ||
147 | 0, | ||
148 | 0, | ||
149 | 0, | ||
150 | 0, | ||
151 | 0, | ||
152 | 0, | ||
153 | 0, | ||
154 | 0, | ||
155 | 0, | ||
156 | 0, | ||
157 | 0, | ||
158 | 0, | ||
159 | 0, | ||
160 | 0, | ||
161 | 0, | ||
162 | 0, | ||
163 | 0, | ||
164 | 0, | ||
165 | 0, | ||
166 | 0, | ||
167 | 0, | ||
168 | 0, | ||
169 | }; | ||
170 | |||
171 | #pragma DATA_SECTION(h,".coeffs") | ||
172 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
173 | 816, | ||
174 | 547, | ||
175 | -91, | ||
176 | -1006, | ||
177 | 670, | ||
178 | -116, | ||
179 | 240, | ||
180 | 609, | ||
181 | 880, | ||
182 | 497, | ||
183 | -676, | ||
184 | -197, | ||
185 | 909, | ||
186 | 870, | ||
187 | -188, | ||
188 | 821, | ||
189 | -923, | ||
190 | -308, | ||
191 | 653, | ||
192 | -1024, | ||
193 | -754, | ||
194 | -621, | ||
195 | -629, | ||
196 | 216, | ||
197 | -476, | ||
198 | -629, | ||
199 | -1012, | ||
200 | 515, | ||
201 | -115, | ||
202 | 901, | ||
203 | -71, | ||
204 | -170, | ||
205 | 722, | ||
206 | 52, | ||
207 | -621, | ||
208 | 359, | ||
209 | 705, | ||
210 | -1003, | ||
211 | 378, | ||
212 | -252, | ||
213 | 692, | ||
214 | 5, | ||
215 | 437, | ||
216 | -149, | ||
217 | -408, | ||
218 | -648, | ||
219 | -640, | ||
220 | 380, | ||
221 | -412, | ||
222 | 86, | ||
223 | -729, | ||
224 | 413, | ||
225 | -254, | ||
226 | 751, | ||
227 | 738, | ||
228 | 195, | ||
229 | -8, | ||
230 | 834, | ||
231 | 671, | ||
232 | 302, | ||
233 | 663, | ||
234 | 334, | ||
235 | -330, | ||
236 | -439, | ||
237 | }; | ||
238 | |||
239 | #pragma DATA_SECTION(db,".dbuffer") | ||
240 | DATA db[NH+2] ; | ||
241 | |||
242 | DATA rtest[NX] ={ | ||
243 | 817, | ||
244 | 547, | ||
245 | -91, | ||
246 | -1005, | ||
247 | 671, | ||
248 | -115, | ||
249 | 241, | ||
250 | 609, | ||
251 | 881, | ||
252 | 497, | ||
253 | -676, | ||
254 | -197, | ||
255 | 909, | ||
256 | 870, | ||
257 | -187, | ||
258 | 822, | ||
259 | -923, | ||
260 | -307, | ||
261 | 654, | ||
262 | -1023, | ||
263 | -754, | ||
264 | -620, | ||
265 | -629, | ||
266 | 217, | ||
267 | -476, | ||
268 | -629, | ||
269 | -1012, | ||
270 | 515, | ||
271 | -115, | ||
272 | 901, | ||
273 | -71, | ||
274 | -170, | ||
275 | 723, | ||
276 | 53, | ||
277 | -621, | ||
278 | 359, | ||
279 | 706, | ||
280 | -1003, | ||
281 | 378, | ||
282 | -252, | ||
283 | 693, | ||
284 | 6, | ||
285 | 437, | ||
286 | -148, | ||
287 | -408, | ||
288 | -648, | ||
289 | -640, | ||
290 | 380, | ||
291 | -412, | ||
292 | 87, | ||
293 | -729, | ||
294 | 413, | ||
295 | -254, | ||
296 | 752, | ||
297 | 738, | ||
298 | 195, | ||
299 | -7, | ||
300 | 835, | ||
301 | 671, | ||
302 | 303, | ||
303 | 664, | ||
304 | 334, | ||
305 | -330, | ||
306 | -439, | ||
307 | 0, | ||
308 | 0, | ||
309 | 0, | ||
310 | 0, | ||
311 | 0, | ||
312 | 0, | ||
313 | 0, | ||
314 | 0, | ||
315 | 0, | ||
316 | 0, | ||
317 | 0, | ||
318 | 0, | ||
319 | 0, | ||
320 | 0, | ||
321 | 0, | ||
322 | 0, | ||
323 | 0, | ||
324 | 0, | ||
325 | 0, | ||
326 | 0, | ||
327 | 0, | ||
328 | 0, | ||
329 | 0, | ||
330 | 0, | ||
331 | 0, | ||
332 | 0, | ||
333 | 0, | ||
334 | 0, | ||
335 | 0, | ||
336 | 0, | ||
337 | 0, | ||
338 | 0, | ||
339 | 0, | ||
340 | 0, | ||
341 | 0, | ||
342 | 0, | ||
343 | 0, | ||
344 | 0, | ||
345 | 0, | ||
346 | 0, | ||
347 | 0, | ||
348 | 0, | ||
349 | 0, | ||
350 | 0, | ||
351 | 0, | ||
352 | 0, | ||
353 | 0, | ||
354 | 0, | ||
355 | 0, | ||
356 | 0, | ||
357 | 0, | ||
358 | 0, | ||
359 | 0, | ||
360 | 0, | ||
361 | 0, | ||
362 | 0, | ||
363 | 0, | ||
364 | 0, | ||
365 | 0, | ||
366 | 0, | ||
367 | 0, | ||
368 | 0, | ||
369 | 0, | ||
370 | 0, | ||
371 | }; | ||
372 | |||
373 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t3.h b/dsplib_benchmarks/fir1/t3.h new file mode 100644 index 0000000..9fd46af --- /dev/null +++ b/dsplib_benchmarks/fir1/t3.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 8 | ||
36 | #define NH 4 | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -10408, | ||
42 | 2233, | ||
43 | 14884, | ||
44 | -12499, | ||
45 | 22183, | ||
46 | 4461, | ||
47 | -8493, | ||
48 | 13286, | ||
49 | }; | ||
50 | |||
51 | #pragma DATA_SECTION(h,".coeffs") | ||
52 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
53 | 3654, | ||
54 | -4326, | ||
55 | 15268, | ||
56 | 9519, | ||
57 | }; | ||
58 | |||
59 | #pragma DATA_SECTION(db,".dbuffer") | ||
60 | DATA db[NH+2] ; | ||
61 | |||
62 | DATA rtest[NX] ={ | ||
63 | -1161, | ||
64 | 1623, | ||
65 | -3484, | ||
66 | -5342, | ||
67 | 11708, | ||
68 | -3930, | ||
69 | 5170, | ||
70 | 11126, | ||
71 | }; | ||
72 | |||
73 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t4.h b/dsplib_benchmarks/fir1/t4.h new file mode 100644 index 0000000..c01c587 --- /dev/null +++ b/dsplib_benchmarks/fir1/t4.h | |||
@@ -0,0 +1,373 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 19321, | ||
42 | 29939, | ||
43 | 1480, | ||
44 | 24912, | ||
45 | -21434, | ||
46 | 31440, | ||
47 | -14979, | ||
48 | -16232, | ||
49 | 24624, | ||
50 | 15552, | ||
51 | -23822, | ||
52 | -31998, | ||
53 | 25814, | ||
54 | -19718, | ||
55 | -13191, | ||
56 | 10580, | ||
57 | -14129, | ||
58 | -2017, | ||
59 | -28523, | ||
60 | 32003, | ||
61 | 5425, | ||
62 | -5014, | ||
63 | 1016, | ||
64 | -10883, | ||
65 | -4398, | ||
66 | -17961, | ||
67 | 5230, | ||
68 | 17063, | ||
69 | 1954, | ||
70 | 9209, | ||
71 | -19067, | ||
72 | -7877, | ||
73 | 18568, | ||
74 | 11851, | ||
75 | -2550, | ||
76 | 4445, | ||
77 | 19281, | ||
78 | -28890, | ||
79 | 6741, | ||
80 | -29474, | ||
81 | -5546, | ||
82 | -12780, | ||
83 | 24534, | ||
84 | -31785, | ||
85 | 17560, | ||
86 | 30857, | ||
87 | 32118, | ||
88 | 18930, | ||
89 | -4021, | ||
90 | -111, | ||
91 | -18746, | ||
92 | 9403, | ||
93 | -11795, | ||
94 | 30152, | ||
95 | 14852, | ||
96 | -5771, | ||
97 | 16027, | ||
98 | -15208, | ||
99 | -3938, | ||
100 | 28401, | ||
101 | 12014, | ||
102 | -18838, | ||
103 | 22232, | ||
104 | 8440, | ||
105 | -24002, | ||
106 | -19194, | ||
107 | 7025, | ||
108 | 8512, | ||
109 | -8489, | ||
110 | 4924, | ||
111 | -3184, | ||
112 | -29892, | ||
113 | -30987, | ||
114 | -12276, | ||
115 | -31926, | ||
116 | -7605, | ||
117 | 12000, | ||
118 | -26684, | ||
119 | -30453, | ||
120 | 7365, | ||
121 | 7113, | ||
122 | -31736, | ||
123 | -31697, | ||
124 | -20312, | ||
125 | 5696, | ||
126 | -28995, | ||
127 | -8680, | ||
128 | 8614, | ||
129 | 14262, | ||
130 | 12626, | ||
131 | -27258, | ||
132 | -2992, | ||
133 | -3813, | ||
134 | -9618, | ||
135 | -22702, | ||
136 | 11511, | ||
137 | 13055, | ||
138 | 14910, | ||
139 | -1417, | ||
140 | 3594, | ||
141 | -24836, | ||
142 | -3228, | ||
143 | 14148, | ||
144 | 25745, | ||
145 | -14870, | ||
146 | -16072, | ||
147 | 23960, | ||
148 | -17541, | ||
149 | 19980, | ||
150 | 26764, | ||
151 | -17571, | ||
152 | -17085, | ||
153 | -29508, | ||
154 | -27631, | ||
155 | 9228, | ||
156 | -20259, | ||
157 | 22535, | ||
158 | -21372, | ||
159 | -21575, | ||
160 | 32394, | ||
161 | -3946, | ||
162 | -10483, | ||
163 | -12176, | ||
164 | -8843, | ||
165 | -6997, | ||
166 | 5998, | ||
167 | -24921, | ||
168 | -30270, | ||
169 | }; | ||
170 | |||
171 | #pragma DATA_SECTION(h,".coeffs") | ||
172 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
173 | -88, | ||
174 | 783, | ||
175 | 919, | ||
176 | -499, | ||
177 | -720, | ||
178 | 789, | ||
179 | -556, | ||
180 | 308, | ||
181 | 989, | ||
182 | 349, | ||
183 | 784, | ||
184 | -1039, | ||
185 | -769, | ||
186 | 675, | ||
187 | -148, | ||
188 | 826, | ||
189 | 497, | ||
190 | 396, | ||
191 | -326, | ||
192 | -708, | ||
193 | -730, | ||
194 | -655, | ||
195 | -165, | ||
196 | 754, | ||
197 | -21, | ||
198 | 669, | ||
199 | -84, | ||
200 | -91, | ||
201 | -105, | ||
202 | -186, | ||
203 | 850, | ||
204 | -1048, | ||
205 | -430, | ||
206 | -956, | ||
207 | 409, | ||
208 | 317, | ||
209 | 1023, | ||
210 | 111, | ||
211 | -212, | ||
212 | -639, | ||
213 | 265, | ||
214 | 494, | ||
215 | -263, | ||
216 | -1039, | ||
217 | -170, | ||
218 | 537, | ||
219 | 622, | ||
220 | 889, | ||
221 | 730, | ||
222 | -281, | ||
223 | 255, | ||
224 | 489, | ||
225 | -649, | ||
226 | 857, | ||
227 | 146, | ||
228 | 279, | ||
229 | -563, | ||
230 | 103, | ||
231 | 914, | ||
232 | -350, | ||
233 | 329, | ||
234 | -229, | ||
235 | 269, | ||
236 | 421, | ||
237 | }; | ||
238 | |||
239 | #pragma DATA_SECTION(db,".dbuffer") | ||
240 | DATA db[NH+2] ; | ||
241 | |||
242 | DATA rtest[NX] ={ | ||
243 | -52, | ||
244 | 382, | ||
245 | 1254, | ||
246 | 515, | ||
247 | -186, | ||
248 | -112, | ||
249 | 173, | ||
250 | 58, | ||
251 | 558, | ||
252 | -186, | ||
253 | 3885, | ||
254 | -289, | ||
255 | -3869, | ||
256 | 1486, | ||
257 | 179, | ||
258 | -613, | ||
259 | 707, | ||
260 | 1790, | ||
261 | 1014, | ||
262 | -3139, | ||
263 | -1208, | ||
264 | -732, | ||
265 | 942, | ||
266 | -2527, | ||
267 | 500, | ||
268 | 1082, | ||
269 | -2031, | ||
270 | -243, | ||
271 | 1445, | ||
272 | 870, | ||
273 | 224, | ||
274 | -1415, | ||
275 | -887, | ||
276 | -1675, | ||
277 | 19, | ||
278 | 2712, | ||
279 | -755, | ||
280 | 4141, | ||
281 | -1750, | ||
282 | -1729, | ||
283 | -2884, | ||
284 | -679, | ||
285 | 2963, | ||
286 | 1169, | ||
287 | 570, | ||
288 | -11, | ||
289 | 288, | ||
290 | 60, | ||
291 | -1039, | ||
292 | 4637, | ||
293 | 777, | ||
294 | -287, | ||
295 | -1546, | ||
296 | 630, | ||
297 | 2258, | ||
298 | 2765, | ||
299 | 2265, | ||
300 | -2618, | ||
301 | -650, | ||
302 | 466, | ||
303 | 15, | ||
304 | 5216, | ||
305 | -210, | ||
306 | 3122, | ||
307 | -3383, | ||
308 | -4135, | ||
309 | -3715, | ||
310 | 593, | ||
311 | 3042, | ||
312 | 1130, | ||
313 | 3628, | ||
314 | -3536, | ||
315 | 2692, | ||
316 | -6114, | ||
317 | -460, | ||
318 | -1810, | ||
319 | -75, | ||
320 | 596, | ||
321 | -2496, | ||
322 | -3921, | ||
323 | -2139, | ||
324 | 1357, | ||
325 | 1899, | ||
326 | 695, | ||
327 | -2461, | ||
328 | -927, | ||
329 | -956, | ||
330 | -4960, | ||
331 | -4143, | ||
332 | 2941, | ||
333 | -1722, | ||
334 | -1724, | ||
335 | 1982, | ||
336 | 3228, | ||
337 | 608, | ||
338 | -590, | ||
339 | 1238, | ||
340 | 387, | ||
341 | -908, | ||
342 | -24, | ||
343 | 148, | ||
344 | -1729, | ||
345 | 595, | ||
346 | 2334, | ||
347 | 7396, | ||
348 | 1216, | ||
349 | -400, | ||
350 | -81, | ||
351 | -2759, | ||
352 | -164, | ||
353 | 1736, | ||
354 | 3601, | ||
355 | -1529, | ||
356 | 895, | ||
357 | 1652, | ||
358 | -2928, | ||
359 | 4404, | ||
360 | -500, | ||
361 | -2613, | ||
362 | -4179, | ||
363 | -3444, | ||
364 | 1784, | ||
365 | -3339, | ||
366 | -2382, | ||
367 | 3613, | ||
368 | -1299, | ||
369 | -878, | ||
370 | -3167, | ||
371 | }; | ||
372 | |||
373 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t5.h b/dsplib_benchmarks/fir1/t5.h new file mode 100644 index 0000000..0f71516 --- /dev/null +++ b/dsplib_benchmarks/fir1/t5.h | |||
@@ -0,0 +1,597 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 256 | ||
36 | #define NH 32 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -6739, | ||
42 | -5661, | ||
43 | 10172, | ||
44 | 22123, | ||
45 | -8415, | ||
46 | -4899, | ||
47 | 6203, | ||
48 | 4308, | ||
49 | 14191, | ||
50 | 741, | ||
51 | 18114, | ||
52 | -699, | ||
53 | -20585, | ||
54 | 13148, | ||
55 | 31634, | ||
56 | 20095, | ||
57 | 13340, | ||
58 | -986, | ||
59 | -25257, | ||
60 | 10803, | ||
61 | -8823, | ||
62 | -23591, | ||
63 | 4376, | ||
64 | 21168, | ||
65 | 11399, | ||
66 | 32731, | ||
67 | 30253, | ||
68 | -28911, | ||
69 | -9155, | ||
70 | 3179, | ||
71 | -15613, | ||
72 | 6379, | ||
73 | -29539, | ||
74 | 4656, | ||
75 | 13163, | ||
76 | 30296, | ||
77 | 16417, | ||
78 | 15728, | ||
79 | -4465, | ||
80 | 8799, | ||
81 | 19859, | ||
82 | -27271, | ||
83 | 29193, | ||
84 | 27259, | ||
85 | 6683, | ||
86 | -16151, | ||
87 | 24474, | ||
88 | 878, | ||
89 | 15246, | ||
90 | -5097, | ||
91 | 30236, | ||
92 | -28046, | ||
93 | 3500, | ||
94 | -13633, | ||
95 | 23459, | ||
96 | -10764, | ||
97 | 11809, | ||
98 | -29266, | ||
99 | -9395, | ||
100 | -112, | ||
101 | -4297, | ||
102 | 4093, | ||
103 | 7642, | ||
104 | -25341, | ||
105 | 26099, | ||
106 | 16682, | ||
107 | 19079, | ||
108 | 20640, | ||
109 | 11141, | ||
110 | -19604, | ||
111 | -14871, | ||
112 | 8272, | ||
113 | 2415, | ||
114 | -28869, | ||
115 | -26938, | ||
116 | -14988, | ||
117 | -5960, | ||
118 | -1702, | ||
119 | 26803, | ||
120 | 6307, | ||
121 | -11210, | ||
122 | -1430, | ||
123 | 6368, | ||
124 | -22188, | ||
125 | 21592, | ||
126 | 29892, | ||
127 | 6261, | ||
128 | -30884, | ||
129 | 20454, | ||
130 | 7216, | ||
131 | 13205, | ||
132 | -26726, | ||
133 | -4923, | ||
134 | -8155, | ||
135 | -21879, | ||
136 | 21833, | ||
137 | 22193, | ||
138 | -3172, | ||
139 | 29923, | ||
140 | -23125, | ||
141 | 24243, | ||
142 | 17657, | ||
143 | -3660, | ||
144 | 7904, | ||
145 | 29601, | ||
146 | 9175, | ||
147 | -16560, | ||
148 | -9654, | ||
149 | -20457, | ||
150 | -614, | ||
151 | -5946, | ||
152 | -2391, | ||
153 | 7270, | ||
154 | -28104, | ||
155 | -12172, | ||
156 | 7103, | ||
157 | -21298, | ||
158 | 7931, | ||
159 | -16649, | ||
160 | 5725, | ||
161 | 396, | ||
162 | -2309, | ||
163 | 2714, | ||
164 | 28988, | ||
165 | -10371, | ||
166 | -6436, | ||
167 | -12604, | ||
168 | -5796, | ||
169 | -14029, | ||
170 | -6939, | ||
171 | 197, | ||
172 | 14547, | ||
173 | -12701, | ||
174 | -25418, | ||
175 | -3717, | ||
176 | -2179, | ||
177 | -31807, | ||
178 | 10751, | ||
179 | 14684, | ||
180 | -14311, | ||
181 | -15610, | ||
182 | 13662, | ||
183 | 18602, | ||
184 | 31860, | ||
185 | -1748, | ||
186 | 26399, | ||
187 | -3208, | ||
188 | 19956, | ||
189 | 21552, | ||
190 | -21872, | ||
191 | -6953, | ||
192 | 1360, | ||
193 | 14294, | ||
194 | 4534, | ||
195 | -2569, | ||
196 | -3585, | ||
197 | -27018, | ||
198 | -3704, | ||
199 | -8763, | ||
200 | -12942, | ||
201 | 23058, | ||
202 | 17005, | ||
203 | 29475, | ||
204 | 3797, | ||
205 | -31836, | ||
206 | 6303, | ||
207 | 20722, | ||
208 | 31266, | ||
209 | -18226, | ||
210 | 13348, | ||
211 | 1445, | ||
212 | 28370, | ||
213 | 13982, | ||
214 | -17824, | ||
215 | -3301, | ||
216 | -21483, | ||
217 | 30724, | ||
218 | -9456, | ||
219 | -29554, | ||
220 | 16733, | ||
221 | 25874, | ||
222 | -14015, | ||
223 | -16306, | ||
224 | 28359, | ||
225 | -24184, | ||
226 | 28889, | ||
227 | 13228, | ||
228 | 22785, | ||
229 | -19054, | ||
230 | -2944, | ||
231 | -27455, | ||
232 | 23011, | ||
233 | 4066, | ||
234 | -11843, | ||
235 | -8199, | ||
236 | 24103, | ||
237 | -8378, | ||
238 | -27939, | ||
239 | -19672, | ||
240 | -29525, | ||
241 | 4371, | ||
242 | -24778, | ||
243 | 1449, | ||
244 | -25097, | ||
245 | 17689, | ||
246 | -8189, | ||
247 | 21193, | ||
248 | -29712, | ||
249 | 6416, | ||
250 | 29435, | ||
251 | -13842, | ||
252 | 25482, | ||
253 | -26111, | ||
254 | -28488, | ||
255 | -17413, | ||
256 | 28383, | ||
257 | -28631, | ||
258 | -15453, | ||
259 | 32737, | ||
260 | -18876, | ||
261 | -105, | ||
262 | -13731, | ||
263 | 11321, | ||
264 | 30014, | ||
265 | 17468, | ||
266 | 10887, | ||
267 | -24187, | ||
268 | -26515, | ||
269 | -31794, | ||
270 | -13881, | ||
271 | 20757, | ||
272 | 31816, | ||
273 | -31631, | ||
274 | 20931, | ||
275 | 7938, | ||
276 | 3946, | ||
277 | -16776, | ||
278 | 21103, | ||
279 | -15519, | ||
280 | 16622, | ||
281 | 10462, | ||
282 | -18740, | ||
283 | 6692, | ||
284 | 6877, | ||
285 | 10453, | ||
286 | -20752, | ||
287 | 8948, | ||
288 | -21607, | ||
289 | 2595, | ||
290 | 8086, | ||
291 | 12182, | ||
292 | 11622, | ||
293 | 24695, | ||
294 | -31924, | ||
295 | -12426, | ||
296 | 18289, | ||
297 | }; | ||
298 | |||
299 | #pragma DATA_SECTION(h,".coeffs") | ||
300 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
301 | -736, | ||
302 | 1628, | ||
303 | 682, | ||
304 | -1625, | ||
305 | -1639, | ||
306 | -1863, | ||
307 | -1042, | ||
308 | 62, | ||
309 | -160, | ||
310 | 775, | ||
311 | 314, | ||
312 | 35, | ||
313 | -1625, | ||
314 | -1171, | ||
315 | -460, | ||
316 | -854, | ||
317 | 1033, | ||
318 | -711, | ||
319 | 527, | ||
320 | 1856, | ||
321 | 10, | ||
322 | 1708, | ||
323 | 1251, | ||
324 | 1593, | ||
325 | -1477, | ||
326 | 1191, | ||
327 | 1558, | ||
328 | -1312, | ||
329 | -1443, | ||
330 | 1002, | ||
331 | 846, | ||
332 | 578, | ||
333 | }; | ||
334 | |||
335 | #pragma DATA_SECTION(db,".dbuffer") | ||
336 | DATA db[NH+2] ; | ||
337 | |||
338 | DATA rtest[NX] ={ | ||
339 | 151, | ||
340 | -208, | ||
341 | -650, | ||
342 | 225, | ||
343 | 2118, | ||
344 | 314, | ||
345 | -1627, | ||
346 | -991, | ||
347 | -870, | ||
348 | 378, | ||
349 | -259, | ||
350 | -129, | ||
351 | 597, | ||
352 | -2630, | ||
353 | -2252, | ||
354 | 288, | ||
355 | 707, | ||
356 | 420, | ||
357 | -2062, | ||
358 | -5128, | ||
359 | -3994, | ||
360 | -417, | ||
361 | -1463, | ||
362 | -157, | ||
363 | 5930, | ||
364 | 2561, | ||
365 | 621, | ||
366 | -1223, | ||
367 | -4174, | ||
368 | -3442, | ||
369 | -3419, | ||
370 | -2030, | ||
371 | 5735, | ||
372 | 5711, | ||
373 | 986, | ||
374 | 5192, | ||
375 | 4954, | ||
376 | -1549, | ||
377 | -3282, | ||
378 | -2617, | ||
379 | -2820, | ||
380 | -2141, | ||
381 | -1871, | ||
382 | -4172, | ||
383 | 7497, | ||
384 | 8491, | ||
385 | -2366, | ||
386 | -1994, | ||
387 | -2415, | ||
388 | -1890, | ||
389 | -5896, | ||
390 | -371, | ||
391 | -3442, | ||
392 | -5240, | ||
393 | -27, | ||
394 | 2625, | ||
395 | 5114, | ||
396 | 1397, | ||
397 | 616, | ||
398 | -298, | ||
399 | 1044, | ||
400 | 2474, | ||
401 | 1501, | ||
402 | 2475, | ||
403 | -626, | ||
404 | 7629, | ||
405 | 3211, | ||
406 | -2322, | ||
407 | 3811, | ||
408 | 5244, | ||
409 | -6609, | ||
410 | -3300, | ||
411 | 800, | ||
412 | 4438, | ||
413 | -3374, | ||
414 | 4119, | ||
415 | -1963, | ||
416 | 1123, | ||
417 | -1516, | ||
418 | 2136, | ||
419 | 1542, | ||
420 | -708, | ||
421 | -3850, | ||
422 | -166, | ||
423 | -1583, | ||
424 | 4633, | ||
425 | 6082, | ||
426 | 8720, | ||
427 | -2254, | ||
428 | -2240, | ||
429 | 682, | ||
430 | -493, | ||
431 | -5470, | ||
432 | -2891, | ||
433 | -1406, | ||
434 | -4181, | ||
435 | -1347, | ||
436 | 6401, | ||
437 | -592, | ||
438 | -1252, | ||
439 | -2370, | ||
440 | -1173, | ||
441 | -1923, | ||
442 | -1784, | ||
443 | 1746, | ||
444 | -367, | ||
445 | -1055, | ||
446 | 2830, | ||
447 | -3279, | ||
448 | -4011, | ||
449 | -2300, | ||
450 | 7378, | ||
451 | -4506, | ||
452 | -3287, | ||
453 | 3881, | ||
454 | -579, | ||
455 | -590, | ||
456 | -1256, | ||
457 | 3106, | ||
458 | 6178, | ||
459 | 2176, | ||
460 | 7213, | ||
461 | 693, | ||
462 | 2780, | ||
463 | 1549, | ||
464 | 597, | ||
465 | 3311, | ||
466 | -296, | ||
467 | -2980, | ||
468 | -1979, | ||
469 | 3636, | ||
470 | 709, | ||
471 | -1083, | ||
472 | 2312, | ||
473 | -2084, | ||
474 | -2966, | ||
475 | -851, | ||
476 | -2154, | ||
477 | 1570, | ||
478 | 1304, | ||
479 | 3056, | ||
480 | 1499, | ||
481 | 1158, | ||
482 | -1289, | ||
483 | 2848, | ||
484 | 422, | ||
485 | -293, | ||
486 | -5798, | ||
487 | -1495, | ||
488 | -588, | ||
489 | -4762, | ||
490 | -5678, | ||
491 | -198, | ||
492 | 1536, | ||
493 | -308, | ||
494 | -6628, | ||
495 | -1216, | ||
496 | -3352, | ||
497 | -6953, | ||
498 | -2468, | ||
499 | 1676, | ||
500 | 4509, | ||
501 | 1518, | ||
502 | 5577, | ||
503 | 6431, | ||
504 | -9102, | ||
505 | -1877, | ||
506 | 2436, | ||
507 | 7104, | ||
508 | 955, | ||
509 | -700, | ||
510 | 421, | ||
511 | -2458, | ||
512 | 2563, | ||
513 | -3204, | ||
514 | -8039, | ||
515 | -1075, | ||
516 | 883, | ||
517 | 2196, | ||
518 | -4855, | ||
519 | -1376, | ||
520 | 4695, | ||
521 | 161, | ||
522 | 642, | ||
523 | -906, | ||
524 | 123, | ||
525 | 1063, | ||
526 | 2524, | ||
527 | 4142, | ||
528 | -3539, | ||
529 | 263, | ||
530 | -2818, | ||
531 | 7146, | ||
532 | 1827, | ||
533 | -1983, | ||
534 | -202, | ||
535 | 2408, | ||
536 | 792, | ||
537 | -3264, | ||
538 | -2679, | ||
539 | -6077, | ||
540 | 6873, | ||
541 | 9984, | ||
542 | -142, | ||
543 | -1469, | ||
544 | 8124, | ||
545 | 5784, | ||
546 | -2896, | ||
547 | 1176, | ||
548 | -317, | ||
549 | 4063, | ||
550 | 968, | ||
551 | 2775, | ||
552 | -674, | ||
553 | -1346, | ||
554 | -3994, | ||
555 | 4656, | ||
556 | 3138, | ||
557 | -1088, | ||
558 | -4077, | ||
559 | -708, | ||
560 | -1965, | ||
561 | -4126, | ||
562 | -6189, | ||
563 | 318, | ||
564 | 7695, | ||
565 | -2020, | ||
566 | 1269, | ||
567 | -7182, | ||
568 | -1921, | ||
569 | -1436, | ||
570 | 6367, | ||
571 | 5469, | ||
572 | -2895, | ||
573 | 3619, | ||
574 | -6982, | ||
575 | -4691, | ||
576 | -4216, | ||
577 | -2935, | ||
578 | -2207, | ||
579 | 6839, | ||
580 | 8668, | ||
581 | -6296, | ||
582 | -1946, | ||
583 | 4820, | ||
584 | -1064, | ||
585 | -2817, | ||
586 | -2480, | ||
587 | -3364, | ||
588 | 57, | ||
589 | -813, | ||
590 | -2221, | ||
591 | 910, | ||
592 | 5214, | ||
593 | -2303, | ||
594 | -4027, | ||
595 | }; | ||
596 | |||
597 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t5_ran.h b/dsplib_benchmarks/fir1/t5_ran.h new file mode 100644 index 0000000..f520a79 --- /dev/null +++ b/dsplib_benchmarks/fir1/t5_ran.h | |||
@@ -0,0 +1,374 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NH 256 | ||
36 | #define NX 32 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 10 | ||
39 | DATA x[NX] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
40 | -736, | ||
41 | 1628, | ||
42 | 682, | ||
43 | -1625, | ||
44 | -1639, | ||
45 | -1863, | ||
46 | -1042, | ||
47 | 62, | ||
48 | -160, | ||
49 | 775, | ||
50 | 314, | ||
51 | 35, | ||
52 | -1625, | ||
53 | -1171, | ||
54 | -460, | ||
55 | -854, | ||
56 | 1033, | ||
57 | -711, | ||
58 | 527, | ||
59 | 1856, | ||
60 | 10, | ||
61 | 1708, | ||
62 | 1251, | ||
63 | 1593, | ||
64 | -1477, | ||
65 | 1191, | ||
66 | 1558, | ||
67 | -1312, | ||
68 | -1443, | ||
69 | 1002, | ||
70 | 846, | ||
71 | 578, | ||
72 | }; | ||
73 | |||
74 | #pragma DATA_SECTION(h,".coeffs") | ||
75 | DATA h[NH] ={ | ||
76 | -6739, | ||
77 | -5661, | ||
78 | 10172, | ||
79 | 22123, | ||
80 | -8415, | ||
81 | -4899, | ||
82 | 6203, | ||
83 | 4308, | ||
84 | 14191, | ||
85 | 741, | ||
86 | 18114, | ||
87 | -699, | ||
88 | -20585, | ||
89 | 13148, | ||
90 | 31634, | ||
91 | 20095, | ||
92 | 13340, | ||
93 | -986, | ||
94 | -25257, | ||
95 | 10803, | ||
96 | -8823, | ||
97 | -23591, | ||
98 | 4376, | ||
99 | 21168, | ||
100 | 11399, | ||
101 | 32731, | ||
102 | 30253, | ||
103 | -28911, | ||
104 | -9155, | ||
105 | 3179, | ||
106 | -15613, | ||
107 | 6379, | ||
108 | -29539, | ||
109 | 4656, | ||
110 | 13163, | ||
111 | 30296, | ||
112 | 16417, | ||
113 | 15728, | ||
114 | -4465, | ||
115 | 8799, | ||
116 | 19859, | ||
117 | -27271, | ||
118 | 29193, | ||
119 | 27259, | ||
120 | 6683, | ||
121 | -16151, | ||
122 | 24474, | ||
123 | 878, | ||
124 | 15246, | ||
125 | -5097, | ||
126 | 30236, | ||
127 | -28046, | ||
128 | 3500, | ||
129 | -13633, | ||
130 | 23459, | ||
131 | -10764, | ||
132 | 11809, | ||
133 | -29266, | ||
134 | -9395, | ||
135 | -112, | ||
136 | -4297, | ||
137 | 4093, | ||
138 | 7642, | ||
139 | -25341, | ||
140 | 26099, | ||
141 | 16682, | ||
142 | 19079, | ||
143 | 20640, | ||
144 | 11141, | ||
145 | -19604, | ||
146 | -14871, | ||
147 | 8272, | ||
148 | 2415, | ||
149 | -28869, | ||
150 | -26938, | ||
151 | -14988, | ||
152 | -5960, | ||
153 | -1702, | ||
154 | 26803, | ||
155 | 6307, | ||
156 | -11210, | ||
157 | -1430, | ||
158 | 6368, | ||
159 | -22188, | ||
160 | 21592, | ||
161 | 29892, | ||
162 | 6261, | ||
163 | -30884, | ||
164 | 20454, | ||
165 | 7216, | ||
166 | 13205, | ||
167 | -26726, | ||
168 | -4923, | ||
169 | -8155, | ||
170 | -21879, | ||
171 | 21833, | ||
172 | 22193, | ||
173 | -3172, | ||
174 | 29923, | ||
175 | -23125, | ||
176 | 24243, | ||
177 | 17657, | ||
178 | -3660, | ||
179 | 7904, | ||
180 | 29601, | ||
181 | 9175, | ||
182 | -16560, | ||
183 | -9654, | ||
184 | -20457, | ||
185 | -614, | ||
186 | -5946, | ||
187 | -2391, | ||
188 | 7270, | ||
189 | -28104, | ||
190 | -12172, | ||
191 | 7103, | ||
192 | -21298, | ||
193 | 7931, | ||
194 | -16649, | ||
195 | 5725, | ||
196 | 396, | ||
197 | -2309, | ||
198 | 2714, | ||
199 | 28988, | ||
200 | -10371, | ||
201 | -6436, | ||
202 | -12604, | ||
203 | -5796, | ||
204 | -14029, | ||
205 | -6939, | ||
206 | 197, | ||
207 | 14547, | ||
208 | -12701, | ||
209 | -25418, | ||
210 | -3717, | ||
211 | -2179, | ||
212 | -31807, | ||
213 | 10751, | ||
214 | 14684, | ||
215 | -14311, | ||
216 | -15610, | ||
217 | 13662, | ||
218 | 18602, | ||
219 | 31860, | ||
220 | -1748, | ||
221 | 26399, | ||
222 | -3208, | ||
223 | 19956, | ||
224 | 21552, | ||
225 | -21872, | ||
226 | -6953, | ||
227 | 1360, | ||
228 | 14294, | ||
229 | 4534, | ||
230 | -2569, | ||
231 | -3585, | ||
232 | -27018, | ||
233 | -3704, | ||
234 | -8763, | ||
235 | -12942, | ||
236 | 23058, | ||
237 | 17005, | ||
238 | 29475, | ||
239 | 3797, | ||
240 | -31836, | ||
241 | 6303, | ||
242 | 20722, | ||
243 | 31266, | ||
244 | -18226, | ||
245 | 13348, | ||
246 | 1445, | ||
247 | 28370, | ||
248 | 13982, | ||
249 | -17824, | ||
250 | -3301, | ||
251 | -21483, | ||
252 | 30724, | ||
253 | -9456, | ||
254 | -29554, | ||
255 | 16733, | ||
256 | 25874, | ||
257 | -14015, | ||
258 | -16306, | ||
259 | 28359, | ||
260 | -24184, | ||
261 | 28889, | ||
262 | 13228, | ||
263 | 22785, | ||
264 | -19054, | ||
265 | -2944, | ||
266 | -27455, | ||
267 | 23011, | ||
268 | 4066, | ||
269 | -11843, | ||
270 | -8199, | ||
271 | 24103, | ||
272 | -8378, | ||
273 | -27939, | ||
274 | -19672, | ||
275 | -29525, | ||
276 | 4371, | ||
277 | -24778, | ||
278 | 1449, | ||
279 | -25097, | ||
280 | 17689, | ||
281 | -8189, | ||
282 | 21193, | ||
283 | -29712, | ||
284 | 6416, | ||
285 | 29435, | ||
286 | -13842, | ||
287 | 25482, | ||
288 | -26111, | ||
289 | -28488, | ||
290 | -17413, | ||
291 | 28383, | ||
292 | -28631, | ||
293 | -15453, | ||
294 | 32737, | ||
295 | -18876, | ||
296 | -105, | ||
297 | -13731, | ||
298 | 11321, | ||
299 | 30014, | ||
300 | 17468, | ||
301 | 10887, | ||
302 | -24187, | ||
303 | -26515, | ||
304 | -31794, | ||
305 | -13881, | ||
306 | 20757, | ||
307 | 31816, | ||
308 | -31631, | ||
309 | 20931, | ||
310 | 7938, | ||
311 | 3946, | ||
312 | -16776, | ||
313 | 21103, | ||
314 | -15519, | ||
315 | 16622, | ||
316 | 10462, | ||
317 | -18740, | ||
318 | 6692, | ||
319 | 6877, | ||
320 | 10453, | ||
321 | -20752, | ||
322 | 8948, | ||
323 | -21607, | ||
324 | 2595, | ||
325 | 8086, | ||
326 | 12182, | ||
327 | 11622, | ||
328 | 24695, | ||
329 | -31924, | ||
330 | -12426, | ||
331 | 18289, | ||
332 | }; | ||
333 | |||
334 | |||
335 | |||
336 | #pragma DATA_SECTION(db,".dbuffer") | ||
337 | DATA db[NH+2] ; | ||
338 | |||
339 | DATA rtest[NX] ={ | ||
340 | 151, | ||
341 | -208, | ||
342 | -650, | ||
343 | 225, | ||
344 | 2118, | ||
345 | 314, | ||
346 | -1627, | ||
347 | -991, | ||
348 | -870, | ||
349 | 378, | ||
350 | -259, | ||
351 | -129, | ||
352 | 597, | ||
353 | -2630, | ||
354 | -2252, | ||
355 | 288, | ||
356 | 707, | ||
357 | 420, | ||
358 | -2062, | ||
359 | -5128, | ||
360 | -3994, | ||
361 | -417, | ||
362 | -1463, | ||
363 | -157, | ||
364 | 5930, | ||
365 | 2561, | ||
366 | 621, | ||
367 | -1223, | ||
368 | -4174, | ||
369 | -3442, | ||
370 | -3419, | ||
371 | -2030, | ||
372 | }; | ||
373 | |||
374 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t6.h b/dsplib_benchmarks/fir1/t6.h new file mode 100644 index 0000000..0bcecdb --- /dev/null +++ b/dsplib_benchmarks/fir1/t6.h | |||
@@ -0,0 +1,269 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 100 | ||
36 | #define NH 16 | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 16647, | ||
42 | 10692, | ||
43 | 25132, | ||
44 | -14932, | ||
45 | -5281, | ||
46 | -18810, | ||
47 | -30435, | ||
48 | -27449, | ||
49 | 22974, | ||
50 | -10473, | ||
51 | -2219, | ||
52 | 27116, | ||
53 | -17788, | ||
54 | 23726, | ||
55 | 10264, | ||
56 | 25636, | ||
57 | -778, | ||
58 | 32285, | ||
59 | -8302, | ||
60 | 2056, | ||
61 | -20886, | ||
62 | 127, | ||
63 | -5100, | ||
64 | 10513, | ||
65 | 11380, | ||
66 | 29971, | ||
67 | -20194, | ||
68 | -25480, | ||
69 | 4263, | ||
70 | 30747, | ||
71 | -31212, | ||
72 | 24262, | ||
73 | -31007, | ||
74 | 1279, | ||
75 | -20166, | ||
76 | 14135, | ||
77 | -16340, | ||
78 | 28433, | ||
79 | -23778, | ||
80 | 1417, | ||
81 | 25899, | ||
82 | 28992, | ||
83 | -10808, | ||
84 | -4105, | ||
85 | -1891, | ||
86 | -22983, | ||
87 | -23864, | ||
88 | 2129, | ||
89 | 14797, | ||
90 | -6639, | ||
91 | -9279, | ||
92 | -14072, | ||
93 | 24158, | ||
94 | 8284, | ||
95 | -16963, | ||
96 | 31331, | ||
97 | 9207, | ||
98 | -17705, | ||
99 | 11883, | ||
100 | 10867, | ||
101 | -23940, | ||
102 | -31294, | ||
103 | -15585, | ||
104 | -25133, | ||
105 | -28226, | ||
106 | 23129, | ||
107 | -20950, | ||
108 | -30644, | ||
109 | 15330, | ||
110 | 2393, | ||
111 | -14679, | ||
112 | -8621, | ||
113 | -31924, | ||
114 | 25506, | ||
115 | 23987, | ||
116 | -16106, | ||
117 | 4553, | ||
118 | -22331, | ||
119 | 6184, | ||
120 | -11070, | ||
121 | 10394, | ||
122 | 23831, | ||
123 | 4431, | ||
124 | 31488, | ||
125 | 19125, | ||
126 | -22768, | ||
127 | 21825, | ||
128 | -20195, | ||
129 | 9108, | ||
130 | 11075, | ||
131 | 17831, | ||
132 | -7877, | ||
133 | -3829, | ||
134 | -1111, | ||
135 | 7084, | ||
136 | -21234, | ||
137 | -32636, | ||
138 | 19020, | ||
139 | 891, | ||
140 | -18794, | ||
141 | }; | ||
142 | |||
143 | #pragma DATA_SECTION(h,".coeffs") | ||
144 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
145 | -3418, | ||
146 | -2954, | ||
147 | -798, | ||
148 | -796, | ||
149 | -3856, | ||
150 | 3807, | ||
151 | -3017, | ||
152 | -997, | ||
153 | -1629, | ||
154 | -2857, | ||
155 | 3418, | ||
156 | -1528, | ||
157 | 2016, | ||
158 | -768, | ||
159 | -864, | ||
160 | 47, | ||
161 | }; | ||
162 | |||
163 | #pragma DATA_SECTION(db,".dbuffer") | ||
164 | DATA db[NH+2] ; | ||
165 | |||
166 | DATA rtest[NX] ={ | ||
167 | -1736, | ||
168 | -2616, | ||
169 | -3990, | ||
170 | -1372, | ||
171 | -933, | ||
172 | 2868, | ||
173 | 2113, | ||
174 | 9378, | ||
175 | -3306, | ||
176 | 655, | ||
177 | 3173, | ||
178 | -2456, | ||
179 | 1913, | ||
180 | 4811, | ||
181 | -1515, | ||
182 | -6392, | ||
183 | 1043, | ||
184 | -14989, | ||
185 | 3101, | ||
186 | -7506, | ||
187 | 4425, | ||
188 | -1740, | ||
189 | -1236, | ||
190 | -1123, | ||
191 | -3454, | ||
192 | -4844, | ||
193 | -1747, | ||
194 | 6979, | ||
195 | -433, | ||
196 | -1737, | ||
197 | 2248, | ||
198 | -2645, | ||
199 | -4542, | ||
200 | 1950, | ||
201 | 9106, | ||
202 | -2022, | ||
203 | 8390, | ||
204 | -8709, | ||
205 | 2883, | ||
206 | 1175, | ||
207 | -1387, | ||
208 | -1687, | ||
209 | -1241, | ||
210 | -927, | ||
211 | -5625, | ||
212 | 5668, | ||
213 | 2839, | ||
214 | 5298, | ||
215 | -6759, | ||
216 | 2366, | ||
217 | 557, | ||
218 | 4091, | ||
219 | 739, | ||
220 | 3044, | ||
221 | 828, | ||
222 | -2849, | ||
223 | -9027, | ||
224 | 3174, | ||
225 | 2132, | ||
226 | -7733, | ||
227 | 6350, | ||
228 | 1254, | ||
229 | 2003, | ||
230 | 6028, | ||
231 | 6578, | ||
232 | 5097, | ||
233 | 25, | ||
234 | 8252, | ||
235 | 6497, | ||
236 | -1525, | ||
237 | 11649, | ||
238 | 3021, | ||
239 | 1626, | ||
240 | 3523, | ||
241 | -4617, | ||
242 | 4981, | ||
243 | 1670, | ||
244 | -4693, | ||
245 | 7416, | ||
246 | 3532, | ||
247 | -2144, | ||
248 | 2472, | ||
249 | -13599, | ||
250 | 2054, | ||
251 | -6800, | ||
252 | -550, | ||
253 | 4747, | ||
254 | -10274, | ||
255 | 3365, | ||
256 | -4703, | ||
257 | -10459, | ||
258 | 4970, | ||
259 | -7970, | ||
260 | 5237, | ||
261 | -538, | ||
262 | 453, | ||
263 | 7733, | ||
264 | -5971, | ||
265 | 590, | ||
266 | 4190, | ||
267 | }; | ||
268 | |||
269 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t7.h b/dsplib_benchmarks/fir1/t7.h new file mode 100644 index 0000000..710dac9 --- /dev/null +++ b/dsplib_benchmarks/fir1/t7.h | |||
@@ -0,0 +1,325 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 120 | ||
36 | #define NH 32 | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -21673, | ||
42 | 1621, | ||
43 | 9253, | ||
44 | -31707, | ||
45 | 22075, | ||
46 | 19887, | ||
47 | 12962, | ||
48 | -2498, | ||
49 | -27354, | ||
50 | 21018, | ||
51 | -20119, | ||
52 | -3582, | ||
53 | -31919, | ||
54 | -12535, | ||
55 | 24598, | ||
56 | 21971, | ||
57 | -10939, | ||
58 | 24949, | ||
59 | -1332, | ||
60 | 3985, | ||
61 | 7596, | ||
62 | 10610, | ||
63 | 7643, | ||
64 | 12133, | ||
65 | 665, | ||
66 | 14022, | ||
67 | 996, | ||
68 | 6938, | ||
69 | 30585, | ||
70 | 21110, | ||
71 | -11944, | ||
72 | 5747, | ||
73 | -24236, | ||
74 | -16099, | ||
75 | 19859, | ||
76 | 10999, | ||
77 | -31875, | ||
78 | 4035, | ||
79 | -2978, | ||
80 | 26538, | ||
81 | -14277, | ||
82 | -28506, | ||
83 | -1535, | ||
84 | 31700, | ||
85 | 27679, | ||
86 | 4010, | ||
87 | 9982, | ||
88 | 17870, | ||
89 | -25810, | ||
90 | -32698, | ||
91 | 2737, | ||
92 | -32319, | ||
93 | -3190, | ||
94 | -19946, | ||
95 | 18818, | ||
96 | 7770, | ||
97 | -31751, | ||
98 | 25614, | ||
99 | 17150, | ||
100 | 26675, | ||
101 | 16945, | ||
102 | -7817, | ||
103 | -11069, | ||
104 | 267, | ||
105 | 4231, | ||
106 | 17511, | ||
107 | 18341, | ||
108 | -1043, | ||
109 | 19805, | ||
110 | -1900, | ||
111 | -19480, | ||
112 | 5217, | ||
113 | 10911, | ||
114 | 11584, | ||
115 | 29000, | ||
116 | 17704, | ||
117 | 15558, | ||
118 | 24003, | ||
119 | 32174, | ||
120 | 257, | ||
121 | 8459, | ||
122 | 19176, | ||
123 | -3366, | ||
124 | 1596, | ||
125 | -21531, | ||
126 | -24205, | ||
127 | -18430, | ||
128 | -25856, | ||
129 | -23500, | ||
130 | -2821, | ||
131 | 18883, | ||
132 | -14349, | ||
133 | -18037, | ||
134 | 26795, | ||
135 | -32288, | ||
136 | 5815, | ||
137 | 2760, | ||
138 | 10061, | ||
139 | -12227, | ||
140 | -17619, | ||
141 | -5501, | ||
142 | -13186, | ||
143 | 11300, | ||
144 | 28721, | ||
145 | -10280, | ||
146 | 4126, | ||
147 | -24977, | ||
148 | -21692, | ||
149 | -14491, | ||
150 | 3723, | ||
151 | -945, | ||
152 | 29636, | ||
153 | -17569, | ||
154 | -1399, | ||
155 | 1738, | ||
156 | 19183, | ||
157 | -20120, | ||
158 | 26843, | ||
159 | 27669, | ||
160 | -31899, | ||
161 | }; | ||
162 | |||
163 | #pragma DATA_SECTION(h,".coeffs") | ||
164 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
165 | 964, | ||
166 | 1613, | ||
167 | 1129, | ||
168 | 1528, | ||
169 | -1086, | ||
170 | 628, | ||
171 | 1540, | ||
172 | -564, | ||
173 | 340, | ||
174 | 416, | ||
175 | -1791, | ||
176 | 1738, | ||
177 | 1440, | ||
178 | 695, | ||
179 | -218, | ||
180 | 724, | ||
181 | 395, | ||
182 | -722, | ||
183 | 1283, | ||
184 | -1399, | ||
185 | -752, | ||
186 | -1452, | ||
187 | -370, | ||
188 | -602, | ||
189 | 1601, | ||
190 | 1220, | ||
191 | -872, | ||
192 | -1649, | ||
193 | -1782, | ||
194 | 268, | ||
195 | 879, | ||
196 | 1106, | ||
197 | }; | ||
198 | |||
199 | #pragma DATA_SECTION(db,".dbuffer") | ||
200 | DATA db[NH+2] ; | ||
201 | |||
202 | DATA rtest[NX] ={ | ||
203 | -638, | ||
204 | -1019, | ||
205 | -395, | ||
206 | -1433, | ||
207 | 202, | ||
208 | 541, | ||
209 | -651, | ||
210 | 3956, | ||
211 | -711, | ||
212 | -2352, | ||
213 | 2218, | ||
214 | -2211, | ||
215 | -1250, | ||
216 | -2240, | ||
217 | -3249, | ||
218 | -337, | ||
219 | 746, | ||
220 | 5031, | ||
221 | 134, | ||
222 | -1864, | ||
223 | 6383, | ||
224 | -1385, | ||
225 | 4062, | ||
226 | 1079, | ||
227 | -2927, | ||
228 | -1969, | ||
229 | 3134, | ||
230 | 913, | ||
231 | 2372, | ||
232 | 7278, | ||
233 | 3835, | ||
234 | 3624, | ||
235 | -1963, | ||
236 | -914, | ||
237 | 855, | ||
238 | 1879, | ||
239 | -522, | ||
240 | -904, | ||
241 | -2390, | ||
242 | 3144, | ||
243 | 7767, | ||
244 | -2867, | ||
245 | -4670, | ||
246 | -3161, | ||
247 | -1627, | ||
248 | 2955, | ||
249 | 4977, | ||
250 | -1158, | ||
251 | -3222, | ||
252 | -2767, | ||
253 | -645, | ||
254 | -2742, | ||
255 | 325, | ||
256 | 2, | ||
257 | -5838, | ||
258 | 2310, | ||
259 | -3314, | ||
260 | -1177, | ||
261 | 5014, | ||
262 | 6037, | ||
263 | 3760, | ||
264 | 623, | ||
265 | -2823, | ||
266 | 595, | ||
267 | -4182, | ||
268 | -1669, | ||
269 | -226, | ||
270 | -2494, | ||
271 | 7448, | ||
272 | 4307, | ||
273 | 3784, | ||
274 | 301, | ||
275 | 1500, | ||
276 | -1226, | ||
277 | 2777, | ||
278 | 3991, | ||
279 | 3835, | ||
280 | 7958, | ||
281 | 2600, | ||
282 | 4694, | ||
283 | 1566, | ||
284 | 631, | ||
285 | -160, | ||
286 | 5470, | ||
287 | 3233, | ||
288 | -5398, | ||
289 | -3797, | ||
290 | -5616, | ||
291 | -2819, | ||
292 | 4639, | ||
293 | 3423, | ||
294 | -522, | ||
295 | -208, | ||
296 | -2609, | ||
297 | -5204, | ||
298 | -3538, | ||
299 | 437, | ||
300 | -5223, | ||
301 | 805, | ||
302 | -2972, | ||
303 | -9811, | ||
304 | -2566, | ||
305 | -1440, | ||
306 | -2487, | ||
307 | 1521, | ||
308 | 1978, | ||
309 | 936, | ||
310 | -2396, | ||
311 | 4101, | ||
312 | -2490, | ||
313 | -3701, | ||
314 | 3738, | ||
315 | -1748, | ||
316 | 509, | ||
317 | 4829, | ||
318 | 2157, | ||
319 | -721, | ||
320 | 80, | ||
321 | -982, | ||
322 | -2430, | ||
323 | }; | ||
324 | |||
325 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/t8.h b/dsplib_benchmarks/fir1/t8.h new file mode 100644 index 0000000..b42235f --- /dev/null +++ b/dsplib_benchmarks/fir1/t8.h | |||
@@ -0,0 +1,629 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 256 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 9015, | ||
42 | -16301, | ||
43 | -23310, | ||
44 | 9932, | ||
45 | 29234, | ||
46 | 20701, | ||
47 | 28196, | ||
48 | -12456, | ||
49 | -15151, | ||
50 | 2388, | ||
51 | -22068, | ||
52 | -18941, | ||
53 | -18559, | ||
54 | 9947, | ||
55 | -29310, | ||
56 | -17742, | ||
57 | 10972, | ||
58 | -12391, | ||
59 | -12673, | ||
60 | 14462, | ||
61 | 29779, | ||
62 | -24174, | ||
63 | -28294, | ||
64 | -24562, | ||
65 | -21879, | ||
66 | 26962, | ||
67 | -23839, | ||
68 | 7667, | ||
69 | -15141, | ||
70 | -18307, | ||
71 | 13952, | ||
72 | 3211, | ||
73 | 28924, | ||
74 | -11150, | ||
75 | 13401, | ||
76 | 29060, | ||
77 | 5347, | ||
78 | 24913, | ||
79 | 16358, | ||
80 | -7890, | ||
81 | 14782, | ||
82 | -22099, | ||
83 | 29897, | ||
84 | -19908, | ||
85 | 18100, | ||
86 | 7424, | ||
87 | -22133, | ||
88 | -30733, | ||
89 | -13853, | ||
90 | 30871, | ||
91 | 29523, | ||
92 | -17823, | ||
93 | 30049, | ||
94 | 11787, | ||
95 | -29166, | ||
96 | 6543, | ||
97 | -7003, | ||
98 | -18654, | ||
99 | -20815, | ||
100 | -27738, | ||
101 | -32282, | ||
102 | 18925, | ||
103 | -31603, | ||
104 | 24768, | ||
105 | -9664, | ||
106 | 14558, | ||
107 | 30700, | ||
108 | -22567, | ||
109 | -22089, | ||
110 | -12230, | ||
111 | -30843, | ||
112 | -9331, | ||
113 | -30987, | ||
114 | 19245, | ||
115 | 32717, | ||
116 | -25544, | ||
117 | 8034, | ||
118 | -24080, | ||
119 | -12450, | ||
120 | -23935, | ||
121 | -18133, | ||
122 | -6780, | ||
123 | -23912, | ||
124 | -16970, | ||
125 | 28017, | ||
126 | -7137, | ||
127 | 738, | ||
128 | -26680, | ||
129 | -31346, | ||
130 | -22313, | ||
131 | 22578, | ||
132 | 24848, | ||
133 | -20514, | ||
134 | 32198, | ||
135 | 13895, | ||
136 | 24337, | ||
137 | -1335, | ||
138 | -262, | ||
139 | -13925, | ||
140 | -28775, | ||
141 | -15567, | ||
142 | -20562, | ||
143 | 27334, | ||
144 | -24689, | ||
145 | -31887, | ||
146 | -8540, | ||
147 | 13018, | ||
148 | 25516, | ||
149 | 6145, | ||
150 | -22500, | ||
151 | -12014, | ||
152 | -17473, | ||
153 | -32217, | ||
154 | -6757, | ||
155 | 9821, | ||
156 | -27198, | ||
157 | 17616, | ||
158 | 30782, | ||
159 | 14076, | ||
160 | 18478, | ||
161 | -17199, | ||
162 | -19941, | ||
163 | -15518, | ||
164 | 14010, | ||
165 | 31299, | ||
166 | 8986, | ||
167 | 3009, | ||
168 | 22810, | ||
169 | 19798, | ||
170 | 11030, | ||
171 | 11205, | ||
172 | 21013, | ||
173 | 30832, | ||
174 | -857, | ||
175 | 20805, | ||
176 | 9277, | ||
177 | -12692, | ||
178 | 10546, | ||
179 | -9305, | ||
180 | 28717, | ||
181 | -809, | ||
182 | -26805, | ||
183 | 11392, | ||
184 | 975, | ||
185 | -18247, | ||
186 | 14746, | ||
187 | -28296, | ||
188 | 30416, | ||
189 | -19159, | ||
190 | -22209, | ||
191 | 9058, | ||
192 | -32754, | ||
193 | -10772, | ||
194 | -14740, | ||
195 | -29850, | ||
196 | -26615, | ||
197 | -5899, | ||
198 | 20767, | ||
199 | 24282, | ||
200 | -31290, | ||
201 | 14888, | ||
202 | 22807, | ||
203 | 14981, | ||
204 | 29825, | ||
205 | 10246, | ||
206 | 15879, | ||
207 | -10161, | ||
208 | 25167, | ||
209 | -10012, | ||
210 | -28871, | ||
211 | 14314, | ||
212 | 30029, | ||
213 | -22490, | ||
214 | -5482, | ||
215 | -26606, | ||
216 | -3281, | ||
217 | 24192, | ||
218 | -7103, | ||
219 | -16202, | ||
220 | -9544, | ||
221 | 15923, | ||
222 | 9884, | ||
223 | 28822, | ||
224 | 21810, | ||
225 | -1968, | ||
226 | 8510, | ||
227 | -28955, | ||
228 | 2764, | ||
229 | -2902, | ||
230 | 23795, | ||
231 | 23278, | ||
232 | -1819, | ||
233 | 18803, | ||
234 | 10222, | ||
235 | -32766, | ||
236 | -24168, | ||
237 | -336, | ||
238 | -30256, | ||
239 | -17863, | ||
240 | -11280, | ||
241 | 26179, | ||
242 | -12208, | ||
243 | -16275, | ||
244 | -4392, | ||
245 | 22438, | ||
246 | -20678, | ||
247 | 536, | ||
248 | -3131, | ||
249 | -11431, | ||
250 | -7860, | ||
251 | 25328, | ||
252 | 17121, | ||
253 | 25150, | ||
254 | -2792, | ||
255 | 19608, | ||
256 | -23982, | ||
257 | -28488, | ||
258 | -8183, | ||
259 | -8289, | ||
260 | -1048, | ||
261 | 30766, | ||
262 | -10351, | ||
263 | -16208, | ||
264 | 5563, | ||
265 | 1553, | ||
266 | -22059, | ||
267 | -892, | ||
268 | -259, | ||
269 | 22491, | ||
270 | 20066, | ||
271 | 23447, | ||
272 | 7192, | ||
273 | 4307, | ||
274 | 7333, | ||
275 | -26020, | ||
276 | -22393, | ||
277 | -5660, | ||
278 | 3959, | ||
279 | -15160, | ||
280 | 18628, | ||
281 | -7349, | ||
282 | -30738, | ||
283 | 5603, | ||
284 | 3837, | ||
285 | -19616, | ||
286 | -27039, | ||
287 | 28392, | ||
288 | -15770, | ||
289 | -19388, | ||
290 | -29544, | ||
291 | 6957, | ||
292 | 3037, | ||
293 | -26488, | ||
294 | 8978, | ||
295 | -3739, | ||
296 | -28418, | ||
297 | }; | ||
298 | |||
299 | #pragma DATA_SECTION(h,".coeffs") | ||
300 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
301 | -261, | ||
302 | -520, | ||
303 | 879, | ||
304 | 268, | ||
305 | 783, | ||
306 | 293, | ||
307 | 617, | ||
308 | -135, | ||
309 | 996, | ||
310 | -837, | ||
311 | 56, | ||
312 | 94, | ||
313 | -447, | ||
314 | -268, | ||
315 | -902, | ||
316 | 92, | ||
317 | 696, | ||
318 | -735, | ||
319 | -681, | ||
320 | -895, | ||
321 | 671, | ||
322 | -759, | ||
323 | 796, | ||
324 | 30, | ||
325 | 960, | ||
326 | -786, | ||
327 | -936, | ||
328 | -249, | ||
329 | -181, | ||
330 | -205, | ||
331 | -164, | ||
332 | -255, | ||
333 | 843, | ||
334 | 352, | ||
335 | 956, | ||
336 | -698, | ||
337 | 514, | ||
338 | -261, | ||
339 | -95, | ||
340 | -956, | ||
341 | 129, | ||
342 | -265, | ||
343 | 606, | ||
344 | 611, | ||
345 | -243, | ||
346 | -512, | ||
347 | -326, | ||
348 | 968, | ||
349 | -42, | ||
350 | -273, | ||
351 | 547, | ||
352 | -255, | ||
353 | 829, | ||
354 | -656, | ||
355 | -273, | ||
356 | 864, | ||
357 | 32, | ||
358 | -849, | ||
359 | 487, | ||
360 | -1026, | ||
361 | 213, | ||
362 | 946, | ||
363 | -213, | ||
364 | 479, | ||
365 | }; | ||
366 | |||
367 | #pragma DATA_SECTION(db,".dbuffer") | ||
368 | DATA db[NH+2] ; | ||
369 | |||
370 | DATA rtest[NX] ={ | ||
371 | -72, | ||
372 | -13, | ||
373 | 686, | ||
374 | -73, | ||
375 | -934, | ||
376 | -861, | ||
377 | -219, | ||
378 | 131, | ||
379 | 1934, | ||
380 | 431, | ||
381 | 722, | ||
382 | 1561, | ||
383 | 273, | ||
384 | -922, | ||
385 | -708, | ||
386 | -272, | ||
387 | -1277, | ||
388 | -1876, | ||
389 | -2878, | ||
390 | -353, | ||
391 | -406, | ||
392 | 458, | ||
393 | 199, | ||
394 | -1076, | ||
395 | 903, | ||
396 | -1890, | ||
397 | -342, | ||
398 | 1698, | ||
399 | 2174, | ||
400 | 1053, | ||
401 | -2259, | ||
402 | -1002, | ||
403 | -1640, | ||
404 | 1305, | ||
405 | -3223, | ||
406 | 1562, | ||
407 | 3304, | ||
408 | 1357, | ||
409 | 2522, | ||
410 | 531, | ||
411 | 6908, | ||
412 | 1535, | ||
413 | 2399, | ||
414 | 655, | ||
415 | -3354, | ||
416 | -2298, | ||
417 | -1285, | ||
418 | 3431, | ||
419 | 762, | ||
420 | -2457, | ||
421 | -1223, | ||
422 | -2981, | ||
423 | 2470, | ||
424 | -568, | ||
425 | 456, | ||
426 | -18, | ||
427 | 224, | ||
428 | -1523, | ||
429 | -13, | ||
430 | -597, | ||
431 | 1974, | ||
432 | -874, | ||
433 | -4949, | ||
434 | -4608, | ||
435 | -2565, | ||
436 | -1182, | ||
437 | -231, | ||
438 | 2010, | ||
439 | 3450, | ||
440 | 1357, | ||
441 | -3899, | ||
442 | 1183, | ||
443 | 3066, | ||
444 | -1800, | ||
445 | 1861, | ||
446 | -4698, | ||
447 | -59, | ||
448 | 1346, | ||
449 | -2056, | ||
450 | -832, | ||
451 | -252, | ||
452 | 955, | ||
453 | 1485, | ||
454 | -1634, | ||
455 | -1810, | ||
456 | 2772, | ||
457 | 2802, | ||
458 | 1251, | ||
459 | 25, | ||
460 | 1094, | ||
461 | -974, | ||
462 | -6536, | ||
463 | 601, | ||
464 | -286, | ||
465 | -3350, | ||
466 | 2759, | ||
467 | 2998, | ||
468 | 6579, | ||
469 | 4169, | ||
470 | 3075, | ||
471 | 3324, | ||
472 | -454, | ||
473 | -3407, | ||
474 | -2711, | ||
475 | -2015, | ||
476 | 1272, | ||
477 | 1216, | ||
478 | -680, | ||
479 | 2358, | ||
480 | -6189, | ||
481 | 3062, | ||
482 | -3220, | ||
483 | -4762, | ||
484 | 6793, | ||
485 | -3464, | ||
486 | 159, | ||
487 | 2159, | ||
488 | 499, | ||
489 | 3911, | ||
490 | -4064, | ||
491 | -4994, | ||
492 | 1487, | ||
493 | -109, | ||
494 | -1977, | ||
495 | 3205, | ||
496 | -2320, | ||
497 | 4841, | ||
498 | 3460, | ||
499 | -523, | ||
500 | 4733, | ||
501 | -972, | ||
502 | 414, | ||
503 | -1991, | ||
504 | -2971, | ||
505 | 3420, | ||
506 | -2617, | ||
507 | 2254, | ||
508 | -531, | ||
509 | 2052, | ||
510 | 2653, | ||
511 | 2494, | ||
512 | -217, | ||
513 | -817, | ||
514 | -4437, | ||
515 | -4469, | ||
516 | -115, | ||
517 | -4378, | ||
518 | 481, | ||
519 | -1752, | ||
520 | 386, | ||
521 | 164, | ||
522 | -577, | ||
523 | -2744, | ||
524 | -2879, | ||
525 | -1446, | ||
526 | -143, | ||
527 | -2853, | ||
528 | -1561, | ||
529 | -227, | ||
530 | -2873, | ||
531 | 1732, | ||
532 | -659, | ||
533 | -1182, | ||
534 | 2629, | ||
535 | -1869, | ||
536 | 1550, | ||
537 | 4062, | ||
538 | 1806, | ||
539 | 2633, | ||
540 | 5399, | ||
541 | -1948, | ||
542 | 2503, | ||
543 | -130, | ||
544 | -178, | ||
545 | 1137, | ||
546 | -1306, | ||
547 | -4784, | ||
548 | -480, | ||
549 | -533, | ||
550 | 3769, | ||
551 | 64, | ||
552 | 861, | ||
553 | -919, | ||
554 | -2688, | ||
555 | -139, | ||
556 | 47, | ||
557 | 1675, | ||
558 | 4163, | ||
559 | -4458, | ||
560 | 446, | ||
561 | 372, | ||
562 | -410, | ||
563 | 1517, | ||
564 | -346, | ||
565 | 2609, | ||
566 | 5729, | ||
567 | -5201, | ||
568 | 2233, | ||
569 | -462, | ||
570 | -1261, | ||
571 | 2556, | ||
572 | -7545, | ||
573 | -5595, | ||
574 | 1098, | ||
575 | -324, | ||
576 | 3813, | ||
577 | -4538, | ||
578 | -892, | ||
579 | 2976, | ||
580 | -3355, | ||
581 | -1364, | ||
582 | -1995, | ||
583 | 3763, | ||
584 | 3830, | ||
585 | 2422, | ||
586 | 237, | ||
587 | 2770, | ||
588 | -1337, | ||
589 | 762, | ||
590 | -1580, | ||
591 | -1850, | ||
592 | -4345, | ||
593 | 2081, | ||
594 | 3857, | ||
595 | -579, | ||
596 | 2408, | ||
597 | 2049, | ||
598 | -1992, | ||
599 | 897, | ||
600 | -6329, | ||
601 | -1496, | ||
602 | -42, | ||
603 | 4184, | ||
604 | -378, | ||
605 | 6701, | ||
606 | 239, | ||
607 | 3941, | ||
608 | -1768, | ||
609 | -2634, | ||
610 | -3356, | ||
611 | -761, | ||
612 | -2794, | ||
613 | 51, | ||
614 | 2510, | ||
615 | 2781, | ||
616 | -536, | ||
617 | -1102, | ||
618 | -1681, | ||
619 | 1158, | ||
620 | -8843, | ||
621 | 1161, | ||
622 | -1248, | ||
623 | 2396, | ||
624 | 1679, | ||
625 | 3443, | ||
626 | -1569, | ||
627 | }; | ||
628 | |||
629 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir1/test.h b/dsplib_benchmarks/fir1/test.h new file mode 100644 index 0000000..f6218ee --- /dev/null +++ b/dsplib_benchmarks/fir1/test.h | |||
@@ -0,0 +1,373 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 0, | ||
43 | 0, | ||
44 | 0, | ||
45 | 0, | ||
46 | 0, | ||
47 | 0, | ||
48 | 0, | ||
49 | 0, | ||
50 | 0, | ||
51 | 0, | ||
52 | 0, | ||
53 | 0, | ||
54 | 0, | ||
55 | 0, | ||
56 | 0, | ||
57 | 0, | ||
58 | 0, | ||
59 | 0, | ||
60 | 0, | ||
61 | 0, | ||
62 | 0, | ||
63 | 0, | ||
64 | 0, | ||
65 | 0, | ||
66 | 0, | ||
67 | 0, | ||
68 | 0, | ||
69 | 0, | ||
70 | 0, | ||
71 | 0, | ||
72 | 0, | ||
73 | 0, | ||
74 | 0, | ||
75 | 0, | ||
76 | 0, | ||
77 | 0, | ||
78 | 0, | ||
79 | 0, | ||
80 | 0, | ||
81 | 0, | ||
82 | 0, | ||
83 | 0, | ||
84 | 0, | ||
85 | 0, | ||
86 | 0, | ||
87 | 0, | ||
88 | 0, | ||
89 | 0, | ||
90 | 0, | ||
91 | 0, | ||
92 | 0, | ||
93 | 0, | ||
94 | 0, | ||
95 | 0, | ||
96 | 0, | ||
97 | 0, | ||
98 | 0, | ||
99 | 0, | ||
100 | 0, | ||
101 | 0, | ||
102 | 0, | ||
103 | 0, | ||
104 | 0, | ||
105 | 0, | ||
106 | 0, | ||
107 | 0, | ||
108 | 0, | ||
109 | 0, | ||
110 | 0, | ||
111 | 0, | ||
112 | 0, | ||
113 | 0, | ||
114 | 0, | ||
115 | 0, | ||
116 | 0, | ||
117 | 0, | ||
118 | 0, | ||
119 | 0, | ||
120 | 0, | ||
121 | 0, | ||
122 | 0, | ||
123 | 0, | ||
124 | 0, | ||
125 | 0, | ||
126 | 0, | ||
127 | 0, | ||
128 | 0, | ||
129 | 0, | ||
130 | 0, | ||
131 | 0, | ||
132 | 0, | ||
133 | 0, | ||
134 | 0, | ||
135 | 0, | ||
136 | 0, | ||
137 | 0, | ||
138 | 0, | ||
139 | 0, | ||
140 | 0, | ||
141 | 0, | ||
142 | 0, | ||
143 | 0, | ||
144 | 0, | ||
145 | 0, | ||
146 | 0, | ||
147 | 0, | ||
148 | 0, | ||
149 | 0, | ||
150 | 0, | ||
151 | 0, | ||
152 | 0, | ||
153 | 0, | ||
154 | 0, | ||
155 | 0, | ||
156 | 0, | ||
157 | 0, | ||
158 | 0, | ||
159 | 0, | ||
160 | 0, | ||
161 | 0, | ||
162 | 0, | ||
163 | 0, | ||
164 | 0, | ||
165 | 0, | ||
166 | 0, | ||
167 | 0, | ||
168 | 0, | ||
169 | }; | ||
170 | |||
171 | #pragma DATA_SECTION(h,".coeffs") | ||
172 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
173 | 816, | ||
174 | 547, | ||
175 | -91, | ||
176 | -1006, | ||
177 | 670, | ||
178 | -116, | ||
179 | 240, | ||
180 | 609, | ||
181 | 880, | ||
182 | 497, | ||
183 | -676, | ||
184 | -197, | ||
185 | 909, | ||
186 | 870, | ||
187 | -188, | ||
188 | 821, | ||
189 | -923, | ||
190 | -308, | ||
191 | 653, | ||
192 | -1024, | ||
193 | -754, | ||
194 | -621, | ||
195 | -629, | ||
196 | 216, | ||
197 | -476, | ||
198 | -629, | ||
199 | -1012, | ||
200 | 515, | ||
201 | -115, | ||
202 | 901, | ||
203 | -71, | ||
204 | -170, | ||
205 | 722, | ||
206 | 52, | ||
207 | -621, | ||
208 | 359, | ||
209 | 705, | ||
210 | -1003, | ||
211 | 378, | ||
212 | -252, | ||
213 | 692, | ||
214 | 5, | ||
215 | 437, | ||
216 | -149, | ||
217 | -408, | ||
218 | -648, | ||
219 | -640, | ||
220 | 380, | ||
221 | -412, | ||
222 | 86, | ||
223 | -729, | ||
224 | 413, | ||
225 | -254, | ||
226 | 751, | ||
227 | 738, | ||
228 | 195, | ||
229 | -8, | ||
230 | 834, | ||
231 | 671, | ||
232 | 302, | ||
233 | 663, | ||
234 | 334, | ||
235 | -330, | ||
236 | -439, | ||
237 | }; | ||
238 | |||
239 | #pragma DATA_SECTION(db,".dbuffer") | ||
240 | DATA db[NH+2] ; | ||
241 | |||
242 | DATA rtest[NX] ={ | ||
243 | 817, | ||
244 | 547, | ||
245 | -91, | ||
246 | -1005, | ||
247 | 671, | ||
248 | -115, | ||
249 | 241, | ||
250 | 609, | ||
251 | 881, | ||
252 | 497, | ||
253 | -676, | ||
254 | -197, | ||
255 | 909, | ||
256 | 870, | ||
257 | -187, | ||
258 | 822, | ||
259 | -923, | ||
260 | -307, | ||
261 | 654, | ||
262 | -1023, | ||
263 | -754, | ||
264 | -620, | ||
265 | -629, | ||
266 | 217, | ||
267 | -476, | ||
268 | -629, | ||
269 | -1012, | ||
270 | 515, | ||
271 | -115, | ||
272 | 901, | ||
273 | -71, | ||
274 | -170, | ||
275 | 723, | ||
276 | 53, | ||
277 | -621, | ||
278 | 359, | ||
279 | 706, | ||
280 | -1003, | ||
281 | 378, | ||
282 | -252, | ||
283 | 693, | ||
284 | 6, | ||
285 | 437, | ||
286 | -148, | ||
287 | -408, | ||
288 | -648, | ||
289 | -640, | ||
290 | 380, | ||
291 | -412, | ||
292 | 87, | ||
293 | -729, | ||
294 | 413, | ||
295 | -254, | ||
296 | 752, | ||
297 | 738, | ||
298 | 195, | ||
299 | -7, | ||
300 | 835, | ||
301 | 671, | ||
302 | 303, | ||
303 | 664, | ||
304 | 334, | ||
305 | -330, | ||
306 | -439, | ||
307 | 0, | ||
308 | 0, | ||
309 | 0, | ||
310 | 0, | ||
311 | 0, | ||
312 | 0, | ||
313 | 0, | ||
314 | 0, | ||
315 | 0, | ||
316 | 0, | ||
317 | 0, | ||
318 | 0, | ||
319 | 0, | ||
320 | 0, | ||
321 | 0, | ||
322 | 0, | ||
323 | 0, | ||
324 | 0, | ||
325 | 0, | ||
326 | 0, | ||
327 | 0, | ||
328 | 0, | ||
329 | 0, | ||
330 | 0, | ||
331 | 0, | ||
332 | 0, | ||
333 | 0, | ||
334 | 0, | ||
335 | 0, | ||
336 | 0, | ||
337 | 0, | ||
338 | 0, | ||
339 | 0, | ||
340 | 0, | ||
341 | 0, | ||
342 | 0, | ||
343 | 0, | ||
344 | 0, | ||
345 | 0, | ||
346 | 0, | ||
347 | 0, | ||
348 | 0, | ||
349 | 0, | ||
350 | 0, | ||
351 | 0, | ||
352 | 0, | ||
353 | 0, | ||
354 | 0, | ||
355 | 0, | ||
356 | 0, | ||
357 | 0, | ||
358 | 0, | ||
359 | 0, | ||
360 | 0, | ||
361 | 0, | ||
362 | 0, | ||
363 | 0, | ||
364 | 0, | ||
365 | 0, | ||
366 | 0, | ||
367 | 0, | ||
368 | 0, | ||
369 | 0, | ||
370 | 0, | ||
371 | }; | ||
372 | |||
373 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/Fir2_t.c b/dsplib_benchmarks/fir2/Fir2_t.c new file mode 100644 index 0000000..49e01ed --- /dev/null +++ b/dsplib_benchmarks/fir2/Fir2_t.c | |||
@@ -0,0 +1,143 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: fir2_t.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test for fir2 routine | ||
39 | //***************************************************************************** | ||
40 | |||
41 | #include <stdlib.h> | ||
42 | #include <math.h> | ||
43 | #include <stdio.h> | ||
44 | #include <tms320.h> | ||
45 | #include <dsplib.h> | ||
46 | #include <time.h> | ||
47 | |||
48 | #define NUMBER_OF_ITERATIONS 1000l | ||
49 | |||
50 | |||
51 | //#include "t1.h" | ||
52 | //#include "t2.h" | ||
53 | //#include "t3.h" | ||
54 | //#include "t4.h" | ||
55 | //#include "t5.h" | ||
56 | //#include "t6.h" | ||
57 | //#include "t7.h" | ||
58 | #include "t5_ran.h" | ||
59 | //#include "test.h" | ||
60 | |||
61 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
62 | |||
63 | short eflag1= PASS; | ||
64 | short eflag2= PASS; | ||
65 | |||
66 | #pragma DATA_SECTION(r, ".bss:saram") | ||
67 | DATA r[NX]; | ||
68 | |||
69 | DATA *dbptr = &db[0]; | ||
70 | void clear_ran(short x[], int N) | ||
71 | { | ||
72 | int i ; | ||
73 | for (i=0; i<N; i++) | ||
74 | { | ||
75 | x[i] = 0 ; | ||
76 | } | ||
77 | return ; | ||
78 | } | ||
79 | |||
80 | void main() | ||
81 | { | ||
82 | short i; | ||
83 | int nx ; | ||
84 | long iterations1 ; | ||
85 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
86 | |||
87 | |||
88 | // 1. Test for single-buffer | ||
89 | |||
90 | // clear | ||
91 | |||
92 | clear_ran(db, NH+2) ; | ||
93 | |||
94 | // compute | ||
95 | |||
96 | nx = 32; | ||
97 | t1 = clock() ; | ||
98 | t2 = clock() ; | ||
99 | diff = t2 - t1 ; /// overhead of calling | ||
100 | t1 = clock() ; // compute | ||
101 | |||
102 | |||
103 | (void)fir2(x, h, r, dbptr, nx, NH); | ||
104 | |||
105 | |||
106 | |||
107 | t2 = clock() ; | ||
108 | |||
109 | total1_t = (double) (t2 - t1-diff) ; | ||
110 | printf("256 tap, %d values FIR Real 16-bit \n" , nx) ; | ||
111 | printf("fir2 time (in cycles) %ld \n", total1_t) ; | ||
112 | |||
113 | |||
114 | |||
115 | |||
116 | // test | ||
117 | eflag1 = test(r, rtest, nx, MAXERROR); | ||
118 | |||
119 | |||
120 | if( (eflag1 != PASS) || (eflag2 != PASS) ) | ||
121 | { | ||
122 | exit(-1); | ||
123 | } | ||
124 | |||
125 | |||
126 | |||
127 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
128 | |||
129 | { | ||
130 | |||
131 | (void)fir2(x, h, r, dbptr, 4, NH); | ||
132 | |||
133 | } | ||
134 | |||
135 | |||
136 | printf("Done with %ld iteration \n",iterations1 ); | ||
137 | |||
138 | |||
139 | |||
140 | |||
141 | |||
142 | return; | ||
143 | } | ||
diff --git a/dsplib_benchmarks/fir2/TEST.C b/dsplib_benchmarks/fir2/TEST.C new file mode 100644 index 0000000..09324f1 --- /dev/null +++ b/dsplib_benchmarks/fir2/TEST.C | |||
@@ -0,0 +1,90 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | break; | ||
61 | } | ||
62 | else | ||
63 | if (elevel>emax) emax = elevel; | ||
64 | } | ||
65 | // Pass to Host: eflag and emax | ||
66 | return(eflag); | ||
67 | } | ||
68 | |||
69 | short compare(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
70 | |||
71 | { | ||
72 | short i; | ||
73 | short eflag = PASS; // error flag or index into r vector where error | ||
74 | DATA elevel = 0; // error level at failing eflag index location | ||
75 | DATA emax = 0; // max error level detected across when NOERROR | ||
76 | |||
77 | for (i=0;i<n;i++) | ||
78 | { | ||
79 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
80 | { | ||
81 | eflag =i; // if error --> eflag = index and emax= max error | ||
82 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
83 | printf("cpmare values i= %d v1 = %d v2 = %d \n", i, r[i], rtest[i]) ; | ||
84 | // break; | ||
85 | } | ||
86 | |||
87 | } | ||
88 | // Pass to Host: eflag and emax | ||
89 | return(eflag); | ||
90 | } | ||
diff --git a/dsplib_benchmarks/fir2/fir2.cmd b/dsplib_benchmarks/fir2/fir2.cmd new file mode 100644 index 0000000..94bf6e6 --- /dev/null +++ b/dsplib_benchmarks/fir2/fir2.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } \ No newline at end of file | ||
diff --git a/dsplib_benchmarks/fir2/t1.h b/dsplib_benchmarks/fir2/t1.h new file mode 100644 index 0000000..3590d9d --- /dev/null +++ b/dsplib_benchmarks/fir2/t1.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 8 | ||
36 | #define NH 4 | ||
37 | #define FNAME "t1" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 0, | ||
43 | 0, | ||
44 | 0, | ||
45 | 0, | ||
46 | 0, | ||
47 | 0, | ||
48 | 0, | ||
49 | }; | ||
50 | |||
51 | #pragma DATA_SECTION(h,".coeffs") | ||
52 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
53 | 17562, | ||
54 | -10491, | ||
55 | 4168, | ||
56 | -547, | ||
57 | }; | ||
58 | |||
59 | #pragma DATA_SECTION(db,".dbuffer") | ||
60 | DATA db[NH+2] ; | ||
61 | |||
62 | DATA rtest[NX] ={ | ||
63 | 17562, | ||
64 | -10490, | ||
65 | 4169, | ||
66 | -547, | ||
67 | 0, | ||
68 | 0, | ||
69 | 0, | ||
70 | 0, | ||
71 | }; | ||
72 | |||
73 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t2.h b/dsplib_benchmarks/fir2/t2.h new file mode 100644 index 0000000..f6218ee --- /dev/null +++ b/dsplib_benchmarks/fir2/t2.h | |||
@@ -0,0 +1,373 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 0, | ||
43 | 0, | ||
44 | 0, | ||
45 | 0, | ||
46 | 0, | ||
47 | 0, | ||
48 | 0, | ||
49 | 0, | ||
50 | 0, | ||
51 | 0, | ||
52 | 0, | ||
53 | 0, | ||
54 | 0, | ||
55 | 0, | ||
56 | 0, | ||
57 | 0, | ||
58 | 0, | ||
59 | 0, | ||
60 | 0, | ||
61 | 0, | ||
62 | 0, | ||
63 | 0, | ||
64 | 0, | ||
65 | 0, | ||
66 | 0, | ||
67 | 0, | ||
68 | 0, | ||
69 | 0, | ||
70 | 0, | ||
71 | 0, | ||
72 | 0, | ||
73 | 0, | ||
74 | 0, | ||
75 | 0, | ||
76 | 0, | ||
77 | 0, | ||
78 | 0, | ||
79 | 0, | ||
80 | 0, | ||
81 | 0, | ||
82 | 0, | ||
83 | 0, | ||
84 | 0, | ||
85 | 0, | ||
86 | 0, | ||
87 | 0, | ||
88 | 0, | ||
89 | 0, | ||
90 | 0, | ||
91 | 0, | ||
92 | 0, | ||
93 | 0, | ||
94 | 0, | ||
95 | 0, | ||
96 | 0, | ||
97 | 0, | ||
98 | 0, | ||
99 | 0, | ||
100 | 0, | ||
101 | 0, | ||
102 | 0, | ||
103 | 0, | ||
104 | 0, | ||
105 | 0, | ||
106 | 0, | ||
107 | 0, | ||
108 | 0, | ||
109 | 0, | ||
110 | 0, | ||
111 | 0, | ||
112 | 0, | ||
113 | 0, | ||
114 | 0, | ||
115 | 0, | ||
116 | 0, | ||
117 | 0, | ||
118 | 0, | ||
119 | 0, | ||
120 | 0, | ||
121 | 0, | ||
122 | 0, | ||
123 | 0, | ||
124 | 0, | ||
125 | 0, | ||
126 | 0, | ||
127 | 0, | ||
128 | 0, | ||
129 | 0, | ||
130 | 0, | ||
131 | 0, | ||
132 | 0, | ||
133 | 0, | ||
134 | 0, | ||
135 | 0, | ||
136 | 0, | ||
137 | 0, | ||
138 | 0, | ||
139 | 0, | ||
140 | 0, | ||
141 | 0, | ||
142 | 0, | ||
143 | 0, | ||
144 | 0, | ||
145 | 0, | ||
146 | 0, | ||
147 | 0, | ||
148 | 0, | ||
149 | 0, | ||
150 | 0, | ||
151 | 0, | ||
152 | 0, | ||
153 | 0, | ||
154 | 0, | ||
155 | 0, | ||
156 | 0, | ||
157 | 0, | ||
158 | 0, | ||
159 | 0, | ||
160 | 0, | ||
161 | 0, | ||
162 | 0, | ||
163 | 0, | ||
164 | 0, | ||
165 | 0, | ||
166 | 0, | ||
167 | 0, | ||
168 | 0, | ||
169 | }; | ||
170 | |||
171 | #pragma DATA_SECTION(h,".coeffs") | ||
172 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
173 | 816, | ||
174 | 547, | ||
175 | -91, | ||
176 | -1006, | ||
177 | 670, | ||
178 | -116, | ||
179 | 240, | ||
180 | 609, | ||
181 | 880, | ||
182 | 497, | ||
183 | -676, | ||
184 | -197, | ||
185 | 909, | ||
186 | 870, | ||
187 | -188, | ||
188 | 821, | ||
189 | -923, | ||
190 | -308, | ||
191 | 653, | ||
192 | -1024, | ||
193 | -754, | ||
194 | -621, | ||
195 | -629, | ||
196 | 216, | ||
197 | -476, | ||
198 | -629, | ||
199 | -1012, | ||
200 | 515, | ||
201 | -115, | ||
202 | 901, | ||
203 | -71, | ||
204 | -170, | ||
205 | 722, | ||
206 | 52, | ||
207 | -621, | ||
208 | 359, | ||
209 | 705, | ||
210 | -1003, | ||
211 | 378, | ||
212 | -252, | ||
213 | 692, | ||
214 | 5, | ||
215 | 437, | ||
216 | -149, | ||
217 | -408, | ||
218 | -648, | ||
219 | -640, | ||
220 | 380, | ||
221 | -412, | ||
222 | 86, | ||
223 | -729, | ||
224 | 413, | ||
225 | -254, | ||
226 | 751, | ||
227 | 738, | ||
228 | 195, | ||
229 | -8, | ||
230 | 834, | ||
231 | 671, | ||
232 | 302, | ||
233 | 663, | ||
234 | 334, | ||
235 | -330, | ||
236 | -439, | ||
237 | }; | ||
238 | |||
239 | #pragma DATA_SECTION(db,".dbuffer") | ||
240 | DATA db[NH+2] ; | ||
241 | |||
242 | DATA rtest[NX] ={ | ||
243 | 817, | ||
244 | 547, | ||
245 | -91, | ||
246 | -1005, | ||
247 | 671, | ||
248 | -115, | ||
249 | 241, | ||
250 | 609, | ||
251 | 881, | ||
252 | 497, | ||
253 | -676, | ||
254 | -197, | ||
255 | 909, | ||
256 | 870, | ||
257 | -187, | ||
258 | 822, | ||
259 | -923, | ||
260 | -307, | ||
261 | 654, | ||
262 | -1023, | ||
263 | -754, | ||
264 | -620, | ||
265 | -629, | ||
266 | 217, | ||
267 | -476, | ||
268 | -629, | ||
269 | -1012, | ||
270 | 515, | ||
271 | -115, | ||
272 | 901, | ||
273 | -71, | ||
274 | -170, | ||
275 | 723, | ||
276 | 53, | ||
277 | -621, | ||
278 | 359, | ||
279 | 706, | ||
280 | -1003, | ||
281 | 378, | ||
282 | -252, | ||
283 | 693, | ||
284 | 6, | ||
285 | 437, | ||
286 | -148, | ||
287 | -408, | ||
288 | -648, | ||
289 | -640, | ||
290 | 380, | ||
291 | -412, | ||
292 | 87, | ||
293 | -729, | ||
294 | 413, | ||
295 | -254, | ||
296 | 752, | ||
297 | 738, | ||
298 | 195, | ||
299 | -7, | ||
300 | 835, | ||
301 | 671, | ||
302 | 303, | ||
303 | 664, | ||
304 | 334, | ||
305 | -330, | ||
306 | -439, | ||
307 | 0, | ||
308 | 0, | ||
309 | 0, | ||
310 | 0, | ||
311 | 0, | ||
312 | 0, | ||
313 | 0, | ||
314 | 0, | ||
315 | 0, | ||
316 | 0, | ||
317 | 0, | ||
318 | 0, | ||
319 | 0, | ||
320 | 0, | ||
321 | 0, | ||
322 | 0, | ||
323 | 0, | ||
324 | 0, | ||
325 | 0, | ||
326 | 0, | ||
327 | 0, | ||
328 | 0, | ||
329 | 0, | ||
330 | 0, | ||
331 | 0, | ||
332 | 0, | ||
333 | 0, | ||
334 | 0, | ||
335 | 0, | ||
336 | 0, | ||
337 | 0, | ||
338 | 0, | ||
339 | 0, | ||
340 | 0, | ||
341 | 0, | ||
342 | 0, | ||
343 | 0, | ||
344 | 0, | ||
345 | 0, | ||
346 | 0, | ||
347 | 0, | ||
348 | 0, | ||
349 | 0, | ||
350 | 0, | ||
351 | 0, | ||
352 | 0, | ||
353 | 0, | ||
354 | 0, | ||
355 | 0, | ||
356 | 0, | ||
357 | 0, | ||
358 | 0, | ||
359 | 0, | ||
360 | 0, | ||
361 | 0, | ||
362 | 0, | ||
363 | 0, | ||
364 | 0, | ||
365 | 0, | ||
366 | 0, | ||
367 | 0, | ||
368 | 0, | ||
369 | 0, | ||
370 | 0, | ||
371 | }; | ||
372 | |||
373 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t3.h b/dsplib_benchmarks/fir2/t3.h new file mode 100644 index 0000000..9fd46af --- /dev/null +++ b/dsplib_benchmarks/fir2/t3.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 8 | ||
36 | #define NH 4 | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -10408, | ||
42 | 2233, | ||
43 | 14884, | ||
44 | -12499, | ||
45 | 22183, | ||
46 | 4461, | ||
47 | -8493, | ||
48 | 13286, | ||
49 | }; | ||
50 | |||
51 | #pragma DATA_SECTION(h,".coeffs") | ||
52 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
53 | 3654, | ||
54 | -4326, | ||
55 | 15268, | ||
56 | 9519, | ||
57 | }; | ||
58 | |||
59 | #pragma DATA_SECTION(db,".dbuffer") | ||
60 | DATA db[NH+2] ; | ||
61 | |||
62 | DATA rtest[NX] ={ | ||
63 | -1161, | ||
64 | 1623, | ||
65 | -3484, | ||
66 | -5342, | ||
67 | 11708, | ||
68 | -3930, | ||
69 | 5170, | ||
70 | 11126, | ||
71 | }; | ||
72 | |||
73 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t4.h b/dsplib_benchmarks/fir2/t4.h new file mode 100644 index 0000000..c01c587 --- /dev/null +++ b/dsplib_benchmarks/fir2/t4.h | |||
@@ -0,0 +1,373 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 19321, | ||
42 | 29939, | ||
43 | 1480, | ||
44 | 24912, | ||
45 | -21434, | ||
46 | 31440, | ||
47 | -14979, | ||
48 | -16232, | ||
49 | 24624, | ||
50 | 15552, | ||
51 | -23822, | ||
52 | -31998, | ||
53 | 25814, | ||
54 | -19718, | ||
55 | -13191, | ||
56 | 10580, | ||
57 | -14129, | ||
58 | -2017, | ||
59 | -28523, | ||
60 | 32003, | ||
61 | 5425, | ||
62 | -5014, | ||
63 | 1016, | ||
64 | -10883, | ||
65 | -4398, | ||
66 | -17961, | ||
67 | 5230, | ||
68 | 17063, | ||
69 | 1954, | ||
70 | 9209, | ||
71 | -19067, | ||
72 | -7877, | ||
73 | 18568, | ||
74 | 11851, | ||
75 | -2550, | ||
76 | 4445, | ||
77 | 19281, | ||
78 | -28890, | ||
79 | 6741, | ||
80 | -29474, | ||
81 | -5546, | ||
82 | -12780, | ||
83 | 24534, | ||
84 | -31785, | ||
85 | 17560, | ||
86 | 30857, | ||
87 | 32118, | ||
88 | 18930, | ||
89 | -4021, | ||
90 | -111, | ||
91 | -18746, | ||
92 | 9403, | ||
93 | -11795, | ||
94 | 30152, | ||
95 | 14852, | ||
96 | -5771, | ||
97 | 16027, | ||
98 | -15208, | ||
99 | -3938, | ||
100 | 28401, | ||
101 | 12014, | ||
102 | -18838, | ||
103 | 22232, | ||
104 | 8440, | ||
105 | -24002, | ||
106 | -19194, | ||
107 | 7025, | ||
108 | 8512, | ||
109 | -8489, | ||
110 | 4924, | ||
111 | -3184, | ||
112 | -29892, | ||
113 | -30987, | ||
114 | -12276, | ||
115 | -31926, | ||
116 | -7605, | ||
117 | 12000, | ||
118 | -26684, | ||
119 | -30453, | ||
120 | 7365, | ||
121 | 7113, | ||
122 | -31736, | ||
123 | -31697, | ||
124 | -20312, | ||
125 | 5696, | ||
126 | -28995, | ||
127 | -8680, | ||
128 | 8614, | ||
129 | 14262, | ||
130 | 12626, | ||
131 | -27258, | ||
132 | -2992, | ||
133 | -3813, | ||
134 | -9618, | ||
135 | -22702, | ||
136 | 11511, | ||
137 | 13055, | ||
138 | 14910, | ||
139 | -1417, | ||
140 | 3594, | ||
141 | -24836, | ||
142 | -3228, | ||
143 | 14148, | ||
144 | 25745, | ||
145 | -14870, | ||
146 | -16072, | ||
147 | 23960, | ||
148 | -17541, | ||
149 | 19980, | ||
150 | 26764, | ||
151 | -17571, | ||
152 | -17085, | ||
153 | -29508, | ||
154 | -27631, | ||
155 | 9228, | ||
156 | -20259, | ||
157 | 22535, | ||
158 | -21372, | ||
159 | -21575, | ||
160 | 32394, | ||
161 | -3946, | ||
162 | -10483, | ||
163 | -12176, | ||
164 | -8843, | ||
165 | -6997, | ||
166 | 5998, | ||
167 | -24921, | ||
168 | -30270, | ||
169 | }; | ||
170 | |||
171 | #pragma DATA_SECTION(h,".coeffs") | ||
172 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
173 | -88, | ||
174 | 783, | ||
175 | 919, | ||
176 | -499, | ||
177 | -720, | ||
178 | 789, | ||
179 | -556, | ||
180 | 308, | ||
181 | 989, | ||
182 | 349, | ||
183 | 784, | ||
184 | -1039, | ||
185 | -769, | ||
186 | 675, | ||
187 | -148, | ||
188 | 826, | ||
189 | 497, | ||
190 | 396, | ||
191 | -326, | ||
192 | -708, | ||
193 | -730, | ||
194 | -655, | ||
195 | -165, | ||
196 | 754, | ||
197 | -21, | ||
198 | 669, | ||
199 | -84, | ||
200 | -91, | ||
201 | -105, | ||
202 | -186, | ||
203 | 850, | ||
204 | -1048, | ||
205 | -430, | ||
206 | -956, | ||
207 | 409, | ||
208 | 317, | ||
209 | 1023, | ||
210 | 111, | ||
211 | -212, | ||
212 | -639, | ||
213 | 265, | ||
214 | 494, | ||
215 | -263, | ||
216 | -1039, | ||
217 | -170, | ||
218 | 537, | ||
219 | 622, | ||
220 | 889, | ||
221 | 730, | ||
222 | -281, | ||
223 | 255, | ||
224 | 489, | ||
225 | -649, | ||
226 | 857, | ||
227 | 146, | ||
228 | 279, | ||
229 | -563, | ||
230 | 103, | ||
231 | 914, | ||
232 | -350, | ||
233 | 329, | ||
234 | -229, | ||
235 | 269, | ||
236 | 421, | ||
237 | }; | ||
238 | |||
239 | #pragma DATA_SECTION(db,".dbuffer") | ||
240 | DATA db[NH+2] ; | ||
241 | |||
242 | DATA rtest[NX] ={ | ||
243 | -52, | ||
244 | 382, | ||
245 | 1254, | ||
246 | 515, | ||
247 | -186, | ||
248 | -112, | ||
249 | 173, | ||
250 | 58, | ||
251 | 558, | ||
252 | -186, | ||
253 | 3885, | ||
254 | -289, | ||
255 | -3869, | ||
256 | 1486, | ||
257 | 179, | ||
258 | -613, | ||
259 | 707, | ||
260 | 1790, | ||
261 | 1014, | ||
262 | -3139, | ||
263 | -1208, | ||
264 | -732, | ||
265 | 942, | ||
266 | -2527, | ||
267 | 500, | ||
268 | 1082, | ||
269 | -2031, | ||
270 | -243, | ||
271 | 1445, | ||
272 | 870, | ||
273 | 224, | ||
274 | -1415, | ||
275 | -887, | ||
276 | -1675, | ||
277 | 19, | ||
278 | 2712, | ||
279 | -755, | ||
280 | 4141, | ||
281 | -1750, | ||
282 | -1729, | ||
283 | -2884, | ||
284 | -679, | ||
285 | 2963, | ||
286 | 1169, | ||
287 | 570, | ||
288 | -11, | ||
289 | 288, | ||
290 | 60, | ||
291 | -1039, | ||
292 | 4637, | ||
293 | 777, | ||
294 | -287, | ||
295 | -1546, | ||
296 | 630, | ||
297 | 2258, | ||
298 | 2765, | ||
299 | 2265, | ||
300 | -2618, | ||
301 | -650, | ||
302 | 466, | ||
303 | 15, | ||
304 | 5216, | ||
305 | -210, | ||
306 | 3122, | ||
307 | -3383, | ||
308 | -4135, | ||
309 | -3715, | ||
310 | 593, | ||
311 | 3042, | ||
312 | 1130, | ||
313 | 3628, | ||
314 | -3536, | ||
315 | 2692, | ||
316 | -6114, | ||
317 | -460, | ||
318 | -1810, | ||
319 | -75, | ||
320 | 596, | ||
321 | -2496, | ||
322 | -3921, | ||
323 | -2139, | ||
324 | 1357, | ||
325 | 1899, | ||
326 | 695, | ||
327 | -2461, | ||
328 | -927, | ||
329 | -956, | ||
330 | -4960, | ||
331 | -4143, | ||
332 | 2941, | ||
333 | -1722, | ||
334 | -1724, | ||
335 | 1982, | ||
336 | 3228, | ||
337 | 608, | ||
338 | -590, | ||
339 | 1238, | ||
340 | 387, | ||
341 | -908, | ||
342 | -24, | ||
343 | 148, | ||
344 | -1729, | ||
345 | 595, | ||
346 | 2334, | ||
347 | 7396, | ||
348 | 1216, | ||
349 | -400, | ||
350 | -81, | ||
351 | -2759, | ||
352 | -164, | ||
353 | 1736, | ||
354 | 3601, | ||
355 | -1529, | ||
356 | 895, | ||
357 | 1652, | ||
358 | -2928, | ||
359 | 4404, | ||
360 | -500, | ||
361 | -2613, | ||
362 | -4179, | ||
363 | -3444, | ||
364 | 1784, | ||
365 | -3339, | ||
366 | -2382, | ||
367 | 3613, | ||
368 | -1299, | ||
369 | -878, | ||
370 | -3167, | ||
371 | }; | ||
372 | |||
373 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t5.h b/dsplib_benchmarks/fir2/t5.h new file mode 100644 index 0000000..0f71516 --- /dev/null +++ b/dsplib_benchmarks/fir2/t5.h | |||
@@ -0,0 +1,597 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 256 | ||
36 | #define NH 32 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -6739, | ||
42 | -5661, | ||
43 | 10172, | ||
44 | 22123, | ||
45 | -8415, | ||
46 | -4899, | ||
47 | 6203, | ||
48 | 4308, | ||
49 | 14191, | ||
50 | 741, | ||
51 | 18114, | ||
52 | -699, | ||
53 | -20585, | ||
54 | 13148, | ||
55 | 31634, | ||
56 | 20095, | ||
57 | 13340, | ||
58 | -986, | ||
59 | -25257, | ||
60 | 10803, | ||
61 | -8823, | ||
62 | -23591, | ||
63 | 4376, | ||
64 | 21168, | ||
65 | 11399, | ||
66 | 32731, | ||
67 | 30253, | ||
68 | -28911, | ||
69 | -9155, | ||
70 | 3179, | ||
71 | -15613, | ||
72 | 6379, | ||
73 | -29539, | ||
74 | 4656, | ||
75 | 13163, | ||
76 | 30296, | ||
77 | 16417, | ||
78 | 15728, | ||
79 | -4465, | ||
80 | 8799, | ||
81 | 19859, | ||
82 | -27271, | ||
83 | 29193, | ||
84 | 27259, | ||
85 | 6683, | ||
86 | -16151, | ||
87 | 24474, | ||
88 | 878, | ||
89 | 15246, | ||
90 | -5097, | ||
91 | 30236, | ||
92 | -28046, | ||
93 | 3500, | ||
94 | -13633, | ||
95 | 23459, | ||
96 | -10764, | ||
97 | 11809, | ||
98 | -29266, | ||
99 | -9395, | ||
100 | -112, | ||
101 | -4297, | ||
102 | 4093, | ||
103 | 7642, | ||
104 | -25341, | ||
105 | 26099, | ||
106 | 16682, | ||
107 | 19079, | ||
108 | 20640, | ||
109 | 11141, | ||
110 | -19604, | ||
111 | -14871, | ||
112 | 8272, | ||
113 | 2415, | ||
114 | -28869, | ||
115 | -26938, | ||
116 | -14988, | ||
117 | -5960, | ||
118 | -1702, | ||
119 | 26803, | ||
120 | 6307, | ||
121 | -11210, | ||
122 | -1430, | ||
123 | 6368, | ||
124 | -22188, | ||
125 | 21592, | ||
126 | 29892, | ||
127 | 6261, | ||
128 | -30884, | ||
129 | 20454, | ||
130 | 7216, | ||
131 | 13205, | ||
132 | -26726, | ||
133 | -4923, | ||
134 | -8155, | ||
135 | -21879, | ||
136 | 21833, | ||
137 | 22193, | ||
138 | -3172, | ||
139 | 29923, | ||
140 | -23125, | ||
141 | 24243, | ||
142 | 17657, | ||
143 | -3660, | ||
144 | 7904, | ||
145 | 29601, | ||
146 | 9175, | ||
147 | -16560, | ||
148 | -9654, | ||
149 | -20457, | ||
150 | -614, | ||
151 | -5946, | ||
152 | -2391, | ||
153 | 7270, | ||
154 | -28104, | ||
155 | -12172, | ||
156 | 7103, | ||
157 | -21298, | ||
158 | 7931, | ||
159 | -16649, | ||
160 | 5725, | ||
161 | 396, | ||
162 | -2309, | ||
163 | 2714, | ||
164 | 28988, | ||
165 | -10371, | ||
166 | -6436, | ||
167 | -12604, | ||
168 | -5796, | ||
169 | -14029, | ||
170 | -6939, | ||
171 | 197, | ||
172 | 14547, | ||
173 | -12701, | ||
174 | -25418, | ||
175 | -3717, | ||
176 | -2179, | ||
177 | -31807, | ||
178 | 10751, | ||
179 | 14684, | ||
180 | -14311, | ||
181 | -15610, | ||
182 | 13662, | ||
183 | 18602, | ||
184 | 31860, | ||
185 | -1748, | ||
186 | 26399, | ||
187 | -3208, | ||
188 | 19956, | ||
189 | 21552, | ||
190 | -21872, | ||
191 | -6953, | ||
192 | 1360, | ||
193 | 14294, | ||
194 | 4534, | ||
195 | -2569, | ||
196 | -3585, | ||
197 | -27018, | ||
198 | -3704, | ||
199 | -8763, | ||
200 | -12942, | ||
201 | 23058, | ||
202 | 17005, | ||
203 | 29475, | ||
204 | 3797, | ||
205 | -31836, | ||
206 | 6303, | ||
207 | 20722, | ||
208 | 31266, | ||
209 | -18226, | ||
210 | 13348, | ||
211 | 1445, | ||
212 | 28370, | ||
213 | 13982, | ||
214 | -17824, | ||
215 | -3301, | ||
216 | -21483, | ||
217 | 30724, | ||
218 | -9456, | ||
219 | -29554, | ||
220 | 16733, | ||
221 | 25874, | ||
222 | -14015, | ||
223 | -16306, | ||
224 | 28359, | ||
225 | -24184, | ||
226 | 28889, | ||
227 | 13228, | ||
228 | 22785, | ||
229 | -19054, | ||
230 | -2944, | ||
231 | -27455, | ||
232 | 23011, | ||
233 | 4066, | ||
234 | -11843, | ||
235 | -8199, | ||
236 | 24103, | ||
237 | -8378, | ||
238 | -27939, | ||
239 | -19672, | ||
240 | -29525, | ||
241 | 4371, | ||
242 | -24778, | ||
243 | 1449, | ||
244 | -25097, | ||
245 | 17689, | ||
246 | -8189, | ||
247 | 21193, | ||
248 | -29712, | ||
249 | 6416, | ||
250 | 29435, | ||
251 | -13842, | ||
252 | 25482, | ||
253 | -26111, | ||
254 | -28488, | ||
255 | -17413, | ||
256 | 28383, | ||
257 | -28631, | ||
258 | -15453, | ||
259 | 32737, | ||
260 | -18876, | ||
261 | -105, | ||
262 | -13731, | ||
263 | 11321, | ||
264 | 30014, | ||
265 | 17468, | ||
266 | 10887, | ||
267 | -24187, | ||
268 | -26515, | ||
269 | -31794, | ||
270 | -13881, | ||
271 | 20757, | ||
272 | 31816, | ||
273 | -31631, | ||
274 | 20931, | ||
275 | 7938, | ||
276 | 3946, | ||
277 | -16776, | ||
278 | 21103, | ||
279 | -15519, | ||
280 | 16622, | ||
281 | 10462, | ||
282 | -18740, | ||
283 | 6692, | ||
284 | 6877, | ||
285 | 10453, | ||
286 | -20752, | ||
287 | 8948, | ||
288 | -21607, | ||
289 | 2595, | ||
290 | 8086, | ||
291 | 12182, | ||
292 | 11622, | ||
293 | 24695, | ||
294 | -31924, | ||
295 | -12426, | ||
296 | 18289, | ||
297 | }; | ||
298 | |||
299 | #pragma DATA_SECTION(h,".coeffs") | ||
300 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
301 | -736, | ||
302 | 1628, | ||
303 | 682, | ||
304 | -1625, | ||
305 | -1639, | ||
306 | -1863, | ||
307 | -1042, | ||
308 | 62, | ||
309 | -160, | ||
310 | 775, | ||
311 | 314, | ||
312 | 35, | ||
313 | -1625, | ||
314 | -1171, | ||
315 | -460, | ||
316 | -854, | ||
317 | 1033, | ||
318 | -711, | ||
319 | 527, | ||
320 | 1856, | ||
321 | 10, | ||
322 | 1708, | ||
323 | 1251, | ||
324 | 1593, | ||
325 | -1477, | ||
326 | 1191, | ||
327 | 1558, | ||
328 | -1312, | ||
329 | -1443, | ||
330 | 1002, | ||
331 | 846, | ||
332 | 578, | ||
333 | }; | ||
334 | |||
335 | #pragma DATA_SECTION(db,".dbuffer") | ||
336 | DATA db[NH+2] ; | ||
337 | |||
338 | DATA rtest[NX] ={ | ||
339 | 151, | ||
340 | -208, | ||
341 | -650, | ||
342 | 225, | ||
343 | 2118, | ||
344 | 314, | ||
345 | -1627, | ||
346 | -991, | ||
347 | -870, | ||
348 | 378, | ||
349 | -259, | ||
350 | -129, | ||
351 | 597, | ||
352 | -2630, | ||
353 | -2252, | ||
354 | 288, | ||
355 | 707, | ||
356 | 420, | ||
357 | -2062, | ||
358 | -5128, | ||
359 | -3994, | ||
360 | -417, | ||
361 | -1463, | ||
362 | -157, | ||
363 | 5930, | ||
364 | 2561, | ||
365 | 621, | ||
366 | -1223, | ||
367 | -4174, | ||
368 | -3442, | ||
369 | -3419, | ||
370 | -2030, | ||
371 | 5735, | ||
372 | 5711, | ||
373 | 986, | ||
374 | 5192, | ||
375 | 4954, | ||
376 | -1549, | ||
377 | -3282, | ||
378 | -2617, | ||
379 | -2820, | ||
380 | -2141, | ||
381 | -1871, | ||
382 | -4172, | ||
383 | 7497, | ||
384 | 8491, | ||
385 | -2366, | ||
386 | -1994, | ||
387 | -2415, | ||
388 | -1890, | ||
389 | -5896, | ||
390 | -371, | ||
391 | -3442, | ||
392 | -5240, | ||
393 | -27, | ||
394 | 2625, | ||
395 | 5114, | ||
396 | 1397, | ||
397 | 616, | ||
398 | -298, | ||
399 | 1044, | ||
400 | 2474, | ||
401 | 1501, | ||
402 | 2475, | ||
403 | -626, | ||
404 | 7629, | ||
405 | 3211, | ||
406 | -2322, | ||
407 | 3811, | ||
408 | 5244, | ||
409 | -6609, | ||
410 | -3300, | ||
411 | 800, | ||
412 | 4438, | ||
413 | -3374, | ||
414 | 4119, | ||
415 | -1963, | ||
416 | 1123, | ||
417 | -1516, | ||
418 | 2136, | ||
419 | 1542, | ||
420 | -708, | ||
421 | -3850, | ||
422 | -166, | ||
423 | -1583, | ||
424 | 4633, | ||
425 | 6082, | ||
426 | 8720, | ||
427 | -2254, | ||
428 | -2240, | ||
429 | 682, | ||
430 | -493, | ||
431 | -5470, | ||
432 | -2891, | ||
433 | -1406, | ||
434 | -4181, | ||
435 | -1347, | ||
436 | 6401, | ||
437 | -592, | ||
438 | -1252, | ||
439 | -2370, | ||
440 | -1173, | ||
441 | -1923, | ||
442 | -1784, | ||
443 | 1746, | ||
444 | -367, | ||
445 | -1055, | ||
446 | 2830, | ||
447 | -3279, | ||
448 | -4011, | ||
449 | -2300, | ||
450 | 7378, | ||
451 | -4506, | ||
452 | -3287, | ||
453 | 3881, | ||
454 | -579, | ||
455 | -590, | ||
456 | -1256, | ||
457 | 3106, | ||
458 | 6178, | ||
459 | 2176, | ||
460 | 7213, | ||
461 | 693, | ||
462 | 2780, | ||
463 | 1549, | ||
464 | 597, | ||
465 | 3311, | ||
466 | -296, | ||
467 | -2980, | ||
468 | -1979, | ||
469 | 3636, | ||
470 | 709, | ||
471 | -1083, | ||
472 | 2312, | ||
473 | -2084, | ||
474 | -2966, | ||
475 | -851, | ||
476 | -2154, | ||
477 | 1570, | ||
478 | 1304, | ||
479 | 3056, | ||
480 | 1499, | ||
481 | 1158, | ||
482 | -1289, | ||
483 | 2848, | ||
484 | 422, | ||
485 | -293, | ||
486 | -5798, | ||
487 | -1495, | ||
488 | -588, | ||
489 | -4762, | ||
490 | -5678, | ||
491 | -198, | ||
492 | 1536, | ||
493 | -308, | ||
494 | -6628, | ||
495 | -1216, | ||
496 | -3352, | ||
497 | -6953, | ||
498 | -2468, | ||
499 | 1676, | ||
500 | 4509, | ||
501 | 1518, | ||
502 | 5577, | ||
503 | 6431, | ||
504 | -9102, | ||
505 | -1877, | ||
506 | 2436, | ||
507 | 7104, | ||
508 | 955, | ||
509 | -700, | ||
510 | 421, | ||
511 | -2458, | ||
512 | 2563, | ||
513 | -3204, | ||
514 | -8039, | ||
515 | -1075, | ||
516 | 883, | ||
517 | 2196, | ||
518 | -4855, | ||
519 | -1376, | ||
520 | 4695, | ||
521 | 161, | ||
522 | 642, | ||
523 | -906, | ||
524 | 123, | ||
525 | 1063, | ||
526 | 2524, | ||
527 | 4142, | ||
528 | -3539, | ||
529 | 263, | ||
530 | -2818, | ||
531 | 7146, | ||
532 | 1827, | ||
533 | -1983, | ||
534 | -202, | ||
535 | 2408, | ||
536 | 792, | ||
537 | -3264, | ||
538 | -2679, | ||
539 | -6077, | ||
540 | 6873, | ||
541 | 9984, | ||
542 | -142, | ||
543 | -1469, | ||
544 | 8124, | ||
545 | 5784, | ||
546 | -2896, | ||
547 | 1176, | ||
548 | -317, | ||
549 | 4063, | ||
550 | 968, | ||
551 | 2775, | ||
552 | -674, | ||
553 | -1346, | ||
554 | -3994, | ||
555 | 4656, | ||
556 | 3138, | ||
557 | -1088, | ||
558 | -4077, | ||
559 | -708, | ||
560 | -1965, | ||
561 | -4126, | ||
562 | -6189, | ||
563 | 318, | ||
564 | 7695, | ||
565 | -2020, | ||
566 | 1269, | ||
567 | -7182, | ||
568 | -1921, | ||
569 | -1436, | ||
570 | 6367, | ||
571 | 5469, | ||
572 | -2895, | ||
573 | 3619, | ||
574 | -6982, | ||
575 | -4691, | ||
576 | -4216, | ||
577 | -2935, | ||
578 | -2207, | ||
579 | 6839, | ||
580 | 8668, | ||
581 | -6296, | ||
582 | -1946, | ||
583 | 4820, | ||
584 | -1064, | ||
585 | -2817, | ||
586 | -2480, | ||
587 | -3364, | ||
588 | 57, | ||
589 | -813, | ||
590 | -2221, | ||
591 | 910, | ||
592 | 5214, | ||
593 | -2303, | ||
594 | -4027, | ||
595 | }; | ||
596 | |||
597 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t5_ran.h b/dsplib_benchmarks/fir2/t5_ran.h new file mode 100644 index 0000000..80550fe --- /dev/null +++ b/dsplib_benchmarks/fir2/t5_ran.h | |||
@@ -0,0 +1,821 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 256 | ||
36 | #define NH 256 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -6739, | ||
42 | -5661, | ||
43 | 10172, | ||
44 | 22123, | ||
45 | -8415, | ||
46 | -4899, | ||
47 | 6203, | ||
48 | 4308, | ||
49 | 14191, | ||
50 | 741, | ||
51 | 18114, | ||
52 | -699, | ||
53 | -20585, | ||
54 | 13148, | ||
55 | 31634, | ||
56 | 20095, | ||
57 | 13340, | ||
58 | -986, | ||
59 | -25257, | ||
60 | 10803, | ||
61 | -8823, | ||
62 | -23591, | ||
63 | 4376, | ||
64 | 21168, | ||
65 | 11399, | ||
66 | 32731, | ||
67 | 30253, | ||
68 | -28911, | ||
69 | -9155, | ||
70 | 3179, | ||
71 | -15613, | ||
72 | 6379, | ||
73 | -29539, | ||
74 | 4656, | ||
75 | 13163, | ||
76 | 30296, | ||
77 | 16417, | ||
78 | 15728, | ||
79 | -4465, | ||
80 | 8799, | ||
81 | 19859, | ||
82 | -27271, | ||
83 | 29193, | ||
84 | 27259, | ||
85 | 6683, | ||
86 | -16151, | ||
87 | 24474, | ||
88 | 878, | ||
89 | 15246, | ||
90 | -5097, | ||
91 | 30236, | ||
92 | -28046, | ||
93 | 3500, | ||
94 | -13633, | ||
95 | 23459, | ||
96 | -10764, | ||
97 | 11809, | ||
98 | -29266, | ||
99 | -9395, | ||
100 | -112, | ||
101 | -4297, | ||
102 | 4093, | ||
103 | 7642, | ||
104 | -25341, | ||
105 | 26099, | ||
106 | 16682, | ||
107 | 19079, | ||
108 | 20640, | ||
109 | 11141, | ||
110 | -19604, | ||
111 | -14871, | ||
112 | 8272, | ||
113 | 2415, | ||
114 | -28869, | ||
115 | -26938, | ||
116 | -14988, | ||
117 | -5960, | ||
118 | -1702, | ||
119 | 26803, | ||
120 | 6307, | ||
121 | -11210, | ||
122 | -1430, | ||
123 | 6368, | ||
124 | -22188, | ||
125 | 21592, | ||
126 | 29892, | ||
127 | 6261, | ||
128 | -30884, | ||
129 | 20454, | ||
130 | 7216, | ||
131 | 13205, | ||
132 | -26726, | ||
133 | -4923, | ||
134 | -8155, | ||
135 | -21879, | ||
136 | 21833, | ||
137 | 22193, | ||
138 | -3172, | ||
139 | 29923, | ||
140 | -23125, | ||
141 | 24243, | ||
142 | 17657, | ||
143 | -3660, | ||
144 | 7904, | ||
145 | 29601, | ||
146 | 9175, | ||
147 | -16560, | ||
148 | -9654, | ||
149 | -20457, | ||
150 | -614, | ||
151 | -5946, | ||
152 | -2391, | ||
153 | 7270, | ||
154 | -28104, | ||
155 | -12172, | ||
156 | 7103, | ||
157 | -21298, | ||
158 | 7931, | ||
159 | -16649, | ||
160 | 5725, | ||
161 | 396, | ||
162 | -2309, | ||
163 | 2714, | ||
164 | 28988, | ||
165 | -10371, | ||
166 | -6436, | ||
167 | -12604, | ||
168 | -5796, | ||
169 | -14029, | ||
170 | -6939, | ||
171 | 197, | ||
172 | 14547, | ||
173 | -12701, | ||
174 | -25418, | ||
175 | -3717, | ||
176 | -2179, | ||
177 | -31807, | ||
178 | 10751, | ||
179 | 14684, | ||
180 | -14311, | ||
181 | -15610, | ||
182 | 13662, | ||
183 | 18602, | ||
184 | 31860, | ||
185 | -1748, | ||
186 | 26399, | ||
187 | -3208, | ||
188 | 19956, | ||
189 | 21552, | ||
190 | -21872, | ||
191 | -6953, | ||
192 | 1360, | ||
193 | 14294, | ||
194 | 4534, | ||
195 | -2569, | ||
196 | -3585, | ||
197 | -27018, | ||
198 | -3704, | ||
199 | -8763, | ||
200 | -12942, | ||
201 | 23058, | ||
202 | 17005, | ||
203 | 29475, | ||
204 | 3797, | ||
205 | -31836, | ||
206 | 6303, | ||
207 | 20722, | ||
208 | 31266, | ||
209 | -18226, | ||
210 | 13348, | ||
211 | 1445, | ||
212 | 28370, | ||
213 | 13982, | ||
214 | -17824, | ||
215 | -3301, | ||
216 | -21483, | ||
217 | 30724, | ||
218 | -9456, | ||
219 | -29554, | ||
220 | 16733, | ||
221 | 25874, | ||
222 | -14015, | ||
223 | -16306, | ||
224 | 28359, | ||
225 | -24184, | ||
226 | 28889, | ||
227 | 13228, | ||
228 | 22785, | ||
229 | -19054, | ||
230 | -2944, | ||
231 | -27455, | ||
232 | 23011, | ||
233 | 4066, | ||
234 | -11843, | ||
235 | -8199, | ||
236 | 24103, | ||
237 | -8378, | ||
238 | -27939, | ||
239 | -19672, | ||
240 | -29525, | ||
241 | 4371, | ||
242 | -24778, | ||
243 | 1449, | ||
244 | -25097, | ||
245 | 17689, | ||
246 | -8189, | ||
247 | 21193, | ||
248 | -29712, | ||
249 | 6416, | ||
250 | 29435, | ||
251 | -13842, | ||
252 | 25482, | ||
253 | -26111, | ||
254 | -28488, | ||
255 | -17413, | ||
256 | 28383, | ||
257 | -28631, | ||
258 | -15453, | ||
259 | 32737, | ||
260 | -18876, | ||
261 | -105, | ||
262 | -13731, | ||
263 | 11321, | ||
264 | 30014, | ||
265 | 17468, | ||
266 | 10887, | ||
267 | -24187, | ||
268 | -26515, | ||
269 | -31794, | ||
270 | -13881, | ||
271 | 20757, | ||
272 | 31816, | ||
273 | -31631, | ||
274 | 20931, | ||
275 | 7938, | ||
276 | 3946, | ||
277 | -16776, | ||
278 | 21103, | ||
279 | -15519, | ||
280 | 16622, | ||
281 | 10462, | ||
282 | -18740, | ||
283 | 6692, | ||
284 | 6877, | ||
285 | 10453, | ||
286 | -20752, | ||
287 | 8948, | ||
288 | -21607, | ||
289 | 2595, | ||
290 | 8086, | ||
291 | 12182, | ||
292 | 11622, | ||
293 | 24695, | ||
294 | -31924, | ||
295 | -12426, | ||
296 | 18289, | ||
297 | }; | ||
298 | |||
299 | #pragma DATA_SECTION(h,".coeffs") | ||
300 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
301 | -736, | ||
302 | 1628, | ||
303 | 682, | ||
304 | -1625, | ||
305 | -1639, | ||
306 | -1863, | ||
307 | -1042, | ||
308 | 62, | ||
309 | -160, | ||
310 | 775, | ||
311 | 314, | ||
312 | 35, | ||
313 | -1625, | ||
314 | -1171, | ||
315 | -460, | ||
316 | -854, | ||
317 | 1033, | ||
318 | -711, | ||
319 | 527, | ||
320 | 1856, | ||
321 | 10, | ||
322 | 1708, | ||
323 | 1251, | ||
324 | 1593, | ||
325 | -1477, | ||
326 | 1191, | ||
327 | 1558, | ||
328 | -1312, | ||
329 | -1443, | ||
330 | 1002, | ||
331 | 846, | ||
332 | 578, | ||
333 | -736, | ||
334 | 1628, | ||
335 | 682, | ||
336 | -1625, | ||
337 | -1639, | ||
338 | -1863, | ||
339 | -1042, | ||
340 | 62, | ||
341 | -160, | ||
342 | 775, | ||
343 | 314, | ||
344 | 35, | ||
345 | -1625, | ||
346 | -1171, | ||
347 | -460, | ||
348 | -854, | ||
349 | 1033, | ||
350 | -711, | ||
351 | 527, | ||
352 | 1856, | ||
353 | 10, | ||
354 | 1708, | ||
355 | 1251, | ||
356 | 1593, | ||
357 | -1477, | ||
358 | 1191, | ||
359 | 1558, | ||
360 | -1312, | ||
361 | -1443, | ||
362 | 1002, | ||
363 | 846, | ||
364 | 578, | ||
365 | -736, | ||
366 | 1628, | ||
367 | 682, | ||
368 | -1625, | ||
369 | -1639, | ||
370 | -1863, | ||
371 | -1042, | ||
372 | 62, | ||
373 | -160, | ||
374 | 775, | ||
375 | 314, | ||
376 | 35, | ||
377 | -1625, | ||
378 | -1171, | ||
379 | -460, | ||
380 | -854, | ||
381 | 1033, | ||
382 | -711, | ||
383 | 527, | ||
384 | 1856, | ||
385 | 10, | ||
386 | 1708, | ||
387 | 1251, | ||
388 | 1593, | ||
389 | -1477, | ||
390 | 1191, | ||
391 | 1558, | ||
392 | -1312, | ||
393 | -1443, | ||
394 | 1002, | ||
395 | 846, | ||
396 | 578, | ||
397 | -736, | ||
398 | 1628, | ||
399 | 682, | ||
400 | -1625, | ||
401 | -1639, | ||
402 | -1863, | ||
403 | -1042, | ||
404 | 62, | ||
405 | -160, | ||
406 | 775, | ||
407 | 314, | ||
408 | 35, | ||
409 | -1625, | ||
410 | -1171, | ||
411 | -460, | ||
412 | -854, | ||
413 | 1033, | ||
414 | -711, | ||
415 | 527, | ||
416 | 1856, | ||
417 | 10, | ||
418 | 1708, | ||
419 | 1251, | ||
420 | 1593, | ||
421 | -1477, | ||
422 | 1191, | ||
423 | 1558, | ||
424 | -1312, | ||
425 | -1443, | ||
426 | 1002, | ||
427 | 846, | ||
428 | 578, | ||
429 | -736, | ||
430 | 1628, | ||
431 | 682, | ||
432 | -1625, | ||
433 | -1639, | ||
434 | -1863, | ||
435 | -1042, | ||
436 | 62, | ||
437 | -160, | ||
438 | 775, | ||
439 | 314, | ||
440 | 35, | ||
441 | -1625, | ||
442 | -1171, | ||
443 | -460, | ||
444 | -854, | ||
445 | 1033, | ||
446 | -711, | ||
447 | 527, | ||
448 | 1856, | ||
449 | 10, | ||
450 | 1708, | ||
451 | 1251, | ||
452 | 1593, | ||
453 | -1477, | ||
454 | 1191, | ||
455 | 1558, | ||
456 | -1312, | ||
457 | -1443, | ||
458 | 1002, | ||
459 | 846, | ||
460 | 578, | ||
461 | -736, | ||
462 | 1628, | ||
463 | 682, | ||
464 | -1625, | ||
465 | -1639, | ||
466 | -1863, | ||
467 | -1042, | ||
468 | 62, | ||
469 | -160, | ||
470 | 775, | ||
471 | 314, | ||
472 | 35, | ||
473 | -1625, | ||
474 | -1171, | ||
475 | -460, | ||
476 | -854, | ||
477 | 1033, | ||
478 | -711, | ||
479 | 527, | ||
480 | 1856, | ||
481 | 10, | ||
482 | 1708, | ||
483 | 1251, | ||
484 | 1593, | ||
485 | -1477, | ||
486 | 1191, | ||
487 | 1558, | ||
488 | -1312, | ||
489 | -1443, | ||
490 | 1002, | ||
491 | 846, | ||
492 | 578, | ||
493 | -736, | ||
494 | 1628, | ||
495 | 682, | ||
496 | -1625, | ||
497 | -1639, | ||
498 | -1863, | ||
499 | -1042, | ||
500 | 62, | ||
501 | -160, | ||
502 | 775, | ||
503 | 314, | ||
504 | 35, | ||
505 | -1625, | ||
506 | -1171, | ||
507 | -460, | ||
508 | -854, | ||
509 | 1033, | ||
510 | -711, | ||
511 | 527, | ||
512 | 1856, | ||
513 | 10, | ||
514 | 1708, | ||
515 | 1251, | ||
516 | 1593, | ||
517 | -1477, | ||
518 | 1191, | ||
519 | 1558, | ||
520 | -1312, | ||
521 | -1443, | ||
522 | 1002, | ||
523 | 846, | ||
524 | 578, | ||
525 | -736, | ||
526 | 1628, | ||
527 | 682, | ||
528 | -1625, | ||
529 | -1639, | ||
530 | -1863, | ||
531 | -1042, | ||
532 | 62, | ||
533 | -160, | ||
534 | 775, | ||
535 | 314, | ||
536 | 35, | ||
537 | -1625, | ||
538 | -1171, | ||
539 | -460, | ||
540 | -854, | ||
541 | 1033, | ||
542 | -711, | ||
543 | 527, | ||
544 | 1856, | ||
545 | 10, | ||
546 | 1708, | ||
547 | 1251, | ||
548 | 1593, | ||
549 | -1477, | ||
550 | 1191, | ||
551 | 1558, | ||
552 | -1312, | ||
553 | -1443, | ||
554 | 1002, | ||
555 | 846, | ||
556 | 578, | ||
557 | }; | ||
558 | |||
559 | #pragma DATA_SECTION(db,".dbuffer") | ||
560 | DATA db[NH+2] ; | ||
561 | |||
562 | DATA rtest[NX] ={ | ||
563 | 151, | ||
564 | -208, | ||
565 | -650, | ||
566 | 225, | ||
567 | 2118, | ||
568 | 314, | ||
569 | -1627, | ||
570 | -991, | ||
571 | -870, | ||
572 | 378, | ||
573 | -259, | ||
574 | -129, | ||
575 | 597, | ||
576 | -2630, | ||
577 | -2252, | ||
578 | 288, | ||
579 | 707, | ||
580 | 420, | ||
581 | -2062, | ||
582 | -5128, | ||
583 | -3994, | ||
584 | -417, | ||
585 | -1463, | ||
586 | -157, | ||
587 | 5930, | ||
588 | 2561, | ||
589 | 621, | ||
590 | -1223, | ||
591 | -4174, | ||
592 | -3442, | ||
593 | -3419, | ||
594 | -2030, | ||
595 | 5735, | ||
596 | 5711, | ||
597 | 986, | ||
598 | 5192, | ||
599 | 4954, | ||
600 | -1549, | ||
601 | -3282, | ||
602 | -2617, | ||
603 | -2820, | ||
604 | -2141, | ||
605 | -1871, | ||
606 | -4172, | ||
607 | 7497, | ||
608 | 8491, | ||
609 | -2366, | ||
610 | -1994, | ||
611 | -2415, | ||
612 | -1890, | ||
613 | -5896, | ||
614 | -371, | ||
615 | -3442, | ||
616 | -5240, | ||
617 | -27, | ||
618 | 2625, | ||
619 | 5114, | ||
620 | 1397, | ||
621 | 616, | ||
622 | -298, | ||
623 | 1044, | ||
624 | 2474, | ||
625 | 1501, | ||
626 | 2475, | ||
627 | -626, | ||
628 | 7629, | ||
629 | 3211, | ||
630 | -2322, | ||
631 | 3811, | ||
632 | 5244, | ||
633 | -6609, | ||
634 | -3300, | ||
635 | 800, | ||
636 | 4438, | ||
637 | -3374, | ||
638 | 4119, | ||
639 | -1963, | ||
640 | 1123, | ||
641 | -1516, | ||
642 | 2136, | ||
643 | 1542, | ||
644 | -708, | ||
645 | -3850, | ||
646 | -166, | ||
647 | -1583, | ||
648 | 4633, | ||
649 | 6082, | ||
650 | 8720, | ||
651 | -2254, | ||
652 | -2240, | ||
653 | 682, | ||
654 | -493, | ||
655 | -5470, | ||
656 | -2891, | ||
657 | -1406, | ||
658 | -4181, | ||
659 | -1347, | ||
660 | 6401, | ||
661 | -592, | ||
662 | -1252, | ||
663 | -2370, | ||
664 | -1173, | ||
665 | -1923, | ||
666 | -1784, | ||
667 | 1746, | ||
668 | -367, | ||
669 | -1055, | ||
670 | 2830, | ||
671 | -3279, | ||
672 | -4011, | ||
673 | -2300, | ||
674 | 7378, | ||
675 | -4506, | ||
676 | -3287, | ||
677 | 3881, | ||
678 | -579, | ||
679 | -590, | ||
680 | -1256, | ||
681 | 3106, | ||
682 | 6178, | ||
683 | 2176, | ||
684 | 7213, | ||
685 | 693, | ||
686 | 2780, | ||
687 | 1549, | ||
688 | 597, | ||
689 | 3311, | ||
690 | -296, | ||
691 | -2980, | ||
692 | -1979, | ||
693 | 3636, | ||
694 | 709, | ||
695 | -1083, | ||
696 | 2312, | ||
697 | -2084, | ||
698 | -2966, | ||
699 | -851, | ||
700 | -2154, | ||
701 | 1570, | ||
702 | 1304, | ||
703 | 3056, | ||
704 | 1499, | ||
705 | 1158, | ||
706 | -1289, | ||
707 | 2848, | ||
708 | 422, | ||
709 | -293, | ||
710 | -5798, | ||
711 | -1495, | ||
712 | -588, | ||
713 | -4762, | ||
714 | -5678, | ||
715 | -198, | ||
716 | 1536, | ||
717 | -308, | ||
718 | -6628, | ||
719 | -1216, | ||
720 | -3352, | ||
721 | -6953, | ||
722 | -2468, | ||
723 | 1676, | ||
724 | 4509, | ||
725 | 1518, | ||
726 | 5577, | ||
727 | 6431, | ||
728 | -9102, | ||
729 | -1877, | ||
730 | 2436, | ||
731 | 7104, | ||
732 | 955, | ||
733 | -700, | ||
734 | 421, | ||
735 | -2458, | ||
736 | 2563, | ||
737 | -3204, | ||
738 | -8039, | ||
739 | -1075, | ||
740 | 883, | ||
741 | 2196, | ||
742 | -4855, | ||
743 | -1376, | ||
744 | 4695, | ||
745 | 161, | ||
746 | 642, | ||
747 | -906, | ||
748 | 123, | ||
749 | 1063, | ||
750 | 2524, | ||
751 | 4142, | ||
752 | -3539, | ||
753 | 263, | ||
754 | -2818, | ||
755 | 7146, | ||
756 | 1827, | ||
757 | -1983, | ||
758 | -202, | ||
759 | 2408, | ||
760 | 792, | ||
761 | -3264, | ||
762 | -2679, | ||
763 | -6077, | ||
764 | 6873, | ||
765 | 9984, | ||
766 | -142, | ||
767 | -1469, | ||
768 | 8124, | ||
769 | 5784, | ||
770 | -2896, | ||
771 | 1176, | ||
772 | -317, | ||
773 | 4063, | ||
774 | 968, | ||
775 | 2775, | ||
776 | -674, | ||
777 | -1346, | ||
778 | -3994, | ||
779 | 4656, | ||
780 | 3138, | ||
781 | -1088, | ||
782 | -4077, | ||
783 | -708, | ||
784 | -1965, | ||
785 | -4126, | ||
786 | -6189, | ||
787 | 318, | ||
788 | 7695, | ||
789 | -2020, | ||
790 | 1269, | ||
791 | -7182, | ||
792 | -1921, | ||
793 | -1436, | ||
794 | 6367, | ||
795 | 5469, | ||
796 | -2895, | ||
797 | 3619, | ||
798 | -6982, | ||
799 | -4691, | ||
800 | -4216, | ||
801 | -2935, | ||
802 | -2207, | ||
803 | 6839, | ||
804 | 8668, | ||
805 | -6296, | ||
806 | -1946, | ||
807 | 4820, | ||
808 | -1064, | ||
809 | -2817, | ||
810 | -2480, | ||
811 | -3364, | ||
812 | 57, | ||
813 | -813, | ||
814 | -2221, | ||
815 | 910, | ||
816 | 5214, | ||
817 | -2303, | ||
818 | -4027, | ||
819 | }; | ||
820 | |||
821 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t6.h b/dsplib_benchmarks/fir2/t6.h new file mode 100644 index 0000000..eed5727 --- /dev/null +++ b/dsplib_benchmarks/fir2/t6.h | |||
@@ -0,0 +1,389 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 160 | ||
36 | #define NH 16 | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 16647, | ||
42 | 10692, | ||
43 | 25132, | ||
44 | -14932, | ||
45 | -5281, | ||
46 | -18810, | ||
47 | -30435, | ||
48 | -27449, | ||
49 | 22974, | ||
50 | -10473, | ||
51 | -2219, | ||
52 | 27116, | ||
53 | -17788, | ||
54 | 23726, | ||
55 | 10264, | ||
56 | 25636, | ||
57 | -778, | ||
58 | 32285, | ||
59 | -8302, | ||
60 | 2056, | ||
61 | -20886, | ||
62 | 127, | ||
63 | -5100, | ||
64 | 10513, | ||
65 | 11380, | ||
66 | 29971, | ||
67 | -20194, | ||
68 | -25480, | ||
69 | 4263, | ||
70 | 30747, | ||
71 | -31212, | ||
72 | 24262, | ||
73 | -31007, | ||
74 | 1279, | ||
75 | -20166, | ||
76 | 14135, | ||
77 | -16340, | ||
78 | 28433, | ||
79 | -23778, | ||
80 | 1417, | ||
81 | 25899, | ||
82 | 28992, | ||
83 | -10808, | ||
84 | -4105, | ||
85 | -1891, | ||
86 | -22983, | ||
87 | -23864, | ||
88 | 2129, | ||
89 | 14797, | ||
90 | -6639, | ||
91 | -9279, | ||
92 | -14072, | ||
93 | 24158, | ||
94 | 8284, | ||
95 | -16963, | ||
96 | 31331, | ||
97 | 9207, | ||
98 | -17705, | ||
99 | 11883, | ||
100 | 10867, | ||
101 | -23940, | ||
102 | -31294, | ||
103 | -15585, | ||
104 | -25133, | ||
105 | -28226, | ||
106 | 23129, | ||
107 | -20950, | ||
108 | -30644, | ||
109 | 15330, | ||
110 | 2393, | ||
111 | -14679, | ||
112 | -8621, | ||
113 | -31924, | ||
114 | 25506, | ||
115 | 23987, | ||
116 | -16106, | ||
117 | 4553, | ||
118 | -22331, | ||
119 | 6184, | ||
120 | -11070, | ||
121 | 10394, | ||
122 | 23831, | ||
123 | 4431, | ||
124 | 31488, | ||
125 | 19125, | ||
126 | -22768, | ||
127 | 21825, | ||
128 | -20195, | ||
129 | 9108, | ||
130 | 11075, | ||
131 | 17831, | ||
132 | -7877, | ||
133 | -3829, | ||
134 | -1111, | ||
135 | 7084, | ||
136 | -21234, | ||
137 | -32636, | ||
138 | 19020, | ||
139 | 891, | ||
140 | -18794, | ||
141 | -25989, | ||
142 | -22457, | ||
143 | -6062, | ||
144 | -6046, | ||
145 | -29315, | ||
146 | 28954, | ||
147 | -22940, | ||
148 | -7578, | ||
149 | -12383, | ||
150 | -21723, | ||
151 | 25994, | ||
152 | -11618, | ||
153 | 15335, | ||
154 | -5839, | ||
155 | -6568, | ||
156 | 361, | ||
157 | -21673, | ||
158 | 1621, | ||
159 | 9253, | ||
160 | -31707, | ||
161 | 22075, | ||
162 | 19887, | ||
163 | 12962, | ||
164 | -2498, | ||
165 | -27354, | ||
166 | 21018, | ||
167 | -20119, | ||
168 | -3582, | ||
169 | -31919, | ||
170 | -12535, | ||
171 | 24598, | ||
172 | 21971, | ||
173 | -10939, | ||
174 | 24949, | ||
175 | -1332, | ||
176 | 3985, | ||
177 | 7596, | ||
178 | 10610, | ||
179 | 7643, | ||
180 | 12133, | ||
181 | 665, | ||
182 | 14022, | ||
183 | 996, | ||
184 | 6938, | ||
185 | 30585, | ||
186 | 21110, | ||
187 | -11944, | ||
188 | 5747, | ||
189 | -24236, | ||
190 | -16099, | ||
191 | 19859, | ||
192 | 10999, | ||
193 | -31875, | ||
194 | 4035, | ||
195 | -2978, | ||
196 | 26538, | ||
197 | -14277, | ||
198 | -28506, | ||
199 | -1535, | ||
200 | 31700, | ||
201 | }; | ||
202 | |||
203 | #pragma DATA_SECTION(h,".coeffs") | ||
204 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
205 | 2983, | ||
206 | 432, | ||
207 | 1075, | ||
208 | 1926, | ||
209 | -2782, | ||
210 | -3525, | ||
211 | 295, | ||
212 | -3484, | ||
213 | -344, | ||
214 | -2150, | ||
215 | 2028, | ||
216 | 837, | ||
217 | -3423, | ||
218 | 2760, | ||
219 | 1848, | ||
220 | 2875, | ||
221 | }; | ||
222 | |||
223 | #pragma DATA_SECTION(db,".dbuffer") | ||
224 | DATA db[NH+2] ; | ||
225 | |||
226 | DATA rtest[NX] ={ | ||
227 | 1516, | ||
228 | 1193, | ||
229 | 2976, | ||
230 | 302, | ||
231 | -637, | ||
232 | -3493, | ||
233 | -7204, | ||
234 | -6937, | ||
235 | 594, | ||
236 | -5186, | ||
237 | 5013, | ||
238 | 9037, | ||
239 | 1902, | ||
240 | 4640, | ||
241 | 6757, | ||
242 | 4329, | ||
243 | 2531, | ||
244 | 3761, | ||
245 | -3898, | ||
246 | -1506, | ||
247 | -15447, | ||
248 | -2852, | ||
249 | -10363, | ||
250 | -764, | ||
251 | 1726, | ||
252 | 4981, | ||
253 | 440, | ||
254 | 1411, | ||
255 | 4292, | ||
256 | -2106, | ||
257 | -1720, | ||
258 | 6990, | ||
259 | 888, | ||
260 | -5408, | ||
261 | -557, | ||
262 | 746, | ||
263 | -4851, | ||
264 | 3693, | ||
265 | 1342, | ||
266 | 11519, | ||
267 | -697, | ||
268 | -92, | ||
269 | 327, | ||
270 | 3794, | ||
271 | -217, | ||
272 | -8577, | ||
273 | -4570, | ||
274 | -4904, | ||
275 | -2574, | ||
276 | -6317, | ||
277 | 9644, | ||
278 | 2856, | ||
279 | 991, | ||
280 | -1424, | ||
281 | 6633, | ||
282 | 8379, | ||
283 | 693, | ||
284 | -4219, | ||
285 | 6847, | ||
286 | -5195, | ||
287 | -12674, | ||
288 | -2325, | ||
289 | -2130, | ||
290 | -4741, | ||
291 | -10205, | ||
292 | 4708, | ||
293 | 4317, | ||
294 | -1761, | ||
295 | 11218, | ||
296 | 6464, | ||
297 | 654, | ||
298 | 6477, | ||
299 | -1301, | ||
300 | 3417, | ||
301 | 257, | ||
302 | -1635, | ||
303 | 4089, | ||
304 | -9383, | ||
305 | -4177, | ||
306 | 2876, | ||
307 | -4741, | ||
308 | -589, | ||
309 | -172, | ||
310 | 4410, | ||
311 | 11576, | ||
312 | -12000, | ||
313 | 853, | ||
314 | -4429, | ||
315 | -5375, | ||
316 | 3889, | ||
317 | -6631, | ||
318 | -517, | ||
319 | -212, | ||
320 | -4432, | ||
321 | 3979, | ||
322 | -7018, | ||
323 | 2066, | ||
324 | 4308, | ||
325 | -2889, | ||
326 | 2617, | ||
327 | 2294, | ||
328 | -1384, | ||
329 | -5591, | ||
330 | 5585, | ||
331 | 1805, | ||
332 | 7854, | ||
333 | -3891, | ||
334 | 4859, | ||
335 | 9161, | ||
336 | -6966, | ||
337 | -2307, | ||
338 | 2986, | ||
339 | 2006, | ||
340 | 6627, | ||
341 | -8033, | ||
342 | -832, | ||
343 | 151, | ||
344 | -10916, | ||
345 | 5576, | ||
346 | -10317, | ||
347 | 7910, | ||
348 | 2285, | ||
349 | -5694, | ||
350 | 7458, | ||
351 | -2854, | ||
352 | 1687, | ||
353 | -3766, | ||
354 | -5162, | ||
355 | 2089, | ||
356 | -9039, | ||
357 | -2623, | ||
358 | 8854, | ||
359 | -2507, | ||
360 | 11455, | ||
361 | -3646, | ||
362 | 5662, | ||
363 | 7271, | ||
364 | -4254, | ||
365 | -3078, | ||
366 | -2779, | ||
367 | 974, | ||
368 | -310, | ||
369 | -8613, | ||
370 | -3839, | ||
371 | 4808, | ||
372 | 120, | ||
373 | 1074, | ||
374 | 2358, | ||
375 | -4508, | ||
376 | -7028, | ||
377 | -286, | ||
378 | -1566, | ||
379 | -2004, | ||
380 | 4944, | ||
381 | 1589, | ||
382 | 3018, | ||
383 | 957, | ||
384 | 1647, | ||
385 | 3793, | ||
386 | 1817, | ||
387 | }; | ||
388 | |||
389 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t7.h b/dsplib_benchmarks/fir2/t7.h new file mode 100644 index 0000000..2a151b5 --- /dev/null +++ b/dsplib_benchmarks/fir2/t7.h | |||
@@ -0,0 +1,325 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 120 | ||
36 | #define NH 32 | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 16945, | ||
42 | -7817, | ||
43 | -11069, | ||
44 | 267, | ||
45 | 4231, | ||
46 | 17511, | ||
47 | 18341, | ||
48 | -1043, | ||
49 | 19805, | ||
50 | -1900, | ||
51 | -19480, | ||
52 | 5217, | ||
53 | 10911, | ||
54 | 11584, | ||
55 | 29000, | ||
56 | 17704, | ||
57 | 15558, | ||
58 | 24003, | ||
59 | 32174, | ||
60 | 257, | ||
61 | 8459, | ||
62 | 19176, | ||
63 | -3366, | ||
64 | 1596, | ||
65 | -21531, | ||
66 | -24205, | ||
67 | -18430, | ||
68 | -25856, | ||
69 | -23500, | ||
70 | -2821, | ||
71 | 18883, | ||
72 | -14349, | ||
73 | -18037, | ||
74 | 26795, | ||
75 | -32288, | ||
76 | 5815, | ||
77 | 2760, | ||
78 | 10061, | ||
79 | -12227, | ||
80 | -17619, | ||
81 | -5501, | ||
82 | -13186, | ||
83 | 11300, | ||
84 | 28721, | ||
85 | -10280, | ||
86 | 4126, | ||
87 | -24977, | ||
88 | -21692, | ||
89 | -14491, | ||
90 | 3723, | ||
91 | -945, | ||
92 | 29636, | ||
93 | -17569, | ||
94 | -1399, | ||
95 | 1738, | ||
96 | 19183, | ||
97 | -20120, | ||
98 | 26843, | ||
99 | 27669, | ||
100 | -31899, | ||
101 | 17534, | ||
102 | 29317, | ||
103 | 20532, | ||
104 | 27776, | ||
105 | -19727, | ||
106 | 11421, | ||
107 | 27990, | ||
108 | -10236, | ||
109 | 6192, | ||
110 | 7568, | ||
111 | -32547, | ||
112 | 31589, | ||
113 | 26182, | ||
114 | 12632, | ||
115 | -3955, | ||
116 | 13174, | ||
117 | 7190, | ||
118 | -13115, | ||
119 | 23333, | ||
120 | -25424, | ||
121 | -13661, | ||
122 | -26382, | ||
123 | -6721, | ||
124 | -10925, | ||
125 | 29113, | ||
126 | 22187, | ||
127 | -15832, | ||
128 | -29957, | ||
129 | -32383, | ||
130 | 4877, | ||
131 | 15984, | ||
132 | 20108, | ||
133 | 9015, | ||
134 | -16301, | ||
135 | -23310, | ||
136 | 9932, | ||
137 | 29234, | ||
138 | 20701, | ||
139 | 28196, | ||
140 | -12456, | ||
141 | -15151, | ||
142 | 2388, | ||
143 | -22068, | ||
144 | -18941, | ||
145 | -18559, | ||
146 | 9947, | ||
147 | -29310, | ||
148 | -17742, | ||
149 | 10972, | ||
150 | -12391, | ||
151 | -12673, | ||
152 | 14462, | ||
153 | 29779, | ||
154 | -24174, | ||
155 | -28294, | ||
156 | -24562, | ||
157 | -21879, | ||
158 | 26962, | ||
159 | -23839, | ||
160 | 7667, | ||
161 | }; | ||
162 | |||
163 | #pragma DATA_SECTION(h,".coeffs") | ||
164 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
165 | -832, | ||
166 | -1006, | ||
167 | 766, | ||
168 | 176, | ||
169 | 1588, | ||
170 | -613, | ||
171 | 736, | ||
172 | 1596, | ||
173 | 293, | ||
174 | 1368, | ||
175 | 898, | ||
176 | -434, | ||
177 | 811, | ||
178 | -1214, | ||
179 | 1642, | ||
180 | -1094, | ||
181 | 994, | ||
182 | 407, | ||
183 | -1216, | ||
184 | -1689, | ||
185 | -761, | ||
186 | 1695, | ||
187 | 1621, | ||
188 | -979, | ||
189 | 1650, | ||
190 | 647, | ||
191 | -1603, | ||
192 | 359, | ||
193 | -385, | ||
194 | -1025, | ||
195 | -1144, | ||
196 | -1524, | ||
197 | }; | ||
198 | |||
199 | #pragma DATA_SECTION(db,".dbuffer") | ||
200 | DATA db[NH+2] ; | ||
201 | |||
202 | DATA rtest[NX] ={ | ||
203 | -430, | ||
204 | -322, | ||
205 | 917, | ||
206 | 241, | ||
207 | 405, | ||
208 | -1323, | ||
209 | -912, | ||
210 | 766, | ||
211 | -225, | ||
212 | 389, | ||
213 | 1719, | ||
214 | -165, | ||
215 | 1611, | ||
216 | -538, | ||
217 | 550, | ||
218 | 1170, | ||
219 | 424, | ||
220 | 182, | ||
221 | -155, | ||
222 | -1003, | ||
223 | 3521, | ||
224 | 3834, | ||
225 | 4903, | ||
226 | 760, | ||
227 | 2965, | ||
228 | 4780, | ||
229 | 388, | ||
230 | 3945, | ||
231 | 3623, | ||
232 | 1394, | ||
233 | 1733, | ||
234 | -5704, | ||
235 | -1292, | ||
236 | -2841, | ||
237 | -6313, | ||
238 | -2549, | ||
239 | -4652, | ||
240 | -1031, | ||
241 | -2612, | ||
242 | 4075, | ||
243 | 623, | ||
244 | -2645, | ||
245 | 1781, | ||
246 | -3316, | ||
247 | -2422, | ||
248 | 87, | ||
249 | -3566, | ||
250 | 1637, | ||
251 | -10152, | ||
252 | -3343, | ||
253 | -3181, | ||
254 | -951, | ||
255 | -925, | ||
256 | 129, | ||
257 | 3053, | ||
258 | 105, | ||
259 | -5284, | ||
260 | 8389, | ||
261 | 631, | ||
262 | 2841, | ||
263 | 897, | ||
264 | -1572, | ||
265 | -3086, | ||
266 | -3026, | ||
267 | 5076, | ||
268 | 8366, | ||
269 | -2350, | ||
270 | 8419, | ||
271 | -3099, | ||
272 | 1903, | ||
273 | 3329, | ||
274 | 129, | ||
275 | 3557, | ||
276 | -2038, | ||
277 | -1650, | ||
278 | 7318, | ||
279 | -888, | ||
280 | 1592, | ||
281 | 4244, | ||
282 | 5234, | ||
283 | -1264, | ||
284 | -3587, | ||
285 | 8591, | ||
286 | 262, | ||
287 | -3766, | ||
288 | 2372, | ||
289 | -5067, | ||
290 | 3650, | ||
291 | 196, | ||
292 | -3566, | ||
293 | -934, | ||
294 | -10853, | ||
295 | -3333, | ||
296 | 1968, | ||
297 | 113, | ||
298 | -2878, | ||
299 | -243, | ||
300 | -5574, | ||
301 | -244, | ||
302 | 5028, | ||
303 | 4867, | ||
304 | -1297, | ||
305 | -2999, | ||
306 | -4538, | ||
307 | -4058, | ||
308 | 4848, | ||
309 | 4811, | ||
310 | 4081, | ||
311 | -2240, | ||
312 | -3945, | ||
313 | -3814, | ||
314 | -2291, | ||
315 | 2788, | ||
316 | -914, | ||
317 | 349, | ||
318 | -2971, | ||
319 | -4317, | ||
320 | 608, | ||
321 | 696, | ||
322 | 5452, | ||
323 | }; | ||
324 | |||
325 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/t8.h b/dsplib_benchmarks/fir2/t8.h new file mode 100644 index 0000000..d517cc3 --- /dev/null +++ b/dsplib_benchmarks/fir2/t8.h | |||
@@ -0,0 +1,629 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 256 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -32282, | ||
42 | 18925, | ||
43 | -31603, | ||
44 | 24768, | ||
45 | -9664, | ||
46 | 14558, | ||
47 | 30700, | ||
48 | -22567, | ||
49 | -22089, | ||
50 | -12230, | ||
51 | -30843, | ||
52 | -9331, | ||
53 | -30987, | ||
54 | 19245, | ||
55 | 32717, | ||
56 | -25544, | ||
57 | 8034, | ||
58 | -24080, | ||
59 | -12450, | ||
60 | -23935, | ||
61 | -18133, | ||
62 | -6780, | ||
63 | -23912, | ||
64 | -16970, | ||
65 | 28017, | ||
66 | -7137, | ||
67 | 738, | ||
68 | -26680, | ||
69 | -31346, | ||
70 | -22313, | ||
71 | 22578, | ||
72 | 24848, | ||
73 | -20514, | ||
74 | 32198, | ||
75 | 13895, | ||
76 | 24337, | ||
77 | -1335, | ||
78 | -262, | ||
79 | -13925, | ||
80 | -28775, | ||
81 | -15567, | ||
82 | -20562, | ||
83 | 27334, | ||
84 | -24689, | ||
85 | -31887, | ||
86 | -8540, | ||
87 | 13018, | ||
88 | 25516, | ||
89 | 6145, | ||
90 | -22500, | ||
91 | -12014, | ||
92 | -17473, | ||
93 | -32217, | ||
94 | -6757, | ||
95 | 9821, | ||
96 | -27198, | ||
97 | 17616, | ||
98 | 30782, | ||
99 | 14076, | ||
100 | 18478, | ||
101 | -17199, | ||
102 | -19941, | ||
103 | -15518, | ||
104 | 14010, | ||
105 | 31299, | ||
106 | 8986, | ||
107 | 3009, | ||
108 | 22810, | ||
109 | 19798, | ||
110 | 11030, | ||
111 | 11205, | ||
112 | 21013, | ||
113 | 30832, | ||
114 | -857, | ||
115 | 20805, | ||
116 | 9277, | ||
117 | -12692, | ||
118 | 10546, | ||
119 | -9305, | ||
120 | 28717, | ||
121 | -809, | ||
122 | -26805, | ||
123 | 11392, | ||
124 | 975, | ||
125 | -18247, | ||
126 | 14746, | ||
127 | -28296, | ||
128 | 30416, | ||
129 | -19159, | ||
130 | -22209, | ||
131 | 9058, | ||
132 | -32754, | ||
133 | -10772, | ||
134 | -14740, | ||
135 | -29850, | ||
136 | -26615, | ||
137 | -5899, | ||
138 | 20767, | ||
139 | 24282, | ||
140 | -31290, | ||
141 | 14888, | ||
142 | 22807, | ||
143 | 14981, | ||
144 | 29825, | ||
145 | 10246, | ||
146 | 15879, | ||
147 | -10161, | ||
148 | 25167, | ||
149 | -10012, | ||
150 | -28871, | ||
151 | 14314, | ||
152 | 30029, | ||
153 | -22490, | ||
154 | -5482, | ||
155 | -26606, | ||
156 | -3281, | ||
157 | 24192, | ||
158 | -7103, | ||
159 | -16202, | ||
160 | -9544, | ||
161 | 15923, | ||
162 | 9884, | ||
163 | 28822, | ||
164 | 21810, | ||
165 | -1968, | ||
166 | 8510, | ||
167 | -28955, | ||
168 | 2764, | ||
169 | -2902, | ||
170 | 23795, | ||
171 | 23278, | ||
172 | -1819, | ||
173 | 18803, | ||
174 | 10222, | ||
175 | -32766, | ||
176 | -24168, | ||
177 | -336, | ||
178 | -30256, | ||
179 | -17863, | ||
180 | -11280, | ||
181 | 26179, | ||
182 | -12208, | ||
183 | -16275, | ||
184 | -4392, | ||
185 | 22438, | ||
186 | -20678, | ||
187 | 536, | ||
188 | -3131, | ||
189 | -11431, | ||
190 | -7860, | ||
191 | 25328, | ||
192 | 17121, | ||
193 | 25150, | ||
194 | -2792, | ||
195 | 19608, | ||
196 | -23982, | ||
197 | -28488, | ||
198 | -8183, | ||
199 | -8289, | ||
200 | -1048, | ||
201 | 30766, | ||
202 | -10351, | ||
203 | -16208, | ||
204 | 5563, | ||
205 | 1553, | ||
206 | -22059, | ||
207 | -892, | ||
208 | -259, | ||
209 | 22491, | ||
210 | 20066, | ||
211 | 23447, | ||
212 | 7192, | ||
213 | 4307, | ||
214 | 7333, | ||
215 | -26020, | ||
216 | -22393, | ||
217 | -5660, | ||
218 | 3959, | ||
219 | -15160, | ||
220 | 18628, | ||
221 | -7349, | ||
222 | -30738, | ||
223 | 5603, | ||
224 | 3837, | ||
225 | -19616, | ||
226 | -27039, | ||
227 | 28392, | ||
228 | -15770, | ||
229 | -19388, | ||
230 | -29544, | ||
231 | 6957, | ||
232 | 3037, | ||
233 | -26488, | ||
234 | 8978, | ||
235 | -3739, | ||
236 | -28418, | ||
237 | -8239, | ||
238 | -16443, | ||
239 | 27844, | ||
240 | 8486, | ||
241 | 24792, | ||
242 | 9284, | ||
243 | 19555, | ||
244 | -4259, | ||
245 | 31531, | ||
246 | -26480, | ||
247 | 1801, | ||
248 | 2991, | ||
249 | -14134, | ||
250 | -8468, | ||
251 | -28529, | ||
252 | 2936, | ||
253 | 22044, | ||
254 | -23245, | ||
255 | -21528, | ||
256 | -28309, | ||
257 | 21234, | ||
258 | -23989, | ||
259 | 25217, | ||
260 | 965, | ||
261 | 30384, | ||
262 | -24872, | ||
263 | -29604, | ||
264 | -7855, | ||
265 | -5716, | ||
266 | -6463, | ||
267 | -5178, | ||
268 | -8064, | ||
269 | 26695, | ||
270 | 11151, | ||
271 | 30267, | ||
272 | -22087, | ||
273 | 16295, | ||
274 | -8254, | ||
275 | -3000, | ||
276 | -30241, | ||
277 | 4091, | ||
278 | -8369, | ||
279 | 19187, | ||
280 | 19348, | ||
281 | -7674, | ||
282 | -16202, | ||
283 | -10294, | ||
284 | 30658, | ||
285 | -1324, | ||
286 | -8630, | ||
287 | 17338, | ||
288 | -8052, | ||
289 | 26234, | ||
290 | -20747, | ||
291 | -8630, | ||
292 | 27358, | ||
293 | 1043, | ||
294 | -26850, | ||
295 | 15421, | ||
296 | -32460, | ||
297 | }; | ||
298 | |||
299 | #pragma DATA_SECTION(h,".coeffs") | ||
300 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
301 | 221, | ||
302 | 982, | ||
303 | -221, | ||
304 | 498, | ||
305 | 397, | ||
306 | 1029, | ||
307 | -638, | ||
308 | 200, | ||
309 | 971, | ||
310 | -516, | ||
311 | 31, | ||
312 | 293, | ||
313 | -214, | ||
314 | -29, | ||
315 | 538, | ||
316 | -805, | ||
317 | -984, | ||
318 | -278, | ||
319 | 415, | ||
320 | 937, | ||
321 | -49, | ||
322 | -798, | ||
323 | -35, | ||
324 | 958, | ||
325 | -285, | ||
326 | -370, | ||
327 | 587, | ||
328 | -437, | ||
329 | -694, | ||
330 | 410, | ||
331 | -508, | ||
332 | -91, | ||
333 | 739, | ||
334 | 820, | ||
335 | 430, | ||
336 | 550, | ||
337 | 1020, | ||
338 | -211, | ||
339 | -794, | ||
340 | 483, | ||
341 | 859, | ||
342 | -709, | ||
343 | -984, | ||
344 | -45, | ||
345 | -874, | ||
346 | 322, | ||
347 | 973, | ||
348 | -91, | ||
349 | 79, | ||
350 | -933, | ||
351 | -14, | ||
352 | -178, | ||
353 | -447, | ||
354 | -453, | ||
355 | 546, | ||
356 | -868, | ||
357 | -911, | ||
358 | 475, | ||
359 | 569, | ||
360 | 339, | ||
361 | 667, | ||
362 | -271, | ||
363 | -417, | ||
364 | -279, | ||
365 | }; | ||
366 | |||
367 | #pragma DATA_SECTION(db,".dbuffer") | ||
368 | DATA db[NH+2] ; | ||
369 | |||
370 | DATA rtest[NX] ={ | ||
371 | -219, | ||
372 | -840, | ||
373 | 571, | ||
374 | -1398, | ||
375 | 787, | ||
376 | -1623, | ||
377 | 1925, | ||
378 | -735, | ||
379 | -377, | ||
380 | 140, | ||
381 | -867, | ||
382 | 68, | ||
383 | -2280, | ||
384 | -1190, | ||
385 | 950, | ||
386 | -1026, | ||
387 | -898, | ||
388 | 1040, | ||
389 | -1249, | ||
390 | -660, | ||
391 | -2678, | ||
392 | -399, | ||
393 | -1710, | ||
394 | -2235, | ||
395 | 1647, | ||
396 | 822, | ||
397 | -1753, | ||
398 | -220, | ||
399 | -336, | ||
400 | -842, | ||
401 | -3174, | ||
402 | -1098, | ||
403 | 2293, | ||
404 | -2329, | ||
405 | 508, | ||
406 | 914, | ||
407 | 97, | ||
408 | 1420, | ||
409 | 4341, | ||
410 | 503, | ||
411 | -1322, | ||
412 | -1954, | ||
413 | -779, | ||
414 | 373, | ||
415 | -2344, | ||
416 | -1847, | ||
417 | -2799, | ||
418 | -960, | ||
419 | -2982, | ||
420 | 2781, | ||
421 | 192, | ||
422 | -2860, | ||
423 | -1777, | ||
424 | 2292, | ||
425 | -1541, | ||
426 | -3147, | ||
427 | 69, | ||
428 | -633, | ||
429 | -3880, | ||
430 | 3046, | ||
431 | 2576, | ||
432 | 731, | ||
433 | -3353, | ||
434 | -3037, | ||
435 | 4707, | ||
436 | 3725, | ||
437 | 2898, | ||
438 | 2474, | ||
439 | 687, | ||
440 | 1000, | ||
441 | 4907, | ||
442 | 4995, | ||
443 | 731, | ||
444 | 311, | ||
445 | -1472, | ||
446 | -1427, | ||
447 | 2723, | ||
448 | 522, | ||
449 | 584, | ||
450 | -1055, | ||
451 | 214, | ||
452 | 1740, | ||
453 | 4769, | ||
454 | 1291, | ||
455 | -4731, | ||
456 | -3828, | ||
457 | -4481, | ||
458 | -788, | ||
459 | -373, | ||
460 | -4196, | ||
461 | 4346, | ||
462 | -217, | ||
463 | 1242, | ||
464 | 5836, | ||
465 | -960, | ||
466 | -2871, | ||
467 | -1925, | ||
468 | -561, | ||
469 | -1619, | ||
470 | -1002, | ||
471 | -617, | ||
472 | 2012, | ||
473 | 1469, | ||
474 | 1839, | ||
475 | 5678, | ||
476 | 5676, | ||
477 | 3208, | ||
478 | 267, | ||
479 | 3514, | ||
480 | -3050, | ||
481 | 676, | ||
482 | 3959, | ||
483 | -1989, | ||
484 | -4691, | ||
485 | -942, | ||
486 | 1292, | ||
487 | 1330, | ||
488 | -2970, | ||
489 | -1769, | ||
490 | -1906, | ||
491 | -3860, | ||
492 | -260, | ||
493 | -1607, | ||
494 | -108, | ||
495 | 1207, | ||
496 | 123, | ||
497 | -1867, | ||
498 | -2983, | ||
499 | -3447, | ||
500 | -48, | ||
501 | 5716, | ||
502 | -3709, | ||
503 | -1874, | ||
504 | 6911, | ||
505 | 1073, | ||
506 | -1383, | ||
507 | 3422, | ||
508 | 4185, | ||
509 | -3070, | ||
510 | -671, | ||
511 | 480, | ||
512 | 369, | ||
513 | -2161, | ||
514 | 2876, | ||
515 | 1062, | ||
516 | -4016, | ||
517 | -2191, | ||
518 | 2250, | ||
519 | -874, | ||
520 | -3119, | ||
521 | 708, | ||
522 | 2783, | ||
523 | -1073, | ||
524 | -3608, | ||
525 | -530, | ||
526 | 4639, | ||
527 | 1700, | ||
528 | -347, | ||
529 | 1267, | ||
530 | -833, | ||
531 | -5639, | ||
532 | 2609, | ||
533 | 3779, | ||
534 | 267, | ||
535 | 940, | ||
536 | 1936, | ||
537 | -4500, | ||
538 | -1985, | ||
539 | 1476, | ||
540 | 529, | ||
541 | 57, | ||
542 | -1662, | ||
543 | -2117, | ||
544 | 758, | ||
545 | -3023, | ||
546 | -451, | ||
547 | 1869, | ||
548 | -55, | ||
549 | -1733, | ||
550 | -33, | ||
551 | 1859, | ||
552 | -2515, | ||
553 | -2175, | ||
554 | 3340, | ||
555 | -1969, | ||
556 | -5322, | ||
557 | 3227, | ||
558 | 5241, | ||
559 | -5399, | ||
560 | -82, | ||
561 | 4744, | ||
562 | 377, | ||
563 | -3528, | ||
564 | -1737, | ||
565 | -786, | ||
566 | -4468, | ||
567 | -1170, | ||
568 | 96, | ||
569 | 486, | ||
570 | 250, | ||
571 | 1003, | ||
572 | -89, | ||
573 | 309, | ||
574 | 1527, | ||
575 | 2623, | ||
576 | 5545, | ||
577 | 349, | ||
578 | -3218, | ||
579 | 900, | ||
580 | 2751, | ||
581 | -2345, | ||
582 | -634, | ||
583 | 3275, | ||
584 | -3515, | ||
585 | -3993, | ||
586 | -3707, | ||
587 | -890, | ||
588 | 831, | ||
589 | -1768, | ||
590 | 1810, | ||
591 | -2490, | ||
592 | -3058, | ||
593 | -859, | ||
594 | 942, | ||
595 | -3640, | ||
596 | -126, | ||
597 | 2006, | ||
598 | -427, | ||
599 | -4101, | ||
600 | 538, | ||
601 | 4643, | ||
602 | 1147, | ||
603 | -2309, | ||
604 | 3757, | ||
605 | 152, | ||
606 | -1459, | ||
607 | 2086, | ||
608 | 5640, | ||
609 | 2631, | ||
610 | 1482, | ||
611 | 73, | ||
612 | -1918, | ||
613 | -3181, | ||
614 | 811, | ||
615 | 2109, | ||
616 | -4611, | ||
617 | -952, | ||
618 | 2520, | ||
619 | -491, | ||
620 | -2440, | ||
621 | -890, | ||
622 | 3993, | ||
623 | 4793, | ||
624 | -2769, | ||
625 | -4718, | ||
626 | -1661, | ||
627 | }; | ||
628 | |||
629 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/fir2/test.h b/dsplib_benchmarks/fir2/test.h new file mode 100644 index 0000000..c01c587 --- /dev/null +++ b/dsplib_benchmarks/fir2/test.h | |||
@@ -0,0 +1,373 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | #define NX 128 | ||
36 | #define NH 64 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 10 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 19321, | ||
42 | 29939, | ||
43 | 1480, | ||
44 | 24912, | ||
45 | -21434, | ||
46 | 31440, | ||
47 | -14979, | ||
48 | -16232, | ||
49 | 24624, | ||
50 | 15552, | ||
51 | -23822, | ||
52 | -31998, | ||
53 | 25814, | ||
54 | -19718, | ||
55 | -13191, | ||
56 | 10580, | ||
57 | -14129, | ||
58 | -2017, | ||
59 | -28523, | ||
60 | 32003, | ||
61 | 5425, | ||
62 | -5014, | ||
63 | 1016, | ||
64 | -10883, | ||
65 | -4398, | ||
66 | -17961, | ||
67 | 5230, | ||
68 | 17063, | ||
69 | 1954, | ||
70 | 9209, | ||
71 | -19067, | ||
72 | -7877, | ||
73 | 18568, | ||
74 | 11851, | ||
75 | -2550, | ||
76 | 4445, | ||
77 | 19281, | ||
78 | -28890, | ||
79 | 6741, | ||
80 | -29474, | ||
81 | -5546, | ||
82 | -12780, | ||
83 | 24534, | ||
84 | -31785, | ||
85 | 17560, | ||
86 | 30857, | ||
87 | 32118, | ||
88 | 18930, | ||
89 | -4021, | ||
90 | -111, | ||
91 | -18746, | ||
92 | 9403, | ||
93 | -11795, | ||
94 | 30152, | ||
95 | 14852, | ||
96 | -5771, | ||
97 | 16027, | ||
98 | -15208, | ||
99 | -3938, | ||
100 | 28401, | ||
101 | 12014, | ||
102 | -18838, | ||
103 | 22232, | ||
104 | 8440, | ||
105 | -24002, | ||
106 | -19194, | ||
107 | 7025, | ||
108 | 8512, | ||
109 | -8489, | ||
110 | 4924, | ||
111 | -3184, | ||
112 | -29892, | ||
113 | -30987, | ||
114 | -12276, | ||
115 | -31926, | ||
116 | -7605, | ||
117 | 12000, | ||
118 | -26684, | ||
119 | -30453, | ||
120 | 7365, | ||
121 | 7113, | ||
122 | -31736, | ||
123 | -31697, | ||
124 | -20312, | ||
125 | 5696, | ||
126 | -28995, | ||
127 | -8680, | ||
128 | 8614, | ||
129 | 14262, | ||
130 | 12626, | ||
131 | -27258, | ||
132 | -2992, | ||
133 | -3813, | ||
134 | -9618, | ||
135 | -22702, | ||
136 | 11511, | ||
137 | 13055, | ||
138 | 14910, | ||
139 | -1417, | ||
140 | 3594, | ||
141 | -24836, | ||
142 | -3228, | ||
143 | 14148, | ||
144 | 25745, | ||
145 | -14870, | ||
146 | -16072, | ||
147 | 23960, | ||
148 | -17541, | ||
149 | 19980, | ||
150 | 26764, | ||
151 | -17571, | ||
152 | -17085, | ||
153 | -29508, | ||
154 | -27631, | ||
155 | 9228, | ||
156 | -20259, | ||
157 | 22535, | ||
158 | -21372, | ||
159 | -21575, | ||
160 | 32394, | ||
161 | -3946, | ||
162 | -10483, | ||
163 | -12176, | ||
164 | -8843, | ||
165 | -6997, | ||
166 | 5998, | ||
167 | -24921, | ||
168 | -30270, | ||
169 | }; | ||
170 | |||
171 | #pragma DATA_SECTION(h,".coeffs") | ||
172 | DATA h[NH] ={ /* b0 b1 b2 ... b(NH-1) */ | ||
173 | -88, | ||
174 | 783, | ||
175 | 919, | ||
176 | -499, | ||
177 | -720, | ||
178 | 789, | ||
179 | -556, | ||
180 | 308, | ||
181 | 989, | ||
182 | 349, | ||
183 | 784, | ||
184 | -1039, | ||
185 | -769, | ||
186 | 675, | ||
187 | -148, | ||
188 | 826, | ||
189 | 497, | ||
190 | 396, | ||
191 | -326, | ||
192 | -708, | ||
193 | -730, | ||
194 | -655, | ||
195 | -165, | ||
196 | 754, | ||
197 | -21, | ||
198 | 669, | ||
199 | -84, | ||
200 | -91, | ||
201 | -105, | ||
202 | -186, | ||
203 | 850, | ||
204 | -1048, | ||
205 | -430, | ||
206 | -956, | ||
207 | 409, | ||
208 | 317, | ||
209 | 1023, | ||
210 | 111, | ||
211 | -212, | ||
212 | -639, | ||
213 | 265, | ||
214 | 494, | ||
215 | -263, | ||
216 | -1039, | ||
217 | -170, | ||
218 | 537, | ||
219 | 622, | ||
220 | 889, | ||
221 | 730, | ||
222 | -281, | ||
223 | 255, | ||
224 | 489, | ||
225 | -649, | ||
226 | 857, | ||
227 | 146, | ||
228 | 279, | ||
229 | -563, | ||
230 | 103, | ||
231 | 914, | ||
232 | -350, | ||
233 | 329, | ||
234 | -229, | ||
235 | 269, | ||
236 | 421, | ||
237 | }; | ||
238 | |||
239 | #pragma DATA_SECTION(db,".dbuffer") | ||
240 | DATA db[NH+2] ; | ||
241 | |||
242 | DATA rtest[NX] ={ | ||
243 | -52, | ||
244 | 382, | ||
245 | 1254, | ||
246 | 515, | ||
247 | -186, | ||
248 | -112, | ||
249 | 173, | ||
250 | 58, | ||
251 | 558, | ||
252 | -186, | ||
253 | 3885, | ||
254 | -289, | ||
255 | -3869, | ||
256 | 1486, | ||
257 | 179, | ||
258 | -613, | ||
259 | 707, | ||
260 | 1790, | ||
261 | 1014, | ||
262 | -3139, | ||
263 | -1208, | ||
264 | -732, | ||
265 | 942, | ||
266 | -2527, | ||
267 | 500, | ||
268 | 1082, | ||
269 | -2031, | ||
270 | -243, | ||
271 | 1445, | ||
272 | 870, | ||
273 | 224, | ||
274 | -1415, | ||
275 | -887, | ||
276 | -1675, | ||
277 | 19, | ||
278 | 2712, | ||
279 | -755, | ||
280 | 4141, | ||
281 | -1750, | ||
282 | -1729, | ||
283 | -2884, | ||
284 | -679, | ||
285 | 2963, | ||
286 | 1169, | ||
287 | 570, | ||
288 | -11, | ||
289 | 288, | ||
290 | 60, | ||
291 | -1039, | ||
292 | 4637, | ||
293 | 777, | ||
294 | -287, | ||
295 | -1546, | ||
296 | 630, | ||
297 | 2258, | ||
298 | 2765, | ||
299 | 2265, | ||
300 | -2618, | ||
301 | -650, | ||
302 | 466, | ||
303 | 15, | ||
304 | 5216, | ||
305 | -210, | ||
306 | 3122, | ||
307 | -3383, | ||
308 | -4135, | ||
309 | -3715, | ||
310 | 593, | ||
311 | 3042, | ||
312 | 1130, | ||
313 | 3628, | ||
314 | -3536, | ||
315 | 2692, | ||
316 | -6114, | ||
317 | -460, | ||
318 | -1810, | ||
319 | -75, | ||
320 | 596, | ||
321 | -2496, | ||
322 | -3921, | ||
323 | -2139, | ||
324 | 1357, | ||
325 | 1899, | ||
326 | 695, | ||
327 | -2461, | ||
328 | -927, | ||
329 | -956, | ||
330 | -4960, | ||
331 | -4143, | ||
332 | 2941, | ||
333 | -1722, | ||
334 | -1724, | ||
335 | 1982, | ||
336 | 3228, | ||
337 | 608, | ||
338 | -590, | ||
339 | 1238, | ||
340 | 387, | ||
341 | -908, | ||
342 | -24, | ||
343 | 148, | ||
344 | -1729, | ||
345 | 595, | ||
346 | 2334, | ||
347 | 7396, | ||
348 | 1216, | ||
349 | -400, | ||
350 | -81, | ||
351 | -2759, | ||
352 | -164, | ||
353 | 1736, | ||
354 | 3601, | ||
355 | -1529, | ||
356 | 895, | ||
357 | 1652, | ||
358 | -2928, | ||
359 | 4404, | ||
360 | -500, | ||
361 | -2613, | ||
362 | -4179, | ||
363 | -3444, | ||
364 | 1784, | ||
365 | -3339, | ||
366 | -2382, | ||
367 | 3613, | ||
368 | -1299, | ||
369 | -878, | ||
370 | -3167, | ||
371 | }; | ||
372 | |||
373 | DATA r[NX]; | ||
diff --git a/dsplib_benchmarks/include/Dsplib.h b/dsplib_benchmarks/include/Dsplib.h new file mode 100644 index 0000000..b3ab955 --- /dev/null +++ b/dsplib_benchmarks/include/Dsplib.h | |||
@@ -0,0 +1,206 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /***********************************************************/ | ||
36 | /* Version 2.30.00 */ | ||
37 | /***********************************************************/ | ||
38 | #ifndef _DSPLIB | ||
39 | #define _DSPLIB | ||
40 | |||
41 | #include <tms320.h> | ||
42 | |||
43 | /* 32-bit fft */ | ||
44 | |||
45 | void cfft32_SCALE(LDATA *x, ushort nx); | ||
46 | void cfft32_NOSCALE(LDATA *x, ushort nx); | ||
47 | void cifft32_SCALE (LDATA *x, ushort nx); | ||
48 | void cifft32_NOSCALE (LDATA *x, ushort nx); | ||
49 | |||
50 | /* 32-bit bit reversal */ | ||
51 | |||
52 | void cbrev32 (LDATA *x, LDATA *y, ushort n); | ||
53 | |||
54 | |||
55 | /* 16-bit fft */ | ||
56 | |||
57 | void cfft_SCALE(DATA *x, ushort nx); | ||
58 | void cfft_NOSCALE(DATA *x, ushort nx); | ||
59 | void cifft_SCALE (DATA *x, ushort nx); | ||
60 | void cifft_NOSCALE (DATA *x, ushort nx); | ||
61 | |||
62 | void unpack(DATA *x, ushort nx); | ||
63 | void unpacki(DATA *x, ushort nx); | ||
64 | void unpack32(LDATA *x, ushort nx); | ||
65 | void unpacki32(LDATA *x, ushort nx); | ||
66 | /* void rfft(DATA *x, ushort nx, ushort scale); */ | ||
67 | /* void rifft(DATA *x, ushort nx, ushort scale); */ | ||
68 | |||
69 | /* 16-bit bit reversal */ | ||
70 | |||
71 | void cbrev (DATA *x, DATA *y, ushort n); | ||
72 | |||
73 | |||
74 | /* correlations */ | ||
75 | |||
76 | ushort acorr_raw(DATA *x, DATA *r, ushort nx, ushort nr); | ||
77 | ushort acorr_bias(DATA *x, DATA *r, ushort nx, ushort nr); | ||
78 | ushort acorr_unbias(DATA *x, DATA *r, ushort nx, ushort nr); | ||
79 | |||
80 | ushort corr_raw (DATA *x, DATA *y, DATA *r, ushort nx, ushort ny); | ||
81 | ushort corr_bias (DATA *x, DATA *y, DATA *r, ushort nx, ushort ny); | ||
82 | ushort corr_unbias (DATA *x, DATA *y, DATA *r, ushort nx, ushort ny); | ||
83 | |||
84 | /* filtering and convolution */ | ||
85 | |||
86 | ushort convol(DATA *x, DATA *h, DATA *r, ushort nr, ushort nh); | ||
87 | ushort convol1(DATA *x, DATA *h, DATA *r, ushort nr, ushort nh); | ||
88 | ushort convol2(DATA *x, DATA *h, DATA *r, ushort nr, ushort nh); | ||
89 | |||
90 | ushort fir(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh); | ||
91 | ushort fir2(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh); | ||
92 | ushort firs(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh2); | ||
93 | ushort cfir(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh); | ||
94 | |||
95 | ushort iircas4(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nbiq, ushort nx); | ||
96 | ushort iircas5(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nbiq, ushort nx); | ||
97 | ushort iircas51(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nbiq, ushort nx); | ||
98 | |||
99 | ushort firlat (DATA *x, DATA *h, DATA *r, DATA *pbuffer, int nx, int nh); | ||
100 | ushort iirlat (DATA *x, DATA *h, DATA *r, DATA *pbuffer, int nx, int nh); | ||
101 | |||
102 | ushort hilb16(DATA *x, DATA *h, DATA*r, DATA *dbuffer, ushort nx, ushort nh); | ||
103 | ushort firdec(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nh, ushort nx, ushort D); | ||
104 | ushort firinterp(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nh, ushort nx, ushort I); | ||
105 | ushort iir32(DATA *x,LDATA *h,DATA *r,LDATA *d, ushort nbiq, ushort nx); | ||
106 | |||
107 | /* adaptive filtering */ | ||
108 | |||
109 | ushort dlms(DATA *x, DATA *h, DATA *r, DATA *des, DATA *dbuffer, DATA step, ushort nh, ushort nx); | ||
110 | ushort dlmsfast(DATA *x, DATA *h, DATA *r, DATA *des, DATA *dbuffer, DATA step, ushort nh, ushort nx); | ||
111 | |||
112 | |||
113 | /* math */ | ||
114 | ushort add(DATA *x, DATA *y, DATA *r, ushort nx, ushort scale); | ||
115 | ushort sub(DATA *x, DATA *y, DATA *r, ushort nx, ushort scale); | ||
116 | ushort neg (DATA *x, DATA *r, ushort nx); | ||
117 | ushort neg32 (LDATA *x, LDATA *r, ushort nx); | ||
118 | ushort power (DATA *x, LDATA *r, ushort nx); | ||
119 | |||
120 | ushort sqrt_16(DATA *x, DATA *r, short nx); | ||
121 | void ldiv16(LDATA *x, DATA *y,DATA *r, DATA *rexp, ushort nx); | ||
122 | void recip16(DATA *x, DATA *r, DATA *rexp, ushort nx); | ||
123 | |||
124 | ushort mul32(LDATA *x, LDATA *y, LDATA *r, ushort nx); | ||
125 | |||
126 | ushort expn(DATA *x, DATA *r, ushort nx); | ||
127 | ushort logn(DATA *x, LDATA *r, ushort nx); | ||
128 | ushort log_2(DATA *x, LDATA *r, ushort nx); | ||
129 | ushort log_10(DATA *x, LDATA *r, ushort nx); | ||
130 | short bexp (DATA *x, ushort nx); | ||
131 | |||
132 | |||
133 | short maxidx (DATA *x, ushort ng, ushort ng_size); | ||
134 | short maxidx34 (DATA *x, ushort nx); | ||
135 | short maxval (DATA *x, ushort nx); | ||
136 | short minidx (DATA *x, ushort ng, ushort ng_size); | ||
137 | short minval (DATA *x, ushort nx); | ||
138 | |||
139 | void maxvec (DATA *x, ushort nx, DATA *val, DATA *idx); | ||
140 | void minvec (DATA *x, ushort nx, DATA *val, DATA *idx); | ||
141 | |||
142 | /* matrix */ | ||
143 | |||
144 | ushort mmul(DATA *x1,short row1,short col1,DATA *x2,short row2,short col2,DATA *r); | ||
145 | ushort mtrans(DATA *x, short row, short col, DATA *r); | ||
146 | |||
147 | |||
148 | /* trigonometric */ | ||
149 | |||
150 | ushort atan16(DATA *x, DATA *r, ushort nx); | ||
151 | ushort atan2_16(DATA *i, DATA *q, DATA *r, ushort nx); | ||
152 | ushort sine(DATA *x, DATA *r, ushort nx); | ||
153 | |||
154 | |||
155 | /* miscellaneous */ | ||
156 | |||
157 | ushort fltoq15(float *x, DATA *r, ushort nx); | ||
158 | ushort q15tofl(DATA *x, float *r, ushort nx); | ||
159 | |||
160 | ushort rand16(DATA *r, ushort nr); | ||
161 | void rand16init(void); | ||
162 | |||
163 | |||
164 | |||
165 | |||
166 | /* macro definition */ | ||
167 | |||
168 | #define SCALE 1 | ||
169 | #define NOSCALE 0 | ||
170 | |||
171 | #define cfft(x,nx, type) cfft_##type(x,nx) | ||
172 | #define cifft(x,nx, type) cifft_##type(x,nx) | ||
173 | |||
174 | |||
175 | #define acorr(n1, n2, n3, n4, type) acorr_##type(n1, n2, n3, n4) | ||
176 | #define corr(n1, n2, n3, n4, n5, type) corr_##type(n1, n2, n3, n4, n5) | ||
177 | #define rfft(x,nx,type)\ | ||
178 | (\ | ||
179 | cfft_##type(x,nx/2),\ | ||
180 | cbrev(x,x,nx/2),\ | ||
181 | unpack(x,nx)\ | ||
182 | ) | ||
183 | |||
184 | #define rifft(x,nx,type)\ | ||
185 | (\ | ||
186 | unpacki(x, nx),\ | ||
187 | cifft_##type(x,nx/2),\ | ||
188 | cbrev(x,x,nx/2)\ | ||
189 | ) | ||
190 | |||
191 | |||
192 | #define rfft32(x,nx,type)\ | ||
193 | (\ | ||
194 | cfft32_##type(x,nx/2),\ | ||
195 | cbrev32(x,x,nx/2),\ | ||
196 | unpack32(x,nx)\ | ||
197 | ) | ||
198 | |||
199 | #define rifft32(x,nx,type)\ | ||
200 | (\ | ||
201 | unpacki32(x, nx),\ | ||
202 | cifft32_##type(x,nx/2),\ | ||
203 | cbrev32(x,x,nx/2)\ | ||
204 | ) | ||
205 | |||
206 | #endif | ||
diff --git a/dsplib_benchmarks/include/Dsplib_c.h b/dsplib_benchmarks/include/Dsplib_c.h new file mode 100644 index 0000000..3d3e88e --- /dev/null +++ b/dsplib_benchmarks/include/Dsplib_c.h | |||
@@ -0,0 +1,73 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /***********************************************************/ | ||
36 | /* Version 2.30.00 */ | ||
37 | /***********************************************************/ | ||
38 | #ifndef _DSPLIBC | ||
39 | #define _DSPLIBC | ||
40 | |||
41 | #include <tms320.h> | ||
42 | |||
43 | |||
44 | /* correlations */ | ||
45 | |||
46 | void acorr_c_raw(DATA *x, DATA *r, ushort nx, ushort nr); | ||
47 | void acorr_c_bias(DATA *x, DATA *r, ushort nx, ushort nr); | ||
48 | void acorr_c_unbias(DATA *x, DATA *r, ushort nx, ushort nr); | ||
49 | |||
50 | /* filtering and convolution */ | ||
51 | |||
52 | |||
53 | void fir_c(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh); | ||
54 | void fir2_c(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh); | ||
55 | void firs_c(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh2); | ||
56 | void cfir_c(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nx, ushort nh); | ||
57 | |||
58 | void iircas4_c(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nbiq, ushort nx); | ||
59 | void iircas5_c(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nbiq, ushort nx); | ||
60 | void iircas51_c(DATA *x, DATA *h, DATA *r, DATA *dbuffer, ushort nbiq, ushort nx); | ||
61 | |||
62 | |||
63 | /* adaptive filtering */ | ||
64 | |||
65 | void dlms_c(DATA *x, DATA *h, DATA *r, DATA *des, DATA *dbuffer, DATA step, ushort nh, ushort nx); | ||
66 | |||
67 | |||
68 | /* macro definition */ | ||
69 | |||
70 | |||
71 | #define acorr_c(n1, n2, n3, n4, type) acorr_c_##type(n1, n2, n3, n4) | ||
72 | |||
73 | #endif | ||
diff --git a/dsplib_benchmarks/include/tms320.h b/dsplib_benchmarks/include/tms320.h new file mode 100644 index 0000000..bf90cf3 --- /dev/null +++ b/dsplib_benchmarks/include/tms320.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /***********************************************************/ | ||
36 | /* Version 2.30.00 */ | ||
37 | /***********************************************************/ | ||
38 | #ifndef _TMS320 | ||
39 | #define _TMS320 | ||
40 | |||
41 | typedef unsigned int uint; | ||
42 | typedef unsigned short ushort; | ||
43 | #define PASS -1 | ||
44 | |||
45 | |||
46 | typedef short DATA; | ||
47 | typedef long LDATA; | ||
48 | #define ABSVAL abs | ||
49 | #define SHIFT15 >>15 | ||
50 | #define SHIFT1 /2 | ||
51 | #define ROUND 0x400 | ||
52 | #define DIV2 >>1 | ||
53 | |||
54 | #endif | ||
diff --git a/dsplib_benchmarks/maxval/MAXVAL_T.C b/dsplib_benchmarks/maxval/MAXVAL_T.C new file mode 100644 index 0000000..b9cadf9 --- /dev/null +++ b/dsplib_benchmarks/maxval/MAXVAL_T.C | |||
@@ -0,0 +1,112 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: maxval_t.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test for maxidx routine | ||
39 | //***************************************************************************** | ||
40 | |||
41 | #include <stdlib.h> | ||
42 | #include <math.h> | ||
43 | #include <tms320.h> | ||
44 | #include <stdio.h> | ||
45 | #include <dsplib.h> | ||
46 | #include <time.h> | ||
47 | |||
48 | #define NUMBER_OF_ITERATIONS 100l | ||
49 | |||
50 | #pragma DATA_ALIGN(x, 2) | ||
51 | |||
52 | //#include "t1.h" | ||
53 | //#include "t2.h" | ||
54 | //#include "t3.h" | ||
55 | //#include "t4.h" | ||
56 | //#include "t5.h" | ||
57 | //#include "t6.h" | ||
58 | //#include "t7.h" | ||
59 | #include "t8.h" | ||
60 | //#include "test.h" | ||
61 | |||
62 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
63 | |||
64 | short eflag = PASS; // error flag or index into r vector where error | ||
65 | |||
66 | |||
67 | void main() | ||
68 | { | ||
69 | // clear | ||
70 | r = 0; // clear output index (optional) | ||
71 | int nx ; | ||
72 | long iterations1 ; | ||
73 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
74 | |||
75 | t1 = clock() ; | ||
76 | t2 = clock() ; | ||
77 | diff = t2 - t1 ; /// overhead of calling | ||
78 | t1 = clock() ; | ||
79 | // compute | ||
80 | r = maxval(x, 100); | ||
81 | nx = 100 ; | ||
82 | t2 = clock() ; | ||
83 | total1_t = (double) (t2 - t1-diff) ; | ||
84 | printf("number of elements in the vector is is %d \n",nx ) ; | ||
85 | printf("max value time (in cycles) %ld \n", total1_t) ; | ||
86 | // test | ||
87 | eflag = test(&r, &rtest, 1, MAXERROR); | ||
88 | |||
89 | if(eflag != PASS) | ||
90 | { | ||
91 | exit(-1); | ||
92 | } | ||
93 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
94 | |||
95 | { | ||
96 | |||
97 | r = maxval(x, NX); | ||
98 | |||
99 | } | ||
100 | |||
101 | |||
102 | printf("Done with %ld iteration \n",iterations1 ); | ||
103 | |||
104 | |||
105 | return; | ||
106 | } | ||
107 | |||
108 | |||
109 | |||
110 | |||
111 | |||
112 | |||
diff --git a/dsplib_benchmarks/maxval/TEST.C b/dsplib_benchmarks/maxval/TEST.C new file mode 100644 index 0000000..209777d --- /dev/null +++ b/dsplib_benchmarks/maxval/TEST.C | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | break; | ||
61 | } | ||
62 | else | ||
63 | if (elevel>emax) emax = elevel; | ||
64 | } | ||
65 | // Pass to Host: eflag and emax | ||
66 | return(eflag); | ||
67 | } | ||
diff --git a/dsplib_benchmarks/maxval/maxval.cmd b/dsplib_benchmarks/maxval/maxval.cmd new file mode 100644 index 0000000..94bf6e6 --- /dev/null +++ b/dsplib_benchmarks/maxval/maxval.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } \ No newline at end of file | ||
diff --git a/dsplib_benchmarks/maxval/t1.h b/dsplib_benchmarks/maxval/t1.h new file mode 100644 index 0000000..98e1596 --- /dev/null +++ b/dsplib_benchmarks/maxval/t1.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: tst1 */ | ||
36 | #define NX 6 | ||
37 | #define FNAME "t1" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 3276, | ||
42 | 9830, | ||
43 | 6553, | ||
44 | 26214, | ||
45 | -13108, | ||
46 | -3277, | ||
47 | }; | ||
48 | |||
49 | DATA rtest = 26214; | ||
50 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t2.h b/dsplib_benchmarks/maxval/t2.h new file mode 100644 index 0000000..b43f5e1 --- /dev/null +++ b/dsplib_benchmarks/maxval/t2.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: rand */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 29499, | ||
42 | -17621, | ||
43 | 7002, | ||
44 | -919, | ||
45 | 25644, | ||
46 | 17176, | ||
47 | -2853, | ||
48 | -31556, | ||
49 | 21063, | ||
50 | -3624, | ||
51 | 7564, | ||
52 | 19132, | ||
53 | 27643, | ||
54 | 15611, | ||
55 | -21217, | ||
56 | -6180, | ||
57 | }; | ||
58 | |||
59 | DATA rtest = 29499; | ||
60 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t3.h b/dsplib_benchmarks/maxval/t3.h new file mode 100644 index 0000000..588e789 --- /dev/null +++ b/dsplib_benchmarks/maxval/t3.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: ones */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 32767, | ||
42 | 32767, | ||
43 | 32767, | ||
44 | 32767, | ||
45 | 32767, | ||
46 | 32767, | ||
47 | 32767, | ||
48 | 32767, | ||
49 | 32767, | ||
50 | 32767, | ||
51 | 32767, | ||
52 | 32767, | ||
53 | 32767, | ||
54 | 32767, | ||
55 | 32767, | ||
56 | 32767, | ||
57 | }; | ||
58 | |||
59 | DATA rtest = 32767; | ||
60 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t4.h b/dsplib_benchmarks/maxval/t4.h new file mode 100644 index 0000000..d74fe91 --- /dev/null +++ b/dsplib_benchmarks/maxval/t4.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: rmup */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 0, | ||
42 | 2048, | ||
43 | 4096, | ||
44 | 6144, | ||
45 | 8192, | ||
46 | 10240, | ||
47 | 12288, | ||
48 | 14336, | ||
49 | 16384, | ||
50 | 18432, | ||
51 | 20480, | ||
52 | 22528, | ||
53 | 24576, | ||
54 | 26624, | ||
55 | 28672, | ||
56 | 30720, | ||
57 | }; | ||
58 | |||
59 | DATA rtest = 30720; | ||
60 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t5.h b/dsplib_benchmarks/maxval/t5.h new file mode 100644 index 0000000..0fdb4fa --- /dev/null +++ b/dsplib_benchmarks/maxval/t5.h | |||
@@ -0,0 +1,60 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: rmdn */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 30720, | ||
42 | 28672, | ||
43 | 26624, | ||
44 | 24576, | ||
45 | 22528, | ||
46 | 20480, | ||
47 | 18432, | ||
48 | 16384, | ||
49 | 14336, | ||
50 | 12288, | ||
51 | 10240, | ||
52 | 8192, | ||
53 | 6144, | ||
54 | 4096, | ||
55 | 2048, | ||
56 | 0, | ||
57 | }; | ||
58 | |||
59 | DATA rtest = 30720; | ||
60 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t6.h b/dsplib_benchmarks/maxval/t6.h new file mode 100644 index 0000000..8adc832 --- /dev/null +++ b/dsplib_benchmarks/maxval/t6.h | |||
@@ -0,0 +1,76 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: rand */ | ||
36 | #define NX 32 | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 28538, | ||
42 | 27322, | ||
43 | -5881, | ||
44 | 25798, | ||
45 | -28975, | ||
46 | -9643, | ||
47 | 20523, | ||
48 | -32122, | ||
49 | -23666, | ||
50 | -19480, | ||
51 | -19745, | ||
52 | 6802, | ||
53 | -14930, | ||
54 | -19739, | ||
55 | -31768, | ||
56 | 16173, | ||
57 | -3599, | ||
58 | 28299, | ||
59 | -2229, | ||
60 | -5332, | ||
61 | 22689, | ||
62 | 1648, | ||
63 | -19488, | ||
64 | 11281, | ||
65 | 22158, | ||
66 | -31481, | ||
67 | 11880, | ||
68 | -7899, | ||
69 | 21744, | ||
70 | 184, | ||
71 | 13727, | ||
72 | -4661, | ||
73 | }; | ||
74 | |||
75 | DATA rtest = 28538; | ||
76 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t7.h b/dsplib_benchmarks/maxval/t7.h new file mode 100644 index 0000000..24520b1 --- /dev/null +++ b/dsplib_benchmarks/maxval/t7.h | |||
@@ -0,0 +1,172 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: rand */ | ||
36 | #define NX 128 | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | -12805, | ||
42 | -20339, | ||
43 | -20092, | ||
44 | 11942, | ||
45 | -12927, | ||
46 | 2731, | ||
47 | -22881, | ||
48 | 12969, | ||
49 | -7971, | ||
50 | 23593, | ||
51 | 23177, | ||
52 | 6131, | ||
53 | -226, | ||
54 | 26199, | ||
55 | 21078, | ||
56 | 9496, | ||
57 | 20838, | ||
58 | 10500, | ||
59 | -10357, | ||
60 | -13781, | ||
61 | -10408, | ||
62 | 2233, | ||
63 | 14884, | ||
64 | -12499, | ||
65 | 22183, | ||
66 | 4461, | ||
67 | -8493, | ||
68 | 13286, | ||
69 | 3052, | ||
70 | -3613, | ||
71 | 12751, | ||
72 | 7950, | ||
73 | 19321, | ||
74 | 29939, | ||
75 | 1480, | ||
76 | 24912, | ||
77 | -21434, | ||
78 | 31440, | ||
79 | -14979, | ||
80 | -16232, | ||
81 | 24624, | ||
82 | 15552, | ||
83 | -23822, | ||
84 | -31998, | ||
85 | 25814, | ||
86 | -19718, | ||
87 | -13191, | ||
88 | 10580, | ||
89 | -14129, | ||
90 | -2017, | ||
91 | -28523, | ||
92 | 32003, | ||
93 | 5425, | ||
94 | -5014, | ||
95 | 1016, | ||
96 | -10883, | ||
97 | -4398, | ||
98 | -17961, | ||
99 | 5230, | ||
100 | 17063, | ||
101 | 1954, | ||
102 | 9209, | ||
103 | -19067, | ||
104 | -7877, | ||
105 | 18568, | ||
106 | 11851, | ||
107 | -2550, | ||
108 | 4445, | ||
109 | 19281, | ||
110 | -28890, | ||
111 | 6741, | ||
112 | -29474, | ||
113 | -5546, | ||
114 | -12780, | ||
115 | 24534, | ||
116 | -31785, | ||
117 | 17560, | ||
118 | 30857, | ||
119 | 32118, | ||
120 | 18930, | ||
121 | -4021, | ||
122 | -111, | ||
123 | -18746, | ||
124 | 9403, | ||
125 | -11795, | ||
126 | 30153, | ||
127 | 14852, | ||
128 | -5771, | ||
129 | 16027, | ||
130 | -15208, | ||
131 | -3938, | ||
132 | 28401, | ||
133 | 12014, | ||
134 | -18838, | ||
135 | 22232, | ||
136 | 8440, | ||
137 | -24002, | ||
138 | -19194, | ||
139 | 7025, | ||
140 | 8512, | ||
141 | -8489, | ||
142 | 4924, | ||
143 | -3184, | ||
144 | -29892, | ||
145 | -30987, | ||
146 | -12276, | ||
147 | -31926, | ||
148 | -7605, | ||
149 | 12000, | ||
150 | -26684, | ||
151 | -30453, | ||
152 | 7365, | ||
153 | 7113, | ||
154 | -31736, | ||
155 | -31697, | ||
156 | -20312, | ||
157 | 5696, | ||
158 | -28995, | ||
159 | -8680, | ||
160 | 8614, | ||
161 | 14262, | ||
162 | 12626, | ||
163 | -27258, | ||
164 | -2992, | ||
165 | -3813, | ||
166 | -9618, | ||
167 | -22702, | ||
168 | 11511, | ||
169 | }; | ||
170 | |||
171 | DATA rtest = 32118; | ||
172 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t8 - original.h b/dsplib_benchmarks/maxval/t8 - original.h new file mode 100644 index 0000000..80b0ca0 --- /dev/null +++ b/dsplib_benchmarks/maxval/t8 - original.h | |||
@@ -0,0 +1,300 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: rand */ | ||
36 | #define NX 256 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 13055, | ||
42 | 14910, | ||
43 | -1417, | ||
44 | 3594, | ||
45 | -24836, | ||
46 | -3228, | ||
47 | 14148, | ||
48 | 25745, | ||
49 | -14870, | ||
50 | -16072, | ||
51 | 23960, | ||
52 | -17541, | ||
53 | 19980, | ||
54 | 26764, | ||
55 | -17571, | ||
56 | -17085, | ||
57 | -29508, | ||
58 | -27632, | ||
59 | 9228, | ||
60 | -20259, | ||
61 | 22535, | ||
62 | -21372, | ||
63 | -21575, | ||
64 | 32394, | ||
65 | -3946, | ||
66 | -10483, | ||
67 | -12176, | ||
68 | -8843, | ||
69 | -6997, | ||
70 | 5998, | ||
71 | -24921, | ||
72 | -30270, | ||
73 | -2714, | ||
74 | 24239, | ||
75 | 28458, | ||
76 | -15438, | ||
77 | -22263, | ||
78 | 24435, | ||
79 | -17179, | ||
80 | 9557, | ||
81 | 30597, | ||
82 | 10808, | ||
83 | 24273, | ||
84 | -32118, | ||
85 | -23789, | ||
86 | 20889, | ||
87 | -4577, | ||
88 | 25580, | ||
89 | 15394, | ||
90 | 12276, | ||
91 | -10086, | ||
92 | -21887, | ||
93 | -22570, | ||
94 | -20243, | ||
95 | -5083, | ||
96 | 23329, | ||
97 | -639, | ||
98 | 20705, | ||
99 | -2571, | ||
100 | -2795, | ||
101 | -3232, | ||
102 | -5753, | ||
103 | 26319, | ||
104 | -32403, | ||
105 | -13278, | ||
106 | -29547, | ||
107 | 12660, | ||
108 | 9837, | ||
109 | 31653, | ||
110 | 3451, | ||
111 | -6549, | ||
112 | -19741, | ||
113 | 8205, | ||
114 | 15293, | ||
115 | -8134, | ||
116 | -32121, | ||
117 | -5253, | ||
118 | 16624, | ||
119 | 19259, | ||
120 | 27522, | ||
121 | 22591, | ||
122 | -8667, | ||
123 | 7916, | ||
124 | 15156, | ||
125 | -20062, | ||
126 | 26529, | ||
127 | 4535, | ||
128 | 8636, | ||
129 | -17406, | ||
130 | 3196, | ||
131 | 28284, | ||
132 | -10801, | ||
133 | 10192, | ||
134 | -7085, | ||
135 | 8343, | ||
136 | 13046, | ||
137 | -6739, | ||
138 | -5661, | ||
139 | 10172, | ||
140 | 22123, | ||
141 | -8415, | ||
142 | -4899, | ||
143 | 6203, | ||
144 | 4308, | ||
145 | 14191, | ||
146 | 741, | ||
147 | 18114, | ||
148 | -699, | ||
149 | -20585, | ||
150 | 13148, | ||
151 | 31634, | ||
152 | 20095, | ||
153 | 13341, | ||
154 | -986, | ||
155 | -25257, | ||
156 | 10803, | ||
157 | -8823, | ||
158 | -23591, | ||
159 | 4376, | ||
160 | 21168, | ||
161 | 11399, | ||
162 | 32731, | ||
163 | 30253, | ||
164 | -28911, | ||
165 | -9155, | ||
166 | 3179, | ||
167 | -15613, | ||
168 | 6379, | ||
169 | -29539, | ||
170 | 4656, | ||
171 | 13163, | ||
172 | 30296, | ||
173 | 16417, | ||
174 | 15728, | ||
175 | -4465, | ||
176 | 8799, | ||
177 | 19859, | ||
178 | -27271, | ||
179 | 29193, | ||
180 | 27259, | ||
181 | 6683, | ||
182 | -16151, | ||
183 | 24474, | ||
184 | 878, | ||
185 | 15246, | ||
186 | -5097, | ||
187 | 30236, | ||
188 | -28046, | ||
189 | 3500, | ||
190 | -13633, | ||
191 | 23459, | ||
192 | -10764, | ||
193 | 11809, | ||
194 | -29266, | ||
195 | -9395, | ||
196 | -112, | ||
197 | -4297, | ||
198 | 4093, | ||
199 | 7642, | ||
200 | -25341, | ||
201 | 26099, | ||
202 | 16682, | ||
203 | 19079, | ||
204 | 20640, | ||
205 | 11141, | ||
206 | -19604, | ||
207 | -14871, | ||
208 | 8272, | ||
209 | 2415, | ||
210 | -28869, | ||
211 | -26938, | ||
212 | -14988, | ||
213 | -5960, | ||
214 | -1702, | ||
215 | 26803, | ||
216 | 6307, | ||
217 | -11210, | ||
218 | -1430, | ||
219 | 6368, | ||
220 | -22188, | ||
221 | 21592, | ||
222 | 29892, | ||
223 | 6261, | ||
224 | -30884, | ||
225 | 20454, | ||
226 | 7216, | ||
227 | 13205, | ||
228 | -26726, | ||
229 | -4923, | ||
230 | -8155, | ||
231 | -21879, | ||
232 | 21833, | ||
233 | 22193, | ||
234 | -3172, | ||
235 | 29923, | ||
236 | -23125, | ||
237 | 24243, | ||
238 | 17657, | ||
239 | -3660, | ||
240 | 7904, | ||
241 | 29601, | ||
242 | 9175, | ||
243 | -16560, | ||
244 | -9654, | ||
245 | -20457, | ||
246 | -614, | ||
247 | -5946, | ||
248 | -2391, | ||
249 | 7270, | ||
250 | -28104, | ||
251 | -12172, | ||
252 | 7103, | ||
253 | -21298, | ||
254 | 7931, | ||
255 | -16649, | ||
256 | 5725, | ||
257 | 396, | ||
258 | -2309, | ||
259 | 2714, | ||
260 | 28988, | ||
261 | -10371, | ||
262 | -6436, | ||
263 | -12604, | ||
264 | -5796, | ||
265 | -14029, | ||
266 | -6939, | ||
267 | 197, | ||
268 | 14547, | ||
269 | -12701, | ||
270 | -25418, | ||
271 | -3717, | ||
272 | -2179, | ||
273 | -31807, | ||
274 | 10751, | ||
275 | 14684, | ||
276 | -14311, | ||
277 | -15610, | ||
278 | 13662, | ||
279 | 18602, | ||
280 | 31860, | ||
281 | -1748, | ||
282 | 26399, | ||
283 | -3208, | ||
284 | 19956, | ||
285 | 21552, | ||
286 | -21872, | ||
287 | -6953, | ||
288 | 1360, | ||
289 | 14294, | ||
290 | 4534, | ||
291 | -2569, | ||
292 | -3585, | ||
293 | -27018, | ||
294 | -3704, | ||
295 | -8763, | ||
296 | -12942, | ||
297 | }; | ||
298 | |||
299 | DATA rtest = 32731; | ||
300 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxval/t8.h b/dsplib_benchmarks/maxval/t8.h new file mode 100644 index 0000000..59f6dc8 --- /dev/null +++ b/dsplib_benchmarks/maxval/t8.h | |||
@@ -0,0 +1,300 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxval: rand */ | ||
36 | #define NX 256 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 13055, | ||
42 | 14910, | ||
43 | -1417, | ||
44 | 3594, | ||
45 | -24836, | ||
46 | -3228, | ||
47 | 14148, | ||
48 | 25745, | ||
49 | -14870, | ||
50 | -16072, | ||
51 | 23960, | ||
52 | -17541, | ||
53 | 19980, | ||
54 | 26764, | ||
55 | -17571, | ||
56 | -17085, | ||
57 | -29508, | ||
58 | 32731,//-27632, | ||
59 | 9228, | ||
60 | -20259, | ||
61 | 22535, | ||
62 | -21372, | ||
63 | -21575, | ||
64 | 32394, | ||
65 | -3946, | ||
66 | -10483, | ||
67 | -12176, | ||
68 | -8843, | ||
69 | -6997, | ||
70 | 5998, | ||
71 | -24921, | ||
72 | -30270, | ||
73 | -2714, | ||
74 | 24239, | ||
75 | 28458, | ||
76 | -15438, | ||
77 | -22263, | ||
78 | 24435, | ||
79 | -17179, | ||
80 | 9557, | ||
81 | 30597, | ||
82 | 10808, | ||
83 | 24273, | ||
84 | -32118, | ||
85 | -23789, | ||
86 | 20889, | ||
87 | -4577, | ||
88 | 25580, | ||
89 | 15394, | ||
90 | 12276, | ||
91 | -10086, | ||
92 | -21887, | ||
93 | -22570, | ||
94 | -20243, | ||
95 | -5083, | ||
96 | 23329, | ||
97 | -639, | ||
98 | 20705, | ||
99 | -2571, | ||
100 | -2795, | ||
101 | -3232, | ||
102 | -5753, | ||
103 | 26319, | ||
104 | -32403, | ||
105 | -13278, | ||
106 | -29547, | ||
107 | 12660, | ||
108 | 9837, | ||
109 | 31653, | ||
110 | 3451, | ||
111 | -6549, | ||
112 | -19741, | ||
113 | 8205, | ||
114 | 15293, | ||
115 | -8134, | ||
116 | -32121, | ||
117 | -5253, | ||
118 | 16624, | ||
119 | 19259, | ||
120 | 27522, | ||
121 | 22591, | ||
122 | -8667, | ||
123 | 7916, | ||
124 | 15156, | ||
125 | -20062, | ||
126 | 26529, | ||
127 | 4535, | ||
128 | 8636, | ||
129 | -17406, | ||
130 | 3196, | ||
131 | 28284, | ||
132 | -10801, | ||
133 | 10192, | ||
134 | -7085, | ||
135 | 8343, | ||
136 | 13046, | ||
137 | -6739, | ||
138 | -5661, | ||
139 | 10172, | ||
140 | 22123, | ||
141 | -8415, | ||
142 | -4899, | ||
143 | 6203, | ||
144 | 4308, | ||
145 | 14191, | ||
146 | 741, | ||
147 | 18114, | ||
148 | -699, | ||
149 | -20585, | ||
150 | 13148, | ||
151 | 31634, | ||
152 | 20095, | ||
153 | 13341, | ||
154 | -986, | ||
155 | -25257, | ||
156 | 10803, | ||
157 | -8823, | ||
158 | -23591, | ||
159 | 4376, | ||
160 | 21168, | ||
161 | 11399, | ||
162 | 33, | ||
163 | 30253, | ||
164 | -28911, | ||
165 | -9155, | ||
166 | 3179, | ||
167 | -15613, | ||
168 | 6379, | ||
169 | -29539, | ||
170 | 4656, | ||
171 | 13163, | ||
172 | 30296, | ||
173 | 16417, | ||
174 | 15728, | ||
175 | -4465, | ||
176 | 8799, | ||
177 | 19859, | ||
178 | -27271, | ||
179 | 29193, | ||
180 | 27259, | ||
181 | 6683, | ||
182 | -16151, | ||
183 | 24474, | ||
184 | 878, | ||
185 | 15246, | ||
186 | -5097, | ||
187 | 30236, | ||
188 | -28046, | ||
189 | 3500, | ||
190 | -13633, | ||
191 | 23459, | ||
192 | -10764, | ||
193 | 11809, | ||
194 | -29266, | ||
195 | -9395, | ||
196 | -112, | ||
197 | -4297, | ||
198 | 4093, | ||
199 | 7642, | ||
200 | -25341, | ||
201 | 26099, | ||
202 | 16682, | ||
203 | 19079, | ||
204 | 20640, | ||
205 | 11141, | ||
206 | -19604, | ||
207 | -14871, | ||
208 | 8272, | ||
209 | 2415, | ||
210 | -28869, | ||
211 | -26938, | ||
212 | -14988, | ||
213 | -5960, | ||
214 | -1702, | ||
215 | 26803, | ||
216 | 6307, | ||
217 | -11210, | ||
218 | -1430, | ||
219 | 6368, | ||
220 | -22188, | ||
221 | 21592, | ||
222 | 29892, | ||
223 | 6261, | ||
224 | -30884, | ||
225 | 20454, | ||
226 | 7216, | ||
227 | 13205, | ||
228 | -26726, | ||
229 | -4923, | ||
230 | -8155, | ||
231 | -21879, | ||
232 | 21833, | ||
233 | 22193, | ||
234 | -3172, | ||
235 | 29923, | ||
236 | -23125, | ||
237 | 24243, | ||
238 | 17657, | ||
239 | -3660, | ||
240 | 7904, | ||
241 | 29601, | ||
242 | 9175, | ||
243 | -16560, | ||
244 | -9654, | ||
245 | -20457, | ||
246 | -614, | ||
247 | -5946, | ||
248 | -2391, | ||
249 | 7270, | ||
250 | -28104, | ||
251 | -12172, | ||
252 | 7103, | ||
253 | -21298, | ||
254 | 7931, | ||
255 | -16649, | ||
256 | 5725, | ||
257 | 396, | ||
258 | -2309, | ||
259 | 2714, | ||
260 | 28988, | ||
261 | -10371, | ||
262 | -6436, | ||
263 | -12604, | ||
264 | -5796, | ||
265 | -14029, | ||
266 | -6939, | ||
267 | 197, | ||
268 | 14547, | ||
269 | -12701, | ||
270 | -25418, | ||
271 | -3717, | ||
272 | -2179, | ||
273 | -31807, | ||
274 | 10751, | ||
275 | 14684, | ||
276 | -14311, | ||
277 | -15610, | ||
278 | 13662, | ||
279 | 18602, | ||
280 | 31860, | ||
281 | -1748, | ||
282 | 26399, | ||
283 | -3208, | ||
284 | 19956, | ||
285 | 21552, | ||
286 | -21872, | ||
287 | -6953, | ||
288 | 1360, | ||
289 | 14294, | ||
290 | 4534, | ||
291 | -2569, | ||
292 | -3585, | ||
293 | -27018, | ||
294 | -3704, | ||
295 | -8763, | ||
296 | -12942, | ||
297 | }; | ||
298 | |||
299 | DATA rtest = 32731; | ||
300 | DATA r; | ||
diff --git a/dsplib_benchmarks/maxvec/Maxvec_t.c b/dsplib_benchmarks/maxvec/Maxvec_t.c new file mode 100644 index 0000000..17c69c9 --- /dev/null +++ b/dsplib_benchmarks/maxvec/Maxvec_t.c | |||
@@ -0,0 +1,113 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: maxidx_t.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test for maxidx routine | ||
39 | //***************************************************************************** | ||
40 | |||
41 | #include <stdlib.h> | ||
42 | #include <math.h> | ||
43 | #include <tms320.h> | ||
44 | #include <stdio.h> | ||
45 | #include <dsplib.h> | ||
46 | #include <time.h> | ||
47 | |||
48 | #define NUMBER_OF_ITERATIONS 1000l | ||
49 | //#include "t1.h" | ||
50 | //#include "t2.h" | ||
51 | //#include "t3.h" | ||
52 | //#include "t4.h" | ||
53 | //#include "t5.h" | ||
54 | //#include "t6.h" | ||
55 | //#include "t7.h" | ||
56 | #include "t8.h" | ||
57 | //#include "test.h" | ||
58 | |||
59 | short test(DATA *r, DATA *rtest, short n, DATA maxerror); | ||
60 | |||
61 | short eflagv = PASS; // error flag for value into r vector where error | ||
62 | short eflagi = PASS; // error flag for index into r vector where error | ||
63 | |||
64 | |||
65 | void main() | ||
66 | { | ||
67 | int nx ; | ||
68 | long iterations1 ; | ||
69 | clock_t t1,t2, t11,t22 ,total1_t ,total2_t,diff ; | ||
70 | |||
71 | |||
72 | // clear | ||
73 | r_val = 0; // clear output index and value(optional) | ||
74 | r_idx = 0; | ||
75 | |||
76 | t1 = clock() ; | ||
77 | t2 = clock() ; | ||
78 | diff = t2 - t1 ; /// overhead of calling | ||
79 | t1 = clock() ; // compute | ||
80 | // maxvec(x, NX, &r_val, &r_idx); | ||
81 | maxvec(x, 100, &r_val, &r_idx); | ||
82 | |||
83 | t2 = clock() ; | ||
84 | nx = 100 ; | ||
85 | total1_t = (double) (t2 - t1-diff) ; | ||
86 | printf("number of elements in the vector is is %d \n",nx ) ; | ||
87 | printf("max (index and value) time (in cycles) %ld \n", total1_t) ; | ||
88 | // test | ||
89 | eflagv = test(&r_val, &r_testval, 1, MAXERROR); | ||
90 | eflagi = test(&r_idx, &r_testidx, 1, MAXERROR); | ||
91 | |||
92 | if( (eflagv != PASS) || (eflagi != PASS) ) | ||
93 | { | ||
94 | exit(-1); | ||
95 | } | ||
96 | |||
97 | |||
98 | |||
99 | for (iterations1 = 0; iterations1 < NUMBER_OF_ITERATIONS;iterations1++) | ||
100 | |||
101 | { | ||
102 | |||
103 | maxvec(x, NX, &r_val, &r_idx); | ||
104 | |||
105 | } | ||
106 | |||
107 | |||
108 | printf("Done with %ld iteration \n",iterations1 ); | ||
109 | |||
110 | |||
111 | return; | ||
112 | } | ||
113 | |||
diff --git a/dsplib_benchmarks/maxvec/TEST.C b/dsplib_benchmarks/maxvec/TEST.C new file mode 100644 index 0000000..209777d --- /dev/null +++ b/dsplib_benchmarks/maxvec/TEST.C | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | //***************************************************************************** | ||
36 | // Filename: test.c | ||
37 | // Version: 0.01 | ||
38 | // Description: test r against rtest (array of n elements) | ||
39 | // Returns eflag | ||
40 | //----------------------------------------------------------------------------- | ||
41 | // Revision History: | ||
42 | // 0.01, R. Piedra, 06/15/98, - Original release | ||
43 | //***************************************************************************** | ||
44 | #include <tms320.h> | ||
45 | |||
46 | short test(DATA *r, DATA *rtest, short n, DATA maxerror) | ||
47 | |||
48 | { | ||
49 | short i; | ||
50 | short eflag = PASS; // error flag or index into r vector where error | ||
51 | DATA elevel = 0; // error level at failing eflag index location | ||
52 | DATA emax = 0; // max error level detected across when NOERROR | ||
53 | |||
54 | for (i=0;i<n;i++) | ||
55 | { | ||
56 | if ( (elevel = ABSVAL(rtest[i] - r[i])) > maxerror) | ||
57 | { | ||
58 | eflag =i; // if error --> eflag = index and emax= max error | ||
59 | emax = elevel; // if no error --> eflag = -1 and emax = max error | ||
60 | break; | ||
61 | } | ||
62 | else | ||
63 | if (elevel>emax) emax = elevel; | ||
64 | } | ||
65 | // Pass to Host: eflag and emax | ||
66 | return(eflag); | ||
67 | } | ||
diff --git a/dsplib_benchmarks/maxvec/maxvec.cmd b/dsplib_benchmarks/maxvec/maxvec.cmd new file mode 100644 index 0000000..94bf6e6 --- /dev/null +++ b/dsplib_benchmarks/maxvec/maxvec.cmd | |||
@@ -0,0 +1,68 @@ | |||
1 | /**********************************************************/ | ||
2 | /* */ | ||
3 | /* LINKER command file for LEAD3 memory map */ | ||
4 | /* */ | ||
5 | /**********************************************************/ | ||
6 | |||
7 | -stack 0x1000 /* PRIMARY STACK SIZE */ | ||
8 | -sysstack 0x0400 /* SECONDARY STACK SIZE */ | ||
9 | -heap 0x1000 /* HEAP AREA SIZE */ | ||
10 | |||
11 | MEMORY | ||
12 | { | ||
13 | PAGE 0: | ||
14 | |||
15 | MMR : origin = 0000000h, length = 00000c0h | ||
16 | SPRAM : origin = 00000c0h, length = 0000040 | ||
17 | DARAM0 : origin = 0000100h, length = 0003F00h | ||
18 | DARAM1 : origin = 0004000h, length = 0004000h | ||
19 | DARAM2 : origin = 0008000h, length = 0004000h | ||
20 | DARAM3 : origin = 000c000h, length = 0004000h | ||
21 | |||
22 | SARAM01 : origin = 0010000h, length = 0008000h | ||
23 | SARAM2 : origin = 0018000h, length = 0004000h | ||
24 | SARAM3 : origin = 001c000h, length = 0004000h | ||
25 | SARAM4 : origin = 0020000h, length = 0004000h | ||
26 | SARAM5 : origin = 0024000h, length = 0004000h | ||
27 | SARAM6 : origin = 0028000h, length = 0004000h | ||
28 | SARAM7 : origin = 002c000h, length = 0004000h | ||
29 | SARAM8 : origin = 0030000h, length = 0004000h | ||
30 | SARAM9 : origin = 0034000h, length = 0004000h | ||
31 | SARAM10 : origin = 0038000h, length = 0004000h | ||
32 | SARAM11 : origin = 003c000h, length = 0004000h | ||
33 | SARAM12 : origin = 0040000h, length = 0004000h | ||
34 | SARAM13 : origin = 0044000h, length = 0004000h | ||
35 | SARAM14 : origin = 0048000h, length = 0004000h | ||
36 | SARAM15 : origin = 004c000h, length = 0004000h | ||
37 | |||
38 | CE0 : origin = 0050000h, length = 03b0000h | ||
39 | CE1 : origin = 0400000h, length = 0400000h | ||
40 | CE2 : origin = 0800000h, length = 0400000h | ||
41 | CE3 : origin = 0c00000h, length = 03f8000h | ||
42 | |||
43 | PDROM : origin = 0ff8000h, length = 07f00h | ||
44 | VECS : origin = 0ffff00h, length = 00100h /* reset vector */ | ||
45 | } | ||
46 | |||
47 | |||
48 | SECTIONS | ||
49 | { | ||
50 | vectors (NOLOAD) : {} > DARAM0 PAGE 0 /* interrupt vector table */ /* was VECS */ | ||
51 | .cinit : {} > SARAM01 PAGE 0 | ||
52 | .text : {} > SARAM01 PAGE 0 | ||
53 | isrs : {} > SARAM2 PAGE 0 | ||
54 | |||
55 | .stack : {} > DARAM0 PAGE 0 ALIGN = 4 | ||
56 | .sysstack: {} > DARAM0 PAGE 0 ALIGN = 4 | ||
57 | .sysmem : {} > DARAM1 PAGE 0 ALIGN = 4 | ||
58 | .data : {} > SARAM8 PAGE 0 /* force .data to not be on Page 0 */ | ||
59 | .bss:saram : {} > DARAM2 PAGE 0 /* must be a different on-chip block than .bss */ | ||
60 | .bss:saram2 : {} > SARAM3 PAGE 0 /* must be a different on-chip block than .bss */ | ||
61 | //.bss : {} > SARAM15 PAGE 0 /* for normal testing, move .bss off of DARAM */ | ||
62 | .bss : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .bss in DARAM */ | ||
63 | .input : {} > DARAM3 PAGE 0 /* for optimal timing tests, put .input in DARAM */ | ||
64 | .coeffs : {} > DARAM0 PAGE 0 /* for optimal timing tests, put .coeffs in DARAM */ | ||
65 | .dbuffer : {} > DARAM1 PAGE 0 /* for optimal timing tests, put .dbuffer in DARAM */ | ||
66 | .const : {} > SARAM8 PAGE 0 | ||
67 | .cio : {} > DARAM2 PAGE 0 | ||
68 | } \ No newline at end of file | ||
diff --git a/dsplib_benchmarks/maxvec/t1.h b/dsplib_benchmarks/maxvec/t1.h new file mode 100644 index 0000000..5ddd35e --- /dev/null +++ b/dsplib_benchmarks/maxvec/t1.h | |||
@@ -0,0 +1,53 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: tst1 */ | ||
36 | #define NX 6 | ||
37 | #define FNAME "t1" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 3276, | ||
42 | 9830, | ||
43 | 6553, | ||
44 | 26214, | ||
45 | -13108, | ||
46 | -3277, | ||
47 | }; | ||
48 | |||
49 | DATA r_testval = 26214; | ||
50 | DATA r_testidx = 3; | ||
51 | |||
52 | DATA r_val; | ||
53 | DATA r_idx; | ||
diff --git a/dsplib_benchmarks/maxvec/t2.h b/dsplib_benchmarks/maxvec/t2.h new file mode 100644 index 0000000..9f45c83 --- /dev/null +++ b/dsplib_benchmarks/maxvec/t2.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: rand */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t2" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 29499, | ||
42 | -17621, | ||
43 | 7002, | ||
44 | -919, | ||
45 | 25644, | ||
46 | 17176, | ||
47 | -2853, | ||
48 | -31556, | ||
49 | 21063, | ||
50 | -3624, | ||
51 | 7564, | ||
52 | 19132, | ||
53 | 27643, | ||
54 | 15611, | ||
55 | -21217, | ||
56 | -6180, | ||
57 | }; | ||
58 | |||
59 | DATA r_testval = 29499; | ||
60 | DATA r_testidx = 0; | ||
61 | |||
62 | DATA r_val; | ||
63 | DATA r_idx; | ||
diff --git a/dsplib_benchmarks/maxvec/t3.h b/dsplib_benchmarks/maxvec/t3.h new file mode 100644 index 0000000..f36a142 --- /dev/null +++ b/dsplib_benchmarks/maxvec/t3.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: rmup */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t3" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 0, | ||
42 | 2048, | ||
43 | 4096, | ||
44 | 6144, | ||
45 | 8192, | ||
46 | 10240, | ||
47 | 12288, | ||
48 | 14336, | ||
49 | 16384, | ||
50 | 18432, | ||
51 | 20480, | ||
52 | 22528, | ||
53 | 24576, | ||
54 | 26624, | ||
55 | 28672, | ||
56 | 30720, | ||
57 | }; | ||
58 | |||
59 | DATA r_testval = 30720; | ||
60 | DATA r_testidx = 15; | ||
61 | |||
62 | DATA r_val; | ||
63 | DATA r_idx; | ||
diff --git a/dsplib_benchmarks/maxvec/t4.h b/dsplib_benchmarks/maxvec/t4.h new file mode 100644 index 0000000..1deee2f --- /dev/null +++ b/dsplib_benchmarks/maxvec/t4.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: rmdn */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t4" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 30720, | ||
42 | 28672, | ||
43 | 26624, | ||
44 | 24576, | ||
45 | 22528, | ||
46 | 20480, | ||
47 | 18432, | ||
48 | 16384, | ||
49 | 14336, | ||
50 | 12288, | ||
51 | 10240, | ||
52 | 8192, | ||
53 | 6144, | ||
54 | 4096, | ||
55 | 2048, | ||
56 | 0, | ||
57 | }; | ||
58 | |||
59 | DATA r_testval = 30720; | ||
60 | DATA r_testidx = 0; | ||
61 | |||
62 | DATA r_val; | ||
63 | DATA r_idx; | ||
diff --git a/dsplib_benchmarks/maxvec/t5.h b/dsplib_benchmarks/maxvec/t5.h new file mode 100644 index 0000000..8468f0c --- /dev/null +++ b/dsplib_benchmarks/maxvec/t5.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: tst7 */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t5" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 2, | ||
42 | 21, | ||
43 | 3, | ||
44 | 4, | ||
45 | 5, | ||
46 | 4, | ||
47 | 3, | ||
48 | 2, | ||
49 | 6, | ||
50 | 7, | ||
51 | 8, | ||
52 | 9, | ||
53 | 10, | ||
54 | 9, | ||
55 | 18, | ||
56 | 21, | ||
57 | }; | ||
58 | |||
59 | DATA r_testval = 21; | ||
60 | DATA r_testidx = 1; | ||
61 | |||
62 | DATA r_val; | ||
63 | DATA r_idx; | ||
diff --git a/dsplib_benchmarks/maxvec/t6.h b/dsplib_benchmarks/maxvec/t6.h new file mode 100644 index 0000000..5ffb540 --- /dev/null +++ b/dsplib_benchmarks/maxvec/t6.h | |||
@@ -0,0 +1,63 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: tst8 */ | ||
36 | #define NX 16 | ||
37 | #define FNAME "t6" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 2, | ||
42 | 21, | ||
43 | 3, | ||
44 | 4, | ||
45 | 5, | ||
46 | 4, | ||
47 | 3, | ||
48 | 2, | ||
49 | 6, | ||
50 | 7, | ||
51 | 8, | ||
52 | 9, | ||
53 | 10, | ||
54 | 21, | ||
55 | 18, | ||
56 | 20, | ||
57 | }; | ||
58 | |||
59 | DATA r_testval = 21; | ||
60 | DATA r_testidx = 1; | ||
61 | |||
62 | DATA r_val; | ||
63 | DATA r_idx; | ||
diff --git a/dsplib_benchmarks/maxvec/t7.h b/dsplib_benchmarks/maxvec/t7.h new file mode 100644 index 0000000..58bcdfe --- /dev/null +++ b/dsplib_benchmarks/maxvec/t7.h | |||
@@ -0,0 +1,207 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: rand */ | ||
36 | #define NX 160 | ||
37 | #define FNAME "t7" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 28538, | ||
42 | 27322, | ||
43 | -5881, | ||
44 | 25798, | ||
45 | -28975, | ||
46 | -9643, | ||
47 | 20523, | ||
48 | -32122, | ||
49 | -23666, | ||
50 | -19480, | ||
51 | -19745, | ||
52 | 6802, | ||
53 | -14930, | ||
54 | -19739, | ||
55 | -31768, | ||
56 | 16173, | ||
57 | -3599, | ||
58 | 28299, | ||
59 | -2229, | ||
60 | -5332, | ||
61 | 22689, | ||
62 | 1648, | ||
63 | -19488, | ||
64 | 11281, | ||
65 | 22158, | ||
66 | -31481, | ||
67 | 11880, | ||
68 | -7899, | ||
69 | 21744, | ||
70 | 184, | ||
71 | 13727, | ||
72 | -4661, | ||
73 | -12805, | ||
74 | -20339, | ||
75 | -20092, | ||
76 | 11942, | ||
77 | -12927, | ||
78 | 2731, | ||
79 | -22881, | ||
80 | 12969, | ||
81 | -7971, | ||
82 | 23593, | ||
83 | 23177, | ||
84 | 6131, | ||
85 | -226, | ||
86 | 26199, | ||
87 | 21078, | ||
88 | 9496, | ||
89 | 20838, | ||
90 | 10500, | ||
91 | -10357, | ||
92 | -13781, | ||
93 | -10408, | ||
94 | 2233, | ||
95 | 14884, | ||
96 | -12499, | ||
97 | 22183, | ||
98 | 4461, | ||
99 | -8493, | ||
100 | 13286, | ||
101 | 3052, | ||
102 | -3613, | ||
103 | 12751, | ||
104 | 7950, | ||
105 | 19321, | ||
106 | 29939, | ||
107 | 1480, | ||
108 | 24912, | ||
109 | -21434, | ||
110 | 31440, | ||
111 | -14979, | ||
112 | -16232, | ||
113 | 24624, | ||
114 | 15552, | ||
115 | -23822, | ||
116 | -31998, | ||
117 | 25814, | ||
118 | -19718, | ||
119 | -13191, | ||
120 | 10580, | ||
121 | -14129, | ||
122 | -2017, | ||
123 | -28523, | ||
124 | 32003, | ||
125 | 5425, | ||
126 | -5014, | ||
127 | 1016, | ||
128 | -10883, | ||
129 | -4398, | ||
130 | -17961, | ||
131 | 5230, | ||
132 | 17063, | ||
133 | 1954, | ||
134 | 9209, | ||
135 | -19067, | ||
136 | -7877, | ||
137 | 18568, | ||
138 | 11851, | ||
139 | -2550, | ||
140 | 4445, | ||
141 | 19281, | ||
142 | -28890, | ||
143 | 6741, | ||
144 | -29474, | ||
145 | -5546, | ||
146 | -12780, | ||
147 | 24534, | ||
148 | -31785, | ||
149 | 17560, | ||
150 | 30857, | ||
151 | 32118, | ||
152 | 18930, | ||
153 | -4021, | ||
154 | -111, | ||
155 | -18746, | ||
156 | 9403, | ||
157 | -11795, | ||
158 | 30153, | ||
159 | 14852, | ||
160 | -5771, | ||
161 | 16027, | ||
162 | -15208, | ||
163 | -3938, | ||
164 | 28401, | ||
165 | 12014, | ||
166 | -18838, | ||
167 | 22232, | ||
168 | 8440, | ||
169 | -24002, | ||
170 | -19194, | ||
171 | 7025, | ||
172 | 8512, | ||
173 | -8489, | ||
174 | 4924, | ||
175 | -3184, | ||
176 | -29892, | ||
177 | -30987, | ||
178 | -12276, | ||
179 | -31926, | ||
180 | -7605, | ||
181 | 12000, | ||
182 | -26684, | ||
183 | -30453, | ||
184 | 7365, | ||
185 | 7113, | ||
186 | -31736, | ||
187 | -31697, | ||
188 | -20312, | ||
189 | 5696, | ||
190 | -28995, | ||
191 | -8680, | ||
192 | 8614, | ||
193 | 14262, | ||
194 | 12626, | ||
195 | -27258, | ||
196 | -2992, | ||
197 | -3813, | ||
198 | -9618, | ||
199 | -22702, | ||
200 | 11511, | ||
201 | }; | ||
202 | |||
203 | DATA r_testval = 32118; | ||
204 | DATA r_testidx = 110; | ||
205 | |||
206 | DATA r_val; | ||
207 | DATA r_idx; | ||
diff --git a/dsplib_benchmarks/maxvec/t8.h b/dsplib_benchmarks/maxvec/t8.h new file mode 100644 index 0000000..a124c2f --- /dev/null +++ b/dsplib_benchmarks/maxvec/t8.h | |||
@@ -0,0 +1,303 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | ||
3 | * | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions | ||
7 | * are met: | ||
8 | * | ||
9 | * Redistributions of source code must retain the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer. | ||
11 | * | ||
12 | * Redistributions in binary form must reproduce the above copyright | ||
13 | * notice, this list of conditions and the following disclaimer in the | ||
14 | * documentation and/or other materials provided with the | ||
15 | * distribution. | ||
16 | * | ||
17 | * Neither the name of Texas Instruments Incorporated nor the names of | ||
18 | * its contributors may be used to endorse or promote products derived | ||
19 | * from this software without specific prior written permission. | ||
20 | * | ||
21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
22 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
23 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
24 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
25 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
26 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
27 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
28 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
29 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
30 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
31 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
32 | * | ||
33 | */ | ||
34 | |||
35 | /* This is a test for maxvec: rand */ | ||
36 | #define NX 256 | ||
37 | #define FNAME "t8" | ||
38 | #define MAXERROR 0 | ||
39 | |||
40 | DATA x[NX] ={ | ||
41 | 13055, | ||
42 | 14910, | ||
43 | -1417, | ||
44 | 3594, | ||
45 | -24836, | ||
46 | -3228, | ||
47 | 14148, | ||
48 | 25745, | ||
49 | -14870, | ||
50 | -16072, | ||
51 | 32731, // 23960, | ||
52 | -17541, | ||
53 | 19980, | ||
54 | 26764, | ||
55 | -17571, | ||
56 | -17085, | ||
57 | -29508, | ||
58 | -27632, | ||
59 | 9228, | ||
60 | -20259, | ||
61 | 22535, | ||
62 | -21372, | ||
63 | -21575, | ||
64 | 32394, | ||
65 | -3946, | ||
66 | -10483, | ||
67 | -12176, | ||
68 | -8843, | ||
69 | -6997, | ||
70 | 5998, | ||
71 | -24921, | ||
72 | -30270, | ||
73 | -2714, | ||
74 | 24239, | ||
75 | 28458, | ||
76 | -15438, | ||
77 | -22263, | ||
78 | 24435, | ||
79 | -17179, | ||
80 | 9557, | ||
81 | 30597, | ||
82 | 10808, | ||
83 | 24273, | ||
84 | -32118, | ||
85 | -23789, | ||
86 | 20889, | ||
87 | -4577, | ||
88 | 25580, | ||
89 | 15394, | ||
90 | 12276, | ||
91 | -10086, | ||
92 | -21887, | ||
93 | -22570, | ||
94 | -20243, | ||
95 | -5083, | ||
96 | 23329, | ||
97 | -639, | ||
98 | 20705, | ||
99 | -2571, | ||
100 | -2795, | ||
101 | -3232, | ||
102 | -5753, | ||
103 | 26319, | ||
104 | -32403, | ||
105 | -13278, | ||
106 | -29547, | ||
107 | 12660, | ||
108 | 9837, | ||
109 | 31653, | ||
110 | 3451, | ||
111 | -6549, | ||
112 | -19741, | ||
113 | 8205, | ||
114 | 15293, | ||
115 | -8134, | ||
116 | -32121, | ||
117 | -5253, | ||
118 | 16624, | ||
119 | 19259, | ||
120 | 27522, | ||
121 | 22591, | ||
122 | -8667, | ||
123 | 7916, | ||
124 | 15156, | ||
125 | -20062, | ||
126 | 26529, | ||
127 | 4535, | ||
128 | 8636, | ||
129 | -17406, | ||
130 | 3196, | ||
131 | 28284, | ||
132 | -10801, | ||
133 | 10192, | ||
134 | -7085, | ||
135 | 8343, | ||
136 | 13046, | ||
137 | -6739, | ||
138 | -5661, | ||
139 | 10172, | ||
140 | 22123, | ||
141 | -8415, | ||
142 | -4899, | ||
143 | 6203, | ||
144 | 4308, | ||
145 | 14191, | ||
146 | 741, | ||
147 | 18114, | ||
148 | -699, | ||
149 | -20585, | ||
150 | 13148, | ||
151 | 31634, | ||
152 | 20095, | ||
153 | 13341, | ||
154 | -986, | ||
155 | -25257, | ||
156 | 10803, | ||
157 | -8823, | ||
158 | -23591, | ||
159 | 4376, | ||
160 | 21168, | ||
161 | 11399, | ||
162 | 33, | ||
163 | 30253, | ||
164 | -28911, | ||
165 | -9155, | ||
166 | 3179, | ||
167 | -15613, | ||
168 | 6379, | ||
169 | -29539, | ||
170 | 4656, | ||
171 | 13163, | ||
172 | 30296, | ||
173 | 16417, | ||
174 | 15728, | ||
175 | -4465, | ||
176 | 8799, | ||
177 | 19859, | ||
178 | -27271, | ||
179 | 29193, | ||
180 | 27259, | ||
181 | 6683, | ||
182 | -16151, | ||
183 | 24474, | ||
184 | 878, | ||
185 | 15246, | ||
186 | -5097, | ||
187 | 30236, | ||
188 | -28046, | ||
189 | 3500, | ||
190 | -13633, | ||
191 | 23459, | ||
192 | -10764, | ||
193 | 11809, | ||
194 | -29266, | ||
195 | -9395, | ||
196 | -112, | ||
197 | -4297, | ||
198 | 4093, | ||
199 | 7642, | ||
200 | -25341, | ||
201 | 26099, | ||
202 | 16682, | ||
203 | 19079, | ||
204 | 20640, | ||
205 | 11141, | ||
206 | -19604, | ||
207 | -14871, | ||
208 | 8272, | ||
209 | 2415, | ||
210 | -28869, | ||
211 | -26938, | ||
212 | -14988, | ||
213 | -5960, | ||
214 | -1702, | ||
215 | 26803, | ||
216 | 6307, | ||
217 | -11210, | ||
218 | -1430, | ||
219 | 6368, | ||
220 | -22188, | ||
221 | 21592, | ||
222 | 29892, | ||
223 | 6261, | ||
224 | -30884, | ||
225 | 20454, | ||
226 | 7216, | ||
227 | 13205, | ||
228 | -26726, | ||
229 | -4923, | ||
230 | -8155, | ||
231 | -21879, | ||
232 | 21833, | ||
233 | 22193, | ||
234 | -3172, | ||
235 | 29923, | ||
236 | -23125, | ||
237 | 24243, | ||
238 | 17657, | ||
239 | -3660, | ||
240 | 7904, | ||
241 | 29601, | ||
242 | 9175, | ||
243 | -16560, | ||
244 | -9654, | ||
245 | -20457, | ||
246 | -614, | ||
247 | -5946, | ||
248 | -2391, | ||
249 | 7270, | ||
250 | -28104, | ||
251 | -12172, | ||
252 | 7103, | ||
253 | -21298, | ||
254 | 7931, | ||
255 | -16649, | ||
256 | 5725, | ||
257 | 396, | ||
258 | -2309, | ||
259 | 2714, | ||
260 | 28988, | ||
261 | -10371, | ||
262 | -6436, | ||
263 | -12604, | ||
264 | -5796, | ||
265 | -14029, | ||
266 | -6939, | ||
267 | 197, | ||
268 | 14547, | ||
269 | -12701, | ||
270 | -25418, | ||
271 | -3717, | ||
272 | -2179, | ||
273 | -31807, | ||
274 | 10751, | ||
275 | 14684, | ||
276 | -14311, | ||
277 | -15610, | ||
278 | 13662, | ||
279 | 18602, | ||
280 | 31860, | ||
281 | -1748, | ||
282 | 26399, | ||
283 | -3208, | ||
284 | 19956, | ||
285 | 21552, | ||
286 | -21872, | ||
287 | -6953, | ||
288 | 1360, | ||
289 | 14294, | ||
290 | 4534, | ||
291 | -2569, | ||
292 | -3585, | ||
293 | -27018, | ||
294 | -3704, | ||
295 | -8763, | ||
296 | -12942, | ||
297 | }; | ||
298 | |||
299 | DATA r_testval = 32731; | ||
300 | DATA r_testidx = 10; | ||
301 | |||
302 | DATA r_val; | ||
303 | DATA r_idx; | ||