[fpc-devel] fpc_ compilerproc
Michael Van Canneyt
michael at freepascal.org
Thu Jun 26 09:57:35 CEST 2025
On Wed, 25 Jun 2025, Mattias Gaertner via fpc-devel wrote:
>
>
> On 6/25/25 08:42, J. Gareth Moreton via fpc-devel wrote:
>> If I'm right in thinking, things like "fpc_abs_real" are fallback
>> functions that have to be overridden by a platform-specific
>> implementation, and return runtime errors if they aren't implemented. In
>> many cases, such internal compiler routines are not called at all
>> because there's a direct instruction available in the architecture (e.g.
>> for integer min and max functions, AArch64 has SMIN and SMAX
>> respectively, but x86 doesn't have such direct operations).
>
> Thanks.
>
> Btw, the "compilerproc" modifier is still not documented. Google found
> my post from 8 years ago asking a similar question. 🙃
I documented it.
Michael.
More information about the fpc-devel
mailing list