Re: [PATCH 0/2] libm/riscv: Fixing machine-specific fma/sqrt
Keith Packard via Newlib <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
Kito Cheng <[email protected]> writes: > Hi Keith: > > Thanks! and it's LGTM. > > Seems like those issues can't be captured by GCC testsuite, I should > add more tests to my regular patch review test list :) I've got a bunch of errno/exception tests that I've written for picolibc that catch missing errno values, which is what the sqrt difference would have caused. As for fma, you'd have to construct a test that checked for the difference between a true fma and (a*b)+c that the general code in newlib currently uses. I've now added a test for picolibc to make sure there aren't duplicate symbols in libm.a and libc.a, but that doesn't make sure you get the *right* symbols ... -- -keith
signature.asc
(application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl9Rx+8ACgkQ2yIaaQAA ABEuGhAAtX4U7XorZBFsETXZsP8zUCdBV9vouVxMIm7nOny+Uka+xh0MRUGEvxOo VXhiR0lXJHtrLUxyryCKoXzUwQjdt7moHbv8m6ND77QfO9nBFxK6IWB8WmyhXWcM PBTSnweSFP3l+l8x6JSHi12cr4LNLHEgZn5zB5PCSa26C8T3aN0IdYBaBiYB5Tk3 htyGoU/S9pq7MfgHnx9VRrzoXoYmjLz8PuqERjeewHRf5nsQl9WK1+17G1wSaCFa gflyhO4oTxmNbIPrIgsRiwgyEnVln3r3qYOxcuWBuucWLx/DQ0+4CP3eGWi5AoSZ mnQUSLId8KjM3/X5t1Qm7SajaDcQ6m1UnnkK2PK2+x/1D5592NoexU2aE3DZ1Ti4 FWRdcREoDUjpeMDskFDEoD9DwSq/QGtdRdZPbNJO2ywL+n/ukxmOuvLrHrvKi/vv iDYzoqBknetR4kAAd7V+hJQoCRGttdePQOvAGlJNLes/A/weMjjjPMBuBW8ZcPcJ Ugrmm55lDZEfjqEDrD2AphQpyHm+jr7SEvq3FD5djL8xxHZ60nkYqnx9OHl6+JIM ayAt9KiJWG080vMSUwdJVHKJZfcRVP+frO783DzfmgaFjiWsvlHlbNHWzhgjcnKH /NvEzXLL7iG8QOj49dwu7x/AbtWUMmU74sJBEM+zGjLaah/LwUs= =WUUI -----END PGP SIGNATURE-----