Re: [fpc-devel] LEA instruction speed

2023-10-02 Thread J. Gareth Moreton via fpc-devel
Hmmm, could be fun to attempt to test - I'll see what I can set up. Kit On 03/10/2023 06:30, Tomas Hajny via fpc-devel wrote: On October 3, 2023 03:32:34 +0200, "J. Gareth Moreton via fpc-devel" wrote: Hii Kit, This is mainly to Florian, but also to anyone else who can answer the question

Re: [fpc-devel] LEA instruction speed

2023-10-02 Thread Tomas Hajny via fpc-devel
On October 3, 2023 03:32:34 +0200, "J. Gareth Moreton via fpc-devel" wrote: Hii Kit, >This is mainly to Florian, but also to anyone else who can answer the question >- at which point did a complex LEA instruction (using all three input operands >and some other specific circumstances) get slo

Re: [fpc-devel] LEA instruction speed

2023-10-02 Thread J. Gareth Moreton via fpc-devel
(And I meant "Ice Lake", not "Icy Lake") On 03/10/2023 02:32, J. Gareth Moreton via fpc-devel wrote: Hi everyone, This is mainly to Florian, but also to anyone else who can answer the question - at which point did a complex LEA instruction (using all three input operands and some other specif

[fpc-devel] LEA instruction speed

2023-10-02 Thread J. Gareth Moreton via fpc-devel
Hi everyone, This is mainly to Florian, but also to anyone else who can answer the question - at which point did a complex LEA instruction (using all three input operands and some other specific circumstances) get slow?  Preliminary research suggests the 486 was when it gained extra latency,

Re: [fpc-devel] A call to help test pure functions

2023-10-02 Thread J. Gareth Moreton via fpc-devel
As an additional note - apologies to those who responded to me directly, but for some reason, GMail doesn't like e-mails coming from my domain name, so I have to use my own GMail account, watercran...@gmail.com to respond. Kit On 02/10/2023 18:21, J. Gareth Moreton via fpc-devel wrote: No mod

Re: [fpc-devel] A call to help test pure functions

2023-10-02 Thread J. Gareth Moreton via fpc-devel
No mode switch - just apply the changes from my branch over at https://gitlab.com/CuriousKit/optimisations/-/tree/pure?ref_type=heads. To mark a function as pure, append the directive "pure" after the function definition, like you would with "virtual" or "inline", say. Given it's a Free Pascal

Re: [fpc-devel] Request for review of patch for issue 40261

2023-10-02 Thread Bart via fpc-devel
On Mon, Oct 2, 2023 at 9:01 AM Michael Van Canneyt via fpc-devel wrote: > I did so, I left a small request. I attached a small test program to the bugreport (with a question). -- Bart ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https:/

Re: [fpc-devel] A call to help test pure functions

2023-10-02 Thread Mattias Gaertner via fpc-devel
On 29.09.23 21:28, J. Gareth Moreton via fpc-devel wrote: [...] As the examples imply, to mark as a function as pure, simply use the new "pure" directive. When is it available? Is there a modeswitch? Mattias ___ fpc-devel maillist - fpc-devel@l

Re: [fpc-devel] Request for review of patch for issue 40261

2023-10-02 Thread Michael Van Canneyt via fpc-devel
On Sat, 30 Sep 2023, Bart via fpc-devel wrote: Hi, Issue 40261 is about TStrings.AddObject issueing 2 consecutive OnChange events (and in the first one the to be added object is unassigned when accessing Objects[] property) when using InsertObject, AddObject and AddPair. This is Delphi incom