Displaying 1 result from an estimated 1 matches for "_m_to_int".
2005 Apr 19
0
mmx optimization
...b[corner_x+3][corner_y]);
pred = *((__m64*) &mb->pred_mb[corner_x+3][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);
return _m_to_int (sad) + _m_to_int (_m_psrlqi (sad, 32));
}
but it isn't faster. Does anyone of you have got a hint to make it faster?
I've got another question: why don't you call _mm_empty when you use
intrinsic asm?
Thank you and excuse me for the OT.
--
Ottavio Campana
Telecommunication Engine...