[fpc-devel] powerpc-linux 2.0 release crash?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Jan 24 15:18:51 CET 2008


On 24 Jan 2008, at 15:07, Micha Nelissen wrote:

> Jonas Maebe wrote:
>> That instruction clears a floating point exception flag (all those  
>> flags are cleared by the system unit's startup code). It probably  
>> means that your powerpc does not have floating point support (is  
>> it an embedded one?). There is no softfloat support for the ppc  
>> ports at this time.
>
> Ah, bummer. It has an e500v2 core, which has "embedded" floating  
> point support, whatever that means.

It means that
a) you can connect some fpu coprocessor
b) it throws specific "fpu not present" exception if none is present,  
so you can catch those and emulate them if you want to

> It does not include fp instructions that require floating-point  
> registers (FPRs). The instructions work on the GPRs instead?

No, those instructions simply do not exist.

> Is it just startup code, or many places that assume floating point  
> support?

I have no idea, since I never considered adding support for ppc  
without an fpu.


Jonas



More information about the fpc-devel mailing list