comparesf2/comparedf2 are called on soft-float targets.
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.

japaric/rustc-builtins,japaric/rustc-builtins