summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ltsf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/ltsf2.c')
-rw-r--r--compiler-rt/lib/ltsf2.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/compiler-rt/lib/ltsf2.c b/compiler-rt/lib/ltsf2.c
new file mode 100644
index 00000000000..85415fd3d5c
--- /dev/null
+++ b/compiler-rt/lib/ltsf2.c
@@ -0,0 +1,16 @@
+//===-- lib/comparesf2.c - Single-precision comparisons -----------*- C -*-===//
+//
+// 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.
+//
+//===----------------------------------------------------------------------===//
+
+#define SINGLE_PRECISION
+#include "fp_lib.h"
+
+enum LE_RESULT __lesf2(fp_t a, fp_t b);
+enum LE_RESULT __ltsf2(fp_t a, fp_t b) {
+ return __lesf2(a, b);
+}
OpenPOWER on IntegriCloud