Re: Trapping PPC errors
- From: "Matthew Clark" <drmcclark@xxxxxxxxx>
- Date: 20 Mar 2006 10:04:57 -0800
To catch floating-point divide by zero, you need to enable exceptions
in the fpscr, request precise fp exceptions via prctl(), and write an
appropriate SIGFPE handler.
This is a little closer to the hardware than I'm used to programming.
Where can I find this manual you mention? Does it show how to
actually enable these exceptions (ie, code sample?)
Matt
.
- Follow-Ups:
- Re: Trapping PPC errors
- From: Seongbae Park
- Re: Trapping PPC errors
- References:
- Trapping PPC errors
- From: Matthew Clark
- Re: Trapping PPC errors
- From: Mikael Pettersson
- Trapping PPC errors
- Prev by Date: Re: IBM whitepaper on FSB snooping
- Next by Date: Re: Trapping PPC errors
- Previous by thread: Re: Trapping PPC errors
- Next by thread: Re: Trapping PPC errors
- Index(es):
Relevant Pages
|
|