This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: math/test-tgmath3 test case size...
- From: DJ Delorie <dj at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 16 Feb 2018 16:48:22 -0500
- Subject: Re: math/test-tgmath3 test case size...
- Authentication-results: sourceware.org; auth=none
Joseph Myers <joseph@codesourcery.com> writes:
> That sounds like a good testcase to use for optimizing the linker.
Well, *any* large object is that :-)
> It could easily enough be split up by function (list the functions in the
> makefile, generate a .c file for each function, include a test that
> verifies that the list of functions in the makefile does match the list in
> the script itself of functions for which it can generate tests). Tests of
> fma make up nearly a third of the total, however (since that has the most
> type-generic arguments).
Could the generating script take a parameter N that says "emit every Nth
function" and just generate, say, 10 files? I.e. run "./generate 1
test-tgmath3-1.c" then "./generate 2 test-tgmath3-2.c" etc ?
It doesn't have to be a meaningful split.