Displaying 1 result from an estimated 1 matches for "_m_paddd".
Did you mean:
_m_paddw
2005 Apr 19
0
mmx optimization
...= *((__m64*) &mb->orig_mb[corner_x+1][corner_y]);
pred = *((__m64*) &mb->pred_mb[corner_x+1][corner_y]);
diff = _m_psubw (orig, pred);
cmp = _m_pcmpgtw (zeros, diff);
sign = _m_paddw (ones, cmp);
sign = _m_paddw (sign, cmp);
cmp = _m_pmaddwd (diff, sign);
sad = _m_paddd (sad, cmp);
orig = *((__m64*) &mb->orig_mb[corner_x+2][corner_y]);
pred = *((__m64*) &mb->pred_mb[corner_x+2][corner_y]);
diff = _m_psubw (orig, pred);
cmp = _m_pcmpgtw (zeros, diff);
sign = _m_paddw (ones, cmp);
sign = _m_paddw (sign, cmp);
cmp = _m_pmaddwd (d...