On Wed, Oct 12, 2011 at 6:32 PM, Richard Henderson <[email protected]> wrote: > I suppose technically the middle-end could be improved to implement > ashl<mode> as vashl<mode> by broadcasting the scalar, but Altivec > is the only extant SIMD ISA that would make use of this. All of > the others can arrange for constant shifts to be encoded into the > insn, and so implement the ashl<mode> named pattern. > > Tested on ppc64-linux, --with-cpu=G5.
Richard, Are there testcases in the GCC testsuite that exercise these patterns? Thanks, David
