freebsd-dev/lib/msun/tests
Mitchell Horne 2d143336de Enable long double tests on RISC-V
Some of the NetBSD contributed tests are gated behind the
__HAVE_LONG_DOUBLE flag. This flag seems to be defined only for
platforms whose long double is larger than their double. I could not
find this explicitly documented anywhere, but it is implied by the
definitions in NetBSD's sys/arch/${arch}/include/math.h headers, and the
following assertion from the UBSAN code:

  #ifdef __HAVE_LONG_DOUBLE
      long double LD;
      ASSERT(sizeof(LD) > sizeof(uint64_t));
  #endif

RISC-V has 128-bit long doubles, so enable the tests on this platform,
and update the comments to better explain the purpose of this flag.

Reviewed by:	ngie
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D25419
2020-06-24 13:11:19 +00:00
..
cexp_test.c Partially revert r271349, which disabled the msun cexp test #4 on i386. 2019-06-01 20:08:10 +00:00
conj_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
csqrt_test.c lib/msun: add more csqrt unit tests for precision and overflow 2017-08-29 22:37:24 +00:00
ctrig_test.c Temporarily skip 2 failing tests after llvm10 import 2020-03-11 12:43:54 +00:00
exponential_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
fenv_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
fma_test.c fma_test: mute a warning about unreachable code on amd64 by restructuring 2017-05-29 18:45:10 +00:00
fmaxmin_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
ilogb_test.c
invctrig_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
invtrig_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
logarithm_test.c logarithm_test: assert that feclearexcept succeeds 2017-05-29 18:49:28 +00:00
lrint_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
lround_test.c
lround_test.t
Makefile Enable long double tests on RISC-V 2020-06-24 13:11:19 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nan_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
nearbyint_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
next_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
rem_test.c Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
test-utils.h Fix warnings in lib/msun/tests/... to help pave way for WARNS?= 6. 2017-03-04 10:07:46 +00:00
trig_test.c Amend r343442, by only expecting the lib.msun.cbrt_test.cbrtl_powl and 2019-02-08 18:31:54 +00:00