On Thu, Oct 9, 2014 at 12:28 PM, Kirill Yukhin <kirill.yuk...@gmail.com> wrote: > Hello, > This patch extends vpalignr insn patterns. > It also introduces dedicated `masked' version of pattern > w/o substing. > > Bootstrapped. > AVX-512* tests on top of patch-set all pass > under simulator. > > Is it ok for trunk? > > gcc/ > * config/i386/sse.md > (define_mode_iterator SSESCALARMODE): Add V4TI mode. > (define_insn "<ssse3_avx2>_palignr<mode>_mask"): New. > (define_insn "<ssse3_avx2>_palignr<mode>"): Add EVEX version.
OK, although SSESCALARMODE became even more messy ... Just FYI: V1TI in VIMAX_AVX2 iterator is used to prevent moves of TImode values from SSE to general regs on x86_64. The same reasoning applies to V1DI MMX mode on x86_32. Thanks, Uros.