On Tue, Aug 2, 2022 at 1:31 PM Roger Sayle wrote:
>
>
> This patch adds an extra optimization to *cmp_doubleword to improve
> the code generated for comparisons against -1. Hypothetically, if a
> comparison against -1 reached this splitter we'd currently generate code
> that looks like:
>
>
This patch adds an extra optimization to *cmp_doubleword to improve
the code generated for comparisons against -1. Hypothetically, if a
comparison against -1 reached this splitter we'd currently generate code
that looks like:
notq%rdx; 3 bytes
notq%rax