summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/eqsf2.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-03-25 15:52:51 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-03-25 15:52:51 +0000
commit1102c9ae58ecafa26dc088d75abee3591dede94e (patch)
treedd3b6de4045d81106ef70149f1adf5efc39fb983 /compiler-rt/lib/eqsf2.c
parent69f1f9391bf11589ad1704d586309a96ee132903 (diff)
downloadbcm5719-llvm-1102c9ae58ecafa26dc088d75abee3591dede94e.tar.gz
bcm5719-llvm-1102c9ae58ecafa26dc088d75abee3591dede94e.zip
Split single & double comparison routines into separate implementation files,
for consistency. llvm-svn: 128282
Diffstat (limited to 'compiler-rt/lib/eqsf2.c')
-rw-r--r--compiler-rt/lib/eqsf2.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/compiler-rt/lib/eqsf2.c b/compiler-rt/lib/eqsf2.c
new file mode 100644
index 00000000000..8d1cf97f6f4
--- /dev/null
+++ b/compiler-rt/lib/eqsf2.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 __eqsf2(fp_t a, fp_t b) {
+ return __lesf2(a, b);
+}
OpenPOWER on IntegriCloud