From 82ee1dd7603b277e5b14348befd5772c3671b973 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 28 Dec 2017 02:57:42 +0000 Subject: [PATCH] comparesf2/comparedf2 are called on soft-float targets. E.g. take a look at the assembly output for: pub fn comparesf2(a: f32, b: f32) -> bool { a > b } pub fn comparedf2(a: f64, b: f64) -> bool { a > b } which will include calls to __gtsf2 and __gtdf2. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5606ef4..533850b 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,8 @@ features = ["c"] - [ ] arm/unordsf2vfp.S - [x] ashldi3.c - [x] ashrdi3.c +- [ ] comparedf2.c +- [ ] comparesf2.c - [x] divdf3.c - [x] divdi3.c - [x] divmoddi4.c @@ -301,8 +303,6 @@ These builtins are never called by LLVM. - ~~clzti2.c~~ - ~~cmpdi2.c~~ - ~~cmpti2.c~~ -- ~~comparedf2.c~~ -- ~~comparesf2.c~~ - ~~ctzdi2.c~~ - ~~ctzsi2.c~~ - ~~ctzti2.c~~