summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt/mingw_fixfloat.c
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2020-08-10 21:14:10 +0000
committerpatrick <patrick@openbsd.org>2020-08-10 21:14:10 +0000
commitf2119caf99b8ed409235597050ceebdc9102f562 (patch)
treecfb90cfe994f47cfaf95506823ca0dac2d08b04d /lib/libcompiler_rt/mingw_fixfloat.c
parentUn-hook and re-hook libcompiler_rt. (diff)
downloadwireguard-openbsd-f2119caf99b8ed409235597050ceebdc9102f562.tar.xz
wireguard-openbsd-f2119caf99b8ed409235597050ceebdc9102f562.zip
Tedu compiler-rt 8.0.1.
Diffstat (limited to 'lib/libcompiler_rt/mingw_fixfloat.c')
-rw-r--r--lib/libcompiler_rt/mingw_fixfloat.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/libcompiler_rt/mingw_fixfloat.c b/lib/libcompiler_rt/mingw_fixfloat.c
deleted file mode 100644
index c462e0dbf65..00000000000
--- a/lib/libcompiler_rt/mingw_fixfloat.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ===-- mingw_fixfloat.c - Wrap int/float conversions for arm/windows -----===
- *
- * The LLVM Compiler Infrastructure
- *
- * This file is dual licensed under the MIT and the University of Illinois Open
- * Source Licenses. See LICENSE.TXT for details.
- *
- * ===----------------------------------------------------------------------===
- */
-
-#include "int_lib.h"
-
-COMPILER_RT_ABI di_int __fixdfdi(double a);
-COMPILER_RT_ABI di_int __fixsfdi(float a);
-COMPILER_RT_ABI du_int __fixunsdfdi(double a);
-COMPILER_RT_ABI du_int __fixunssfdi(float a);
-COMPILER_RT_ABI double __floatdidf(di_int a);
-COMPILER_RT_ABI float __floatdisf(di_int a);
-COMPILER_RT_ABI double __floatundidf(du_int a);
-COMPILER_RT_ABI float __floatundisf(du_int a);
-
-COMPILER_RT_ABI di_int __dtoi64(double a) { return __fixdfdi(a); }
-
-COMPILER_RT_ABI di_int __stoi64(float a) { return __fixsfdi(a); }
-
-COMPILER_RT_ABI du_int __dtou64(double a) { return __fixunsdfdi(a); }
-
-COMPILER_RT_ABI du_int __stou64(float a) { return __fixunssfdi(a); }
-
-COMPILER_RT_ABI double __i64tod(di_int a) { return __floatdidf(a); }
-
-COMPILER_RT_ABI float __i64tos(di_int a) { return __floatdisf(a); }
-
-COMPILER_RT_ABI double __u64tod(du_int a) { return __floatundidf(a); }
-
-COMPILER_RT_ABI float __u64tos(du_int a) { return __floatundisf(a); }