This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386] Fix operands order in kunpck* insns and corresponding expands
- From: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- To: Ilya Enkovich <enkovich dot gnu at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, ubizjak at gmail dot com;
- Date: Wed, 13 Apr 2016 16:44:12 +0300
- Subject: Re: [PATCH, i386] Fix operands order in kunpck* insns and corresponding expands
- Authentication-results: sourceware.org; auth=none
- References: <20160413132956 dot GA13305 at msticlxl57 dot ims dot intel dot com>
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 would be wrong though. This patch fixes
> operands order and adds runtime tests for _mm512_kunpack* intrinsics.
>
> Bootstrapped and regtested on x86_64-pc-linux-gnu. OK for trunk?
Patch is OK.
>
> Thanks,
> Ilya
--
Thanks, K