summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/subdf3.c
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2011-04-19 17:51:24 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2011-04-19 17:51:24 +0000
commit75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb (patch)
treef96749c56c947499207a8f4b5c23256403d4d31b /compiler-rt/lib/subdf3.c
parentbdadd87c4de95b38d5ff7d7370c7a1f88a6669c3 (diff)
downloadbcm5719-llvm-75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb.tar.gz
bcm5719-llvm-75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb.zip
Add ARM EABI function aliases to routines
llvm-svn: 129768
Diffstat (limited to 'compiler-rt/lib/subdf3.c')
-rw-r--r--compiler-rt/lib/subdf3.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/lib/subdf3.c b/compiler-rt/lib/subdf3.c
index 241bf1b125a..d9ed494f4d1 100644
--- a/compiler-rt/lib/subdf3.c
+++ b/compiler-rt/lib/subdf3.c
@@ -15,9 +15,16 @@
#define DOUBLE_PRECISION
#include "fp_lib.h"
+#include "int_lib.h"
+
fp_t __adddf3(fp_t a, fp_t b);
+
+ARM_EABI_FNALIAS(dsub, subdf3);
+
// Subtraction; flip the sign bit of b and add.
fp_t __subdf3(fp_t a, fp_t b) {
return __adddf3(a, fromRep(toRep(b) ^ signBit));
}
+
+/* FIXME: rsub for ARM EABI */
OpenPOWER on IntegriCloud