This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [x86, 3/n] Replace builtins with vector extensions


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]