addtf3.c 703 B

1234567891011121314151617181920212223
  1. //===-- lib/addtf3.c - Quad-precision addition --------------------*- C -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. //
  9. // This file implements quad-precision soft-float addition.
  10. //
  11. //===----------------------------------------------------------------------===//
  12. #define QUAD_PRECISION
  13. #include "fp_lib.h"
  14. #if defined(CRT_HAS_TF_MODE)
  15. #include "fp_add_impl.inc"
  16. COMPILER_RT_ABI fp_t __addtf3(fp_t a, fp_t b) {
  17. return __addXf3__(a, b);
  18. }
  19. #endif