This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up vpalignr for -mavx512vl -mno-avx512bw
- From: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 May 2016 11:51:43 +0300
- Subject: Re: [PATCH] Fix up vpalignr for -mavx512vl -mno-avx512bw
- Authentication-results: sourceware.org; auth=none
- References: <20160513171834 dot GS28550 at tucnak dot redhat dot com>
On 13 May 19:18, Jakub Jelinek wrote:
> Hi!
>
> vpalignr is AVX512BW & VL, so we shouldn't enable it just for VL.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
>
> 2016-05-13 Jakub Jelinek <jakub@redhat.com>
>
> * config/i386/sse.md (<ssse3_avx2>_palignr<mode>): Use
> constraint x instead of v in second alternative, add avx512bw
> alternative.
>
> * gcc.target/i386/avx512vl-vpalignr-3.c: New test.
> * gcc.target/i386/avx512bw-vpalignr-3.c: New test.
OK.
--
Thanks, K