Re: [fpc-devel] fpc_ compilerproc

2025-06-26 Thread Michael Van Canneyt via fpc-devel
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 the

Re: [fpc-devel] fpc_ compilerproc

2025-06-25 Thread Mattias Gaertner via fpc-devel
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 ro

Re: [fpc-devel] fpc_ compilerproc

2025-06-24 Thread J. Gareth Moreton via fpc-devel
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 inst

[fpc-devel] fpc_ compilerproc

2025-06-24 Thread Mattias Gaertner via fpc-devel
Hi, How do the fpc_ compileprocs in the rtl like fpc_abs_real work? Some platforms have assembler code, others just raises an error. They are included by a comment: { documenting compiler proc. is useless, they shouldn't be used by the user anyways } {$ifndef fpdocsystem} {$i compproc.inc}