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.
This commit is contained in:
whitequark 2017-12-28 02:57:42 +00:00
parent 0ba07e4926
commit 82ee1dd760

View File

@ -133,6 +133,8 @@ features = ["c"]
- [ ] arm/unordsf2vfp.S - [ ] arm/unordsf2vfp.S
- [x] ashldi3.c - [x] ashldi3.c
- [x] ashrdi3.c - [x] ashrdi3.c
- [ ] comparedf2.c
- [ ] comparesf2.c
- [x] divdf3.c - [x] divdf3.c
- [x] divdi3.c - [x] divdi3.c
- [x] divmoddi4.c - [x] divmoddi4.c
@ -301,8 +303,6 @@ These builtins are never called by LLVM.
- ~~clzti2.c~~ - ~~clzti2.c~~
- ~~cmpdi2.c~~ - ~~cmpdi2.c~~
- ~~cmpti2.c~~ - ~~cmpti2.c~~
- ~~comparedf2.c~~
- ~~comparesf2.c~~
- ~~ctzdi2.c~~ - ~~ctzdi2.c~~
- ~~ctzsi2.c~~ - ~~ctzsi2.c~~
- ~~ctzti2.c~~ - ~~ctzti2.c~~