RE: [PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2016-10-11 Thread Robert Suchanek
Hi, > > I'm happy to include this. Ok to commit with this change? > > This looks like it got lost at some point. I think this is a reasonable > change for safety. > > Go ahead and commit. > > Thanks, > Matthew Committed as r240965. Regards, Robert

RE: [PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2016-09-21 Thread Matthew Fortune
Robert Suchanek writes: > Hi Catherine, > > Apologies for the (very) late reply. > It appears that I never replied to the last message. > > > > gcc/ > > > * config/mips/mips-cpus.def: Replace PTF_AVOID_BRANCHLIKELY with > > > PTF_AVOID_BRANCHLIKELY_ALWAYS for generic architecture and with >

RE: [PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2016-05-24 Thread Robert Suchanek
Hi Catherine, Apologies for the (very) late reply. It appears that I never replied to the last message. > > gcc/ > > * config/mips/mips-cpus.def: Replace PTF_AVOID_BRANCHLIKELY > > with > > PTF_AVOID_BRANCHLIKELY_ALWAYS for generic architecture and > > with > > PTF_AVOID_BRANCHLIKELY_

RE: [PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2015-10-22 Thread Moore, Catherine
> -Original Message- > From: Robert Suchanek [mailto:robert.sucha...@imgtec.com] > Sent: Friday, September 04, 2015 10:21 AM > To: Matthew Fortune; Richard Sandiford > Cc: Moore, Catherine; gcc-patches@gcc.gnu.org > Subject: RE: [PATCH] Disable -mbranch-likely for -

RE: [PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2015-09-04 Thread Robert Suchanek
Hi, > Richard Sandiford writes: > > Robert Suchanek writes: > > > The patch below disables generation of the branch likely instructions for > > > - > Os > > > but only for generic architecture. The branch likely may result in some > > > code size reduction but the cost of running the code on R

RE: [PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2015-08-20 Thread Matthew Fortune
Richard Sandiford writes: > Robert Suchanek writes: > > The patch below disables generation of the branch likely instructions for > > -Os > > but only for generic architecture. The branch likely may result in some > > code size reduction but the cost of running the code on R6 core is > > signi

Re: [PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2015-08-20 Thread Richard Sandiford
Robert Suchanek writes: > The patch below disables generation of the branch likely instructions for -Os > but only for generic architecture. The branch likely may result in some > code size reduction but the cost of running the code on R6 core is > significant. How about instead splitting PTF_A

[PATCH] Disable -mbranch-likely for -Os when targetting generic architecture

2015-08-14 Thread Robert Suchanek
Hi, The patch below disables generation of the branch likely instructions for -Os but only for generic architecture. The branch likely may result in some code size reduction but the cost of running the code on R6 core is significant. Disabling this for generic architecture would therefore be des