NetBSD-Bugs archive

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

toolchain/48847: Fix bug in xmmintrin.h from clang



>Number:         48847
>Category:       toolchain
>Synopsis:       Fix bug in xmmintrin.h from clang
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 29 06:55:00 +0000 2014
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Bugfix from clang.
>How-To-Repeat:

>Fix:
diff -u -p -r1.1.1.2 xmmintrin.h
--- external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h        4 Mar 2014 
19:53:34 -0000       1.1.1.2
+++ external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h        26 May 2014 
05:24:59 -0000
@@ -905,7 +905,7 @@ _mm_cvtps_pi16(__m128 __a)
   __a = _mm_movehl_ps(__a, __a);
   __c = _mm_cvtps_pi32(__a);
   
-  return _mm_packs_pi16(__b, __c);
+  return _mm_packs_pi32(__b, __c);
 }
 
 static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))



Home | Main Index | Thread Index | Old Index