blob: 8b7aae0a6f870d1dfd74754e992f953fb520deb4 [file] [log] [blame]
Daniel Dunbarf3798a32011-03-21 23:30:19 +00001//===-- lib/adddf3.c - Double-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 double-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 DOUBLE_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(dadd, adddf3)
Anton Korobeynikov75e3c192011-04-19 17:51:24 +000019
Joerg Sonnenbergerd21cd142014-05-28 15:06:25 +000020COMPILER_RT_ABI double __adddf3(double a, double b){
21 return __addXf3__(a, b);
Stephen Canonb1fdde12010-07-01 15:52:42 +000022}