Lines Matching refs:i

59     unsigned int i;  in helper_paddsb()  local
63 for (i = 0; i < 8; ++i) { in helper_paddsb()
64 int r = vs.sb[i] + vt.sb[i]; in helper_paddsb()
65 vs.sb[i] = SATSB(r); in helper_paddsb()
73 unsigned int i; in helper_paddusb() local
77 for (i = 0; i < 8; ++i) { in helper_paddusb()
78 int r = vs.ub[i] + vt.ub[i]; in helper_paddusb()
79 vs.ub[i] = SATUB(r); in helper_paddusb()
87 unsigned int i; in helper_paddsh() local
91 for (i = 0; i < 4; ++i) { in helper_paddsh()
92 int r = vs.sh[i] + vt.sh[i]; in helper_paddsh()
93 vs.sh[i] = SATSH(r); in helper_paddsh()
101 unsigned int i; in helper_paddush() local
105 for (i = 0; i < 4; ++i) { in helper_paddush()
106 int r = vs.uh[i] + vt.uh[i]; in helper_paddush()
107 vs.uh[i] = SATUH(r); in helper_paddush()
115 unsigned int i; in helper_paddb() local
119 for (i = 0; i < 8; ++i) { in helper_paddb()
120 vs.ub[i] += vt.ub[i]; in helper_paddb()
128 unsigned int i; in helper_paddh() local
132 for (i = 0; i < 4; ++i) { in helper_paddh()
133 vs.uh[i] += vt.uh[i]; in helper_paddh()
141 unsigned int i; in helper_paddw() local
145 for (i = 0; i < 2; ++i) { in helper_paddw()
146 vs.uw[i] += vt.uw[i]; in helper_paddw()
154 unsigned int i; in helper_psubsb() local
158 for (i = 0; i < 8; ++i) { in helper_psubsb()
159 int r = vs.sb[i] - vt.sb[i]; in helper_psubsb()
160 vs.sb[i] = SATSB(r); in helper_psubsb()
168 unsigned int i; in helper_psubusb() local
172 for (i = 0; i < 8; ++i) { in helper_psubusb()
173 int r = vs.ub[i] - vt.ub[i]; in helper_psubusb()
174 vs.ub[i] = SATUB(r); in helper_psubusb()
182 unsigned int i; in helper_psubsh() local
186 for (i = 0; i < 4; ++i) { in helper_psubsh()
187 int r = vs.sh[i] - vt.sh[i]; in helper_psubsh()
188 vs.sh[i] = SATSH(r); in helper_psubsh()
196 unsigned int i; in helper_psubush() local
200 for (i = 0; i < 4; ++i) { in helper_psubush()
201 int r = vs.uh[i] - vt.uh[i]; in helper_psubush()
202 vs.uh[i] = SATUH(r); in helper_psubush()
210 unsigned int i; in helper_psubb() local
214 for (i = 0; i < 8; ++i) { in helper_psubb()
215 vs.ub[i] -= vt.ub[i]; in helper_psubb()
223 unsigned int i; in helper_psubh() local
227 for (i = 0; i < 4; ++i) { in helper_psubh()
228 vs.uh[i] -= vt.uh[i]; in helper_psubh()
236 unsigned int i; in helper_psubw() local
240 for (i = 0; i < 2; ++i) { in helper_psubw()
241 vs.uw[i] -= vt.uw[i]; in helper_psubw()
250 unsigned i; in helper_pshufh() local
254 for (i = 0; i < 4; i++, ft >>= 2) { in helper_pshufh()
255 vd.uh[i ^ host] = vs.uh[(ft & 3) ^ host]; in helper_pshufh()
287 unsigned int i; in helper_packsshb() local
289 for (i = 0; i < 4; ++i) { in helper_packsshb()
290 int16_t tmp = fs >> (i * 16); in helper_packsshb()
292 fd |= (uint64_t)(tmp & 0xff) << (i * 8); in helper_packsshb()
294 for (i = 0; i < 4; ++i) { in helper_packsshb()
295 int16_t tmp = ft >> (i * 16); in helper_packsshb()
297 fd |= (uint64_t)(tmp & 0xff) << (i * 8 + 32); in helper_packsshb()
306 unsigned int i; in helper_packushb() local
308 for (i = 0; i < 4; ++i) { in helper_packushb()
309 int16_t tmp = fs >> (i * 16); in helper_packushb()
311 fd |= (uint64_t)(tmp & 0xff) << (i * 8); in helper_packushb()
313 for (i = 0; i < 4; ++i) { in helper_packushb()
314 int16_t tmp = ft >> (i * 16); in helper_packushb()
316 fd |= (uint64_t)(tmp & 0xff) << (i * 8 + 32); in helper_packushb()
403 unsigned i; in helper_pavgh() local
407 for (i = 0; i < 4; i++) { in helper_pavgh()
408 vs.uh[i] = (vs.uh[i] + vt.uh[i] + 1) >> 1; in helper_pavgh()
416 unsigned i; in helper_pavgb() local
420 for (i = 0; i < 8; i++) { in helper_pavgb()
421 vs.ub[i] = (vs.ub[i] + vt.ub[i] + 1) >> 1; in helper_pavgb()
429 unsigned i; in helper_pmaxsh() local
433 for (i = 0; i < 4; i++) { in helper_pmaxsh()
434 vs.sh[i] = (vs.sh[i] >= vt.sh[i] ? vs.sh[i] : vt.sh[i]); in helper_pmaxsh()
442 unsigned i; in helper_pminsh() local
446 for (i = 0; i < 4; i++) { in helper_pminsh()
447 vs.sh[i] = (vs.sh[i] <= vt.sh[i] ? vs.sh[i] : vt.sh[i]); in helper_pminsh()
455 unsigned i; in helper_pmaxub() local
459 for (i = 0; i < 4; i++) { in helper_pmaxub()
460 vs.ub[i] = (vs.ub[i] >= vt.ub[i] ? vs.ub[i] : vt.ub[i]); in helper_pmaxub()
468 unsigned i; in helper_pminub() local
472 for (i = 0; i < 4; i++) { in helper_pminub()
473 vs.ub[i] = (vs.ub[i] <= vt.ub[i] ? vs.ub[i] : vt.ub[i]); in helper_pminub()
481 unsigned i; in helper_pcmpeqw() local
485 for (i = 0; i < 2; i++) { in helper_pcmpeqw()
486 vs.uw[i] = -(vs.uw[i] == vt.uw[i]); in helper_pcmpeqw()
494 unsigned i; in helper_pcmpgtw() local
498 for (i = 0; i < 2; i++) { in helper_pcmpgtw()
499 vs.uw[i] = -(vs.uw[i] > vt.uw[i]); in helper_pcmpgtw()
507 unsigned i; in helper_pcmpeqh() local
511 for (i = 0; i < 4; i++) { in helper_pcmpeqh()
512 vs.uh[i] = -(vs.uh[i] == vt.uh[i]); in helper_pcmpeqh()
520 unsigned i; in helper_pcmpgth() local
524 for (i = 0; i < 4; i++) { in helper_pcmpgth()
525 vs.uh[i] = -(vs.uh[i] > vt.uh[i]); in helper_pcmpgth()
533 unsigned i; in helper_pcmpeqb() local
537 for (i = 0; i < 8; i++) { in helper_pcmpeqb()
538 vs.ub[i] = -(vs.ub[i] == vt.ub[i]); in helper_pcmpeqb()
546 unsigned i; in helper_pcmpgtb() local
550 for (i = 0; i < 8; i++) { in helper_pcmpgtb()
551 vs.ub[i] = -(vs.ub[i] > vt.ub[i]); in helper_pcmpgtb()
559 unsigned i; in helper_psllw() local
566 for (i = 0; i < 2; ++i) { in helper_psllw()
567 vs.uw[i] <<= ft; in helper_psllw()
575 unsigned i; in helper_psrlw() local
582 for (i = 0; i < 2; ++i) { in helper_psrlw()
583 vs.uw[i] >>= ft; in helper_psrlw()
591 unsigned i; in helper_psraw() local
598 for (i = 0; i < 2; ++i) { in helper_psraw()
599 vs.sw[i] >>= ft; in helper_psraw()
607 unsigned i; in helper_psllh() local
614 for (i = 0; i < 4; ++i) { in helper_psllh()
615 vs.uh[i] <<= ft; in helper_psllh()
623 unsigned i; in helper_psrlh() local
630 for (i = 0; i < 4; ++i) { in helper_psrlh()
631 vs.uh[i] >>= ft; in helper_psrlh()
639 unsigned i; in helper_psrah() local
646 for (i = 0; i < 4; ++i) { in helper_psrah()
647 vs.sh[i] >>= ft; in helper_psrah()
655 unsigned i; in helper_pmullh() local
659 for (i = 0; i < 4; ++i) { in helper_pmullh()
660 vs.sh[i] *= vt.sh[i]; in helper_pmullh()
668 unsigned i; in helper_pmulhh() local
672 for (i = 0; i < 4; ++i) { in helper_pmulhh()
673 int32_t r = vs.sh[i] * vt.sh[i]; in helper_pmulhh()
674 vs.sh[i] = r >> 16; in helper_pmulhh()
682 unsigned i; in helper_pmulhuh() local
686 for (i = 0; i < 4; ++i) { in helper_pmulhuh()
687 uint32_t r = vs.uh[i] * vt.uh[i]; in helper_pmulhuh()
688 vs.uh[i] = r >> 16; in helper_pmulhuh()
712 unsigned i; in helper_pasubub() local
716 for (i = 0; i < 8; ++i) { in helper_pasubub()
717 int r = vs.ub[i] - vt.ub[i]; in helper_pasubub()
718 vs.ub[i] = (r < 0 ? -r : r); in helper_pasubub()
725 unsigned i, fd; in helper_biadd() local
727 for (i = fd = 0; i < 8; ++i) { in helper_biadd()
728 fd += (fs >> (i * 8)) & 0xff; in helper_biadd()