Re: [fpc-devel] Preparing 3.2.4, call for merge request and regressions

2021-10-01 Thread Christo Crause via fpc-devel
On Wed, Sep 29, 2021 at 8:42 PM Florian Klämpfl via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > Am 29.09.21 um 18:10 schrieb Christo Crause via fpc-devel: > > There is a long list of AVR commits dating back to 2018. Is someone > > looking at this, or should I prepare a list? > > Not yet,

Re: [fpc-devel] New deep optimisation

2021-10-01 Thread J. Gareth Moreton via fpc-devel
Currently, there's an optimisation that tries to relocate MOV instructions so they appear before CMP and TEST instructions (you can see it occurring in the code sample).  This is usually generated by the "J(c)Mov0JmpMov1 -> Set(c)" optimisation if the destination is not an 8-bit register, in wh

Re: [fpc-devel] New deep optimisation

2021-10-01 Thread Stefan Glienke via fpc-devel
Keep in mind that usually test/cmp and jcc instructions are macrofused but only if they are directly adjacent. Am 01.10.2021 um 18:10 schrieb J. Gareth Moreton via fpc-devel: Hi everyone, I've started playing around with an optimisation on x86 platforms that looks for common instructions that

[fpc-devel] New deep optimisation

2021-10-01 Thread J. Gareth Moreton via fpc-devel
Hi everyone, I've started playing around with an optimisation on x86 platforms that looks for common instructions that appear on both branches of a Jcc instruction (i.e. after the label it jumps to and after the jump itself), and so far I'm having a lot of success.  For example, in the Math u