[PATCH v2 3/9] aarch64: Add <su>cmp_*_carryinC patterns

Segher Boessenkool segher@kernel.crashing.org
Sun Mar 22 19:30:42 GMT 2020


Hi!

On Fri, Mar 20, 2020 at 07:42:25PM -0700, Richard Henderson via Gcc-patches wrote:
> Duplicate all usub_*_carryinC, but use xzr for the output when we
> only require the flags output.  The signed versions use sign_extend
> instead of zero_extend for combine's benefit.

You actually use ANY_EXTEND, which makes a lot more sense :-)

Did you see combine create a sign_extend, ever?  Or do those just come
from combining other insns that already contain a sign_extend?


Segher


More information about the Gcc-patches mailing list