This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [x86, 3/n] Replace builtins with vector extensions
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Marc Glisse <marc dot glisse at inria dot fr>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 9 Nov 2014 09:31:18 +0100
- Subject: Re: [x86, 3/n] Replace builtins with vector extensions
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 02 dot 1411080657410 dot 15900 at stedding dot saclay dot inria dot fr>
On Sat, Nov 8, 2014 at 1:47 PM, Marc Glisse <marc.glisse@inria.fr> wrote:
> Hello,
>
> this patch mechanically extends +-* for integer vectors of size 256 and
> 512 (the previous patch only handled 128).
>
> Regtested together with the next patch.
>
> 2014-11-10 Marc Glisse <marc.glisse@inria.fr>
>
> * config/i386/avxintrin.h (__v4du, __v8su, __v16hu, __v32qu):
> New typedefs.
> * config/i386/avx512fintrin.h (__v8du, __v16su, __v32hu, __v64qu):
> Likewise.
> (_mm512_mullo_epi32, _mm512_add_epi64, _mm512_sub_epi64,
> _mm512_add_epi32, _mm512_sub_epi32): Use vector extensions
> instead of builtins.
> * config/i386/avx2intrin.h (_mm256_add_epi8, _mm256_add_epi16,
> _mm256_add_epi32, _mm256_add_epi64, _mm256_mullo_epi16,
> _mm256_mullo_epi32, _mm256_sub_epi8, _mm256_sub_epi16,
> _mm256_sub_epi32, _mm256_sub_epi64): Likewise.
> * config/i386/avx512bwintrin.h (_mm512_mullo_epi16, _mm512_add_epi8,
> _mm512_sub_epi8, _mm512_sub_epi16, _mm512_add_epi16): Likewise.
> * config/i386/avx512dqintrin.h (_mm512_mullo_epi64): Likewise.
> * config/i386/avx512vldqintrin.h (_mm256_mullo_epi64,
> _mm_mullo_epi64):
> Likewise.
OK.
Uros.