AnsweredAssumed Answered

MPC8572 Compiler problem.

Question asked by Dmitr Shard on Mar 28, 2016
Latest reply on Mar 29, 2016 by Marius Grigoras

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)
stfdf0,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.

Outcomes