Re: [fpc-devel] Question about NOP instructions

2019-11-03 Thread J. Gareth Moreton
I figured that was the case.  I don't intend to touch NOP instructions because of their uses in exception handling, but is there any harm in moving the local jumps to branch to after the NOP instructions, for example? Gareth aka. Kit On 03/11/2019 19:26, Florian Klämpfl wrote: Am 03.11.19 um

Re: [fpc-devel] Question about NOP instructions

2019-11-03 Thread Florian Klämpfl
Am 03.11.19 um 18:10 schrieb J. Gareth Moreton: Here's a larger snippet of the code in question - it's a bit too long to post, but there's a lot of conditional jumps to .Lj1859 earlier on: .Lj1875:     testl    $1024,92(%rbx)     jne    .Lj1878     leaq    .Ld523(%rip),%rax     movq   

Re: [fpc-devel] Question about NOP instructions

2019-11-03 Thread J. Gareth Moreton
Here's a larger snippet of the code in question - it's a bit too long to post, but there's a lot of conditional jumps to .Lj1859 earlier on: .Lj1875:     testl    $1024,92(%rbx)     jne    .Lj1878     leaq    .Ld523(%rip),%rax     movq    %rax,-56(%rbp)     movq    $11,-64(%rbp)     movq   

Re: [fpc-devel] Question about NOP instructions

2019-11-03 Thread Florian Klaempfl
Am 02.11.2019 um 15:08 schrieb J. Gareth Moreton: > Hi everyone, > > During my optimisation travels, I frequently stumble across lone NOP > instructions in the compiled assembly language.  Normally I leave these > alone, but occasionally I stumble across things like this: > >     ... >     movq