summaryrefslogtreecommitdiff
path: root/test/builtins/Unit
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2015-11-22 19:13:49 +0000
committerJoerg Sonnenberger <joerg@bec.de>2015-11-22 19:13:49 +0000
commit9160d53d5927e5e3dd9642027c038ed0393fed6d (patch)
tree9cc28f628b9cf40a1e1944c4534557b646344e87 /test/builtins/Unit
parentdbd602001d4208f10783a3920d43b833249dee89 (diff)
Add a generic version of __divtc3.c for long double complex division.
Mark the unit test as applying to all platforms. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253831 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/builtins/Unit')
-rw-r--r--test/builtins/Unit/divtc3_test.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/builtins/Unit/divtc3_test.c b/test/builtins/Unit/divtc3_test.c
index 165582b20..a1f061344 100644
--- a/test/builtins/Unit/divtc3_test.c
+++ b/test/builtins/Unit/divtc3_test.c
@@ -13,8 +13,6 @@
#include <stdio.h>
-#if _ARCH_PPC
-
#include "int_lib.h"
#include <math.h>
#include <complex.h>
@@ -358,11 +356,8 @@ long double x[][2] =
};
-#endif
-
int main()
{
-#if _ARCH_PPC
const unsigned N = sizeof(x) / sizeof(x[0]);
unsigned i, j;
for (i = 0; i < N; ++i)
@@ -373,11 +368,7 @@ int main()
return 1;
}
}
-
-// printf("No errors found.\n");
-#else
- printf("skipped\n");
-#endif
+// printf("No errors found.\n");
return 0;
}