This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50829] avx extra copy for _mm256_insertf128_pd
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 01 Dec 2012 16:30:23 +0000
- Subject: [Bug target/50829] avx extra copy for _mm256_insertf128_pd
- Auto-submitted: auto-generated
- References: <bug-50829-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50829
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #9 from Marc Glisse <glisse at gcc dot gnu.org> 2012-12-01 16:30:23 UTC ---
The code with intrinsics still has the extra move, but note that this version
without intrinsics generates perfect code:
#include <x86intrin.h>
__m256d concat(__m128d x){
__m256d z={x[0],x[1],x[0],x[1]};
return z;
}