Hello, everyone!
I have trouble with MPC8572DS board. I make bareboard application (.elf). I use powerpc-linux-gnu compiler. Trouble is with floating-point instructions. In my bareboard application i use unsigned long long numbers and compiler makes
lfd | f0,16(r31) |
stfd | f0,8(r9) |
instructions wich write in floating-point registers but MPC8572DS havent floating-point registers. I know about MSR[SPE] bit.
What compiler flags or compiler i need to use to avoid this error.
Thanks.
Hi,
You can make a try also using CW and using the default bare-metal toolchain from our PA compiler (not gcc based).
Regards,
Marius
The following options are used by QorIQ SDK for e500v2 based processors:
-mcpu=8548 -mabi=spe -mspe -mfloat-gprs=double
For more information on available registers refer to E500CORERM, Section 2.2
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------