Re: [PATCH, i386] Fix operands order in kunpck* insns and corresponding expands

2016-04-13 Thread Kirill Yukhin
Hi Ilya, On 13 Apr 16:29, Ilya Enkovich wrote: > Hi, > > Current kunpck[hi|si|di] patterns emit operands in a wrong order. This > is compensated by a wrong operands order in vec_pack_trunc_[qi|hi|si] > expands and therefore we get correct code for vectorized loops. Code > using kunpck* intrinsics

[PATCH, i386] Fix operands order in kunpck* insns and corresponding expands

2016-04-13 Thread Ilya Enkovich
Hi, Current kunpck[hi|si|di] patterns emit operands in a wrong order. This is compensated by a wrong operands order in vec_pack_trunc_[qi|hi|si] expands and therefore we get correct code for vectorized loops. Code using kunpck* intrinsics would be wrong though. This patch fixes operands order an