All of lore.kernel.org
 help / color / mirror / Atom feed
* incorrect defiition of _FPU_IEEE for ppc linux?
@ 2001-04-19 12:21 Kevin B. Hendricks
  0 siblings, 0 replies; only message in thread
From: Kevin B. Hendricks @ 2001-04-19 12:21 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Franz Sirl


Hi,

I ran into a problem while porting OpenOffice 625 to ppc linux.  To turn off
exceptions under linux they set the fpu_control word to _FPU_IEEE.  This
works under x86 linux.

Under ppc linux, in fpu_control.h _FPU_IEEE sets the control word to
0x000000F0 which actually enables overflow, underflow, divide by zero,
and invalid fpu exceptions.  _FPU_DEFAULT actually disables them.

Isn't  fpu_control.h supplied by glibc?

If so, shouldn't  _FPU_IEEE be actually disabling fpu exceptions under ppc
linux and not enabling them?

Is this an issue in current glibc CVS too?

Thanks,

Kevin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-19 12:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-19 12:21 incorrect defiition of _FPU_IEEE for ppc linux? Kevin B. Hendricks

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.