This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, AArch64] [4.9] Backport PR64304 fix (miscompilation with -mgeneral-regs-only )
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Chen Shanyao <chenshanyao at huawei dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>, Richard Earnshaw <richard dot earnshaw at arm dot com>, "Yangfei (Felix)" <felix dot yang at huawei dot com>
- Date: Tue, 5 May 2015 09:35:33 +0100
- Subject: Re: [PATCH, AArch64] [4.9] Backport PR64304 fix (miscompilation with -mgeneral-regs-only )
- Authentication-results: sourceware.org; auth=none
- References: <5513D05B dot 2020909 at huawei dot com> <5527824C dot 4090409 at huawei dot com> <554735D9 dot 8090805 at huawei dot com> <55473842 dot 3060606 at huawei dot com>
On 4 May 2015 at 10:13, Chen Shanyao <chenshanyao@huawei.com> wrote:
> According to your opinion, I split the backports of pr64304 into 2 emails,
> and this one is for 4.9 branch.
> This patch backport the fix of PR target/64304 , miscompilation with
> -mgeneral-regs-only, to the 4.9 branch from trunk r219844. Tested on x86_64
> by using qemu of aarch64.
> OK for 4.9?
>
> diff -rupN gcc-4.9-20150225/gcc/ChangeLog
> gcc-4.9-20150225.pr64304//gcc/ChangeLog
> --- gcc-4.9-20150225/gcc/ChangeLog 2015-03-04 20:48:30.000000000 -0500
> +++ gcc-4.9-20150225.pr64304//gcc/ChangeLog 2015-03-04 20:55:59.000000000
> -0500
> @@ -1,3 +1,13 @@
> +2015-03-05 Shanyao Chen <chenshanyao@huawei.com>
> +
> + Backported from mainline
> + 2015-01-19 Jiong Wang <jiong.wang@arm.com>
> + Andrew Pinski <apinski@cavium.com>
> +
> + PR target/64304
> + * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
> + (ashl<mode>3): Don't expand if operands[2] is not constant.
> +
OK /Marcus