This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH, soft-fp]: Do not handle cleared exceptions in __neg_f2() functions
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 20 May 2007 23:26:56 +0200
- Subject: Re: [PATCH, soft-fp]: Do not handle cleared exceptions in __neg_f2() functions
- References: <464EFCCB.3050400@gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, May 19, 2007 at 03:34:03PM +0200, Uros Bizjak wrote:
> There is no need to handle exceptions __neg_f2() soft-fp functions as
> they are cleared in previous line.
That's wrong, please read sysdeps/sparc{32,64}/soft-fp/sfp-machine.h's
FP_HANDLE_EXCEPTIONS and SPARC ISA manuals about the cexc field.
Even FP_CLEAR_EXCEPTIONS; FP_HANDLE_EXCEPTIONS; does something on SPARC.
Jakub