Re: [PATCH 2/6] [RS6000] rs6000_indirect_call_template

2018-11-20 Thread Segher Boessenkool
Hi Alan, On Tue, Nov 13, 2018 at 11:19:03PM +1030, Alan Modra wrote: > Like the last patch for external calls, now handle most assembly code > for indirect calls in one place. The patch also merges some insns, > correcting some !rs6000_speculate_indirect_jumps cases branching to > LR, which don't

[PATCH 2/6] [RS6000] rs6000_indirect_call_template

2018-11-13 Thread Alan Modra
Version 2. Like the last patch for external calls, now handle most assembly code for indirect calls in one place. The patch also merges some insns, correcting some !rs6000_speculate_indirect_jumps cases branching to LR, which don't require a speculation barrier. * config/rs6000/rs6000-pr