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: [PATCH] x86: _mm512_set1_p[sd]


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  <drepper@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


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