various _mm512_set* intrinsics

Kirill Yukhin kirill.yukhin@gmail.com
Mon Mar 31 12:13:00 GMT 2014


Hello guys,
On 28 Mar 20:10, Uros Bizjak wrote:
> Hello!
> 
> > Here are more intrinsics that are missing.  I know that gcc currently
> > generates horrible code for most of them but I think it's more important
> > to have the API in place, albeit non-optimal.  Maybe this entices some
> > one to add the necessary optimizations.
> 
> I agree that having non-optimal implementation is better than nothing.
> 
> > The code is self-contained and shouldn't interfere with any correct
> > code.  Should this also go into 4.9?
> >
> > 2014-03-27  Ulrich Drepper  <drepper@gmail.com>
> >
> > * config/i386/avx512fintrin.h (__v32hi): Define type.
> > (__v64qi): Likewise.
> > (_mm512_set1_epi8): Define.
> > (_mm512_set1_epi16): Define.
> > (_mm512_set4_epi32): Define.
> > (_mm512_set4_epi64): Define.
> > (_mm512_set4_pd): Define.
> > (_mm512_set4_ps): Define.
> > (_mm512_setr4_epi64): Define.
> > (_mm512_setr4_epi32): Define.
> > (_mm512_setr4_pd): Define.
> > (_mm512_setr4_ps): Define.
> > (_mm512_setzero_epi32): Define.
> 
> This is OK for mainline, but please wait for Kirill's review of the intrinsics.
Patch is more than welcome! Thanks for finding/implementing this missing stuff!

--
K



More information about the Gcc-patches mailing list