OK for embedded 4.8 branch - Joey
> -----Original Message----- > From: Terry Guo > Sent: Tuesday, August 06, 2013 14:17 > To: Joey Ye > Cc: gcc-patches@gcc.gnu.org > Subject: [arm-embedded] Request to backport thumb1 far jump patch to > embedded 4.8 branch > > Hello Joey, > > The thumb1 far jump patch is about an optimization to avoid unnecessary lr > save instruction. It is now in trunk. Is it OK to back port it to embedded > 4.8 branch? > > BR, > Terry > > gcc/ChangeLog.arm > > 2013-08-05 Terry Guo <terry....@arm.com> > > Backport from mainline r197956 > 2013-04-15 Joey Ye <joey...@arm.com> > > * config/arm/arm.c (thumb1_final_prescan_insn): Assert lr save > for real far jump. > (thumb_far_jump_used_p): Count instruction size and set > far_jump_used. > > gcc/testsuite/ChangeLog.arm > > 2013-08-05 Terry Guo <terry....@arm.com> > > Backport from mainline r197956 > 2013-04-15 Joey Ye <joey...@arm.com> > > * gcc.target/arm/thumb1-far-jump-1.c: New test. > * gcc.target/arm/thumb1-far-jump-2.c: New test.