summaryrefslogtreecommitdiff
path: root/lib/comparesf2.c
diff options
context:
space:
mode:
authorZonr Chang <zonr.xchg@gmail.com>2013-02-07 08:29:47 +0000
committerZonr Chang <zonr.xchg@gmail.com>2013-02-07 08:29:47 +0000
commitf1e4bceafeec4bfe2f501d6c6535da18d485bf08 (patch)
tree990b02b0b92ba60fecd95f618b1354d7b2fb0f11 /lib/comparesf2.c
parent1d333c5a34d896f239001e3fe69a660e40d15301 (diff)
downloadcompiler-rt-f1e4bceafeec4bfe2f501d6c6535da18d485bf08.tar.gz
compiler-rt-f1e4bceafeec4bfe2f501d6c6535da18d485bf08.tar.bz2
compiler-rt-f1e4bceafeec4bfe2f501d6c6535da18d485bf08.tar.xz
Implement aeabi_{f,d}cmp*.
Special thanks to Anton for the review. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174596 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/comparesf2.c')
-rw-r--r--lib/comparesf2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/comparesf2.c b/lib/comparesf2.c
index 3f2e358a..c1c3a479 100644
--- a/lib/comparesf2.c
+++ b/lib/comparesf2.c
@@ -106,6 +106,8 @@ enum GE_RESULT __gesf2(fp_t a, fp_t b) {
}
}
+ARM_EABI_FNALIAS(fcmpun, unordsf2)
+
int __unordsf2(fp_t a, fp_t b) {
const rep_t aAbs = toRep(a) & absMask;
const rep_t bAbs = toRep(b) & absMask;