55 const unsigned int num_bytes = num_points * 2;
57 short candidate = src0[0];
59 __m128i xmm0, xmm1, xmm3, xmm4, xmm5, xmm6;
65 int bound = num_bytes >> 4;
66 int leftovers = (num_bytes >> 1) & 7;
76 for (i = 0; i < bound; ++i) {
95 for (i = 0; i < 8; ++i) {
96 candidate = ((short)(candidate - cands[i]) > 0) ? candidate : cands[i];
99 for (i = 0; i < leftovers; ++i) {
100 candidate = ((short)(candidate - src0[(bound << 3) + i]) > 0)
102 : src0[(bound << 3) + i];
105 target[0] = candidate;