Re: floating point operation of ppc
flat view
From: Greg Weeks <hidden>
Date: 2005-11-11 19:27:49
lily wrote:
hi,all: i build an embedded linux on powerpc 405ep,i need execute floating point operation,and i enable "math emulate" option in kernel, i run a while(1)loop ,in the loop there was floating point expression ,after test ,i found the while (1) exit because of the floating point computation,that is the floating point can't execute on ppc stablely.Is there someone meets the same problems ,please give me some suggestion,thanks!!!
The 405ep has some errata on floating point use. I didn't work on the processor so I don't know exactly what they are, but Timesys has a toolchain just for the 405ep to work around the problem. The other workaround we've used is much slower and it involved disabling the hardware floating point unit in the head.s for the 405ep and turning on the emulator. Just turning on the emulator is insufficient. The Timesys toolchain isn't the only one out there specifically for the 405ep. Greg Weeks