xref: /openbsd-src/gnu/llvm/compiler-rt/lib/builtins/x86_64/floatdidf.c (revision 3cab2bb3f667058bece8e38b12449a63a9d73c4b)
1*3cab2bb3Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2*3cab2bb3Spatrick // See https://llvm.org/LICENSE.txt for license information.
3*3cab2bb3Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4*3cab2bb3Spatrick 
5*3cab2bb3Spatrick // double __floatdidf(di_int a);
6*3cab2bb3Spatrick 
7*3cab2bb3Spatrick #if defined(__x86_64__) || defined(_M_X64)
8*3cab2bb3Spatrick 
9*3cab2bb3Spatrick #include "../int_lib.h"
10*3cab2bb3Spatrick 
__floatdidf(int64_t a)11*3cab2bb3Spatrick double __floatdidf(int64_t a) { return (double)a; }
12*3cab2bb3Spatrick 
13*3cab2bb3Spatrick #endif // __x86_64__
14