diff --git a/lib/compiler_rt/README.md b/lib/compiler_rt/README.md index a5d6bfdd6b6b372248d495f96c86b3ddd6aabe40..0590c33fdec18131b54b7e96229c6c696c4e5245 100644 --- a/lib/compiler_rt/README.md +++ b/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 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** | diff --git a/lib/compiler_rt/gehf2.zig b/lib/compiler_rt/gehf2.zig index e3df4d30874c32cd9370a4853f00e48b60537465..6bea4e164a61f37cdcd5d2936afd8d995fcee7d3 100644 --- a/lib/compiler_rt/gehf2.zig +++ b/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); -}