2015-01-07 19:55:37 +00:00
|
|
|
//===-- lib/addsf3.c - Single-precision addition ------------------*- C -*-===//
|
2010-10-21 19:02:02 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2011-03-17 19:47:28 +00:00
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
2010-10-21 19:02:02 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2015-01-07 19:55:37 +00:00
|
|
|
// This file implements single-precision soft-float addition with the IEEE-754
|
|
|
|
// default rounding (to nearest, ties to even).
|
2010-10-21 19:02:02 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#define SINGLE_PRECISION
|
2015-01-07 19:55:37 +00:00
|
|
|
#include "fp_add_impl.inc"
|
2010-10-21 19:02:02 +00:00
|
|
|
|
2015-01-07 19:55:37 +00:00
|
|
|
ARM_EABI_FNALIAS(fadd, addsf3)
|
2011-06-02 20:02:42 +00:00
|
|
|
|
2015-01-07 19:55:37 +00:00
|
|
|
COMPILER_RT_ABI float __addsf3(float a, float b) {
|
|
|
|
return __addXf3__(a, b);
|
2010-10-21 19:02:02 +00:00
|
|
|
}
|