Bill Yi | 4e213d5 | 2015-06-23 13:53:11 -0700 | [diff] [blame] | 1 | /* Internal definitions for dotproduct function */ |
2 | |||||
3 | struct dotprod { | ||||
4 | int len; /* Number of coefficients */ | ||||
5 | |||||
6 | /* On a MMX or SSE machine, these hold 4 copies of the coefficients, | ||||
7 | * preshifted by 0,1,2,3 words to meet all possible input data | ||||
8 | * alignments (see Intel ap559 on MMX dot products). | ||||
9 | * | ||||
10 | * SSE2 is similar, but with 8 words at a time | ||||
11 | * | ||||
12 | * On a non-MMX machine, only one copy is present | ||||
13 | */ | ||||
14 | signed short *coeffs[8]; | ||||
15 | }; |