Re: [PATCH, i386] Relax target requirement for vec_unpacks_lo_hi

2016-04-20 Thread Kirill Yukhin
Hi Ilya, On 19 Apr 19:09, Ilya Enkovich wrote: > Hi, > > vec_unpacks_lo_[si,hi,di] patterns for scalar masks don't need to extend > mask elements. It means a simple register copy is good enough. > > Currently vec_unpacks_lo_hi pattern uses kmovb instruction which requires > AVX512DQ target. But

[PATCH, i386] Relax target requirement for vec_unpacks_lo_hi

2016-04-19 Thread Ilya Enkovich
Hi, vec_unpacks_lo_[si,hi,di] patterns for scalar masks don't need to extend mask elements. It means a simple register copy is good enough. Currently vec_unpacks_lo_hi pattern uses kmovb instruction which requires AVX512DQ target. But 16-bit masks to/from 8-bit masks conversion is typical for A