aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/compiler_rt/README.md4
-rw-r--r--lib/compiler_rt/gehf2.zig8
2 files changed, 4 insertions, 8 deletions
diff --git a/lib/compiler_rt/README.md b/lib/compiler_rt/README.md
index a5d6bfdd6b..0590c33fde 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<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** |
diff --git a/lib/compiler_rt/gehf2.zig b/lib/compiler_rt/gehf2.zig
index e3df4d3087..6bea4e164a 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);
-}