[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#163647: gcc-3.2: xmmintrin.h, _MM_TRANSPOSE4_PS is broken



Package: gcc-3.2
Version: 1:3.2.1-0pre3
Severity: normal
Tags: patch


the code in _MM_TRANSPOSE4_PS is incorrect.

The bug has been reported upstream as PR/6890.

--- xmmintrin.h.old     Fri May 31 18:43:57 2002
+++ xmmintrin.h Fri May 31 18:31:55 2002
@@ -1049,8 +1049,8 @@
do {                                                                   \
   __v4sf __r0 = (row0), __r1 = (row1), __r2 = (row2), __r3 = (row3);   \
   __v4sf __t0 = __builtin_ia32_shufps (__r0, __r1, 0x44);              \
-  __v4sf __t1 = __builtin_ia32_shufps (__r0, __r1, 0xEE);              \
-  __v4sf __t2 = __builtin_ia32_shufps (__r2, __r3, 0x44);              \
+  __v4sf __t2 = __builtin_ia32_shufps (__r0, __r1, 0xEE);              \
+  __v4sf __t1 = __builtin_ia32_shufps (__r2, __r3, 0x44);              \
   __v4sf __t3 = __builtin_ia32_shufps (__r2, __r3, 0xEE);              \
   (row0) = __builtin_ia32_shufps (__t0, __t1, 0x88);                   \
   (row1) = __builtin_ia32_shufps (__t0, __t1, 0xDD);                   \


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux stag 2.4.19-686 #1 Thu Aug 8 21:30:09 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.2 depends on:
ii  binutils                   2.13.90.0.4-1 The GNU assembler, linker and bina
ii  cpp-3.2                    1:3.2.1-0pre3 The GNU C preprocessor.
ii  gcc-3.2-base               1:3.2.1-0pre3 The GNU Compiler Collection (base 
ii  libc6                      2.2.5-13      GNU C Library: Shared libraries an
ii  libgcc1                    1:3.2.1-0pre3 GCC support library.




Reply to: