[fpc-devel] Soft Float for AVR

Florian Klämpfl florian at freepascal.org
Mon Aug 20 22:41:21 CEST 2018


Am 20.08.2018 um 20:00 schrieb Mathias:
> The Arduino C ++ supports this, but is limited to 32Bit (single).

This does not solve the softfpu problem as it is not ifdef'ed for single support only.

> 
> mfg Mathias
> 
> 
> Am 20.08.2018 um 19:26 schrieb Florian Klämpfl:
>> Am 18.07.2018 um 14:33 schrieb Dimitrios Chr. Ioannidis via fpc-devel:
>>> Hi,
>>>
>>>    AFAIU, the AVR architecture doesn't support floating point variables.
>>>
>>>    I want to ask if soft float support ( like ARM ) is planned. Does anyone work or plan to work on this ?
>> Problem is: the compiler throws internal errors on the softfpu unit. The code is really complex (a lot of 64 bit
>> operations) and the register allocator cannot cope with this.



More information about the fpc-devel mailing list