From: Ondrej Zary <linux@rainbow-software.org>
To: Chuck Ebbert <76306.1226@compuserve.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: FPU-intensive programs crashing with floating point exception on Cyrix MII
Date: Thu, 18 Aug 2005 12:37:30 +0200 [thread overview]
Message-ID: <430464EA.5050007@rainbow-software.org> (raw)
In-Reply-To: <200508171453_MC3-1-A76E-CAE6@compuserve.com>
Chuck Ebbert wrote:
> On Wed, 17 Aug 2005 at 18:13:55 +0200, Ondrej Zary wrote:
>
>
>>When I run a program that uses FPU, it sometimes crashes with "flaoting
>>point exception"
>
>
>
>>+ printk("MATH ERROR %d\n",((~cwd) & swd & 0x3f) | (swd & 0x240));
>
>
> Could you modify this to print the full values of cwd and swd like this?
>
> printk("MATH ERROR: cwd = 0x%hx, swd = 0x%hx\n", cwd, swd);
>
> Then post the result.
MATH ERROR: cwd = 0x37f, swd = 0x5020
MATH ERROR: cwd = 0x37f, swd = 0x20
MATH ERROR: cwd = 0x37f, swd = 0x20
MATH ERROR: cwd = 0x37f, swd = 0x2020
MATH ERROR: cwd = 0x37f, swd = 0x20
MATH ERROR: cwd = 0x37f, swd = 0x1820
MATH ERROR: cwd = 0x37f, swd = 0x1820
MATH ERROR: cwd = 0x37f, swd = 0x2020
MATH ERROR: cwd = 0x37f, swd = 0x20
MATH ERROR: cwd = 0x37f, swd = 0x2800
MATH ERROR: cwd = 0x37f, swd = 0x1820
MATH ERROR: cwd = 0x37f, swd = 0x820
MATH ERROR: cwd = 0x37f, swd = 0x2820
MATH ERROR: cwd = 0x37f, swd = 0x2820
MATH ERROR: cwd = 0x37f, swd = 0x1820
MATH ERROR: cwd = 0x37f, swd = 0x820
MATH ERROR: cwd = 0x37f, swd = 0x1a20
Running prime95 for almost 2 hours:
Torture Test ran 1 hours, 54 minutes - 0 errors, 0 warnings.
and playing some mpeg clips.
--
Ondrej Zary
next prev parent reply other threads:[~2005-08-18 10:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-17 18:49 FPU-intensive programs crashing with floating point exception on Cyrix MII Chuck Ebbert
2005-08-18 10:37 ` Ondrej Zary [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-21 9:47 Chuck Ebbert
2005-08-21 17:52 ` Linus Torvalds
2005-08-21 21:28 ` Ondrej Zary
2005-08-21 23:10 ` Linus Torvalds
2005-08-17 16:13 Ondrej Zary
2005-08-17 17:08 ` linux-os (Dick Johnson)
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=430464EA.5050007@rainbow-software.org \
--to=linux@rainbow-software.org \
--cc=76306.1226@compuserve.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