blob: 6b62b7090a0f7534f9bd659b8a3b38fbc29d3a65 [file] [log] [blame]
Bill Yi4e213d52015-06-23 13:53:11 -07001/* Internal definitions for dotproduct function */
2
3struct 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};