From dabf71f171aa98106cfbb16b1b4655d29cf9372b Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Wed, 5 Aug 2009 19:06:50 +0000 Subject: Next batch of C++ to C comment style changes. Also improve and factor out endianness pre-processor code. llvm-svn: 78226 --- compiler-rt/lib/fixsfti.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'compiler-rt/lib/fixsfti.c') diff --git a/compiler-rt/lib/fixsfti.c b/compiler-rt/lib/fixsfti.c index 8e395875790..95992fe3f48 100644 --- a/compiler-rt/lib/fixsfti.c +++ b/compiler-rt/lib/fixsfti.c @@ -1,27 +1,29 @@ -//===-- fixsfti.c - Implement __fixsfti -----------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file implements __fixsfti for the compiler_rt library. -// -//===----------------------------------------------------------------------===// +/* ===-- fixsfti.c - Implement __fixsfti -----------------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __fixsfti for the compiler_rt library. + * + * ===----------------------------------------------------------------------=== + */ #if __x86_64 #include "int_lib.h" -// Returns: convert a to a signed long long, rounding toward zero. +/* Returns: convert a to a signed long long, rounding toward zero. */ -// Assumption: float is a IEEE 32 bit floating point type -// su_int is a 32 bit integral type -// value in float is representable in ti_int (no range checking performed) +/* Assumption: float is a IEEE 32 bit floating point type + * su_int is a 32 bit integral type + * value in float is representable in ti_int (no range checking performed) + */ -// seee eeee emmm mmmm mmmm mmmm mmmm mmmm +/* seee eeee emmm mmmm mmmm mmmm mmmm mmmm */ ti_int __fixsfti(float a) -- cgit v1.2.3