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


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

Re: Kernel Optimization and RH 6


Rolando López wrote:
> Are the lines below the best option to compile a 2.2.x kernel with egcs running
> on a Pentium II?
> 
> -O6 -mpentiumpro -march=pentiumpro -malign-function=2
> -malign-jumps=2 -malign-loops=2 -fomit-frame-pointer
> -fstrength-reduce

You might try -mregparm=1 though you have to modify the kernel a little
in order to get it to run :-)

(No I don't have patches).

-- Jamie


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