[PATCH, AArch64] [4.8] Backport PR64304 fix (miscompilation with -mgeneral-regs-only )
Marcus Shawcroft
marcus.shawcroft@gmail.com
Tue May 5 08:36:00 GMT 2015
On 4 May 2015 at 10:03, 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.8 branch.
> This patch backport the fix of PR target/64304 , miscompilation with
> -mgeneral-regs-only, to the 4.8 branch from trunk r219844. Tested on x86_64
> by using qemu of aarch64.
> OK for 4.8?
>
>
> diff -rupN gcc-4.8-20150226/gcc/ChangeLog
> gcc-4.8-20150226.pr64304//gcc/ChangeLog
> --- gcc-4.8-20150226/gcc/ChangeLog 2015-03-04 21:13:46.000000000 -0500
> +++ gcc-4.8-20150226.pr64304//gcc/ChangeLog 2015-03-04 21:19:49.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
More information about the Gcc-patches
mailing list