[Clang][SME2] Enable multi-vector loads & stores for SME2 (#75821)
[llvm-project.git] / compiler-rt / lib / builtins / fixunsdfti.c
blobbe497d0e16afc1c70c567661b1aadb609c01ca63
1 //===-- fixunsdfti.c - Implement __fixunsdfti -----------------------------===//
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 //===----------------------------------------------------------------------===//
9 #include "int_lib.h"
11 #ifdef CRT_HAS_128BIT
12 #define DOUBLE_PRECISION
13 #include "fp_lib.h"
14 typedef tu_int fixuint_t;
15 #include "fp_fixuint_impl.inc"
17 COMPILER_RT_ABI tu_int __fixunsdfti(fp_t a) { return __fixuint(a); }
18 #endif // CRT_HAS_128BIT