diff options
Diffstat (limited to 'compiler-rt/lib/builtins/muloti4.c')
-rw-r--r-- | compiler-rt/lib/builtins/muloti4.c | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/compiler-rt/lib/builtins/muloti4.c b/compiler-rt/lib/builtins/muloti4.c index 7dc62b22be3..9bdd5b64990 100644 --- a/compiler-rt/lib/builtins/muloti4.c +++ b/compiler-rt/lib/builtins/muloti4.c @@ -1,23 +1,22 @@ -/*===-- muloti4.c - Implement __muloti4 -----------------------------------=== - * - * 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 - * - * ===----------------------------------------------------------------------=== - * - * This file implements __muloti4 for the compiler_rt library. - * - * ===----------------------------------------------------------------------=== - */ +//===-- muloti4.c - Implement __muloti4 -----------------------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// +// +// This file implements __muloti4 for the compiler_rt library. +// +//===----------------------------------------------------------------------===// #include "int_lib.h" #ifdef CRT_HAS_128BIT -/* Returns: a * b */ +// Returns: a * b -/* Effects: sets *overflow to 1 if a * b overflows */ +// Effects: sets *overflow to 1 if a * b overflows COMPILER_RT_ABI ti_int __muloti4(ti_int a, ti_int b, int *overflow) { const int N = (int)(sizeof(ti_int) * CHAR_BIT); @@ -51,4 +50,4 @@ COMPILER_RT_ABI ti_int __muloti4(ti_int a, ti_int b, int *overflow) { return result; } -#endif /* CRT_HAS_128BIT */ +#endif // CRT_HAS_128BIT |