[fpc-devel] FPC for Linux-ARM

Henry Vermaak henry.vermaak at gmail.com
Wed Jan 19 17:33:08 CET 2011


On 19/01/11 16:18, Henry Vermaak wrote:
> On 19/01/11 16:02, Felipe Monteiro de Carvalho wrote:
>> On Wed, Jan 19, 2011 at 4:56 PM, Michael Schnell<mschnell at lumino.de>
>> wrote:
>>> But AFAIK, when building the Linux Kernel for AR; chips without FPU,
>>> you can
>>> include an FPU simulation. With that the user software (other than
>>> slower
>>> execution) does not notice that there is no FPU. As this only costs some
>>> hundred bytes of memory, I do suppose that the Kernel for Android
>>> devices
>>> might be done in that ways.
>>
>> Then the manufacturers are not using this linux kernel option, because
>> software which uses the FPU will crash at startup in the devices
>> without a FPU. And I am 100% sure because I tested several devices and
>> several source technologies (FPC apps and also JITed Javascript).
>
> How did it crash? Your crashes may be due to the fact that fpc passes
> floats incorrectly in function calls, too.

Just to elaborate, if it crashes with SIGILL, then the device really has 
no fpu.

Henry



More information about the fpc-devel mailing list