Re: [fpc-devel] Plans for 2022

2022-01-11 Thread J. Gareth Moreton via fpc-devel
In regards to vectorisation, one of my first targets is the uComplex unit, which uses a record type consisting of 2 Doubles to hold a complex number and whose operator procedures are good candidates for the 'vectorcall' calling convention under Win64 (it's a little more flexible at creating vec

[fpc-devel] Proposed new utility functions for x86 peephole optimiser (and maybe others)

2022-01-11 Thread J. Gareth Moreton via fpc-devel
Hi everyone, During my implementation of a new optimisation, https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/136, which merges some references, Florian asked me to make sure I check the volatility fields of the references, something which I forgot about, but which turned out was

Re: [fpc-devel] Proposed new utility functions for x86 peephole optimiser (and maybe others)

2022-01-11 Thread J. Gareth Moreton via fpc-devel
And I got the equation wrong for the permissive one.  It's meant to be something like the following instead: "(r1.volatility + r2.volatility - permitted_volatility) = []" Gareth aka. Kit On 11/01/2022 08:59, J. Gareth Moreton via fpc-devel wrote: Hi everyone, During my implementation of a ne