RE: Basic block infrastructure after dbr pass

2008-03-24 Thread Tomer Benyamini
Hi Boris, The cfg is not updated during the dbr pass (you might have edges to non-existing blocks etc.). Furthermore, the BB rules do not apply after the dbr pass (you might have labels inside BBs and not only before the bb_note insn or jump-insns in the middle of the BB and not at BB_END). Wh

reload question - the compiler fails to find register to spill in a class

2008-01-10 Thread Tomer Benyamini
Hi, I'm developing a gcc based compiler and in a certain scenario I get the following reload crash: "error: unable to find a register to spill in class 'AB_REGS'" I looked into it and it looks like it happens when all the AB_REGS registers are taken as function arguments, and the prefered class

RE: Adding custom scheduler dependency between 2 insns

2007-11-07 Thread Tomer Benyamini
7 09:30 To: Tomer Benyamini Cc: gcc@gcc.gnu.org Subject: Re: Adding custom scheduler dependency between 2 insns Tomer Benyamini wrote: > Hi, > > I was wondering if it is possible to create a dependency between 2 insns > through a specific scheduler hook (maybe through > TARGET_SCHED_DEP

Adding custom scheduler dependency between 2 insns

2007-11-07 Thread Tomer Benyamini
Hi, I was wondering if it is possible to create a dependency between 2 insns through a specific scheduler hook (maybe through TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK) even though the insns are not really dependent (not really read-after-write etc.). If it is possible, what is the best way to do