Gentoo Archives: gentoo-dev

From: Werner Van Belle <werner.van.belle@××××××.be>
To: Sven Vermeulen <swift@g.o>, gentoo-dev@g.o
Subject: Re: [gentoo-dev] -fbranch-probabilities optimisation
Date: Sat, 17 May 2003 12:33:50
Message-Id: 200305170833.33013.werner.van.belle@vub.ac.be
In Reply to: Re: [gentoo-dev] -fbranch-probabilities optimisation by Sven Vermeulen
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Saturday 17 May 2003 13:43, Sven Vermeulen wrote:
5 > On Sat, May 17, 2003 at 03:49:11AM +0100, Chris Davies wrote:
6 > > I had the idea to build -fbranch-probabilities optimisation into portage.
7 > > This is where a sample run of data is taken using the program compiled
8 > > with -fprofile-arcs, and that data then used to reorganise the object
9 > > code so conditional branches are layed out in a more efficient manner.
10 >
11 > Why implement it in Portage? Isn't it up to the user to define it in the
12 > CFLAGS or not?
13
14 This won't be possible because if you want this optimisation you have:
15
16 a) To compile the program with -fprofile-arcs
17 b) Run the program
18 c) Recompile the program with the same optimisations but with
19 - -fbranch-probabilities
20
21 - --
22 Werner,-
23 -----BEGIN PGP SIGNATURE-----
24 Version: GnuPG v1.2.1 (GNU/Linux)
25
26 iD8DBQE+xde8xiU3uL/NdUYRAiP6AJ0QjEGvQS4QdmjIbQc5GkyILTjp5wCfSQQM
27 5uusj7sl82+ITMRc9xcEaD4=
28 =eiol
29 -----END PGP SIGNATURE-----
30
31
32 --
33 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] -fbranch-probabilities optimisation Sven Vermeulen <swift@g.o>