I reopened the bug ticket to attach a patch with the new function. It also contains some code for "Int" that passes through the input unchanged if its magnitude is greater than 2^52 (at this point, the precision means it can't have a fractional component). I've set it to "feedback" currently so Sven can determine if the patch is satisfactory.
https://bugs.freepascal.org/view.php?id=33635
Gareth aka. Kit
On Mon 30/04/18 02:12 , "Thorsten Engler" sent:
Show quoted text 10 lines
It does.
The problem was not the time required by the nops, but that for certain entry point alignments (among them the 16 byte alignments) the presence of this .align triggered the 3-4 times increase in processing time. I didn't look any closer into it as the version that J. Gareth worked out is faster and isn't alignment sensitive.
