Stephen Canon | 74eaf1f | 2010-07-01 17:58:24 +0000 | [diff] [blame] | 1 | //===-- lib/mulsf3.c - Single-precision multiplication ------------*- C -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Howard Hinnant | 5b791f6 | 2010-11-16 22:13:33 +0000 | [diff] [blame] | 5 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 6 | // Source Licenses. See LICENSE.TXT for details. |
Stephen Canon | 74eaf1f | 2010-07-01 17:58:24 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file implements single-precision soft-float multiplication |
| 11 | // with the IEEE-754 default rounding (to nearest, ties to even). |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
Stephen Canon | b1fdde1 | 2010-07-01 15:52:42 +0000 | [diff] [blame] | 14 | |
| 15 | #define SINGLE_PRECISION |
Joerg Sonnenberger | 6269913 | 2014-05-28 15:08:05 +0000 | [diff] [blame] | 16 | #include "fp_mul_impl.inc" |
Stephen Canon | b1fdde1 | 2010-07-01 15:52:42 +0000 | [diff] [blame] | 17 | |
Chandler Carruth | 321916a | 2012-06-22 21:09:15 +0000 | [diff] [blame] | 18 | ARM_EABI_FNALIAS(fmul, mulsf3) |
Anton Korobeynikov | 75e3c19 | 2011-04-19 17:51:24 +0000 | [diff] [blame] | 19 | |
Joerg Sonnenberger | 6269913 | 2014-05-28 15:08:05 +0000 | [diff] [blame] | 20 | COMPILER_RT_ABI fp_t __mulsf3(fp_t a, fp_t b) { |
| 21 | return __mulXf3__(a, b); |
Stephen Canon | b1fdde1 | 2010-07-01 15:52:42 +0000 | [diff] [blame] | 22 | } |