[Top] [All Lists]

Re: FP emulator patch

Subject: Re: FP emulator patch
From: Atsushi Nemoto <>
Date: Thu, 16 Aug 2001 13:35:01 +0900
In-reply-to: <>
Organization: TOSHIBA Personal Computer System Corporation
References: <>
>>>>> On Wed, 15 Aug 2001 14:53:12 +0200, Carsten Langgaard <> 
>>>>> said:
carstenl> There has been some reports regarding FP emulator failures,
carstenl> which the attached patch should solve.  The patch include a
carstenl> fix for emulation of instructions in a COP1 delay-slot, a
carstenl> fix for FP context switching and some additional stuff ,
carstenl> which was needed to pass our torture test.

There is another bug in FPU emulator.  An instruction in delay slot of
bc1tl/bc1fl executed(or emulated) even if the branch not taken.  Here
is a patch to fix this.

Since current kernel calls FPU emulator on FP exception and FPU
emulator handles continuous FP instructions in one call, this bug
affects CPUs with FPU (not only CPUs without FPU).

Atsushi Nemoto

Attachment: cp1emu.c.patch
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>