diff options
Diffstat (limited to 'contrib/compiler-rt/lib/builtins/mulsf3.c')
-rw-r--r-- | contrib/compiler-rt/lib/builtins/mulsf3.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/compiler-rt/lib/builtins/mulsf3.c b/contrib/compiler-rt/lib/builtins/mulsf3.c new file mode 100644 index 000000000000..478b3bc0e0e0 --- /dev/null +++ b/contrib/compiler-rt/lib/builtins/mulsf3.c @@ -0,0 +1,22 @@ +//===-- lib/mulsf3.c - Single-precision multiplication ------------*- C -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. 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_mul_impl.inc" + +ARM_EABI_FNALIAS(fmul, mulsf3) + +COMPILER_RT_ABI fp_t __mulsf3(fp_t a, fp_t b) { + return __mulXf3__(a, b); +} |