MPC5777C How to enable FPU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC5777C How to enable FPU

跳至解决方案
2,067 次查看
1620773328
Contributor II
Hello NXP expert, We are using MPC5777CEVB and MPC57XXMB. IDE:s32ds for Power Architecture OS:Windows 10 Is there any FPU test example base on s32ds? If not, how to enable FPU step by step? Regards, Jinus
0 项奖励
回复
1 解答
2,057 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

this core does not have HW floating point unit.

petervlna_0-1606452576124.png

You have to enable it in MSR core register before use of FPU instrucitons:

petervlna_1-1606452924401.png

 

You can follow the guide how to setup S32DS for EFPU generation here where is also an example code:

https://community.nxp.com/t5/S32-Design-Studio/how-to-enable-and-use-VFPU-and-SPE2-SIMD-for-MPC57xx-...

 

best regards,

Peter

 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,058 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

this core does not have HW floating point unit.

petervlna_0-1606452576124.png

You have to enable it in MSR core register before use of FPU instrucitons:

petervlna_1-1606452924401.png

 

You can follow the guide how to setup S32DS for EFPU generation here where is also an example code:

https://community.nxp.com/t5/S32-Design-Studio/how-to-enable-and-use-VFPU-and-SPE2-SIMD-for-MPC57xx-...

 

best regards,

Peter

 

 

0 项奖励
回复
2,042 次查看
1620773328
Contributor II

Peter, Thank you very much. Problem solved.

0 项奖励
回复