This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Math errors
- From: Alistair Francis <alistair23 at gmail dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 2 Jan 2020 18:18:18 -0800
- Subject: Re: Math errors
- References: <CAKmqyKNQXGVriszbWvfyAys-8aoe-ShWDqXr9H7fMs9M8Htm5A@mail.gmail.com> <alpine.DEB.2.21.1912302227040.17472@digraph.polyomino.org.uk> <alpine.DEB.2.21.1912302229041.17472@digraph.polyomino.org.uk>
On Mon, Dec 30, 2019 at 2:29 PM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Mon, 30 Dec 2019, Joseph Myers wrote:
>
> > On Mon, 30 Dec 2019, Alistair Francis wrote:
> >
> > > Hey,
> > >
> > > I'm running the `make check` tests on RV32 inside QEMU and about 800
> > > math tests are failing with errors along these lines:
> >
> > You need to generate libm-test-ulps for RV32 ("make regen-ulps") (also
> > remember to create a corresponding libm-test-ulps-name file for use in
> > generating the table in the manual).
>
> I should add: first try renaming the RV64 libm-test-ulps to make it
> generic for both RV32 and RV64. You should only need a separate file for
> RV32 if there is a clear reason for different results between the two.
Thanks Joseph,
I moved the RV64 one to be generic and that seems to fix most of the
math tests. I tried `make regen-ulps` after that, just to be sure, and
it didn't generate a diff.
There are a handful of math tests that seem to fail, but if I manually
run the test a few times I will eventually get a pass. Any hints on
what to do there?
Alistair
>
> --
> Joseph S. Myers
> joseph@codesourcery.com