lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071026114510.GD30533@stusta.de>
Date:	Fri, 26 Oct 2007 13:45:10 +0200
From:	Adrian Bunk <bunk@...nel.org>
To:	Pádraig Brady <P@...igBrady.com>
Cc:	Michael Lothian <mike@...eburn.co.uk>, linux-kernel@...r.kernel.org
Subject: Re: Possibility of adding -march=native to x86

On Fri, Oct 26, 2007 at 11:41:18AM +0100, Pádraig Brady wrote:
> Adrian Bunk wrote:
> > On Thu, Oct 25, 2007 at 09:12:45PM +0100, Michael Lothian wrote:
> >>> The MPENTIUM4 option does not only set -march=pentium4, it also enables
> >>> several other options in arch/i386/Kconfig.cpu resulting in better
> >>> performance.
> >> How about an autodetect to set the right options here too using cpuid?
> >>
> >> With a warning of course that the code produced will be specifically
> >> for the native cpu that it's compiled on.
> > 
> > If you don't know or can figure out yourself the CPU you have, you'd 
> > better not compile your own kernel...
> 
> There also is the added variable of what your version of gcc supports.
> The kernel gcc options would have to be the highest common factor.
> See also http://www.pixelbeat.org/scripts/gcccpuopt

arch/i386/Makefile.cpu already does more or less the same.

> Pádraig.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ