28335的浮点运算怎么使用啊?需要配置什么???新手不懂,,,还是说定义两个浮点说,float a,b,c;在程序中进行乘法运算时c=aXb;时,会自动调用FPU啊??
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.
28335芯片,CCSv4环境下,连了两个浮点函数库rts2800_fpu32_fast_supplement.lib和rts2800_fpu32.lib,前者优先,根据要求浮点支持也已打开。
通过调试,可以确认函数库应该是连接正常的,编译无错误,计算结果也都正确,但发现调用rts2800_fpu32_fast_supplement.lib里的其他函数时,比如sin,cos等计算时,计算速度较快,通过ccs里的clock功能查看,就几十个时钟周期,符合rts2800_fpu32_fast_supplement.lib说明文档里对各函数计算时间的描述。