1 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2 // See https://llvm.org/LICENSE.txt for license information.
3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5 #include "../assembly.h"
7 // float __floatundisf(du_int a);
17 #define REL_ADDR(_a) (_a)(%rip)
21 DEFINE_COMPILERRT_FUNCTION(__floatundisf)
32 mulss REL_ADDR(two), %xmm0
34 END_COMPILERRT_FUNCTION(__floatundisf)
38 NO_EXEC_STACK_DIRECTIVE