summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2019-11-19 09:37:31 +0100
committerHans Wennborg <hans@chromium.org>2019-11-19 09:37:31 +0100
commita19f0eec94e195cac676d0d473882b48f4fded90 (patch)
tree526caf4700de37a378fd0588d760301a2ce5da29 /compiler-rt/test
parent8978c12b39f90194bb35860729ddca5e819f3b92 (diff)
downloadbcm5719-llvm-a19f0eec94e195cac676d0d473882b48f4fded90.tar.gz
bcm5719-llvm-a19f0eec94e195cac676d0d473882b48f4fded90.zip
Revert 1689ad27af5 "[builtins] Implement rounding mode support for i386/x86_64"
It broke the build with MSVC: fp_mode.c(20): error C2065: '__asm__': undeclared identifier > Differential Revision: https://reviews.llvm.org/D69870
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/builtins/Unit/addtf3_test.c3
-rw-r--r--compiler-rt/test/builtins/Unit/subtf3_test.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/compiler-rt/test/builtins/Unit/addtf3_test.c b/compiler-rt/test/builtins/Unit/addtf3_test.c
index dcd4efe9c90..7ca0355e42a 100644
--- a/compiler-rt/test/builtins/Unit/addtf3_test.c
+++ b/compiler-rt/test/builtins/Unit/addtf3_test.c
@@ -76,8 +76,7 @@ int main()
UINT64_C(0x61e58dd6c51eb77c)))
return 1;
-#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP) || \
- defined(i386) || defined(__x86_64__)
+#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP)
// 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 265ab642ecf..b95f2ef996d 100644
--- a/compiler-rt/test/builtins/Unit/subtf3_test.c
+++ b/compiler-rt/test/builtins/Unit/subtf3_test.c
@@ -69,8 +69,7 @@ int main()
UINT64_C(0xa44a7bca780a166c)))
return 1;
-#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP) || \
- defined(i386) || defined(__x86_64__)
+#if (defined(__arm__) || defined(__aarch64__)) && defined(__ARM_FP)
// Rounding mode tests on supported architectures
const long double m = 1234.02L, n = 0.01L;
OpenPOWER on IntegriCloud