hi: TI 的工程师你好?
我这边硬件平台是 TMSF28069 加载 的 iqmath_fpu32.lib 打开 fpu32 –opt_level off –opt_for_speed 2 –fp_mode strict
使用中 有几点疑问,麻烦解答一下,谢谢
1:在编译时 MATH_TYPE = FLOAT_MATH 选择浮点时没有问题, 但是在选择 MATH_TYPE = IQ_MATH 定点时就会有如下这样的 warning ,不知是怎么引起的该怎么消除,
2:在出现上面警告时发现 计算上面的 函数的 结果是对的, 但是 计算的时间是有明显的差异的
以_IQsin为例 执行_IQsin 1万次 在MATH_TYPE = FLOAT_MATH 时需要 9.06-1.326 =7.734ms 在MATH_TYPE = IQ_MATH 时需要 7.160-1.326 =5.834ms
请问这时我的 IQmath_fpu32.lib 使用的是否有问题
3:在上面的情况下我发现 做 float*float 的时间 几乎 和 long*long的时间 所以 我想请问 在浮点计算时 TI 是否也提供了 对这样 的 _IQsin 等 复杂函数的运算库, 具体要怎么做? 在 motoware 里 的 2806xRevB_FastSpinROMSymbols_fpu32.lib 是干什么用的 添加进工程后, 在工程的.cmd 文件里要修改吗?
Description Resource Path Location Type
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24cos.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24div.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24exp.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sin.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sinPU.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sqrt.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24toF.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQmathTables.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQNexpTable.obj>": compatibility cannot be determined leopard C/C++ Problem
Seven Han:问题1.Warning: build attribute vendor section TI missing in "<library or object> : compatibility cannot be determined
The library was built with an older tool set than the application it is being linked into. Older tools did not define this attribution. Build attributes have existed for quite sometime so this warning is the exception. Previously the tools interpreted files with no build attributes as having 0 values, but this is incorrect. They are now treated as compatible with everything, but warn the user that they are on their own.Examples:
The IQmath Library which is built with an older compiler but is compatible with current compilers.
Flash API which is built with older compilers due to testing.
SFO library used for the HRPWM module.
NOTE: To suppress the warning you can use the linker option –diag_suppress=16002 which can be placed in the linker command file以上是WIKI中描述,是说library兼容性的问题,The IQmath Library which is built with an older compiler but is compatible with current compilers.可以忽略。http://processors.wiki.ti.com/index.php/C28x_Compiler_Error_and_Warning_Messages
hi: TI 的工程师你好?
我这边硬件平台是 TMSF28069 加载 的 iqmath_fpu32.lib 打开 fpu32 –opt_level off –opt_for_speed 2 –fp_mode strict
使用中 有几点疑问,麻烦解答一下,谢谢
1:在编译时 MATH_TYPE = FLOAT_MATH 选择浮点时没有问题, 但是在选择 MATH_TYPE = IQ_MATH 定点时就会有如下这样的 warning ,不知是怎么引起的该怎么消除,
2:在出现上面警告时发现 计算上面的 函数的 结果是对的, 但是 计算的时间是有明显的差异的
以_IQsin为例 执行_IQsin 1万次 在MATH_TYPE = FLOAT_MATH 时需要 9.06-1.326 =7.734ms 在MATH_TYPE = IQ_MATH 时需要 7.160-1.326 =5.834ms
请问这时我的 IQmath_fpu32.lib 使用的是否有问题
3:在上面的情况下我发现 做 float*float 的时间 几乎 和 long*long的时间 所以 我想请问 在浮点计算时 TI 是否也提供了 对这样 的 _IQsin 等 复杂函数的运算库, 具体要怎么做? 在 motoware 里 的 2806xRevB_FastSpinROMSymbols_fpu32.lib 是干什么用的 添加进工程后, 在工程的.cmd 文件里要修改吗?
Description Resource Path Location Type
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24cos.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24div.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24exp.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sin.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sinPU.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sqrt.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24toF.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQmathTables.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQNexpTable.obj>": compatibility cannot be determined leopard C/C++ Problem
guoz:
回复 Seven Han:
这个 我是有看过的, 对我目前的疑惑没有什么帮助啊, 我知道他是警告,我也验证过计算结果是正确的
但是 在 controlSUITE_3_4_6\libs\math\IQmath\v160\examples_ccsv4 这个例子里 为什么 就没有这样 警告,我使用的 iqmath 是V160 的 和 controlSUITE_3_4_6\libs\math\IQmath\v160\examples_ccsv4 例子是一个版本 而且 例子里 在diagnostics 里 也没有 屏蔽这个 警告,
我反复比较过 配置 没找到区别在 很遗憾 发上来 问的啊
hi: TI 的工程师你好?
我这边硬件平台是 TMSF28069 加载 的 iqmath_fpu32.lib 打开 fpu32 –opt_level off –opt_for_speed 2 –fp_mode strict
使用中 有几点疑问,麻烦解答一下,谢谢
1:在编译时 MATH_TYPE = FLOAT_MATH 选择浮点时没有问题, 但是在选择 MATH_TYPE = IQ_MATH 定点时就会有如下这样的 warning ,不知是怎么引起的该怎么消除,
2:在出现上面警告时发现 计算上面的 函数的 结果是对的, 但是 计算的时间是有明显的差异的
以_IQsin为例 执行_IQsin 1万次 在MATH_TYPE = FLOAT_MATH 时需要 9.06-1.326 =7.734ms 在MATH_TYPE = IQ_MATH 时需要 7.160-1.326 =5.834ms
请问这时我的 IQmath_fpu32.lib 使用的是否有问题
3:在上面的情况下我发现 做 float*float 的时间 几乎 和 long*long的时间 所以 我想请问 在浮点计算时 TI 是否也提供了 对这样 的 _IQsin 等 复杂函数的运算库, 具体要怎么做? 在 motoware 里 的 2806xRevB_FastSpinROMSymbols_fpu32.lib 是干什么用的 添加进工程后, 在工程的.cmd 文件里要修改吗?
Description Resource Path Location Type
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24cos.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24div.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24exp.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sin.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sinPU.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24sqrt.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQ24toF.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQmathTables.obj>": compatibility cannot be determined leopard C/C++ Problem
#16002-D build attribute vendor section TI missing in "../F2806X/F2806x_lib/iqmath_v160/lib/IQmath_fpu32.lib<IQNexpTable.obj>": compatibility cannot be determined leopard C/C++ Problem
guoz:
回复 guoz:
我反复比较过 配置 没找到区别很疑惑 才发上来 问的啊