diff options
author | Ed Schouten <ed@FreeBSD.org> | 2011-06-02 20:02:42 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2011-06-02 20:02:42 +0000 |
commit | b0a04aaa595ba76468e521f12727a872d144d6d0 (patch) | |
tree | 51db692a6c937b68c7180d996af6bb7952b4b55d /lib/cmpdi2.c | |
parent | f170b6928b38a264ce005e5fa80d428364b6f659 (diff) |
Notes
Diffstat (limited to 'lib/cmpdi2.c')
-rw-r--r-- | lib/cmpdi2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/cmpdi2.c b/lib/cmpdi2.c index 04bd7cf62461..999c3d2a662f 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; |