diff options
| author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-08-05 04:02:56 +0000 |
|---|---|---|
| committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-08-05 04:02:56 +0000 |
| commit | 4856eef437fd97876fa6b275060bc5666b3c1227 (patch) | |
| tree | d2858c1bee9b505e898afd00e2550fbb29b5ec8e /compiler-rt/lib/fixxfti.c | |
| parent | 379429200e28892b1deaec0305f582b2d3903fbb (diff) | |
| download | bcm5719-llvm-4856eef437fd97876fa6b275060bc5666b3c1227.tar.gz bcm5719-llvm-4856eef437fd97876fa6b275060bc5666b3c1227.zip | |
Fixup C++ style comments are not allowed in ISO C90 to classic C style.
llvm-svn: 78152
Diffstat (limited to 'compiler-rt/lib/fixxfti.c')
| -rw-r--r-- | compiler-rt/lib/fixxfti.c | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/compiler-rt/lib/fixxfti.c b/compiler-rt/lib/fixxfti.c index d9cb3eaf0d9..84406bd16ae 100644 --- a/compiler-rt/lib/fixxfti.c +++ b/compiler-rt/lib/fixxfti.c @@ -1,28 +1,31 @@ -//===-- fixxfti.c - Implement __fixxfti -----------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// This file implements __fixxfti for the compiler_rt library. -// -//===----------------------------------------------------------------------===// +/* ===-- fixxfti.c - Implement __fixxfti -----------------------------------=== + * + * The LLVM Compiler Infrastructure + * + * This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + * + * ===----------------------------------------------------------------------=== + * + * This file implements __fixxfti 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: long double is an intel 80 bit floating point type padded with 6 bytes -// su_int is a 32 bit integral type -// value in long double is representable in ti_int (no range checking performed) +/* Assumption: long double is an intel 80 bit floating point type padded with 6 bytes + * su_int is a 32 bit integral type + * value in long double is representable in ti_int (no range checking performed) + */ -// gggg gggg gggg gggg gggg gggg gggg gggg | gggg gggg gggg gggg seee eeee eeee eeee | -// 1mmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm +/* gggg gggg gggg gggg gggg gggg gggg gggg | gggg gggg gggg gggg seee eeee eeee eeee | + * 1mmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm | mmmm mmmm mmmm mmmm mmmm mmmm mmmm mmmm + */ ti_int __fixxfti(long double a) |

