linux-mips
[Top] [All Lists]

[PATCH] new fpu code

To: linux-mips@linux-mips.org
Subject: [PATCH] new fpu code
From: Jun Sun <jsun@mvista.com>
Date: Mon, 28 Oct 2002 15:23:25 -0800
Cc: jsun@mvista.com
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
I finally pull myself together and create a clean FPU/SMP patch.  See
the attachment.

After much discussion and experiments, it is clear approach 2) in my
original proposal is the winner.  In other words:

. we save the FPU context if process used FPU in the last run
. we restore FPU on next time it uses FPU again

On doing this I also cleaned up a couple of other FPU related places.

This patch only changes linux 2.4 for 32bit MIPS.  64bit MIPS is already
using a similar algorithm.  I will extend the patch to 2.5 and 64bit
if there are no further issues.

Jun

Attachment: 021028.new-fpu.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] new fpu code, Jun Sun <=