C/C++ Compiler Language Extensions
Multiply and accumulate
fract32 L_mac (fract32, fract16, fract16)
This function performs a fractional multiplication of the two 16-bit
parameters and returns the saturated sum of the multiplication result with
the 32-bit parameter.
Multiply and accumulate without saturation
fract32 L_macNs (fract32, fract16, fract16)
This function performs a non-saturating version of the
Multiply both the most significant bits and the least significant bits of a
long, by the same short
fract32 L_mls (fract32, fract16)
Multiply and subtract
fract32 L_msu (fract32, fract16, fract16)
This function performs a fractional multiplication of the two 16-bit
parameters and returns the saturated subtraction of the multiplication
result with the 32-bit parameter.
Multiply and subtract without saturation
fract32 L_msuNs (fract32, fract16, fract16)
This function performs a non-saturating version of the
Long multiply
fract32 L_mult (fract16, fract16)
This function returns the 32-bit result of the fractional multiplication of
the two 16-bit parameters.
Long negate
fract32 L_negate (fract32)
1-116
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
operation.
L_mac
operation.
L_msu
for ADSP-219x DSPs
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?