mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* floating point exception problem on apple PPC
@ 2001-08-07  4:40 mdaljeet
  0 siblings, 0 replies; only message in thread
From: mdaljeet @ 2001-08-07  4:40 UTC (permalink / raw)
  To: linux-kernel

Hi,

I am using SuSE Linux 7.1 with kernel version 2.4.2 on Apple G4 dual
processor PPC machine.

Due to setting of MSR[FE0] and MSR[FE1] bits in the 'FPUnavailable'
exception handler, a user application that tries to do floating point
arthemetic with large floating point values gets a SIGFPE signal. By
setting the FPSCR register with appropriate value in the SIGFPE signal
handler the program runs fine with the expected values.

Now, what happens is that when I run such program (that does floating point
arthemetic with large floating point values) continuously for hours, the
other applications running on the system sometimes get terminated after
receiving a SIGFPE signal while my floating point program runs fine. Is
that due to some kernel problem or loading the FPSCR in the SIGFPE signal
handler of a process can lead to this problem?

regards,
Daljeet.



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

only message in thread, other threads:[~2001-08-07  4:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-07  4:40 floating point exception problem on apple PPC mdaljeet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®