This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] vec_extract XMM16-XMM17 improvements
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 May 2016 10:11:37 +0200
- Subject: Re: [PATCH] vec_extract XMM16-XMM17 improvements
- Authentication-results: sourceware.org; auth=none
- References: <20160509165520 dot GJ28550 at tucnak dot redhat dot com> <20160512073051 dot GE4018 at msticlxl57 dot ims dot intel dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, May 12, 2016 at 10:30:53AM +0300, Kirill Yukhin wrote:
> Hi,
> On 09 May 18:55, Jakub Jelinek wrote:
> > Hi!
> >
> > vpextr{b,w} are in AVX512BW, so is vpsrldq, and vpextr{d,q} are in
> > AVX512DQ.
> >
> > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> OK.
Note, this patch depends on the
https://gcc.gnu.org/ml/gcc-patches/2016-05/msg00393.html
patch. You've acked an earlier version of that patch, but not
the one with the new constraint.
Is that also ok for trunk?
> > 2016-05-09 Jakub Jelinek <jakub@redhat.com>
> >
> > * config/i386/i386.md (isa): Add x64_avx512dq, enable if
> > TARGET_64BIT && TARGET_AVX512DQ.
> > * config/i386/sse.md (*vec_extract<mode>): Add avx512bw alternatives.
> > (*vec_extract<PEXTR_MODE12:mode>_zext): Add avx512bw alternative.
> > (*vec_extract<ssevecmodelower>_0, *vec_extractv4si_0_zext,
> > *vec_extractv2di_0_sse): Use v constraint instead of x constraint.
> > (*vec_extractv4si): Add avx512dq and avx512bw alternatives.
> > (*vec_extractv4si_zext): Add avx512dq alternative.
> > (*vec_extractv2di_1): Add x64_avx512dq and avx512bw alternatives,
> > use v instead of x constraint in other alternatives where possible.
> >
> > * gcc.target/i386/avx512bw-vpextr-1.c: New test.
> > * gcc.target/i386/avx512dq-vpextr-1.c: New test.
Jakub