From owner-svn-src-head@FreeBSD.ORG Sun May 25 19:22:28 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1F8DE39; Sun, 25 May 2014 19:22:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BEDD029F8; Sun, 25 May 2014 19:22:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PJMSAl021950; Sun, 25 May 2014 19:22:28 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4PJMSuI021949; Sun, 25 May 2014 19:22:28 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201405251922.s4PJMSuI021949@svn.freebsd.org> From: Dimitry Andric Date: Sun, 25 May 2014 19:22:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266674 - head/contrib/llvm/tools/clang/lib/Headers X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2014 19:22:28 -0000 Author: dim Date: Sun May 25 19:22:28 2014 New Revision: 266674 URL: http://svnweb.freebsd.org/changeset/base/266674 Log: 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. MFC after: 3 days Modified: head/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h Modified: head/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h ============================================================================== --- head/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h Sun May 25 19:19:41 2014 (r266673) +++ head/contrib/llvm/tools/clang/lib/Headers/xmmintrin.h Sun May 25 19:22:28 2014 (r266674) @@ -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__))