]> granicus.if.org Git - clang/commitdiff
fix a bug in the _MM_TRANSPOSE4_PS definition, patch by Brian Sumner from
authorChris Lattner <sabre@nondot.org>
Wed, 27 Jan 2010 07:54:50 +0000 (07:54 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 27 Jan 2010 07:54:50 +0000 (07:54 +0000)
PR6138

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94669 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/xmmintrin.h

index e27060295a814a2290bd044629dc22248584c32d..efb74e4fd60c101b6c5261f9f9bcd1f1498979b9 100644 (file)
@@ -895,7 +895,7 @@ do { \
   (row0) = _mm_movelh_ps(tmp0, tmp2); \
   (row1) = _mm_movehl_ps(tmp2, tmp0); \
   (row2) = _mm_movelh_ps(tmp1, tmp3); \
-  (row3) = _mm_movelh_ps(tmp3, tmp1); \
+  (row3) = _mm_movehl_ps(tmp3, tmp1); \
 } while (0)
 
 /* Ugly hack for backwards-compatibility (compatible with gcc) */