On 10/13/2011 08:49 AM, Peter Bergner wrote: > + if (TARGET_LINK_STACK) > + asm_fprintf (file, "\tbl 1f\n\tb 2f\n1:\n\tblr\n2:\n"); > + else > + asm_fprintf (file, "\tbcl 20,31,1f\n1:\n");
Wouldn't it be better to set up an out-of-line "blr" insn that could be shared by all instances? That would solve a lot of this sort of this sort of branch-to-branch-to-branch ugliness. See the i386 port for an example of this, if you need it. r~