Re: FP emulator patch
From: Atsushi Nemoto <hidden>
Date: 2001-08-16 04:30:32
Attachments
- cp1emu.c.patch [text/plain] 420 bytes · preview
From: Atsushi Nemoto <hidden>
Date: 2001-08-16 04:30:32
quoted
quoted
quoted
quoted
On Wed, 15 Aug 2001 14:53:12 +0200, Carsten Langgaard [off-list ref] 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