[fpc-devel] Possible bug in fpc_round_real for softfloat?
alexander.hofmann at new-h.de
Wed Feb 19 12:16:48 CET 2020
Am 19.02.20 um 09:08 schrieb thaddy:
> Raspberry Pi, what OS, because you write armsf and the default on
> Raspbian (and other major distro's) is armhf.
Raspbian, which is armhf, yes.
The application is based on the hard-float ABI (just checked with
readelf -h). Still it is using the soft-float implementation at least
I came across this by debugging the application at assembly level and
saw the call of fpc_round_real(). I don't know very much about the ARM
instruction set. I reckon there's "round to integer" available but I
don't know in which version of the ARM specification, and if it's used
Also, I have to check if I accidentally activated the "-Ce" switch,
although I though I checked that...
In the end, as I was able to reproduce the error on Linux x86_64, I
though I'd better ask. Last time I dealt specifically with floating
point emulation was on DOS with Turbo Pascal :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: OpenPGP digital signature
More information about the fpc-devel