summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/ppc/gcc_qmul.c
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-04-28 22:47:49 +0000
committerPetr Hosek <phosek@chromium.org>2019-04-28 22:47:49 +0000
commit0ba22f51d128bee9d69756c56c4678097270e10b (patch)
tree75aa9d20dd483e2eb23ccdcf520e18754e86065c /compiler-rt/lib/builtins/ppc/gcc_qmul.c
parent082b89b25faae3e45a023caf51b65ca0f02f377f (diff)
downloadbcm5719-llvm-0ba22f51d128bee9d69756c56c4678097270e10b.tar.gz
bcm5719-llvm-0ba22f51d128bee9d69756c56c4678097270e10b.zip
[builtins] Use single line C++/C99 comment style
Use the uniform single line C++/99 style for code comments. This is part of the cleanup proposed in "[RFC] compiler-rt builtins cleanup and refactoring". Differential Revision: https://reviews.llvm.org/D60352 llvm-svn: 359411
Diffstat (limited to 'compiler-rt/lib/builtins/ppc/gcc_qmul.c')
-rw-r--r--compiler-rt/lib/builtins/ppc/gcc_qmul.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/compiler-rt/lib/builtins/ppc/gcc_qmul.c b/compiler-rt/lib/builtins/ppc/gcc_qmul.c
index efd12d8477f..75f519aad6f 100644
--- a/compiler-rt/lib/builtins/ppc/gcc_qmul.c
+++ b/compiler-rt/lib/builtins/ppc/gcc_qmul.c
@@ -1,12 +1,10 @@
-/* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
- * See https://llvm.org/LICENSE.txt for license information.
- * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
- */
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-/* long double __gcc_qmul(long double x, long double y);
- * This file implements the PowerPC 128-bit double-double multiply operation.
- * This implementation is shamelessly cribbed from Apple's DDRT, circa 1993(!)
- */
+// long double __gcc_qmul(long double x, long double y);
+// This file implements the PowerPC 128-bit double-double multiply operation.
+// This implementation is shamelessly cribbed from Apple's DDRT, circa 1993(!)
#include "DD.h"
@@ -21,7 +19,7 @@ long double __gcc_qmul(long double x, long double y) {
ab = A * B;
- /* Detect special cases */
+ // Detect special cases
if (ab == 0.0) {
dst.s.hi = ab;
dst.s.lo = 0.0;
@@ -35,7 +33,7 @@ long double __gcc_qmul(long double x, long double y) {
return dst.ld;
}
- /* Generic cases handled here. */
+ // Generic cases handled here.
aHi = high26bits(A);
bHi = high26bits(B);
aLo = A - aHi;
OpenPOWER on IntegriCloud