Re: [fpc-pascal] Broken code with PEEPHOLE & REGVAR

2022-03-11 Thread Sven Barth via fpc-pascal
Peter via fpc-pascal schrieb am Fr., 11. März 2022, 13:47: > I had a look at the assembler generated by 3.3.1 > > . > > # Var uix located in stack [rsp+83240] > movl%edx,%eax > movq%rax,83280(%rsp) > # Var AttackLoc *located in stack [rsp+83280]* > # [503] var > > . > >

Re: [fpc-pascal] Broken code with PEEPHOLE & REGVAR

2022-03-11 Thread Peter via fpc-pascal
I had a look at the assembler generated by 3.3.1 . # Var uix located in stack [rsp+83240]     movl    %edx,%eax     movq    %rax,83280(%rsp) # Var AttackLoc *located in stack [rsp+83280]* # [503] var . # [587] TestLoc := AttackLoc; *movl    83280(%rsp),%r14d* # <<--

Re: [fpc-pascal] Broken code with PEEPHOLE & REGVAR

2022-03-11 Thread Peter via fpc-pascal
So it seems it was fixed in main at least. Now the interesting question is 3.2.3... Hi Sven, I found a 3.2.3 in ftp://ftp.freepascal.org/pub/fpc/snapshot/v32/x86_64-linux Testing with version Free Pascal Compiler version 3.2.3 [2022/03/05] for x86_64 the problem is still there I'm afrai

Re: [fpc-pascal] help with porting project

2022-03-11 Thread Tobias Giesen via fpc-pascal
Hi Jessica, the link to the forum post doesn't work, can you post the correct link? And maybe mention the name of the topic, in case the link doesn't work. Cheers, Tobias On Sun, 23 Jan 2022 04:01:46 + Jessica Jones via fpc-pascal wrote: > Hi > > I need help with porting an open sou