diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/lshrti3_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/lshrti3_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/lshrti3_test.c b/compiler-rt/test/builtins/Unit/lshrti3_test.c index f266b54f63c..3f33c089cd6 100644 --- a/compiler-rt/test/builtins/Unit/lshrti3_test.c +++ b/compiler-rt/test/builtins/Unit/lshrti3_test.c @@ -11,11 +11,11 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include <stdio.h> +#ifdef CRT_HAS_128BIT + // Returns: logical a >> b // Precondition: 0 <= b < bits_in_dword @@ -47,7 +47,7 @@ char assumption_1[sizeof(ti_int) == 2*sizeof(di_int)] = {0}; int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT if (test__lshrti3(make_ti(0xFEDCBA9876543215LL, 0xFEDCBA9876543215LL), 0, make_ti(0xFEDCBA9876543215LL, 0xFEDCBA9876543215LL))) return 1; |