From owner-freebsd-amd64@FreeBSD.ORG Tue Aug 21 15:10:08 2007 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E1F016A47A for ; Tue, 21 Aug 2007 15:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5112E13C46B for ; Tue, 21 Aug 2007 15:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7LFA8Dd000280 for ; Tue, 21 Aug 2007 15:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7LFA8nv000277; Tue, 21 Aug 2007 15:10:08 GMT (envelope-from gnats) Date: Tue, 21 Aug 2007 15:10:08 GMT Message-Id: <200708211510.l7LFA8nv000277@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Simun Mikecin X-Mailman-Approved-At: Tue, 21 Aug 2007 16:22:40 +0000 Cc: Subject: Re: amd64/115581: [patch] -mfancy-math-387 has no effect X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Simun Mikecin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 15:10:08 -0000 The following reply was made to PR amd64/115581; it has been noted by GNATS. From: Simun Mikecin To: Bruce Evans Cc: bug-followup@freebsd.org Subject: Re: amd64/115581: [patch] -mfancy-math-387 has no effect Date: Tue, 21 Aug 2007 07:37:41 -0700 (PDT) --- Bruce Evans wrote: > > This PR is about -mfancy-math-387 usage when compiling 32-bit compatibility > > libraries that are gone be used on FreeBSD/amd64. > > As far as I can see FreeBSD's libm on i386 uses those fancy instructions (for > > example /usr/src.current/lib/msun/i387/s_sin.S), so the same libm will be > > used for running 32-bit apps on FreeBSD/amd64. > Well, that's in asm so it is not affected by compiler flags. Compiler > flags can cause the library to be not used at all in some cases where > the library is better. I'm just wondering will it have a positive impact on performance if FreeBSD/i386 libm is changed not to use that asm code with fancy instructions (just like FreeBSD/amd64 does). Sime ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC