That's a point. Thanks Sven.
There's still some cleaning up to do though because of two families of
optimisations fighting each other and a specific construct that is
dangerously close to causing an infinite loop (the only reason why it
doesn't is because it doesn't set Result to True to signal another
iteration of Pass 1 under -O3).
Gareth aka. Kit
On 27/11/2019 17:30, Sven Barth via fpc-devel wrote:
J. Gareth Moreton <[email protected]
<mailto:[email protected]>> schrieb am Mi., 27. Nov. 2019, 18:08:
Hi everyone,
Specifically to Florian, Jonas and Pierre, I would like to remove the
"movz-> and" family of optimisations from the x86 peephole optimiser
because the zero-extension commands no longer have the performance
penalty that they had back in the 90s. Both instructions have a
read/write dependency, but movzx uses fewer bytes.
In my opinion that should depend on the selected optimization
processor (-OpX) as one might still want generate code for older
processors.
Regards,
Sven
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel