This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
根据TI最新发布的FPU计算库,它说让rts2800_fpu32_fast_supplement.lib代替rts2800_fpu32.lib,可以让一些数学运算变得更快,我想问一下,“代替”是指:
删除rts2800_fpu32.lib只留rts2800_fpu32_fast_supplement.lib用还是两个都需要添加?
还有rts2800_fpu32_fast_supplement.lib和IQmath_fpu32是什么区别,我用一些简单的加减乘除、平方开方、sin\cos,需要用到哪些库?是rts2800_fpu32_fast_supplement.lib和IQmath_fpu32都需要添加吗?
To use the fastRTS functions in place of the existing functions the fastRTS library must be
linked before the existing run-time support library. The fastRTS library replaces only a subset
of the functions in the current run time support libraries. Therefore, the standard runtime
support library should be linked after the fastRTS library.
rts2800_fpu32.lib和rts2800_fpu32_fast_supplement.lib只留一个就可以,rts2800_fpu32_fast_supplement是经过优化的lib,编译的时候调用会提高运算速度。
rts2800_fpu32_fast_supplement.lib只有具有FPU的处理器才可以用。IQmath_fpu32是定点DSP用的,比如2812,2808都是通过IQmath把浮点运算转换成定点运算,这样可以提高运算速度。
如果你的DSP是有FPU的那就可以用rts2800_fpu32_fast_supplement.lib,反之用IQmath_fpu32。
无论调用哪个lib都要按照相关lib的介绍来调用相关的函数的。