[fpc-devel] Question about internal compiler functions

J. Gareth Moreton gareth at moreton-family.com
Sun Aug 23 12:48:59 CEST 2020


Hi everyone,

I've found a pretty big optimisation that benefits most ARM platforms, including AArch64, but I'm getting a few random test failures.  My investigations suggest that functions like "fpc_chararray_to_unicodestr" and 
other string conversion routines are not being optimised properly (they're raising Runtime Error 216, which generally implies a fatal exception).  For aarch64 in particular, which unit contains the source code or 
implementation for these functions?  I know it's something internal because the disassembly of the actual tests show either no differences with the trunk, or optimisations that manual analysis suggest are correct.  I 
ask for particular units so I can analyse the disassembly, and I rather cut down on the number of megabyte-sized assembly dumps to check!

Gareth aka. Kit



More information about the fpc-devel mailing list