summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/unordsf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/unordsf2.c')
-rw-r--r--compiler-rt/lib/unordsf2.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler-rt/lib/unordsf2.c b/compiler-rt/lib/unordsf2.c
deleted file mode 100644
index 0ef7c11d181..00000000000
--- a/compiler-rt/lib/unordsf2.c
+++ /dev/null
@@ -1,17 +0,0 @@
-//===-- lib/unordsf2.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"
-
-int __unordsf2(fp_t a, fp_t b) {
- const rep_t aAbs = toRep(a) & absMask;
- const rep_t bAbs = toRep(b) & absMask;
- return aAbs > infRep || bAbs > infRep;
-}
OpenPOWER on IntegriCloud