summaryrefslogtreecommitdiff
path: root/test/builtins/Unit/fixsfti_test.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-03-18 21:35:30 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-03-18 21:35:30 +0000
commit111c0b708ec2e6d3cb70a7a8d877ce36e68642fa (patch)
tree1ce5c137768ce4179e918afd6434df58ba10c4d9 /test/builtins/Unit/fixsfti_test.c
parente65df207ef73bf915d4e57564b62193fce988196 (diff)
downloadcompiler-rt-111c0b708ec2e6d3cb70a7a8d877ce36e68642fa.tar.gz
Use CRT_HAS_128BIT.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/builtins/Unit/fixsfti_test.c')
-rw-r--r--test/builtins/Unit/fixsfti_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/builtins/Unit/fixsfti_test.c b/test/builtins/Unit/fixsfti_test.c
index 5fdd00578..2b0b99774 100644
--- a/test/builtins/Unit/fixsfti_test.c
+++ b/test/builtins/Unit/fixsfti_test.c
@@ -11,11 +11,11 @@
//
//===----------------------------------------------------------------------===//
-#if __x86_64
-
#include "int_lib.h"
#include <stdio.h>
+#ifdef CRT_HAS_128BIT
+
// Returns: convert a to a signed long long, rounding toward zero.
// Assumption: float is a IEEE 32 bit floating point type
@@ -49,7 +49,7 @@ char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0};
int main()
{
-#if __x86_64
+#ifdef CRT_HAS_128BIT
if (test__fixsfti(0.0F, 0))
return 1;