Important notes for Trimedia fixed-point implementation
masterWhen using optimized fixed-point code on Trimedia, be aware of the following:
- Memory Alignment: Optimized fixed-point code requires memory alignment. Use the configuration to debug functions where memory is not properly aligned.
- Rounding Differences: Some QX fractions are packed together using the formula
(frac1 * a + frac2 * a) >> Xinstead of((frac1 * a) >> X) + ((frac2 * a) >> X). This is done for accuracy in rounding but may cause slight differences between optimized and unoptimized code. - Testing Status: Fixed-point encoding/decoding is tested on narrowband. Wideband and ultra-wideband testing is not yet complete. Floating-point optimization for
preprocess/mdfis tested, but fixed-point optimization for these modules is not yet verified.