authorgravatar for 97116715+flexicoding@users.noreply.github.comflexicoding <97116715+flexicoding@users.noreply.github.com> 2023-02-18 18:07:35+01:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2023-02-18 17:07:35+00:00
logc993af62347faf124e97b16801356d34322a216e
tree12bd96e00f3aee3e29f141f45a4866e3958bc802
parentc32171991b25b323cd68ff96c294bf5a6fa753b8
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

compiler_rt: remove unexported functions


2 files changed, 4 insertions(+), 8 deletions(-)

lib/compiler_rt/README.md+4
...@@ -260,6 +260,8 @@ Integer and Float Operations...@@ -260,6 +260,8 @@ Integer and Float Operations
260| ✓ | __gedf2 | f64 | f64 | i32 | .. |260| ✓ | __gedf2 | f64 | f64 | i32 | .. |
261| ✓ | __getf2 | f128 | f128 | i32 | .. |261| ✓ | __getf2 | f128 | f128 | i32 | .. |
262| ✓ | __gexf2 | f80 | f80 | i32 | .. |262| ✓ | __gexf2 | f80 | f80 | i32 | .. |
263| ✓ | __aeabi_fcmpge | f32 | f32 | i32 | .. ARM |
264| ✓ | __aeabi_dcmpge | f64 | f64 | i32 | .. ARM |
263| ✓ | __gekf2 | f128 | f128 | i32 | .. PPC |265| ✓ | __gekf2 | f128 | f128 | i32 | .. PPC |
264| ✓ | _Qp_fge |*f128 |*f128 | bool | .. SPARC |266| ✓ | _Qp_fge |*f128 |*f128 | bool | .. SPARC |
265| ✓ | __lthf2 | f16 | f16 | i32 | `(a!=Nan) and (b!=Nan) and (a<b) -> output<0` |267| ✓ | __lthf2 | f16 | f16 | i32 | `(a!=Nan) and (b!=Nan) and (a<b) -> output<0` |
...@@ -285,6 +287,8 @@ Integer and Float Operations...@@ -285,6 +287,8 @@ Integer and Float Operations
285| ✓ | __gtdf2 | f64 | f64 | i32 | .. |287| ✓ | __gtdf2 | f64 | f64 | i32 | .. |
286| ✓ | __gttf2 | f128 | f128 | i32 | .. |288| ✓ | __gttf2 | f128 | f128 | i32 | .. |
287| ✓ | __gtxf2 | f80 | f80 | i32 | .. |289| ✓ | __gtxf2 | f80 | f80 | i32 | .. |
290| ✓ | __aeabi_fcmpgt | f32 | f32 | i32 | .. ARM |
291| ✓ | __aeabi_dcmpgt | f64 | f64 | i32 | .. ARM |
288| ✓ | __gtkf2 | f128 | f128 | i32 | .. PPC |292| ✓ | __gtkf2 | f128 | f128 | i32 | .. PPC |
289| ✓ | _Qp_fgt |*f128 |*f128 | bool | .. SPARC |293| ✓ | _Qp_fgt |*f128 |*f128 | bool | .. SPARC |
290| | | | | | **Float Arithmetic** |294| | | | | | **Float Arithmetic** |
lib/compiler_rt/gehf2.zig-8
...@@ -21,11 +21,3 @@ pub fn __gehf2(a: f16, b: f16) callconv(.C) i32 {...@@ -21,11 +21,3 @@ pub fn __gehf2(a: f16, b: f16) callconv(.C) i32 {
21pub fn __gthf2(a: f16, b: f16) callconv(.C) i32 {21pub fn __gthf2(a: f16, b: f16) callconv(.C) i32 {
22 return __gehf2(a, b);22 return __gehf2(a, b);
23}23}
24
25fn __aeabi_fcmpge(a: f16, b: f16) callconv(.AAPCS) i32 {
26 return @boolToInt(comparef.cmpf2(f16, comparef.GE, a, b) != .Less);
27}
28
29fn __aeabi_fcmpgt(a: f16, b: f16) callconv(.AAPCS) i32 {
30 return @boolToInt(comparef.cmpf2(f16, comparef.LE, a, b) == .Greater);
31}