Hi:
I have questions about the dotp2 and ldotp2 intrinsics. Below is the description from Table 2.7 (Table 2−7. TMS320C64x/C64x+ C/C++ Compiler Intrinsics (Continued)) of SPRU198K.
Based of the description of dotp2, is it correct to say that the accumulation is 32 bits.
Silimalry, based on the description of ldotp2, the accumulation is 64 bits.
In both cases we have products of 16 bit numbers.
Thanks a lot!
Cheers,
Mushtaq
int _dotp2(int src1, int src2); DOTP2
double _ldotp2(int src1, int src2); LDOTP2
The product of the signed lower 16-bit values of
src1 and src2 is added to the product of the
signed upper 16-bit values of src1 and src2.
The _lo and _hi intrinsics are needed to access
each half of the 64-bit integer result.