Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux