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.

[参考译文] TMS320F28388D:双精度浮点类型使 CLA 代码更加庞大

Guru**** 2563960 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1248583/tms320f28388d-double-precision-floating-point-type-make-cla-code-more-large

器件型号:TMS320F28388D

大家好、

我的客户  对他的 CLA 代码使用双精度浮点类型、这使代码变得更加庞大。

他发现、 使用 双精度浮点 类型使编译器调用  rts2800_fpu64_eabi.lib 导致了这个问题。

例如、一个简单的 赋值语句占用超过40个字节。

您能否对此进行了解和解释?

--

谢谢、此致

耶鲁

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您是否能够共享代码片段? 请注意、CLA 没有 FPU64加速器。 它使用 FPU32加速器执行 float64运算、因此可能会导致额外的周期

    此致、

    维纳