diff options
author | Josh Gao <jmgao@google.com> | 2015-08-21 02:51:17 +0000 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2015-08-21 02:51:17 +0000 |
commit | 772527c57b4b949905e39ec03360f6f9d19d2729 (patch) | |
tree | 5681207b665b64b79a2e378009cc522b95e1bf4e /compiler-rt/lib/builtins/comparedf2.c | |
parent | 1dc6a8d1797086c630de2da3249dbcafb7157e27 (diff) | |
download | bcm5719-llvm-772527c57b4b949905e39ec03360f6f9d19d2729.tar.gz bcm5719-llvm-772527c57b4b949905e39ec03360f6f9d19d2729.zip |
[compiler-rt] Add libgcc compatibility aliases for __cmp{s,d,f}f2.
Reviewers: compnerd
Subscribers: asl, llvm-commits
Differential Revision: http://reviews.llvm.org/D12091
llvm-svn: 245663
Diffstat (limited to 'compiler-rt/lib/builtins/comparedf2.c')
-rw-r--r-- | compiler-rt/lib/builtins/comparedf2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/comparedf2.c b/compiler-rt/lib/builtins/comparedf2.c index 64eea124905..9d5330c2361 100644 --- a/compiler-rt/lib/builtins/comparedf2.c +++ b/compiler-rt/lib/builtins/comparedf2.c @@ -80,6 +80,9 @@ __ledf2(fp_t a, fp_t b) { } } +// Alias for libgcc compatibility +FNALIAS(__cmpdf2, __ledf2); + enum GE_RESULT { GE_LESS = -1, GE_EQUAL = 0, |