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.
https://www.avast.com/antivirus
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel