summaryrefslogtreecommitdiff
path: root/lib/ctzti2.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 19:06:50 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-08-05 19:06:50 +0000
commit1fcb40b79d8fbfcc9acb0966d5f9bba09431f832 (patch)
treefce65563d921b10e2ee3780b17a6b020e61afccf /lib/ctzti2.c
parent2bf62728b8ce00e295c7bf0fb328427496cc85aa (diff)
downloadcompiler-rt-1fcb40b79d8fbfcc9acb0966d5f9bba09431f832.tar.gz
compiler-rt-1fcb40b79d8fbfcc9acb0966d5f9bba09431f832.tar.bz2
compiler-rt-1fcb40b79d8fbfcc9acb0966d5f9bba09431f832.tar.xz
Next batch of C++ to C comment style changes. Also improve and factor out endianness pre-processor code.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@78226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ctzti2.c')
-rw-r--r--lib/ctzti2.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/lib/ctzti2.c b/lib/ctzti2.c
index 828db266..fdfac0d4 100644
--- a/lib/ctzti2.c
+++ b/lib/ctzti2.c
@@ -1,23 +1,24 @@
-//===-- ctzti2.c - Implement __ctzti2 -------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements __ctzti2 for the compiler_rt library.
-//
-//===----------------------------------------------------------------------===//
+/* ===-- ctzti2.c - Implement __ctzti2 -------------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is distributed under the University of Illinois Open Source
+ * License. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __ctzti2 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
#if __x86_64
#include "int_lib.h"
-// Returns: the number of trailing 0-bits
+/* Returns: the number of trailing 0-bits */
-// Precondition: a != 0
+/* Precondition: a != 0 */
si_int
__ctzti2(ti_int a)