On 4 May 2015 at 10:13, Chen Shanyao <chenshan...@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 <chenshan...@huawei.com> > + > + Backported from mainline > + 2015-01-19 Jiong Wang <jiong.w...@arm.com> > + Andrew Pinski <apin...@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