Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2013 12:55:34 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        Diane Bruce <db@db.net>, John Baldwin <jhb@FreeBSD.org>, Stephen Montgomery-Smith <stephen@missouri.edu>, freebsd-numerics@FreeBSD.org, Steve Kargl <sgk@troutmask.apl.washington.edu>, David Schultz <das@FreeBSD.org>, Peter Jeremy <peter@rulingia.com>, Warner Losh <imp@bsdimp.com>
Subject:   Re: Use of C99 extra long double math functions after r236148
Message-ID:  <C7367F2D-0A97-422E-97B1-4AF4BFEDD526@FreeBSD.org>
In-Reply-To: <20130528205441.U2294@besplex.bde.org>
References:  <501204AD.30605@missouri.edu> <20120727032611.GB25690@server.rulingia.com> <20120728125824.GA26553@server.rulingia.com> <501460BB.30806@missouri.edu> <20120728231300.GA20741@server.rulingia.com> <50148F02.4020104@missouri.edu> <20120729222706.GA29048@server.rulingia.com> <5015BB9F.90807@missouri.edu> <20130528043205.GA3282@zim.MIT.EDU> <20130528155933.V1298@besplex.bde.org> <20130528081921.GB13594@zim.MIT.EDU> <20130528205441.U2294@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28 May 2013, at 12:12, Bruce Evans <brde@optusnet.com.au> wrote:

> Inlining the big function do_hard_work() helps for gcc on
> amd64 (about 5% faster), but makes no significant difference for =
clang.
> The previous testing was mostly with gcc.

How are you inlining?  With the C99 inline keyword, which changes the =
linkage type but only provides and advisory hint to the compiler with =
regard to inlining (which, in a modern compiler, is largely ignored), or =
with the always_inline attribute, which forces the compiler to inline =
the function?

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C7367F2D-0A97-422E-97B1-4AF4BFEDD526>