From f9102cdabba485d415359124bece145f4a7d9089 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 16 May 2017 19:47:19 +0000 Subject: Vendor import of compiler-rt trunk r303197: https://llvm.org/svn/llvm-project/compiler-rt/trunk@303197 --- lib/builtins/comparesf2.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'lib/builtins/comparesf2.c') diff --git a/lib/builtins/comparesf2.c b/lib/builtins/comparesf2.c index 1fd50636abafe..4badb5e1b9f73 100644 --- a/lib/builtins/comparesf2.c +++ b/lib/builtins/comparesf2.c @@ -113,8 +113,6 @@ __gesf2(fp_t a, fp_t b) { } } -ARM_EABI_FNALIAS(fcmpun, unordsf2) - COMPILER_RT_ABI int __unordsf2(fp_t a, fp_t b) { const rep_t aAbs = toRep(a) & absMask; @@ -143,3 +141,10 @@ COMPILER_RT_ABI enum GE_RESULT __gtsf2(fp_t a, fp_t b) { return __gesf2(a, b); } + +#if defined(__ARM_EABI__) +AEABI_RTABI int __aeabi_fcmpun(fp_t a, fp_t b) { + return __unordsf2(a, b); +} +#endif + -- cgit v1.2.3