lkml.org 
[lkml]   [2004]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMIPS, How to use floating point in a module?
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.

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

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.030 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site