All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [PATCH] MIPS: Emulate 64-bit FPU on 64-bit CPUs.
Date: Tue, 3 Nov 2009 05:27:12 +0100	[thread overview]
Message-ID: <20091103042712.GA14423@linux-mips.org> (raw)
In-Reply-To: <1257190426-29346-1-git-send-email-ddaney@caviumnetworks.com>

On Mon, Nov 02, 2009 at 11:33:46AM -0800, David Daney wrote:

> Running a 64-bit kernel on a 64-bit CPU without an FPU would cause the
> emulator to run in 32-bit mode.  The c0_Status.FR bit is wired to zero
> on systems without an FPU, so using that bit to decide how the
> emulator behaves doesn't allow for proper emulation on 64-bit FPU-less
> processors.
> 
> Instead, we need to select the emulator mode based on the user-space
> ABI.  Since the thread flag TIF_32BIT_REGS is used to set
> c0_Status.FR, we can just use it to decide if the emulator should be
> in 32-bit or 64-bit mode.

Thanks, applied!

  Ralf

      reply	other threads:[~2009-11-03  4:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-02 19:33 [PATCH] MIPS: Emulate 64-bit FPU on 64-bit CPUs David Daney
2009-11-03  4:27 ` Ralf Baechle [this message]

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=20091103042712.GA14423@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=ddaney@caviumnetworks.com \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.