Re: MIPS, How to use floating point in a module?

From: Yoichi Yuasa
Date: Thu Jun 03 2004 - 10:19:36 EST


On Wed, 2 Jun 2004 22:39:17 -0500 (CDT)
ndiamond@xxxxxxxxxxxxx wrote:

> Now I am told that our next target will be a MIPS-based CPU.
> Looking at files under arch and asm includes for MIPS, I don't see
> any equivalent of the x86 (x87, 686, etc.) functions and macros
> kernel_fpu_begin, init_fpu, kernel_fpu_end, etc. Is it safe to
> just barge ahead and use floating-point arithmetic operators when
> the driver needs to use them?

We cannot use the FPU instruction in a MIPS kernel.

Yoichi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/