]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Add support for auto static math tests
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 21 May 2024 16:52:53 +0000 (13:52 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 21 May 2024 19:53:27 +0000 (16:53 -0300)
commitce6cdb94d0769e99d0779b6283f543d333553461
tree278e20aee32efb20fc2dd9b783b104f07992c5b6
parent85472c20a55ea2a49a7fbdf71652b4009118b0ae
math: Add support for auto static math tests

It basically copy the already in place rules for dynamic tests for
auto-generated math functions for all support types.  To avoid the
need to duplicate .inc files, a .SECONDEXPANSION rules is adeed for
the gen-libm-test.py generation.

New tests are added on the new rules 'libm-test-funcs-auto-static',
'libm-test-funcs-noauto-static', and 'libm-test-funcs-narrow-static';
similar to the non-static counterparts.

To avoid add extra build and disk requirement, the new math static
tests are only enable with a new define 'build-math-static-tests'.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
12 files changed:
Makeconfig
Makefile.help
math/Makefile
math/test-double-static.h [new file with mode: 0644]
math/test-float-static.h [new file with mode: 0644]
math/test-float128-static.h [new file with mode: 0644]
math/test-float32-static.h [new file with mode: 0644]
math/test-float32x-static.h [new file with mode: 0644]
math/test-float64-static.h [new file with mode: 0644]
math/test-float64x-static.h [new file with mode: 0644]
math/test-ibm128-static.h [new file with mode: 0644]
math/test-ldouble-static.h [new file with mode: 0644]