public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] -fbranch-probabilities optimisation
  @ 2003-05-17  6:33 99%   ` Werner Van Belle
  0 siblings, 0 replies; 1+ results
From: Werner Van Belle @ 2003-05-17  6:33 UTC (permalink / raw
  To: Sven Vermeulen, gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 17 May 2003 13:43, Sven Vermeulen wrote:
> On Sat, May 17, 2003 at 03:49:11AM +0100, Chris Davies wrote:
> > I had the idea to build -fbranch-probabilities optimisation into portage.
> > This is where a sample run of data is taken using the program compiled
> > with -fprofile-arcs, and that data then used to reorganise the object
> > code so conditional branches are layed out in a more efficient manner.
>
> Why implement it in Portage? Isn't it up to the user to define it in the
> CFLAGS or not?

This won't be possible because if you want this optimisation you have:

a) To compile the program with -fprofile-arcs
b) Run the program
c) Recompile the program with the same optimisations but with 
- -fbranch-probabilities

- --
Werner,-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+xde8xiU3uL/NdUYRAiP6AJ0QjEGvQS4QdmjIbQc5GkyILTjp5wCfSQQM
5uusj7sl82+ITMRc9xcEaD4=
=eiol
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-05-17  2:49     [gentoo-dev] -fbranch-probabilities optimisation Chris Davies
2003-05-17 11:43     ` Sven Vermeulen
2003-05-17  6:33 99%   ` Werner Van Belle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox