From: Thomas Sailer <sailer@ife.ee.ethz.ch>
To: linux-sound@vger.kernel.org
Subject: Re: MPEG Support
Date: Thu, 05 Aug 1999 17:04:59 +0000 [thread overview]
Message-ID: <marc-linux-sound-93387262113707@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-93371079221997@msgid-missing>
sbenno@gardena.net wrote:
> Tom, could you please explain why we can't use these instructions in kernel
> mode ?
> I thougth that Linux don't use FP due to performance reasons, but not
> because it's not allowed.
> RT Linux seems to have some FP restrictions as well, but I think this is
> due to the fact that FP instructions could cause exceptions, which might
> ruin RT responsiveness by a few usecs.
> :-)
Exceptions are one thing, the other is that the kernel doesn't save FPU
state
in the normal case (it does so lazily when switching user space apps).
You could do fsave;fninit by hand, but that would be unportable to other
archs and depending on where you do it would ruin some fast paths
(like lazy FPU switching 8-)). And fsave/frestore is expensive.
Tom
next prev parent reply other threads:[~1999-08-05 17:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-03 19:56 MPEG Support Kurt Wall
1999-08-04 9:25 ` Benno Senoner
1999-08-04 12:50 ` Jonathan C. Masters
1999-08-04 14:31 ` Thomas Sailer
1999-08-05 10:30 ` Kurt Wall
1999-08-05 13:06 ` Thomas Sailer
1999-08-05 13:18 ` Kurt Wall
1999-08-05 17:03 ` sbenno
1999-08-05 17:04 ` Thomas Sailer [this message]
1999-08-05 19:12 ` Hannu Savolainen
1999-08-06 1:57 ` Dan Hollis
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=marc-linux-sound-93387262113707@msgid-missing \
--to=sailer@ife.ee.ethz.ch \
--cc=linux-sound@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