[openib-general] [PATCH] libmthca: optimize calls to htonl with constant parameter

Roland Dreier rdreier at cisco.com
Fri Feb 23 07:32:51 PST 2007


 > Newer gccs have the -fwhole-program --combine options that address
 > this and more. One of the things that happens is that all internal
 > functions are made 'static' and all compilation units are optimized in
 > one go.

Good point... but is there any sane way to use that feature with
automake and libtool?  I know that the autotools are a pain but I
really don't want to reimplement the useful stuff they give us, and I
don't know of any really practical replacement...

 - R.




More information about the general mailing list