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.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to