Hi,

On Thu, 30 Apr 2015 18:26:22 +0200 Volker Armin Hemmann wrote:
> That simple. The kernel is too important and the people programming it
> know what they are doing. Don't set anything. It is retarded.
> >
> > - I don't like invoking 'CFLAGS="-O2 -march=foo"make'
> > - I don't want to set CFLAGS as a persistent environment variable.
> > - I don't want to modify the kernel Makefile
> >
> > Does it actually make sense to set an optimization level and -march?
> 
> no

While I completely agree with you that kernel CFLAGS should not be
randomly tampered with, I can't agree that -march itself is useless.
Tests and results are available here:
https://github.com/graysky2/kernel_gcc_patch

Optimization is a very powerful tool if taken with care. Of course
it may lead to a disastrous result if mindlessly used.

Best regards,
Andrew Savchenko

Attachment: pgpeiw2NIYR7p.pgp
Description: PGP signature

Reply via email to