[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: -O3 compilation?



On 29 Dec 1997, John Goerzen wrote:

> Currently, our policy encourages or mandates -O2 compilation.
> However, there are some certain programs for which -O3 is much better.
> 
> One that I am aware of is bzip2.  This is a processor-intensive
> program that could certainly benefit from -O3.

Unless I'm mistaken, the Debian bzip2 already uses -O3:

(From bzip2's ./Makefile)

CFLAGS = -O3 -fomit-frame-pointer -funroll-loops

(Hehe, the upstream source came that way, so I never bothered to change
it. <grin>)

Anthony

-- 
Anthony Fok Tung-Ling            foka@gpu.srv.ualberta.ca
Civil Engineering                http://www.ualberta.ca/~foka/
University of Alberta, Canada    Keep smiling!  *^_^*


Reply to: