This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Aarch64][PATCH] Fix gcc.dg/zero_bits_compound-2.c for aarch64
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Michael Collison <Michael dot Collison at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>, Kyrylo Tkachov <Kyrylo dot Tkachov at arm dot com>
- Date: Tue, 6 Dec 2016 12:06:33 +0100
- Subject: Re: [Aarch64][PATCH] Fix gcc.dg/zero_bits_compound-2.c for aarch64
- Authentication-results: sourceware.org; auth=none
- References: <HE1PR0802MB2377B3AE794BF749D4C828A395820@HE1PR0802MB2377.eurprd08.prod.outlook.com>
Hi Michael,
On 6 December 2016 at 01:46, Michael Collison <Michael.Collison@arm.com> wrote:
> This patches fixes a regression in gcc.dg/zero_bits_compound-2.c. A recent patch (https://gcc.gnu.org/ml/gcc-patches/2016-11/msg02392.html)
> to the aarch64 backend improved generation for 'and' instructions with constants. The patch changed the number of 'and' instruction generated
> at the assembly level causing the test case to fail. This patch fixes the test case for aarch64 by verifies the 'and' insns at the rtl level instead at assembly time.
>
> A 'make check' was successfully completed aarch64-linux-gnu and x86_64-linux-gnu.
>
> Okay for trunk?
>
I confirm this fixes the problem I reported.
Thanks
> ------------------------------------------------------------------------------------
>
> 2016-12-5 Michael Collison <michael.collison@arm.com>
>
> * gcc.dg/zero_bits_compound-2.c: Fix test for aarch64.