This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: std::max/min optimization


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

Nathan Myers wrote:

> Summing over all the programs that are actually run, 
> which produces a better overall result?

Completely irrelevant.  You say it yourself:

> on the assumption that
> users who care most about performance are using fast machines.

The fastest code for the fastest machine is generated with by gcc using
the plain old a > b ? a : b code.

- -- 
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/xO4f2ijCOnn/RHQRAhCUAJ4kR2UncRqwrn8KZNaO/9/HqzQ3xgCfQ8PL
WKxE5pVT4H4i23iBm6/2GsA=
=gLSS
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]