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

From: Chuck Ebbert
Date: Wed Aug 17 2005 - 13:54:24 EST


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.


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