autoconf
[Top][All Lists]
Advanced

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

Re: can I use dmesg to detect CPU type?


From: Dimitri Ognibene
Subject: Re: can I use dmesg to detect CPU type?
Date: Wed, 23 Feb 2005 19:17:24 +0100

On Wed, 23 Feb 2005 17:51:33 +0100, Sascha Silbe
<address@hidden> wrote:
> On Wed, Feb 23, 2005 at 05:31:49PM +0100, Dimitri Ognibene wrote:
> 
> > I'd like to choose cpu specific CFLAGS, for Athlon,pentium
> > 3,4,5,6,7...
> Let the user choose the CFLAGS. Just give a hint in the README about
> adding optimized CFLAGS. Otherwise the package will always work only on
> hosts with exactly the same architecture as the target host (or, in your
> case, the build host), maybe even causing problems when exchanging
> mainboard + CPU of the target host (because the old ones died).
> If you have different code for different CPUs (e.g. Athlon-optimized
> assembler code), compile all of those and choose one at runtime.
> 
> CU Sascha
> 
> --
> http://sascha.silbe.org/
> 
> 
> 
Sascha u are right but this library is used for some heavy job in a
scientific application, so optimization is the first thing.

I can in effect add an option to configure to request automatic
optimization but I'll add that afterwards, anyway




reply via email to

[Prev in Thread] Current Thread [Next in Thread]