[PATCH v2 12/18] RISC-V: Add the RV32 libm-test-ulps

Alistair Francis alistair23@gmail.com
Fri Jun 5 04:01:58 GMT 2020


On Wed, Jun 3, 2020 at 10:34 AM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Wed, 3 Jun 2020, Alistair Francis via Libc-alpha wrote:
>
> > Add a libm-test-ulps for RV32, generated by running `make regen-ulps`.
> > This is different to the RV64 one.
>
> *Why* is it different from the RV64 one?  (If some functions produce
> different results because of use of sysdeps/ieee754/dbl-64/wordsize-64/
> variants on RV64, that would be a good reason, for example, but I don't
> see ieee754/dbl-64/wordsize-64 mentioned in Implies for RV64.)

So I just checked and I think they can actually be the same. The
reason they end up different is that the RV32 one is generated on QEMU
while the RV64 one I'm assuming was generated on hardware.

I can replace the RV32 one with the RV64 one.

Alistair

>
> --
> Joseph S. Myers
> joseph@codesourcery.com


More information about the Libc-alpha mailing list