Hi all,

Now that combine emits the canonical form for (eq (neg x) (y)) instead of (eq
(x) (neg y)), this patch fixes up the corresponding pattern in aarch64 to
match that. This enables combine to properly generate the cmn instruction
where appropriate.

Tested aarch64-none-elf on model.

Ok for trunk?

Thanks,
Kyrill

2013-07-29  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

        * config/aarch64/aarch64.md (compare_neg<mode>): Match canonical RTL
form.

Attachment: aarch64-cmn.patch
Description: Binary data

Reply via email to