summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/builtins/Unit/ashlti3_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
commit14743127b75d38da0f84c1beeb093d58c325a667 (patch)
tree5659e1f3f5413a22874f680d09cfe08c9720aedf /compiler-rt/test/builtins/Unit/ashlti3_test.c
parentc42c219d5794b9b747ffeb147ba7a0b1f2ebe0ed (diff)
downloadbcm5719-llvm-14743127b75d38da0f84c1beeb093d58c325a667.tar.gz
bcm5719-llvm-14743127b75d38da0f84c1beeb093d58c325a667.zip
Use CRT_HAS_128BIT.
llvm-svn: 204182
Diffstat (limited to 'compiler-rt/test/builtins/Unit/ashlti3_test.c')
-rw-r--r--compiler-rt/test/builtins/Unit/ashlti3_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/ashlti3_test.c b/compiler-rt/test/builtins/Unit/ashlti3_test.c
index b9f4dcc0a8c..2361d16b369 100644
--- a/compiler-rt/test/builtins/Unit/ashlti3_test.c
+++ b/compiler-rt/test/builtins/Unit/ashlti3_test.c
@@ -11,11 +11,11 @@
//
//===----------------------------------------------------------------------===//
-#if __x86_64
-
#include "int_lib.h"
#include <stdio.h>
+#ifdef CRT_HAS_128BIT
+
// Returns: a << b
// Precondition: 0 <= b < bits_in_tword
@@ -49,7 +49,7 @@ char assumption_1[sizeof(ti_int) == 2*sizeof(di_int)] = {0};
int main()
{
-#if __x86_64
+#ifdef CRT_HAS_128BIT
if (test__ashlti3(make_ti(0xFEDCBA9876543215LL, 0xFEDCBA9876543215LL), 0,
make_ti(0xFEDCBA9876543215LL, 0xFEDCBA9876543215LL)))
return 1;
OpenPOWER on IntegriCloud