summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/mulsf3.c
diff options
context:
space:
mode:
authorStephen Canon <scanon@apple.com>2010-07-01 17:58:24 +0000
committerStephen Canon <scanon@apple.com>2010-07-01 17:58:24 +0000
commit74eaf1f66c67906d570052d034fdf84089555900 (patch)
tree310d0abb974cad760fc31111398154c766c8df3f /compiler-rt/lib/mulsf3.c
parent54be33925ab9ff0d3428f462789b2c80c9f826ef (diff)
downloadbcm5719-llvm-74eaf1f66c67906d570052d034fdf84089555900.tar.gz
bcm5719-llvm-74eaf1f66c67906d570052d034fdf84089555900.zip
Correction to previous commit which mistakenly included older versions of some files; now includes the correct LLVM license header
llvm-svn: 107408
Diffstat (limited to 'compiler-rt/lib/mulsf3.c')
-rw-r--r--compiler-rt/lib/mulsf3.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/compiler-rt/lib/mulsf3.c b/compiler-rt/lib/mulsf3.c
index 8c8b3144f5d..56a1ee36ab2 100644
--- a/compiler-rt/lib/mulsf3.c
+++ b/compiler-rt/lib/mulsf3.c
@@ -1,16 +1,20 @@
-/*
- * The LLVM Compiler Infrastructure
- *
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
- */
+//===-- lib/mulsf3.c - Single-precision multiplication ------------*- C -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements single-precision soft-float multiplication
+// with the IEEE-754 default rounding (to nearest, ties to even).
+//
+//===----------------------------------------------------------------------===//
#define SINGLE_PRECISION
#include "fp_lib.h"
-// This file implements single-precision soft-float multiplication with the
-// IEEE-754 default rounding (to nearest, ties to even).
-
// 32x32 --> 64 bit multiply
static inline void wideMultiply(rep_t a, rep_t b, rep_t *hi, rep_t *lo) {
const uint64_t product = (uint64_t)a*b;
OpenPOWER on IntegriCloud