TIwilliam hill官网
直播中

刘玉英

7年用户 180经验值
私信 关注

请问28335浮点数使用IQmath转换后当定点数计算快还是用浮点数进行计算快?28335可以定点浮点混合编程吗?

本帖最后由 一只耳朵怪 于 2018-6-14 11:52 编辑

28335为浮点DSP ,现在假如我采用两种方法:1.浮点数使用IQmath转换后当定点数计算  2.直接用浮点数进行计算  这两种哪种计算速度快呀?   还有个,说28335可以定点浮点混合编程,但我看到的例子没有这样用的,谁能提供下混合编程的例子吗?学习下

回帖(5)

冯敬宇

2018-6-14 06:10:19
Yangyang,
关于浮点性能,可以参照下帖:http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/p/19499/65586.aspx#65586
至于混合编程,你是只IQmath和浮点一起用吗?还是指普通的定点运算再加上浮点运算?
Eric
                                                                         - ERIC
举报

刘玉英

2018-6-14 06:25:26
引用: guigui_7044 发表于 2018-6-14 06:10
Yangyang,
关于浮点性能,可以参照下帖:http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/p/19499/65586.aspx#65586
至于混合编程,你是只IQmath和浮点一起用吗?还是指普通的定点运算再加上浮点运算?

3Q   我其实也不了解怎么个混合编程法,只是看到这句话:
IQmath_f32.lib: This build of the library can be linked with code built with the
--float_support=fpu32 switch. This can be useful for mixing IQmath with native floating-point code on devices with the C28x+FPU.
好奇
举报

冯敬宇

2018-6-14 06:44:12
引用: ***z 发表于 2018-6-14 06:25
3Q   我其实也不了解怎么个混合编程法,只是看到这句话:
IQmath_f32.lib: This build of the library can be linked with code built with the
--float_support=fpu32 switch. This can be useful for mixing IQmath with native floating-point code on devices with the C28x+FPU.

Yangyang,
查看C:ticontrolSUITElibsmathIQmathv160doc 文档p253.11.  Converting an IQmath Application to Floating-Point.
Eric
                                                                         - ERIC
举报

刘玉英

2018-6-14 07:03:26
引用: guigui_7044 发表于 2018-6-14 06:44
Yangyang,
查看C:ticontrolSUITElibsmathIQmathv160doc 文档p253.11.  Converting an IQmath Application to Floating-Point.
Eric

非常感谢Eric
举报

更多回帖

发帖
×
20
完善资料,
赚取积分