From owner-svn-src-head@FreeBSD.ORG Sat Oct 15 04:24:55 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 386F6106564A; Sat, 15 Oct 2011 04:24:55 +0000 (UTC) (envelope-from das@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 27F908FC0C; Sat, 15 Oct 2011 04:24:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9F4OtBh094794; Sat, 15 Oct 2011 04:24:55 GMT (envelope-from das@svn.freebsd.org) Received: (from das@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9F4OtOo094792; Sat, 15 Oct 2011 04:24:55 GMT (envelope-from das@svn.freebsd.org) Message-Id: <201110150424.p9F4OtOo094792@svn.freebsd.org> From: David Schultz Date: Sat, 15 Oct 2011 04:24:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226374 - head/lib/msun/src X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 15 Oct 2011 04:24:55 -0000 Author: das Date: Sat Oct 15 04:24:54 2011 New Revision: 226374 URL: http://svn.freebsd.org/changeset/base/226374 Log: Don't define FP_FAST_FMA on sparc64; with the recent fixes, fma() is no longer "fast" on sparc64. (It really wasn't to begin with, since the old implementation was using long doubles, and long doubles are emulated in software on sparc64.) Modified: head/lib/msun/src/math.h Modified: head/lib/msun/src/math.h ============================================================================== --- head/lib/msun/src/math.h Sat Oct 15 04:22:55 2011 (r226373) +++ head/lib/msun/src/math.h Sat Oct 15 04:24:54 2011 (r226374) @@ -68,14 +68,11 @@ extern const union __nan_un { #define MATH_ERREXCEPT 2 #define math_errhandling MATH_ERREXCEPT -/* XXX We need a . */ -#if defined(__ia64__) || defined(__sparc64__) -#define FP_FAST_FMA 1 -#endif +#define FP_FAST_FMAF 1 #ifdef __ia64__ +#define FP_FAST_FMA 1 #define FP_FAST_FMAL 1 #endif -#define FP_FAST_FMAF 1 /* Symbolic constants to classify floating point numbers. */ #define FP_INFINITE 0x01