public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Cc: libc-alpha@sourceware.org
Subject: Re: BZ #16503
Date: Tue, 10 May 2022 16:59:26 +0200	[thread overview]
Message-ID: <mw1qx15t81.fsf@tomate.loria.fr> (raw)
In-Reply-To: <3e1a7e9e-33cc-0e2f-4d56-227c6e8dcbdb@linaro.org> (message from Adhemerval Zanella via Libc-alpha on Tue, 10 May 2022 11:40:01 -0300)

thank you Adhemerval for checking.

Isn't it using the soft-fp fma from commit 6f7c009 ?

Paul

> Date: Tue, 10 May 2022 11:40:01 -0300
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
>  Thunderbird/91.9.0
> From: Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>
> 
> 
> 
> On 10/05/2022 06:29, Paul Zimmermann via Libc-alpha wrote:
> >        Hi,
> > 
> > has someone access to a SH4 processor? Now that #13304 is fixed,
> > maybe #16503 is fixed too ([sh] wrong results on fma_towardzero).
> > 
> > Best regards,
> > Paul
> > 
> 
> Besides some NaN failures, fma still shows issues:
> 
> $ ./testrun.sh math/test-double-fma
> 
> Failure: Test: fma_towardzero (-0x2.33956cdae7c2ep-960, 0x3.8e211518bfea2p-108, -0x2.02c2b59766d9p-1024)
> Result:
>  is:         -1.1185354662458815e-308  -0x0.80b0ad65d9d59p-1022
>  should be:  -1.1185354662458810e-308  -0x0.80b0ad65d9d58p-1022
>  difference:  4.9406564584124654e-324   0x0.0000000000001p-1022
>  ulp       :  1.0000
>  max.ulp   :  0.0000
> Failure: Test: fma_towardzero (-0x4p-1076, 0x8.8p-4, -0x3.ffffffffffffcp-1024)
> Result:
>  is:         -2.2250738585072013e-308  -0x1.0000000000000p-1022
>  should be:  -2.2250738585072008e-308  -0x0.fffffffffffffp-1022
>  difference:  4.9406564584124654e-324   0x0.0000000000001p-1022
>  ulp       :  1.0000
>  max.ulp   :  0.0000
> Failure: Test: fma_towardzero (-0x7.ffffffffffffp-1024, 0x8.0000000000008p-4, -0x4p-1076)
> Result:
>  is:         -2.2250738585072013e-308  -0x1.0000000000000p-1022
>  should be:  -2.2250738585072008e-308  -0x0.fffffffffffffp-1022
>  difference:  4.9406564584124654e-324   0x0.0000000000001p-1022
>  ulp       :  1.0000
>  max.ulp   :  0.0000
> Failure: Test: fma_towardzero (0x2.2a7aca1773e0cp-908, 0x9.6809186a42038p-128, -0x2.c9e356b3f0fp-1024)
> Result:
>  is:         -1.5484573404150452e-308  -0x0.b22757123bbe9p-1022
>  should be:  -1.5484573404150447e-308  -0x0.b22757123bbe8p-1022
>  difference:  4.9406564584124654e-324   0x0.0000000000001p-1022
>  ulp       :  1.0000
>  max.ulp   :  0.0000
> Failure: Test: fma_towardzero (0x4p-1076, 0x8.8p-4, 0x3.ffffffffffffcp-1024)
> Result:
>  is:          2.2250738585072013e-308   0x1.0000000000000p-1022
>  should be:   2.2250738585072008e-308   0x0.fffffffffffffp-1022
>  difference:  4.9406564584124654e-324   0x0.0000000000001p-1022
>  ulp       :  1.0000
>  max.ulp   :  0.0000
> Failure: Test: fma_towardzero (0x7.ffffffffffffp-1024, 0x8.0000000000008p-4, 0x4p-1076)
> Result:
>  is:          2.2250738585072013e-308   0x1.0000000000000p-1022
>  should be:   2.2250738585072008e-308   0x0.fffffffffffffp-1022
>  difference:  4.9406564584124654e-324   0x0.0000000000001p-1022
>  ulp       :  1.0000
>  max.ulp   :  0.0000
> 

  reply	other threads:[~2022-05-10 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10  9:29 Paul Zimmermann
2022-05-10 14:40 ` Adhemerval Zanella
2022-05-10 14:59   ` Paul Zimmermann [this message]
2022-05-10 16:02     ` Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mw1qx15t81.fsf@tomate.loria.fr \
    --to=paul.zimmermann@inria.fr \
    --cc=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).