[fpc-devel] x86: Efficiency of opposing CMOVs

J. Gareth Moreton gareth at moreton-family.com
Mon Apr 18 13:53:28 CEST 2022

Should work now.  There's a weird quirk with certain kinds of references 
that get implicitly converted into immediates (constants) by the 
assembler, but since CMOV doesn't support immediates, they remain 
references and cause different code to be generated.  x86_64-linux 
passes on my computer now.

Gareth aka. Kit

On 17/04/2022 08:12, J. Gareth Moreton via fpc-devel wrote:
> In the meantime, here's the new CMOV improvements.  This is another 
> big one for the peephole optimizer on x86, although largely confined 
> to just a few methods:
> https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/198
> Gareth aka. Kit

This email has been checked for viruses by Avast antivirus software.

More information about the fpc-devel mailing list