From 3287a0401ced8207774df156548846b96f91e0ee Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Mon, 5 Dec 2005 23:04:28 +0000 Subject: [PATCH] re PR target/24323 (_MM_TRANSPOSE4_PS could be improved) 2005-12-05 Dale Johannesen * config/i386/xmmintrin.h (_MM_TRANSPOSE4_PS): Fix to match what was approved (PR 24323). From-SVN: r108080 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/xmmintrin.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 949b5a8912f..a6318b77ab4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-05 Dale Johannesen + + * config/i386/xmmintrin.h (_MM_TRANSPOSE4_PS): Fix to match + what was approved (PR 24323). + 2005-12-05 Gabriel Dos Reis * doc/c-tree.texi (Function Bodies): Remove description of diff --git a/gcc/config/i386/xmmintrin.h b/gcc/config/i386/xmmintrin.h index fb4d38c038b..99790b06420 100644 --- a/gcc/config/i386/xmmintrin.h +++ b/gcc/config/i386/xmmintrin.h @@ -1198,8 +1198,8 @@ _mm_pause (void) do { \ __v4sf __r0 = (row0), __r1 = (row1), __r2 = (row2), __r3 = (row3); \ __v4sf __t0 = __builtin_ia32_unpcklps (__r0, __r1); \ - __v4sf __t2 = __builtin_ia32_unpcklps (__r2, __r3); \ - __v4sf __t1 = __builtin_ia32_unpckhps (__r0, __r1); \ + __v4sf __t1 = __builtin_ia32_unpcklps (__r2, __r3); \ + __v4sf __t2 = __builtin_ia32_unpckhps (__r0, __r1); \ __v4sf __t3 = __builtin_ia32_unpckhps (__r2, __r3); \ (row0) = __builtin_ia32_movlhps (__t0, __t1); \ (row1) = __builtin_ia32_movhlps (__t1, __t0); \