public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "W.Kenworthy" <billk@iinet.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: changing CHOST in stage3 (was : [gentoo-user] default stage3)
Date: Thu, 24 Nov 2005 09:42:21 +0800	[thread overview]
Message-ID: <1132796541.23570.21.camel@localhost> (raw)
In-Reply-To: <d07c57aa0511231724l1cbbf2aaw49cc16683f39a570@mail.gmail.com>

To explain, keep in mind that optimisation and chost are two different
things.  

i386 is a "lowest common denominator" instruction set that will run on
most 386 and above x86 processors.  i4/5/686 adds few specialised
instructions and I believe the compiler is able to use them to produce
faster code in some cases.  The downside is the loss of compatibility -
apparent if you switch processors.  Is the system faster - my tests
(done ages ago now) say yes, but not by much and its highly dependent on
the actual code/data in use at the time.  

Generally, you will get more gain by smarter configuration, better
software etc.  Thats not to say optimised CFLAGS and compiler choices
wont give a useful speedup, especially when crunching data.  It just
wont turn a 667Mhz P3 into the equivalent 1G P3 - I know I recently
tried to "get a little more" out of one :)

BillK

On Wed, 2005-11-23 at 21:24 -0400, Robin wrote:
> > > Wouldn't leaving the CHOST at
> > > "i386-pc-linux-gnu" build unoptimized binaries?
> >
> > No.
> >
> > Alexander Skwar
> 
> Thanks for that. My CHOST flag is set to i386-pc-linux-gnu even though
> it is not.  Just a piece of mind I guess not building unoptimized
> binaries.
> 
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-11-24  1:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22  2:08 changing CHOST in stage3 (was : [gentoo-user] default stage3) Matthew Cline
2005-11-22  6:06 ` Alexander Skwar
2005-11-22 11:33   ` Neil Bothwick
2005-11-22 22:11   ` Matthew Cline
2005-11-22 23:16     ` Matthias Langer
2005-11-23  0:52       ` Richard Fish
2005-11-23  5:55         ` Richard Fish
2005-11-23  5:57     ` Alexander Skwar
2005-11-24  1:24       ` Robin
2005-11-24  1:42         ` W.Kenworthy [this message]
2005-11-22 13:17 ` Ciaran McCreesh
2005-11-23 20:34   ` [gentoo-user] Re: changing CHOST in stage3 Allan Gottlieb
2005-11-24  4:58     ` Ciaran McCreesh
2005-11-24 17:48       ` Allan Gottlieb
2005-11-24 19:55         ` Ciaran McCreesh
2005-11-25  3:30           ` Allan Gottlieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1132796541.23570.21.camel@localhost \
    --to=billk@iinet.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox