diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-03-18 21:35:30 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-03-18 21:35:30 +0000 |
commit | 111c0b708ec2e6d3cb70a7a8d877ce36e68642fa (patch) | |
tree | 1ce5c137768ce4179e918afd6434df58ba10c4d9 /test/builtins/Unit/fixxfti_test.c | |
parent | e65df207ef73bf915d4e57564b62193fce988196 (diff) | |
download | compiler-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/fixxfti_test.c')
-rw-r--r-- | test/builtins/Unit/fixxfti_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/builtins/Unit/fixxfti_test.c b/test/builtins/Unit/fixxfti_test.c index 11296b036..87914c534 100644 --- a/test/builtins/Unit/fixxfti_test.c +++ b/test/builtins/Unit/fixxfti_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: long double is an intel 80 bit floating point type padded with 6 bytes @@ -50,7 +50,7 @@ char assumption_3[sizeof(long double)*CHAR_BIT == 128] = {0}; int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__fixxfti(0.0, 0)) return 1; |