On 2023-10-08 13:45, J. Gareth Moreton via fpc-devel wrote:


Sorry, ignore last attachment - I forgot to change a line of assembly
(it was correct for x86_64-win64!!). Here is the corrected version.

Alright, results for this version for AMD A9 9425 under Linux (the same trunk compiler as used yesterday):

64-bit version:

   Pascal control case: 5.1 ns/call
 Using LEA instruction: 0.5 ns/call
Using ADD instructions: 0.9 ns/call


32-bit version:

   Pascal control case: 0.9 ns/call
 Using LEA instruction: 0.5 ns/call
Using ADD instructions: 0.9 ns/call

Tomas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to