This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove alpha specific fmax, fmin to fix sNaN handling [BZ #20947]
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Joseph Myers <joseph at codesourcery dot com>, Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 1 Jan 2018 17:32:21 -0200
- Subject: Re: [PATCH] Remove alpha specific fmax, fmin to fix sNaN handling [BZ #20947]
- Authentication-results: sourceware.org; auth=none
- References: <20171231163825.9768-1-aurelien@aurel32.net> <7f8e7304-a9b0-9925-62bd-b916a10a4a98@linaro.org> <20180101150041.GB4216@aurel32.net> <alpine.DEB.2.20.1801011505090.394@digraph.polyomino.org.uk>
On 01/01/2018 13:06, Joseph Myers wrote:
> On Mon, 1 Jan 2018, Aurelien Jarno wrote:
>
>> Thanks for the review. ceil and floor have already been fixed in commits
>> 062e53c195 and 65cc568cf5. What is left are many issues with the
>> exceptions, mostly "Inexact" ones, but they are more difficult to fix.
>
> If you have missing "inexact" for functions that require it to be raised,
> building those particular functions with -mieee-with-inexact (which some
> functions and tests already use) would be appropriate.
>
Indeed I was referring to Inexact exceptions being generated. And
unfortunately adding -mieee-with-inexact on s_ceil{f} does not seems
to fix the issues on the environment I have access (gcc version 6.3.0,
Alpha EV68CB). Also, the same compiler flag does not help on fma{f}.