summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/builtins/Unit/floatuntidf_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/builtins/Unit/floatuntidf_test.c')
-rw-r--r--compiler-rt/test/builtins/Unit/floatuntidf_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/floatuntidf_test.c b/compiler-rt/test/builtins/Unit/floatuntidf_test.c
index caad5d435e1..3cab027051c 100644
--- a/compiler-rt/test/builtins/Unit/floatuntidf_test.c
+++ b/compiler-rt/test/builtins/Unit/floatuntidf_test.c
@@ -11,12 +11,12 @@
//
//===----------------------------------------------------------------------===//
-#if __x86_64
-
#include "int_lib.h"
#include <float.h>
#include <stdio.h>
+#ifdef CRT_HAS_128BIT
+
// Returns: convert a to a double, rounding toward even.
// Assumption: double is a IEEE 64 bit floating point type
@@ -47,7 +47,7 @@ char assumption_3[sizeof(double)*CHAR_BIT == 64] = {0};
int main()
{
-#if __x86_64
+#ifdef CRT_HAS_128BIT
if (test__floatuntidf(0, 0.0))
return 1;
OpenPOWER on IntegriCloud