Hardware Floating Point Unit Enable Method

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hardware Floating Point Unit Enable Method

1,002 Views
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 Kudos
Reply
3 Replies

883 Views
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 Kudos
Reply

883 Views
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 Kudos
Reply

883 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

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

regards,

Peter

0 Kudos
Reply