Re: si_code broken for SIGFPE on Mac OS X/x86?
Re: si_code broken for SIGFPE on Mac OS X/x86?
- Subject: Re: si_code broken for SIGFPE on Mac OS X/x86?
- From: Eric Albert <email@hidden>
- Date: Wed, 15 Mar 2006 18:01:29 -0800
On Mar 15, 2006, at 1:28 PM, Jonas Maebe wrote:
The following program (when compiled with" -mno-sse -mno-sse2 -mno-
sse3" prints this on Mac OS X 10.4.5/x86:
sigaction: Unknown error: 0
si->si_code: 0
On Linux/x86, I get (after replacing the _cw with cw in the
assembler code):
sigaction: Success
si->si_code: 3
(the perror() output is obviously of no importance, since no error
occurred installing the signal handler).
Is si_code for fpu-division by zero exceptions known to be broken
on Mac OS X/x86? (or is this not known since gcc generates sse code
by default on Mac OS X/x86?)
This is not a known bug, and it has probably gone unnoticed for
exactly the reason you described. Please file a bug report. For
prioritization, it'd also be very helpful if you mentioned why you're
turning off SSE instructions.
Thanks,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden