diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-08-05 19:06:50 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-08-05 19:06:50 +0000 |
commit | dabf71f171aa98106cfbb16b1b4655d29cf9372b (patch) | |
tree | 35c0a04c257669970a48f843fc0c27822a7ab025 /compiler-rt/lib/ucmpti2.c | |
parent | 22ef75155e3f05e3c703133a634117ff2d7a9157 (diff) | |
download | bcm5719-llvm-dabf71f171aa98106cfbb16b1b4655d29cf9372b.tar.gz bcm5719-llvm-dabf71f171aa98106cfbb16b1b4655d29cf9372b.zip |
Next batch of C++ to C comment style changes. Also improve and factor out endianness pre-processor code.
llvm-svn: 78226
Diffstat (limited to 'compiler-rt/lib/ucmpti2.c')
-rw-r--r-- | compiler-rt/lib/ucmpti2.c | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/compiler-rt/lib/ucmpti2.c b/compiler-rt/lib/ucmpti2.c index 826360c0991..ba32b840315 100644 --- a/compiler-rt/lib/ucmpti2.c +++ b/compiler-rt/lib/ucmpti2.c @@ -1,23 +1,25 @@ -//===-- ucmpti2.c - Implement __ucmpti2 -----------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file implements __ucmpti2 for the compiler_rt library. -// -//===----------------------------------------------------------------------===// +/* ===-- ucmpti2.c - Implement __ucmpti2 -----------------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __ucmpti2 for the compiler_rt library. + * + * ===----------------------------------------------------------------------=== + */ #if __x86_64 #include "int_lib.h" -// Returns: if (a < b) returns 0 -// if (a == b) returns 1 -// if (a > b) returns 2 +/* Returns: if (a < b) returns 0 + * if (a == b) returns 1 + * if (a > b) returns 2 + */ si_int __ucmpti2(tu_int a, tu_int b) |