[PATCH][AArch64] Fix gcc.target/aarch64/subs_compare_[12].c

2018-01-23 Thread Kyrill Tkachov
Hi all, This patch fixes the testsuite failures gcc.target/aarch64/subs_compare_1.c and subs_compare_2.c The tests check that we combine a sequence like: sub w2, w0, w1 cmp w0, w1 into subsw2, w0, w1 This is done by a couple of peepholes in aarch64.md. Unfo

Re: [PATCH][AArch64] Fix gcc.target/aarch64/subs_compare_[12].c

2018-01-26 Thread James Greenhalgh
On Tue, Jan 23, 2018 at 02:49:03PM +, Kyrill Tkachov wrote: > Hi all, > > This patch fixes the testsuite failures gcc.target/aarch64/subs_compare_1.c > and subs_compare_2.c The tests check that we combine a sequence like: > sub w2, w0, w1 > cmp w0, w1 > > into >