Re: [fpc-pascal] Problem with code aligning (probably)

2022-10-20 Thread Jonas Maebe via fpc-pascal
On 20/10/2022 16:46, Vojtěch Čihák via fpc-pascal wrote: Thanks, although it's not very optimistic. Is there anything else I can try except {$CODEALIGN ...}? For example change heap or stack size but I don't know what values should I try since I never needed it. Changing the heap or stack si

Re: [fpc-pascal] Problem with code aligning (probably)

2022-10-20 Thread Vojtěch Čihák via fpc-pascal
like some AM5? New CPUs have at least bigger caches   Thanks.   __ Od: "Jonas Maebe via fpc-pascal" Komu: fpc-pascal@lists.freepascal.org Datum: 20.10.2022 08:45 Předmět: Re: [fpc-pascal] Problem with code aligning (probably)

Re: [fpc-pascal] Problem with code aligning (probably)

2022-10-19 Thread Jonas Maebe via fpc-pascal
On 20/10/2022 00:24, Vojtěch Čihák via fpc-pascal wrote: Hi again, I moved directives from {$CODEALIGN JUMP=2} to -OaJUMP=2 in Project Options but I still did not found solution. I observed that when code is - after some change - slower, I can solve it by changing -OaJUMP=2 to -OaJUMP=1.

Re: [fpc-pascal] Problem with code aligning (probably)

2022-10-19 Thread Vojtěch Čihák via fpc-pascal
solve it reversely:  -OaJUMP=1 to -OaJUMP=2.   Of course, I'd like some persistent solution.   V.   __ Od: "Vojtěch Čihák via fpc-pascal" Komu: "FPC-Pascal users discussions" Datum: 19.10.2022 17:39 Předmět: Re:

Re: [fpc-pascal] Problem with code aligning (probably)

2022-10-19 Thread Vojtěch Čihák via fpc-pascal
It seems I have some success with following:   {$CODEALIGN LOOP=4} {$CODEALIGN PROC=4} {$CODEALIGN CONSTMIN=4} {$CODEALIGN VARMIN=4} {$CODEALIGN LOCALMIN=4} {$CODEALIGN JUMP=4}   I expected higher numbers on 64-bit platform. Also, I don't know yet which of the numbers affects my problem.   __