This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, AArch64] [4.9] Backport PR64304 fix (miscompilation with -mgeneral-regs-only )


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]