Re: [PATCH] x86: _mm*_undefined_* (for real)

2014-03-27 Thread Kirill Yukhin
Hello Ulrich, On 21 Mar 06:41, Ulrich Drepper wrote: > From personal experience I find it > very frustrating if a gcc release doesn't have the complete set of > intrinsics since then you have to provide your own implementations in > code which doesn't assume the latest compiler. I think I should m

Re: [PATCH] x86: _mm*_undefined_* (for real)

2014-03-24 Thread Uros Bizjak
Hello! 2014-03-19 Ulrich Drepper * config/i386/avxintrin.h (_mm256_undefined_si256): Define. (_mm256_undefined_ps): Define. (_mm256_undefined_pd): Define. * config/i386/emmintrin.h (_mm_undefined_si128): Define. (_mm_undefined_pd): Define. * conf

Re: [PATCH] x86: _mm*_undefined_* (for real)

2014-03-24 Thread Ulrich Drepper
On Mon, Mar 24, 2014 at 2:31 AM, Kirill Yukhin wrote: > If list of missing intrinsics is big - maybe you could share it? I can > help you implementing it. So far only the set1 intrinsics. I'll see whether I can spot more. > In general, I think _undefined idea is correct and the patch is doing

Re: [PATCH] x86: _mm*_undefined_* (for real)

2014-03-23 Thread Kirill Yukhin
Hello Ulrich, On 21 Mar 06:41, Ulrich Drepper wrote: > This is a tested version of the patch I sent before. I'm using the > >type var = var > > trick for the initialization so far even those this is not ideal as I > have shown in one of the emails before. If anyone could work on a real > s