This is the mail archive of the gcc-bugs@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]

[Bug target/50829] avx extra copy for _mm256_insertf128_pd


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;
}


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