RE: Could not identify that register is clobbered already

2013-02-25 Thread S, Pitchumani
> From: Georg-Johann Lay [mailto:a...@gjlay.de] > S, Pitchumani schrieb: > > > > From: Georg-Johann Lay > >> S, Pitchumani wrote: > >> ... > >> Trying to introduce hard_frame_pointer was dropped because the code > >> turned out to have unusable had efficiency. I don't find the patch, > >> AFAIR it

Re: Question on multiplied address cost computation in ivopt

2013-02-25 Thread Richard Biener
On Fri, Feb 22, 2013 at 9:42 AM, Bin.Cheng wrote: > Hi, > Function get_address_cost in ivopt computes multiplied address cost > with below code: > > First: > rat = 1; > for (i = 2; i <= MAX_RATIO; i++) > if (multiplier_allowed_in_address_p (i, mem_mode, as)) > { > rat

Re: REG_UNUSED notes for CLOBBERs?

2013-02-25 Thread Eric Botcazou
> It seems to me that a REG_UNUSED note on a CLOBBER is unnecessary, and > it also goes against the documented purpose of a REG_UNUSED note in > reg-notes.def: > > /* Identifies a register set in this insn and never used. */ > REG_NOTE (UNUSED) > > After all, a CLOBBER is not a register set, so

Re: GCC 4.8 and -Og

2013-02-25 Thread Richard Biener
On Mon, Feb 25, 2013 at 6:20 AM, Chung-Ju Wu wrote: > 2013/2/25 Jeffrey Walton : >> Hi All, >> >> I read the relase notes on GCC 4.8 >> (http://gcc.gnu.org/gcc-4.8/changes.html) and -Og caught my eye (the >> bulleted item is below). > [deleted] >> >> What "n" does -Og correspond to for -O and -g

Re: GCC 4.8 and -Og

2013-02-25 Thread Jeffrey Walton
On Mon, Feb 25, 2013 at 4:51 AM, Richard Biener wrote: > On Mon, Feb 25, 2013 at 6:20 AM, Chung-Ju Wu wrote: >> 2013/2/25 Jeffrey Walton : >>> Hi All, >>> >>> I read the relase notes on GCC 4.8 >>> (http://gcc.gnu.org/gcc-4.8/changes.html) and -Og caught my eye (the >>> bulleted item is below).

Re: Question on multiplied address cost computation in ivopt

2013-02-25 Thread Bin.Cheng
On Mon, Feb 25, 2013 at 5:39 PM, Richard Biener wrote: > On Fri, Feb 22, 2013 at 9:42 AM, Bin.Cheng wrote: >> Hi, >> Function get_address_cost in ivopt computes multiplied address cost >> with below code: >> >> First: >> rat = 1; >> for (i = 2; i <= MAX_RATIO; i++) >> if (multipli

Re: GCC 4.8 and -Og

2013-02-25 Thread Tobias Burnus
Jeffrey Walton wrote: On Mon, Feb 25, 2013 at 4:51 AM, Richard Biener wrote: On Mon, Feb 25, 2013 at 6:20 AM, Chung-Ju Wu wrote: Don't worry about possible confusion (-Og needs -gN). Document it at http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options, and folks should

Re: Question on multiplied address cost computation in ivopt

2013-02-25 Thread Richard Biener
On Mon, Feb 25, 2013 at 11:13 AM, Bin.Cheng wrote: > On Mon, Feb 25, 2013 at 5:39 PM, Richard Biener > wrote: >> On Fri, Feb 22, 2013 at 9:42 AM, Bin.Cheng wrote: >>> Hi, >>> Function get_address_cost in ivopt computes multiplied address cost >>> with below code: >>> >>> First: >>> rat = 1

dummy DejaGnu board files

2013-02-25 Thread Janis Johnson
I've been using a couple of DejaGnu board files to test multilibs for which I don't have any way to execute tests, and for which I can't even link because I don't have compatible libraries. I'd like to share but don't know where to put them; any suggestions? Janis Index: dummy-link.exp ==

Re: dummy DejaGnu board files

2013-02-25 Thread Diego Novillo
On Mon, Feb 25, 2013 at 1:02 PM, Janis Johnson wrote: > I've been using a couple of DejaGnu board files to test multilibs for > which I don't have any way to execute tests, and for which I can't even > link because I don't have compatible libraries. I'd like to share but > don't know where to put

Re: REG_UNUSED notes for CLOBBERs?

2013-02-25 Thread Steven Bosscher
On Mon, Feb 25, 2013 at 10:48 AM, Eric Botcazou wrote: >> It seems to me that a REG_UNUSED note on a CLOBBER is unnecessary, and >> it also goes against the documented purpose of a REG_UNUSED note in >> reg-notes.def: >> >> /* Identifies a register set in this insn and never used. */ >> REG_NOTE (

Re: dummy DejaGnu board files

2013-02-25 Thread Joel Sherrill
On 2/25/2013 2:59 PM, Diego Novillo wrote: On Mon, Feb 25, 2013 at 1:02 PM, Janis Johnson wrote: I've been using a couple of DejaGnu board files to test multilibs for which I don't have any way to execute tests, and for which I can't even link because I don't have compatible libraries. I'd lik

Re: REG_UNUSED notes for CLOBBERs?

2013-02-25 Thread Eric Botcazou
> That's what I believe, too. Still, combine appears to add REG_UNUSED > notes for clobbers intentionally. Do you know why it does that? Hmm, right, it apparently clearly wants to immediately close the "live" ranges it creates by adding new clobbers. And, indeed, regrename.c for example uses th

Re: REG_UNUSED notes for CLOBBERs?

2013-02-25 Thread Steven Bosscher
On Mon, Feb 25, 2013 at 10:51 PM, Eric Botcazou wrote: >> That's what I believe, too. Still, combine appears to add REG_UNUSED >> notes for clobbers intentionally. Do you know why it does that? > > Hmm, right, it apparently clearly wants to immediately close the "live" ranges > it creates by addin

Re: REG_UNUSED notes for CLOBBERs?

2013-02-25 Thread Eric Botcazou
> You mean this piece of nice code: > > /* Step 4: Close chains for registers that die here, unless > the register is mentioned in a REG_UNUSED note. In that > case we keep the chain open until step #7 below to ensure > it conflicts with other outp

Re: Question on multiplied address cost computation in ivopt

2013-02-25 Thread Bin.Cheng
On Mon, Feb 25, 2013 at 8:51 PM, Richard Biener wrote: > On Mon, Feb 25, 2013 at 11:13 AM, Bin.Cheng wrote: >> On Mon, Feb 25, 2013 at 5:39 PM, Richard Biener >> >> Another question about multiplied address is in function >> multiplier_allowed_in_address_p, it constructs rtx like "(MULT reg1, >>