From owner-freebsd-current@FreeBSD.ORG Thu Sep 6 10:20:29 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 778B01065670; Thu, 6 Sep 2012 10:20:29 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB8A8FC0C; Thu, 6 Sep 2012 10:20:29 +0000 (UTC) Received: from c120.sec.cl.cam.ac.uk (c120.sec.cl.cam.ac.uk [128.232.18.120]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id q86AKMnw094546 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 6 Sep 2012 10:20:23 GMT (envelope-from theraven@FreeBSD.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: <20120906084312.GA13223@freebsd.org> Date: Thu, 6 Sep 2012 11:20:24 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <122361C5-7B83-494B-A580-970FAFF83CAA@FreeBSD.org> References: <5046670C.6050500@andric.com> <20120904214344.GA17723@troutmask.apl.washington.edu> <504679CB.90204@andric.com> <20120904221413.GA19395@troutmask.apl.washington.edu> <50471BEE.6030708@andric.com> <20120905221310.GA97847@troutmask.apl.washington.edu> <20120906084312.GA13223@freebsd.org> To: Roman Divacky X-Mailer: Apple Mail (2.1278) Cc: Garrett Cooper , Dimitry Andric , freebsd-current@FreeBSD.org, Steve Kargl Subject: Re: Compiler performance tests on FreeBSD 10.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 10:20:29 -0000 On 6 Sep 2012, at 09:43, Roman Divacky wrote: > Was this compiled as amd64 or i386? Also, can you send me the test = case? > So that we can explore the difference. The working theory now is SSE = vs FPU > mathematics, but it would be nice to see the testcase. There may also be a difference in whether -ffast-math is the default on = each compiler. On x86, this will replace a number of libm calls with = (much faster, but less accurate) SSE or x87 instructions. If this is = enabled by default with clang and not with gcc, it would account for the = difference. =20 David=