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: Make libm-test look up ulps by name at runtime


On 05/17/2013 11:00 PM, Joseph S. Myers wrote:
This patch converts the libm-test machinery to look up ulps by name at
runtime, rather than generating #defines for them.  As discussed in
<http://sourceware.org/ml/libc-alpha/2013-05/msg00670.html>, this is
motivated by wanting to reuse an array of tests to test multiple
functions, in multiple rounding modes, so that a single TEST_* line
may in future not correspond to a single test name in a way that
gen-libm-test.pl can readily determine.  Tested x86_64 and x86.

I think that with this patch, the generated libm-test.c should depend
only on libm-test.inc and the generated libm-test-ulps.h should depend
only on libm-test-ulps, although I haven't checked that (it's not a
specific motivation for this patch).


Ok, Andreas

--
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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