llvm-project/compiler-rt/test/builtins
Nico Weber a3ff5727b7 [compiler-rt] Make builtins test pass when using i386 gcc as host compiler
Just-built-clang is used to compile the test, but the library is built
with gcc, so the usual 80-bit FPU vs 32-bit SSE mismatch makes the
floating computations not bitwise identical. Fixes PR32910, see there
for details.

This uses the same technique used in all the other *c3* tests, see in
particular mulsc3_test.c.

(It might be cleaner to add compareResultCF to fp_test.h to force the
floats into 32-bit in memory, but this is the less invasive fix.)

Differential Revision: https://reviews.llvm.org/D61684

llvm-svn: 360264
2019-05-08 15:50:21 +00:00
..
TestCases/Darwin [builtins][macos] bump up the the macOS version min in os_version_check tests 2018-05-17 18:41:38 +00:00
Unit [compiler-rt] Make builtins test pass when using i386 gcc as host compiler 2019-05-08 15:50:21 +00:00
timing
CMakeLists.txt Compile and test i128 math builtins for Win64 2018-11-01 00:00:03 +00:00
lit.cfg Reapply r297382: "[compiler-rt][builtins] Add __isOSVersionAtLeast()" 2017-03-09 17:02:16 +00:00
lit.site.cfg.in Reapply r297382: "[compiler-rt][builtins] Add __isOSVersionAtLeast()" 2017-03-09 17:02:16 +00:00