[Top] [All Lists]

NON FPU cpus (again)

Subject: NON FPU cpus (again)
From: Atsushi Nemoto <>
Date: Thu, 20 Sep 2001 12:13:16 +0900 (JST)
In-reply-to: <>
Organization: TOSHIBA Personal Computer System Corporation
On 7 Feb 2001, Florian Lohoff reported exit_thread() problem on
NON-FPU CPUs.  Tt is still not solved in the current kernel.

>>>>> On Wed, 7 Feb 2001 14:48:58 +0100, Florian Lohoff <> said:
flo> I stumbled over the current tree as on the 3912 we dont have a
flo> FPU so we cant use the default "exit_thread" which simply causes
flo> the CPU to halt (not even an cpu reset works)

Following codes in exit_thread() and flush_thread() should be executed
only if (mips_cpu.options & MIPS_CPU_FPU) == 0, shouldn't it?

                __asm__ __volatile__("cfc1\t$0,$31");

BTW, I can not see any point in copying FCR31 to r0.  What is a
purpose of the cfc1 instruction?

Atsushi Nemoto

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