public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Michael Meissner <meissner@the-meissners.org>
To: Dara Hazeghi <dhazeghi@yahoo.com>
Cc: Jason Thorpe <thorpej@wasabisystems.com>, gcc@gcc.gnu.org
Subject: Re: Darwin multilibs
Date: Tue, 27 May 2003 22:43:00 -0000	[thread overview]
Message-ID: <20030527211201.GA9493@tiktok.the-meissners.org> (raw)
In-Reply-To: <20030527200930.91060.qmail@web41110.mail.yahoo.com>

On Tue, May 27, 2003 at 01:09:30PM -0700, Dara Hazeghi wrote:
> > It's not silly at all... if you had to save FP
> > context at every 
> > interrupt, the kernel would be a lot slower.
> 
> Thanks for the point. You're the second one to point
> out this fact to me! I guess it just seems strange to
> me because I'm used to x86/Linux, which has no
> multilibs (that I'm aware of)...

Due to the 'crippled' nature of the x86 floating point stack, and the fact that
the xmm registers are only in the newer chips and aren't enabled unless you
specifically say to use them, you aren't likely to run into the condition where
you would need to use the -msoft-float option.  If it was likely that the
register allocator would allocate a floating point register, then the kernel
would presumably need to use a switch that disables the floating point
registers just like it does on the Alpha, SH, SPARC, PARISC Linux kernels.  In
the early days (on 386sx processors), it might have been advantageous to use
-msoft-float if glibc had ever been multilib'ed.

-- 
Michael Meissner
email: meissner@the-meissners.org
http://www.the-meissners.org

  reply	other threads:[~2003-05-27 21:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-25  9:26 Dara Hazeghi
2003-05-25 15:24 ` Geoff Keating
2003-05-25 17:57   ` Dara Hazeghi
2003-05-25 18:39     ` H. J. Lu
2003-05-26 20:23     ` Geoff Keating
2003-05-27  1:57       ` Dara Hazeghi
2003-05-27 16:36         ` Jason Thorpe
2003-05-27 21:33           ` Dara Hazeghi
2003-05-27 22:43             ` Michael Meissner [this message]
2003-05-26 17:13   ` Stan Shebs
2003-05-26 22:33     ` Michael Meissner
2003-05-27  5:40       ` Stan Shebs

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=20030527211201.GA9493@tiktok.the-meissners.org \
    --to=meissner@the-meissners.org \
    --cc=dhazeghi@yahoo.com \
    --cc=gcc@gcc.gnu.org \
    --cc=thorpej@wasabisystems.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).