AMD64 math functions done
"Markus Wichmann" <[email protected]>
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
Hi all, finally, it's done: The dietlibc math patch for x86_64. Didn't actually test it, though... it compiles, if nothing else. And at least the arc cosine gives resonable values. Oh yeah, the patch for the Makefile (right at the start) makes the dietlibc dynamic libs have some versioning information. Don't worry, not as bloaty as the glibc with version scripts and such. Only version numbers in the file names and sonames. When breaking binary compatibility, increasing the major version number would be nice. Plus, there is a new x86_64/fallocate.S. Somehow, the static libs did link, but the dynamic libs complained about a missing fallocate().Dunno why, this is a quick fix. Well, enough talk. Here's the link: http://www.hs-merseburg.de/~8mwichma/dietlibc.patch.bz2 As for the test suite: I thought of having some CAS generate a list of argument result pairs for some functions (like sine, cosine, logarithm,...) and have a program check whether the functions provided by libm are at least near the given values. On my to do list! Suggestions for resonable arguments to these functions are appreciated. CU, Markus -- Progress (n.): Process through which USENET evolved from smart people in front of dumb terminals to dumb people in front of smart terminals.