[PATCH 0/8] Refactor libm-tests.c and friends

Paul E. Murphy murphyp@linux.vnet.ibm.com
Wed May 18 20:56:00 GMT 2016


This patch series attempts to decouple type and format information
from the libm test machinery. I have verified the same number of
tests run on ppc64le and x86-64 (ldbl-128ibm and ldbl-96-intel).
I don't expect surprises from the other formats, but I would
welcome any assistance in testing the other formats before
submitting.

NOTE: Patches 1, 7, and 8 require a little reviewer assistance
to correctly apply as I have removed large automated changes
and verbose changes from the patch.

Paul E. Murphy (8):
  Begin refactor of libm-test.inc
  Refactor type specific macros using regexes
  Fixup TYPE_* substitutions
  Add LIT() around literals in check_ulp in libm-tests.inc
  Apply LIT(x) to floating point literals in libm-test.c
  Refactor CHOOSE() macro usage in libm-tests.inc
  Remove type specific information from auto-libm-test-in
  Generate new format names in auto-libm-test-out

 math/auto-libm-test-in     | 130 +++----
 math/gen-auto-libm-tests.c |  24 +-
 math/gen-libm-test.pl      |  84 ++++-
 math/libm-test.inc         | 922 +++++++++++++++++++++++----------------------
 math/test-double-finite.c  |   1 -
 math/test-double-vlen2.h   |   1 -
 math/test-double-vlen4.h   |   1 -
 math/test-double-vlen8.h   |   1 -
 math/test-double.c         |   1 -
 math/test-double.h         |  14 +
 math/test-float-finite.c   |   1 -
 math/test-float-vlen16.h   |   1 -
 math/test-float-vlen4.h    |   1 -
 math/test-float-vlen8.h    |   1 -
 math/test-float.c          |   1 -
 math/test-float.h          |  14 +
 math/test-idouble.c        |   1 -
 math/test-ifloat.c         |   1 -
 math/test-ildoubl.c        |   1 -
 math/test-ldouble-finite.c |   1 -
 math/test-ldouble.c        |   1 -
 math/test-ldouble.h        |  14 +
 22 files changed, 654 insertions(+), 563 deletions(-)

-- 
2.4.11



More information about the Libc-alpha mailing list