xref: /llvm-project/libc/src/math/generic/f16addf128.cpp (revision 5ff3ff33ff930e4ec49da7910612d8a41eb068cb)
14e567242SOverMighty //===-- Implementation of f16addf128 function -----------------------------===//
24e567242SOverMighty //
34e567242SOverMighty // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44e567242SOverMighty // See https://llvm.org/LICENSE.txt for license information.
54e567242SOverMighty // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
64e567242SOverMighty //
74e567242SOverMighty //===----------------------------------------------------------------------===//
84e567242SOverMighty 
94e567242SOverMighty #include "src/math/f16addf128.h"
104e567242SOverMighty #include "src/__support/FPUtil/generic/add_sub.h"
114e567242SOverMighty #include "src/__support/common.h"
12*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
134e567242SOverMighty 
14*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
154e567242SOverMighty 
164e567242SOverMighty LLVM_LIBC_FUNCTION(float16, f16addf128, (float128 x, float128 y)) {
174e567242SOverMighty   return fputil::generic::add<float16>(x, y);
184e567242SOverMighty }
194e567242SOverMighty 
20*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
21