|
Posted by mike on July 26, 2007, 5:56 pm
Please log in for more thread options
I have the following code:
__m64 vtmp0, vtmp1, vtmp2, vtmp3;
__int64 tmpBuf = 0;
vtmp0 = _m_cvt_si2pi(
*( __int64* ) ( src )
);
vtmp1 = _m_cvt_si2pi(
*( __int64* ) ( src + 8 )
);
vtmp3 = _mm_packs_su64(
vtmp0
,vtmp1
);
tmpBuf = _m_cvt_pi2si( vtmp0 );
memcpy( dst, &tmpBuf, sizeof( tmpBuf ) );
And, I have a pointer that I want to put vtmp3 into. Is there a
similar stream intrinsic for ARM as there is with x86? Is the memcpy
the way I'm supposed to do this?
Thanks,
Mike
|