I have questions about the data multiplication and division computing in TMS320C64x DSP Library.
1, I want to keep the data computing including addition, subtraction,multiplication and division. The data I have is integer 16bit while the result of the multiplication and division is 32bit such as
“int DSP_dotprod(const short * restrict x, const short * restrict y, int nx)”.
Therefore I must use the result(32bit) of “DSP_dotprod(*)” to do addition or subtraction computing with other data(16bit). How can I fix this issue.
2, In c64x DSP library datasheet, there is saying: unless
specifically noted, DSPLIB functions use Q15 format. How can I change the
Q value, by which route?
P.S. The DSP chipset I use: TMS320C6416TG1Z
Thanks and Best Regards