summaryrefslogtreecommitdiff
path: root/lib/cmpdi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cmpdi2.c')
-rw-r--r--lib/cmpdi2.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/lib/cmpdi2.c b/lib/cmpdi2.c
index f398ea257..ece48ae9f 100644
--- a/lib/cmpdi2.c
+++ b/lib/cmpdi2.c
@@ -1,21 +1,23 @@
-//===-- cmpdi2.c - Implement __cmpdi2 -------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __cmpdi2 for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- cmpdi2.c - Implement __cmpdi2 -------------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __cmpdi2 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
#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
__cmpdi2(di_int a, di_int b)