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
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)
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.
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:
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.
__