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.

CPU和CLA的差异及误差处理的问题



在e2echina.ti.com/.../c2000-cpu-cla一文里面提到了浮点数运算的时候,C28x FPU 编译器默认将CPU配置为就近舍入向偶舍入模式。而CLA不同,CLA默认为截断舍入模式。然后文中的解决办法是

在CLA的代码中,可以通过增加下述代码:

__asm(" MSETFLG RNDF32=1");//1为就近舍入向偶舍入,0为截断舍入

那么。请问有人知道这句话加在什么地方吗?加入到CLA初始化语句没有作用,加在cla文件里会报错