summaryrefslogtreecommitdiff
path: root/test/builtins/Unit/muloti4_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/muloti4_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/muloti4_test.c')
-rw-r--r--test/builtins/Unit/muloti4_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/builtins/Unit/muloti4_test.c b/test/builtins/Unit/muloti4_test.c
index 44abddf26..95439a419 100644
--- a/test/builtins/Unit/muloti4_test.c
+++ b/test/builtins/Unit/muloti4_test.c
@@ -11,11 +11,11 @@
//
//===----------------------------------------------------------------------===//
-#if __x86_64
-
#include "int_lib.h"
#include <stdio.h>
+#ifdef CRT_HAS_128BIT
+
// Returns: a * b
// Effects: sets overflow if a * b overflows
@@ -67,7 +67,7 @@ int test__muloti4(ti_int a, ti_int b, ti_int expected, int expected_overflow)
int main()
{
-#if __x86_64
+#ifdef CRT_HAS_128BIT
if (test__muloti4(0, 0, 0, 0))
return 1;
if (test__muloti4(0, 1, 0, 0))