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/fixsfti.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/fixsfti.c')
| -rw-r--r-- | compiler-rt/lib/fixsfti.c | 36 |
1 files changed, 19 insertions, 17 deletions
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) |

