fixunstfdi.c 577 B

1234567891011121314151617
  1. //===-- fixunstfdi.c - Implement __fixunstfdi -----------------------------===//
  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. #define QUAD_PRECISION
  9. #include "fp_lib.h"
  10. #if defined(CRT_HAS_TF_MODE)
  11. typedef du_int fixuint_t;
  12. #include "fp_fixuint_impl.inc"
  13. COMPILER_RT_ABI du_int __fixunstfdi(fp_t a) { return __fixuint(a); }
  14. #endif