On Tue, Mar 15, 2011 at 8:51 AM, Alan Modra <amo...@gmail.com> wrote: > The vsx splat load from memory insns manage to evade > reg_offset_addressing_ok_p since their MEM mode is DFmode or DImode, > which are not (usually) vector modes. This patch prevents reload > damage in rs6000_legitimize_reload_address, and ensures the splat insn > predicate is sufficiently strict. Bootstrapped etc. powerpc64-linux > on power7 hardware. OK to apply? > > PR target/45844 > * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't > create invalid offset address for vsx splat insn. > * config/rs6000/predicates.md (splat_input_operand): New. > * config/rs6000/vsx.md (vsx_splat_*): Use it.
Okay. As I asked Mike, Peter and Pat, we need more comprehensive VSX tests in the testsuite because all of these problems should have been caught by coverage tests, not building packages with -mcpu=power7. - David