Hello Ulrich, On 19 Mar 22:41, Ulrich Drepper wrote: > Another set of functions missing are those to set all elements of a > 512-bit vector to the same float or double value. I think the patch > below uses the optimal code sequence for that. The patch requires the > previous patch introducing _mm*_undefined_*. > > > 2014-03-19 Ulrich Drepper <drep...@gmail.com> > > * config/i386/avx512fintrin.h: Define _mm512_set1_ps and > _mm512_set1_pd. Your patch is correct IMHO, but maybe it worst to add all missing `mm512_set1*' stuff?
According to trunk and [1] we're still missing (beside mentioned by you) _mm512_set1_epi16 and _mm512_set1_epi8 broadcasts. [1] - http://software.intel.com/sites/landingpage/IntrinsicsGuide/ -- Thanks, K