diff options
| author | Yi Kong <yikong@google.com> | 2019-11-21 14:14:33 -0800 |
|---|---|---|
| committer | Yi Kong <yikong@google.com> | 2019-11-27 17:29:20 -0800 |
| commit | acc79aa0e747b9777077e0a337e99540a52b94b2 (patch) | |
| tree | 4d7cb76a4c92ad642aaebcf57e1225a4d380405d /compiler-rt/test/builtins/Unit | |
| parent | 1ac700cdef787383ad49a0e37d9894491ef19480 (diff) | |
| download | bcm5719-llvm-acc79aa0e747b9777077e0a337e99540a52b94b2.tar.gz bcm5719-llvm-acc79aa0e747b9777077e0a337e99540a52b94b2.zip | |
Revert "Revert 1689ad27af5 "[builtins] Implement rounding mode support for i386/x86_64""
Don't build specilised fp_mode.c on MSVC since it does not support
inline ASM on x86_64.
This reverts commit a19f0eec94e195cac676d0d473882b48f4fded90.
Diffstat (limited to 'compiler-rt/test/builtins/Unit')
| -rw-r--r-- | compiler-rt/test/builtins/Unit/addtf3_test.c | 3 | ||||
| -rw-r--r-- | compiler-rt/test/builtins/Unit/subtf3_test.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/compiler-rt/test/builtins/Unit/addtf3_test.c b/compiler-rt/test/builtins/Unit/addtf3_test.c index 7ca0355e42a..dcd4efe9c90 100644 --- a/compiler-rt/test/builtins/Unit/addtf3_test.c +++ b/compiler-rt/test/builtins/Unit/addtf3_test.c @@ -76,7 +76,8 @@ int main() UINT64_C(0x61e58dd6c51eb77c))) return 1; -#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP) +#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP) || \ + defined(i386) || defined(__x86_64__) // Rounding mode tests on supported architectures const long double m = 1234.0L, n = 0.01L; diff --git a/compiler-rt/test/builtins/Unit/subtf3_test.c b/compiler-rt/test/builtins/Unit/subtf3_test.c index b95f2ef996d..265ab642ecf 100644 --- a/compiler-rt/test/builtins/Unit/subtf3_test.c +++ b/compiler-rt/test/builtins/Unit/subtf3_test.c @@ -69,7 +69,8 @@ int main() UINT64_C(0xa44a7bca780a166c))) return 1; -#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP) +#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP) || \ + defined(i386) || defined(__x86_64__) // Rounding mode tests on supported architectures const long double m = 1234.02L, n = 0.01L; |

