Re: can I use dmesg to detect CPU type?

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

 



On Wed, 23 Feb 2005 17:51:33 +0100, Sascha Silbe
<sascha-ml-autoconf@xxxxxxxxx> 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux