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

Michael S. Tsirkin mst at mellanox.co.il
Sat Feb 24 21:38:20 PST 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: [PATCH] libmthca: optimize calls to htonl with constant parameter
> 
>  > 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...

Once KDE4 is out, I expect that most systems will start shipping cmake.
Maybe it'll be practical to switch to that then.

-- 
MST




More information about the general mailing list