From ee2dbb0f7e84d908ac62aecc178992c9be1ca636 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 2 Jun 2011 20:02:42 +0000 Subject: Import compiler-rt r132478. --- lib/cmpdi2.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/cmpdi2.c') diff --git a/lib/cmpdi2.c b/lib/cmpdi2.c index 04bd7cf..999c3d2 100644 --- a/lib/cmpdi2.c +++ b/lib/cmpdi2.c @@ -6,20 +6,21 @@ * Source Licenses. See LICENSE.TXT for details. * * ===----------------------------------------------------------------------=== - * + * * This file implements __cmpdi2 for the compiler_rt library. * * ===----------------------------------------------------------------------=== */ +#include "abi.h" #include "int_lib.h" -/* Returns: if (a < b) returns 0 +/* Returns: if (a < b) returns 0 * if (a == b) returns 1 * if (a > b) returns 2 */ -si_int +COMPILER_RT_ABI si_int __cmpdi2(di_int a, di_int b) { dwords x; -- cgit v1.1