Hardware Floating Point Unit Enable Method

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

Hardware Floating Point Unit Enable Method

747 次查看
santhana_g
Contributor I

Hi NXP,

We are using MPC5746C controller for our project. We need to enable the Hardware Floating Point to do floating point operation in our project.

Could you please guide us, how to enable the Hardware FPU and steps to verify?

Note: We are using GHS compiler.

Thanks in Advance

0 项奖励
3 回复数

628 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

For usage of floating point see the core reference manual:

pastedImage_1.png

pastedImage_2.png

and steps to verify?

Could you please specify what are you requesting?

regards,

Peter

0 项奖励

628 次查看
santhana_g
Contributor I

Thanks for the information. 

I will follow the above steps.

I need more information regarding the testing part.

How to verify, this feature is enabled and reduced the processing time?

Thanks in Advance 

0 项奖励

628 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Simply execute some FPU instruction. If it is no enabled the micro will throw exception.

regards,

Peter

0 项奖励