[PATCH] D41813: [builtins] Enable CRT_HAS_128BIT for MSVC

Loo Rong Jie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 05:02:27 PST 2018


rongjiecomputer updated this revision to Diff 134894.
rongjiecomputer edited the summary of this revision.
rongjiecomputer added a comment.

Fix several bugs that only appear on clang/MSVC.

Disable the following tests for MSVC due to lack of `__float128` and 80-bit precision `long double`

- fixunsxfti_test.c
- fixxfti_test.c
- floattixf_test.c
- floatuntixf_test.c

  ninja -C build check-builtins
  ninja: Entering directory `build'
  [0/1] Running the Builtins tests
  -- Testing: 194 tests, 4 threads --
  Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
  Testing Time: 357.44s
    Expected Passes    : 167
    Expected Failures  : 2
    Unsupported Tests  : 25


https://reviews.llvm.org/D41813

Files:
  lib/builtins/fp_lib.h
  lib/builtins/int_lib.h
  lib/builtins/int_types.h
  lib/builtins/muloti4.c
  lib/builtins/mulvti3.c
  test/builtins/Unit/fixunsdfti_test.c
  test/builtins/Unit/fixunssfti_test.c
  test/builtins/Unit/fixunsxfti_test.c
  test/builtins/Unit/fixxfti_test.c
  test/builtins/Unit/floattixf_test.c
  test/builtins/Unit/floatuntisf_test.c
  test/builtins/Unit/floatuntixf_test.c
  test/builtins/Unit/modti3_test.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41813.134894.patch
Type: text/x-patch
Size: 7308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180219/f3852f08/attachment.bin>


More information about the llvm-commits mailing list