math/test-tgmath3 test case size...
DJ Delorie
dj@redhat.com
Sat Feb 17 18:57:00 GMT 2018
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.
More information about the Libc-alpha
mailing list