Commit c993af6234

flexicoding <97116715+flexicoding@users.noreply.github.com>
2023-02-18 18:07:35
compiler_rt: remove unexported functions
1 parent c321719
Changed files (2)
lib
compiler_rt
lib/compiler_rt/gehf2.zig
@@ -21,11 +21,3 @@ pub fn __gehf2(a: f16, b: f16) callconv(.C) i32 {
 pub fn __gthf2(a: f16, b: f16) callconv(.C) i32 {
     return __gehf2(a, b);
 }
-
-fn __aeabi_fcmpge(a: f16, b: f16) callconv(.AAPCS) i32 {
-    return @boolToInt(comparef.cmpf2(f16, comparef.GE, a, b) != .Less);
-}
-
-fn __aeabi_fcmpgt(a: f16, b: f16) callconv(.AAPCS) i32 {
-    return @boolToInt(comparef.cmpf2(f16, comparef.LE, a, b) == .Greater);
-}
lib/compiler_rt/README.md
@@ -260,6 +260,8 @@ Integer and Float Operations
 | ✓ | __gedf2            | f64  | f64  | i32  | ..                             |
 | ✓ | __getf2            | f128 | f128 | i32  | ..                             |
 | ✓ | __gexf2            | f80  | f80  | i32  | ..                             |
+| ✓ | __aeabi_fcmpge     | f32  | f32  | i32  | .. ARM                         |
+| ✓ | __aeabi_dcmpge     | f64  | f64  | i32  | .. ARM                         |
 | ✓ | __gekf2            | f128 | f128 | i32  | .. PPC                         |
 | ✓ | _Qp_fge            |*f128 |*f128 | bool | .. SPARC                       |
 | ✓ | __lthf2            | f16  | f16  | i32  | `(a!=Nan) and (b!=Nan) and (a<b) -> output<0` |
@@ -285,6 +287,8 @@ Integer and Float Operations
 | ✓ | __gtdf2            | f64  | f64  | i32  | ..                             |
 | ✓ | __gttf2            | f128 | f128 | i32  | ..                             |
 | ✓ | __gtxf2            | f80  | f80  | i32  | ..                             |
+| ✓ | __aeabi_fcmpgt     | f32  | f32  | i32  | .. ARM                         |
+| ✓ | __aeabi_dcmpgt     | f64  | f64  | i32  | .. ARM                         |
 | ✓ | __gtkf2            | f128 | f128 | i32  | .. PPC                         |
 | ✓ | _Qp_fgt            |*f128 |*f128 | bool | .. SPARC                       |
 |   |                    |      |      |      | **Float Arithmetic**           |