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 ?
regards,

Mailing lists / fpc-devel / 2018-07
5 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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 ?
regards,
Hello
The AVR does not support floating-point numbers on the hardware side. The ATtiny does not even support multiplications of Interger. The ATMega supports least multiplications of integers. Divisions do not support everyone.
This refers to the 8-bit AVR, as it looks with the others, I do not know.
mfg Mathias
AFAIU, the AVR architecture doesn't support floating point variables. I want to ask if…
On Wed, 18 Jul 2018, 14:33 Dimitrios Chr. Ioannidis via fpc-devel, <
I haven't seen any commits in this regard in the last year or two for AVR. Not sure if someone is working on it offline. I suspect it will be quite a bit of work to generate a compact version for the AVR.
AFAIU, the AVR architecture doesn't support floating point variables. I want to ask if…
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.
Mathias wroteThe 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.