Messages in this thread | | | Subject | RE: Question on SIGFPE | Date | Thu, 30 Oct 2003 19:27:39 +0530 | From | "Sreeram Kumar Ravinoothala" <> |
| |
Hi Mr Johnson, I used it and was able to compile, run. Well it still was crashing. We are using a mips processor. I am sorry I didn't mention about this. Thanks a lot for the help.
Regards Sreeram
---Never doubt that a small group of thoughtful, committed people can change the world. Indeed, it is the only thing that ever has. -- Copied from a mail
-----Original Message----- From: Richard B. Johnson [mailto:root@chaos.analogic.com] Sent: Thursday, October 30, 2003 7:22 PM To: Sreeram Kumar Ravinoothala Cc: Magnus Naeslund(t); Linux kernel Subject: RE: Question on SIGFPE
On Thu, 30 Oct 2003, Sreeram Kumar Ravinoothala wrote:
> > Hi Mr Johnson, > Thanks for the mail and sorry for pestering you. Actually the call > __setfpucw is not visible anywhere. Should I use > _FPU_SETCW(cw) instead of that? > > Thanks and Regards > SReeram
Yes. I just looked on a RH-9 system. The stuff I referenced was probably before there was a Red Hat!
I don't like that MACRO. Hopefully it works. It accesses memory that may not exist if you do _FPU_SETCW(_FPU_DEFAULT).
For safety do:
fpu_control_t cw = _FPU_DEFAULT; _FPU_SETCW(cw);
Cheers, Dick Johnson Penguin : Linux version 2.4.22 on an i686 machine (797.90 BogoMips). Note 96.31% of all statistics are fiction.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |