FP emulation patch available
Quoted 1 line · Herald Koerfgen
Personally, I don't have any idea why the emulator works perfectly on an
R3000
Quoted 1 line
but not on an R3912.
Nor I, but in the absence of data, I'm happy to speculate. ;-)
...
Quoted 1 line
Oh I see, I should have made myself more clear. I have a root filesystem on
a
Quoted 1 line
CF card based on declinuxroot (a cut down RedHat 5.1) and my Mobilon boots
all
Quoted 1 line
the way through to the login prompt if I delete the fsck from the
initscripts.
Quoted 2 lines
Booting into single user mode I can easily verify that tools like df or
e2fsck
Quoted 3 lines
are bombing out with floating point exeptions. My "tests" with the emulator have been so far: Does df survive? What does fsck do? and things like that. Well, with the emulator all these tools make the Mobilon crash. Hard. So
hard
Quoted 1 line
that even the reset button doesn't work.
There are two ways in which the FPU emulator is close enough to the hardware to be this sensitive to implementation. One is the way the emulator provokes an address error exception to execute a delay slot instruction following a simulated branch, but I don't think df or fsck do any branch-on-floating-conditions. The other is, of course, that it counts on getting sensible and recoverable coprocessor unusable exceptions. If the R3912 does something funky to the processor state on a CP1 unusable fault - an event that it doesn't have to deal with in its principal mission as a Windows CE platform - the results would be much
what you are seeing.
There are people at Toshiba who read this mailing list, so we can hope that they too are on the case and can maybe lend a clue...
Regards,
Kevin K.
On 13-Mar-00 Kevin D. Kissell wrote:
[FPU emulator crashes on R3912]
Quoted 11 lines
There are two ways in which the FPU emulator is close enough to the hardware to be this sensitive to implementation. One is the way the emulator provokes an address error exception to execute a delay slot instruction following a simulated branch, but I don't think df or fsck do any branch-on-floating-conditions. The other is, of course, that it counts on getting sensible and recoverable coprocessor unusable exceptions. If the R3912 does something funky to the processor state on a CP1 unusable fault - an event that it doesn't have to deal with in its principal mission as a Windows CE platform - the results would be much
what you are seeing.
Good Point. Thanks, Kevin, I'll look deeper into that.
Signature · 2 lines
Regards, Harald