This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: math/test-tgmath3 test case size...


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]