From: ndiamond@despammed.com
To: linux-kernel@vger.kernel.org
Subject: MIPS, How to use floating point in a module?
Date: Wed, 2 Jun 2004 22:39:17 -0500 (CDT) [thread overview]
Message-ID: <200406030339.i533dHk07037@mailout.despammed.com> (raw)
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.
next reply other threads:[~2004-06-03 3:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-03 3:39 ndiamond [this message]
2004-06-03 15:05 ` Yoichi Yuasa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200406030339.i533dHk07037@mailout.despammed.com \
--to=ndiamond@despammed.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®