[Top] [All Lists]

Re: NON FPU cpus - way to go

To: Florian Lohoff <>
Subject: Re: NON FPU cpus - way to go
From: Jun Sun <>
Date: Wed, 07 Feb 2001 11:01:20 -0800
References: <>
Florian Lohoff wrote:
> Hi,
> i would like to know the way to go for NON-FPU cpus - Currently its
> partly an Compile Time thing and partly run time config.


My vote is to use config option.

Moving forward I see MIPS mainly used in embedded systems.  I think need of
using the same kernel binary for multiple CPUs is rare, especially for the
"same" CPU with or without FPU.  Therefore having run-time detection is a
waste of effort.  Half-config-half-runtime solution is pretty messy too.

For CPUs with the same PrID that may or may not have a FPU, we can add an
optional FPU selection in the file.

To be complete, I probably would add a check for the existence of FPU, if we
can infer from PrID, when FPU config option is enabled.


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