Re: Commit: RX: Add return pattern

2012-01-22 Thread Richard Henderson
On 01/13/2012 04:31 AM, nick clifton wrote: > Hi Richard, > >> Not an ideal solution, since the availability of this pattern implies >> it's extremely cheap, and we'll replace jumps to the epilogue with >> this pattern. >> Or to define an availability predicate similar to i386, testing if >> the e

Re: Commit: RX: Add return pattern

2012-01-12 Thread nick clifton
Hi Richard, Not an ideal solution, since the availability of this pattern implies it's extremely cheap, and we'll replace jumps to the epilogue with this pattern. Or to define an availability predicate similar to i386, testing if the epilogue is trivial, and only a return insn is needed. Somet

Re: Commit: RX: Add return pattern

2012-01-11 Thread Richard Henderson
On 01/11/2012 10:39 PM, Nick Clifton wrote: > +(define_expand "return" > + [(return)] > + "" > + "rx_expand_epilogue (false); DONE;" > +) Not an ideal solution, since the availability of this pattern implies it's extremely cheap, and we'll replace jumps to the epilogue with this pattern. A hac