blob: 0f5d6ea4097af857e000f9dfc3979e9da64bf6d6 [file] [log] [blame]
Daniel Dunbarf3798a32011-03-21 23:30:19 +00001//===-- lib/addsf3.c - Single-precision addition ------------------*- C -*-===//
Stephen Canon74eaf1f2010-07-01 17:58:24 +00002//
3// The LLVM Compiler Infrastructure
4//
Howard Hinnant5b791f62010-11-16 22:13:33 +00005// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
Stephen Canon74eaf1f2010-07-01 17:58:24 +00007//
8//===----------------------------------------------------------------------===//
9//
Daniel Dunbarf3798a32011-03-21 23:30:19 +000010// This file implements single-precision soft-float addition with the IEEE-754
11// default rounding (to nearest, ties to even).
Stephen Canon74eaf1f2010-07-01 17:58:24 +000012//
13//===----------------------------------------------------------------------===//
Stephen Canonb1fdde12010-07-01 15:52:42 +000014
15#define SINGLE_PRECISION
Joerg Sonnenbergerd21cd142014-05-28 15:06:25 +000016#include "fp_add_impl.inc"
Stephen Canonb1fdde12010-07-01 15:52:42 +000017
Chandler Carruth321916a2012-06-22 21:09:15 +000018ARM_EABI_FNALIAS(fadd, addsf3)
Anton Korobeynikov75e3c192011-04-19 17:51:24 +000019
Joerg Sonnenbergerd21cd142014-05-28 15:06:25 +000020COMPILER_RT_ABI float __addsf3(float a, float b) {
21 return __addXf3__(a, b);
Stephen Canonb1fdde12010-07-01 15:52:42 +000022}