Date: Wed, 28 May 2014 17:44:37 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r266815 - stable/9/contrib/llvm/tools/clang/lib/Headers Message-ID: <201405281744.s4SHibns081068@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Wed May 28 17:44:37 2014 New Revision: 266815 URL: http://svnweb.freebsd.org/changeset/base/266815 Log: MFC r266674: Pull in r209489 from upstream clang trunk (by Akira Hatanaka): Fix a bug in xmmintrin.h. The last step of _mm_cvtps_pi16 should use _mm_packs_pi32, which is a function that reads two __m64 values and packs four 32-bit values into four 16-bit values. <rdar://problem/16873717> Approved by: re (glebius) Modified: stable/9/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h Directory Properties: stable/9/contrib/llvm/ (props changed) stable/9/contrib/llvm/tools/clang/ (props changed) Modified: stable/9/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h ============================================================================== --- stable/9/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h Wed May 28 16:57:17 2014 (r266814) +++ stable/9/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h Wed May 28 17:44:37 2014 (r266815) @@ -903,7 +903,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__))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405281744.s4SHibns081068>