Re: [PATCH] i386: Improve avx* vector concatenation [PR93594]

2020-02-06 Thread Uros Bizjak
On Thu, Feb 6, 2020 at 9:34 AM Jakub Jelinek wrote: > > Hi! > > The following testcase shows that for _mm256_set*_m128i and similar > intrinsics, we sometimes generate bad code. All 4 routines are expressing > the same thing, a 128-bit vector zero padded to 256-bit vector, but only the > 3rd one

[PATCH] i386: Improve avx* vector concatenation [PR93594]

2020-02-06 Thread Jakub Jelinek
Hi! The following testcase shows that for _mm256_set*_m128i and similar intrinsics, we sometimes generate bad code. All 4 routines are expressing the same thing, a 128-bit vector zero padded to 256-bit vector, but only the 3rd one actually emits the desired vmovdqa %xmm0, %xmm0 insn, the oth