Messages in this thread | | | Date | Thu, 30 Oct 2003 08:51:49 -0500 (EST) | From | "Richard B. Johnson" <> | 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/
| |