1276789Sdim//===-- lib/addtf3.c - Quad-precision addition --------------------*- C -*-===// 2276789Sdim// 3276789Sdim// The LLVM Compiler Infrastructure 4276789Sdim// 5276789Sdim// This file is dual licensed under the MIT and the University of Illinois Open 6276789Sdim// Source Licenses. See LICENSE.TXT for details. 7276789Sdim// 8276789Sdim//===----------------------------------------------------------------------===// 9276789Sdim// 10276789Sdim// This file implements quad-precision soft-float addition with the IEEE-754 11276789Sdim// default rounding (to nearest, ties to even). 12276789Sdim// 13276789Sdim//===----------------------------------------------------------------------===// 14276789Sdim 15276789Sdim#define QUAD_PRECISION 16276789Sdim#include "fp_lib.h" 17276789Sdim 18276789Sdim#if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT) 19276789Sdim#include "fp_add_impl.inc" 20276789Sdim 21276789SdimCOMPILER_RT_ABI long double __addtf3(long double a, long double b){ 22276789Sdim return __addXf3__(a, b); 23276789Sdim} 24276789Sdim 25276789Sdim#endif 26