xref: /freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/x86_64/floatdixf.c (revision 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
10b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
20b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
30b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
40b57cec5SDimitry Andric 
5*5f757f3fSDimitry Andric // xf_float __floatdixf(di_int a);
60b57cec5SDimitry Andric 
70b57cec5SDimitry Andric #ifdef __x86_64__
80b57cec5SDimitry Andric 
90b57cec5SDimitry Andric #include "../int_lib.h"
100b57cec5SDimitry Andric 
__floatdixf(int64_t a)11*5f757f3fSDimitry Andric xf_float __floatdixf(int64_t a) { return (xf_float)a; }
120b57cec5SDimitry Andric 
130b57cec5SDimitry Andric #endif // __i386__
14