请问,TI 的IQmath 库和fastRTS lib 库有什么用啊?有人用过没有?
什么时候会用到?
Shine:
当你要提高代码效率和速度的时候, 用IQmath和fast RTS lib, IQmath支持Q格式的算法, 比ANSI C写法更快更有效. fastRTS lib相对于RTS lib而言, 支持浮点算法, 比RTS lib库更快更有效.
For fixed point device (64x+ in this case), it is always preferable to modify the algorithm to use fixed point arithmetic. The floating point emulation kernels that will be called from the RTS support library will be slow. IQMath is a fixed point library and will perform faster as compared to the floating point emulation library. On a fixed point device, the below is what you should try:
Implement natively in fixed point for best performance
Implement using IQMath lib that provides better control on precision but still allowing staying in fixed pointInline the IQMath APIs to get better performance. The std release includes the source for most commonly used APIs that you can inline.
Call the IQMath APIs from the lib if you can't inlineFor still higher dynamic range or genuine need to stay in floating point, use fastRTS library
Use inline version of fastRTS APIs. The source is provided with the release
Call the fastRTS APIs from the lib if you can't inlineFor float kernels that are one time call or not performance critical, use regular RTS
bin yu3:
回复 Shine:
您好,我下载安装了C67x fastRTS library,安装在默认路径下,我想调用里面的函数来提高计算速度,但是在CCS设置General->Runtime support library 中没有显示fastRTS lib,应该怎么来设置呢。
Shine:
回复 bin yu3:
在ccs->Show Build Settings->Build->C6000 Linker->File Search Path->Include libarary file or command file as input (–library, -l)里添加。