freebsd-skq/lib/msun
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
..
aarch64
amd64 libm: Add missing END() directives for amd64 routines 2019-10-23 16:05:52 +00:00
arm
bsdsrc msun: drop clause 3 from the Berkeley license. 2019-12-27 01:11:26 +00:00
i387
ld80 Recommit r336497: Fix powl, cpow, cpowf, and cpowl imports from OpenBSD 2018-07-20 18:27:30 +00:00
ld128 Remove sparc64 specific parts of libm and fix comments 2020-02-26 18:55:03 +00:00
man Fix typo 2020-04-04 07:43:47 +00:00
mips
powerpc [PowerPC] Fix feholdexcept() on powerpc referencing the wrong struct member 2020-02-02 19:16:52 +00:00
riscv
src msun: swap words order instead of bits order on BIG ENDIAN 2020-03-26 18:50:54 +00:00
tests Enable long double tests on RISC-V 2020-06-24 13:11:19 +00:00
x86
Makefile Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Symbol.map