mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* MIPS, How to use floating point in a module?
@ 2004-06-03  3:39 ndiamond
  2004-06-03 15:05 ` Yoichi Yuasa
  0 siblings, 1 reply; 2+ messages in thread
From: ndiamond @ 2004-06-03  3:39 UTC (permalink / raw)
  To: linux-kernel

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?

This CPU has no opcodes for log2, exp2, sin, and cos, so it looks
like I'll have to buy one of the books that some posters here kindly
recommended, and do polynomial interpolations.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-03 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-03  3:39 MIPS, How to use floating point in a module? ndiamond
2004-06-03 15:05 ` Yoichi Yuasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®