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 | 14743127b75d38da0f84c1beeb093d58c325a667 (patch) | |
tree | 5659e1f3f5413a22874f680d09cfe08c9720aedf /compiler-rt/test/builtins/Unit/floatuntisf_test.c | |
parent | c42c219d5794b9b747ffeb147ba7a0b1f2ebe0ed (diff) | |
download | bcm5719-llvm-14743127b75d38da0f84c1beeb093d58c325a667.tar.gz bcm5719-llvm-14743127b75d38da0f84c1beeb093d58c325a667.zip |
Use CRT_HAS_128BIT.
llvm-svn: 204182
Diffstat (limited to 'compiler-rt/test/builtins/Unit/floatuntisf_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/floatuntisf_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/floatuntisf_test.c b/compiler-rt/test/builtins/Unit/floatuntisf_test.c index 85c0727ce13..aeac3ee41e5 100644 --- a/compiler-rt/test/builtins/Unit/floatuntisf_test.c +++ b/compiler-rt/test/builtins/Unit/floatuntisf_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 float, rounding toward even. // Assumption: float is a IEEE 32 bit floating point type @@ -47,7 +47,7 @@ char assumption_3[sizeof(float)*CHAR_BIT == 32] = {0}; int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__floatuntisf(0, 0.0F)) return 1; |