From aa7dac9739f7ce332c2c3841dd7f3a6d17343e0d Mon Sep 17 00:00:00 2001 From: rpkak Date: Wed, 7 Jan 2026 19:14:58 +0100 Subject: [PATCH] libc: remove fmin/fmax implementations --- lib/libc/mingw/math/fmaxl.c | 12 ------- lib/libc/mingw/math/fminl.c | 12 ------- lib/libc/musl/src/math/aarch64/fmax.c | 7 ---- lib/libc/musl/src/math/aarch64/fmaxf.c | 7 ---- lib/libc/musl/src/math/aarch64/fmin.c | 7 ---- lib/libc/musl/src/math/aarch64/fminf.c | 7 ---- lib/libc/musl/src/math/fmax.c | 13 ------- lib/libc/musl/src/math/fmaxf.c | 13 ------- lib/libc/musl/src/math/fmaxl.c | 21 ------------ lib/libc/musl/src/math/fmin.c | 13 ------- lib/libc/musl/src/math/fminf.c | 13 ------- lib/libc/musl/src/math/fminl.c | 21 ------------ lib/libc/musl/src/math/powerpc64/fmax.c | 15 -------- lib/libc/musl/src/math/powerpc64/fmaxf.c | 15 -------- lib/libc/musl/src/math/powerpc64/fmin.c | 15 -------- lib/libc/musl/src/math/powerpc64/fminf.c | 15 -------- lib/libc/musl/src/math/riscv32/fmax.c | 15 -------- lib/libc/musl/src/math/riscv32/fmaxf.c | 15 -------- lib/libc/musl/src/math/riscv32/fmin.c | 15 -------- lib/libc/musl/src/math/riscv32/fminf.c | 15 -------- lib/libc/musl/src/math/riscv64/fmax.c | 15 -------- lib/libc/musl/src/math/riscv64/fmaxf.c | 15 -------- lib/libc/musl/src/math/riscv64/fmin.c | 15 -------- lib/libc/musl/src/math/riscv64/fminf.c | 15 -------- .../libc-bottom-half/sources/math/fmin-fmax.c | 34 ------------------- src/libs/mingw.zig | 2 -- src/libs/musl.zig | 22 ------------ src/libs/wasi_libc.zig | 3 -- 28 files changed, 387 deletions(-) delete mode 100644 lib/libc/mingw/math/fmaxl.c delete mode 100644 lib/libc/mingw/math/fminl.c delete mode 100644 lib/libc/musl/src/math/aarch64/fmax.c delete mode 100644 lib/libc/musl/src/math/aarch64/fmaxf.c delete mode 100644 lib/libc/musl/src/math/aarch64/fmin.c delete mode 100644 lib/libc/musl/src/math/aarch64/fminf.c delete mode 100644 lib/libc/musl/src/math/fmax.c delete mode 100644 lib/libc/musl/src/math/fmaxf.c delete mode 100644 lib/libc/musl/src/math/fmaxl.c delete mode 100644 lib/libc/musl/src/math/fmin.c delete mode 100644 lib/libc/musl/src/math/fminf.c delete mode 100644 lib/libc/musl/src/math/fminl.c delete mode 100644 lib/libc/musl/src/math/powerpc64/fmax.c delete mode 100644 lib/libc/musl/src/math/powerpc64/fmaxf.c delete mode 100644 lib/libc/musl/src/math/powerpc64/fmin.c delete mode 100644 lib/libc/musl/src/math/powerpc64/fminf.c delete mode 100644 lib/libc/musl/src/math/riscv32/fmax.c delete mode 100644 lib/libc/musl/src/math/riscv32/fmaxf.c delete mode 100644 lib/libc/musl/src/math/riscv32/fmin.c delete mode 100644 lib/libc/musl/src/math/riscv32/fminf.c delete mode 100644 lib/libc/musl/src/math/riscv64/fmax.c delete mode 100644 lib/libc/musl/src/math/riscv64/fmaxf.c delete mode 100644 lib/libc/musl/src/math/riscv64/fmin.c delete mode 100644 lib/libc/musl/src/math/riscv64/fminf.c delete mode 100644 lib/libc/wasi/libc-bottom-half/sources/math/fmin-fmax.c diff --git a/lib/libc/mingw/math/fmaxl.c b/lib/libc/mingw/math/fmaxl.c deleted file mode 100644 index 15c5b47ec0d876ebe26f6901549befdbc73d94d0..0000000000000000000000000000000000000000 --- a/lib/libc/mingw/math/fmaxl.c +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include - -long double -fmaxl (long double _x, long double _y) -{ - return (( isgreaterequal(_x, _y) || __isnanl (_y)) ? _x : _y ); -} diff --git a/lib/libc/mingw/math/fminl.c b/lib/libc/mingw/math/fminl.c deleted file mode 100644 index 96f08f79e6e56f61db7b5839b997900865ab7c9f..0000000000000000000000000000000000000000 --- a/lib/libc/mingw/math/fminl.c +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file has no copyright assigned and is placed in the Public Domain. - * This file is part of the mingw-w64 runtime package. - * No warranty is given; refer to the file DISCLAIMER.PD within this package. - */ -#include - -long double -fminl (long double _x, long double _y) -{ - return ((islessequal(_x, _y) || __isnanl (_y)) ? _x : _y ); -} diff --git a/lib/libc/musl/src/math/aarch64/fmax.c b/lib/libc/musl/src/math/aarch64/fmax.c deleted file mode 100644 index 86dcb3b4591c5e1fe78bdadb1fbe6ecaecf85370..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/aarch64/fmax.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -double fmax(double x, double y) -{ - __asm__ ("fmaxnm %d0, %d1, %d2" : "=w"(x) : "w"(x), "w"(y)); - return x; -} diff --git a/lib/libc/musl/src/math/aarch64/fmaxf.c b/lib/libc/musl/src/math/aarch64/fmaxf.c deleted file mode 100644 index ee5eac2d7384295cf26f04f49560191b1d2b1cff..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/aarch64/fmaxf.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -float fmaxf(float x, float y) -{ - __asm__ ("fmaxnm %s0, %s1, %s2" : "=w"(x) : "w"(x), "w"(y)); - return x; -} diff --git a/lib/libc/musl/src/math/aarch64/fmin.c b/lib/libc/musl/src/math/aarch64/fmin.c deleted file mode 100644 index f1e99808e08729c870f11590cbf686795b405834..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/aarch64/fmin.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -double fmin(double x, double y) -{ - __asm__ ("fminnm %d0, %d1, %d2" : "=w"(x) : "w"(x), "w"(y)); - return x; -} diff --git a/lib/libc/musl/src/math/aarch64/fminf.c b/lib/libc/musl/src/math/aarch64/fminf.c deleted file mode 100644 index 80468f676a7ac725bafdc35e9852e863eb941c38..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/aarch64/fminf.c +++ /dev/null @@ -1,7 +0,0 @@ -#include - -float fminf(float x, float y) -{ - __asm__ ("fminnm %s0, %s1, %s2" : "=w"(x) : "w"(x), "w"(y)); - return x; -} diff --git a/lib/libc/musl/src/math/fmax.c b/lib/libc/musl/src/math/fmax.c deleted file mode 100644 index 94f0caa17751b63d46e6826d37e63923dc468484..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/fmax.c +++ /dev/null @@ -1,13 +0,0 @@ -#include - -double fmax(double x, double y) -{ - if (isnan(x)) - return y; - if (isnan(y)) - return x; - /* handle signed zeros, see C99 Annex F.9.9.2 */ - if (signbit(x) != signbit(y)) - return signbit(x) ? y : x; - return x < y ? y : x; -} diff --git a/lib/libc/musl/src/math/fmaxf.c b/lib/libc/musl/src/math/fmaxf.c deleted file mode 100644 index 695d8179c6c1c314a1bcd92d0696a7cd2131707e..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/fmaxf.c +++ /dev/null @@ -1,13 +0,0 @@ -#include - -float fmaxf(float x, float y) -{ - if (isnan(x)) - return y; - if (isnan(y)) - return x; - /* handle signed zeroes, see C99 Annex F.9.9.2 */ - if (signbit(x) != signbit(y)) - return signbit(x) ? y : x; - return x < y ? y : x; -} diff --git a/lib/libc/musl/src/math/fmaxl.c b/lib/libc/musl/src/math/fmaxl.c deleted file mode 100644 index 4b03158e06292b28576615a2a1dd36bd6bf1d34a..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/fmaxl.c +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include - -#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 -long double fmaxl(long double x, long double y) -{ - return fmax(x, y); -} -#else -long double fmaxl(long double x, long double y) -{ - if (isnan(x)) - return y; - if (isnan(y)) - return x; - /* handle signed zeros, see C99 Annex F.9.9.2 */ - if (signbit(x) != signbit(y)) - return signbit(x) ? y : x; - return x < y ? y : x; -} -#endif diff --git a/lib/libc/musl/src/math/fmin.c b/lib/libc/musl/src/math/fmin.c deleted file mode 100644 index 08a8fd17f29e3759b972b04d123c1194aed68254..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/fmin.c +++ /dev/null @@ -1,13 +0,0 @@ -#include - -double fmin(double x, double y) -{ - if (isnan(x)) - return y; - if (isnan(y)) - return x; - /* handle signed zeros, see C99 Annex F.9.9.2 */ - if (signbit(x) != signbit(y)) - return signbit(x) ? x : y; - return x < y ? x : y; -} diff --git a/lib/libc/musl/src/math/fminf.c b/lib/libc/musl/src/math/fminf.c deleted file mode 100644 index 3573c7de741e17b162e26985a85c914b9d708d1c..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/fminf.c +++ /dev/null @@ -1,13 +0,0 @@ -#include - -float fminf(float x, float y) -{ - if (isnan(x)) - return y; - if (isnan(y)) - return x; - /* handle signed zeros, see C99 Annex F.9.9.2 */ - if (signbit(x) != signbit(y)) - return signbit(x) ? x : y; - return x < y ? x : y; -} diff --git a/lib/libc/musl/src/math/fminl.c b/lib/libc/musl/src/math/fminl.c deleted file mode 100644 index 69bc24a79bef742518735980c2ff5919589fbb46..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/fminl.c +++ /dev/null @@ -1,21 +0,0 @@ -#include -#include - -#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 -long double fminl(long double x, long double y) -{ - return fmin(x, y); -} -#else -long double fminl(long double x, long double y) -{ - if (isnan(x)) - return y; - if (isnan(y)) - return x; - /* handle signed zeros, see C99 Annex F.9.9.2 */ - if (signbit(x) != signbit(y)) - return signbit(x) ? x : y; - return x < y ? x : y; -} -#endif diff --git a/lib/libc/musl/src/math/powerpc64/fmax.c b/lib/libc/musl/src/math/powerpc64/fmax.c deleted file mode 100644 index 992df7f124f084a76db10ad2ac0f6b5e701b94fd..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/powerpc64/fmax.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#ifdef __VSX__ - -double fmax(double x, double y) -{ - __asm__ ("xsmaxdp %x0, %x1, %x2" : "=ws"(x) : "ws"(x), "ws"(y)); - return x; -} - -#else - -#include "../fmax.c" - -#endif diff --git a/lib/libc/musl/src/math/powerpc64/fmaxf.c b/lib/libc/musl/src/math/powerpc64/fmaxf.c deleted file mode 100644 index 345a234a80bea094633c08100a49d944315b8303..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/powerpc64/fmaxf.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#ifdef __VSX__ - -float fmaxf(float x, float y) -{ - __asm__ ("xsmaxdp %x0, %x1, %x2" : "=ww"(x) : "ww"(x), "ww"(y)); - return x; -} - -#else - -#include "../fmaxf.c" - -#endif diff --git a/lib/libc/musl/src/math/powerpc64/fmin.c b/lib/libc/musl/src/math/powerpc64/fmin.c deleted file mode 100644 index adf71bad9578cd6a90a1a954336c0eeb75119709..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/powerpc64/fmin.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#ifdef __VSX__ - -double fmin(double x, double y) -{ - __asm__ ("xsmindp %x0, %x1, %x2" : "=ws"(x) : "ws"(x), "ws"(y)); - return x; -} - -#else - -#include "../fmin.c" - -#endif diff --git a/lib/libc/musl/src/math/powerpc64/fminf.c b/lib/libc/musl/src/math/powerpc64/fminf.c deleted file mode 100644 index faf0e47e99e5ea7bf13e21ed339be5ba1e35bc6e..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/powerpc64/fminf.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#ifdef __VSX__ - -float fminf(float x, float y) -{ - __asm__ ("xsmindp %x0, %x1, %x2" : "=ww"(x) : "ww"(x), "ww"(y)); - return x; -} - -#else - -#include "../fminf.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv32/fmax.c b/lib/libc/musl/src/math/riscv32/fmax.c deleted file mode 100644 index 023709cdfd5b397d493df21159d9707fe12c7aed..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv32/fmax.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 64 - -double fmax(double x, double y) -{ - __asm__ ("fmax.d %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fmax.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv32/fmaxf.c b/lib/libc/musl/src/math/riscv32/fmaxf.c deleted file mode 100644 index 863d2bd17ac32f6493d5582110acce3e3bc9cfea..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv32/fmaxf.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 32 - -float fmaxf(float x, float y) -{ - __asm__ ("fmax.s %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fmaxf.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv32/fmin.c b/lib/libc/musl/src/math/riscv32/fmin.c deleted file mode 100644 index a4e3b067101a3908ec620b2c3b21e6a81e6073e6..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv32/fmin.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 64 - -double fmin(double x, double y) -{ - __asm__ ("fmin.d %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fmin.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv32/fminf.c b/lib/libc/musl/src/math/riscv32/fminf.c deleted file mode 100644 index 32156e80e3b8cda0b82e9f688bcbf12f264ff90e..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv32/fminf.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 32 - -float fminf(float x, float y) -{ - __asm__ ("fmin.s %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fminf.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv64/fmax.c b/lib/libc/musl/src/math/riscv64/fmax.c deleted file mode 100644 index 023709cdfd5b397d493df21159d9707fe12c7aed..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv64/fmax.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 64 - -double fmax(double x, double y) -{ - __asm__ ("fmax.d %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fmax.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv64/fmaxf.c b/lib/libc/musl/src/math/riscv64/fmaxf.c deleted file mode 100644 index 863d2bd17ac32f6493d5582110acce3e3bc9cfea..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv64/fmaxf.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 32 - -float fmaxf(float x, float y) -{ - __asm__ ("fmax.s %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fmaxf.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv64/fmin.c b/lib/libc/musl/src/math/riscv64/fmin.c deleted file mode 100644 index a4e3b067101a3908ec620b2c3b21e6a81e6073e6..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv64/fmin.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 64 - -double fmin(double x, double y) -{ - __asm__ ("fmin.d %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fmin.c" - -#endif diff --git a/lib/libc/musl/src/math/riscv64/fminf.c b/lib/libc/musl/src/math/riscv64/fminf.c deleted file mode 100644 index 32156e80e3b8cda0b82e9f688bcbf12f264ff90e..0000000000000000000000000000000000000000 --- a/lib/libc/musl/src/math/riscv64/fminf.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -#if __riscv_flen >= 32 - -float fminf(float x, float y) -{ - __asm__ ("fmin.s %0, %1, %2" : "=f"(x) : "f"(x), "f"(y)); - return x; -} - -#else - -#include "../fminf.c" - -#endif diff --git a/lib/libc/wasi/libc-bottom-half/sources/math/fmin-fmax.c b/lib/libc/wasi/libc-bottom-half/sources/math/fmin-fmax.c deleted file mode 100644 index 92937984eb13d94a46339380a52ffe0cce473f58..0000000000000000000000000000000000000000 --- a/lib/libc/wasi/libc-bottom-half/sources/math/fmin-fmax.c +++ /dev/null @@ -1,34 +0,0 @@ -// Wasm's `min` and `max` operators implement the IEEE 754-2019 -// `minimum` and `maximum` operations, meaning that given a choice -// between NaN and a number, they return NaN. This differs from -// the C standard library's `fmin` and `fmax` functions, which -// return the number. However, we can still use wasm's builtins -// by handling the NaN cases explicitly, and it still turns out -// to be faster than doing the whole operation in -// target-independent C. And, it's smaller. - -#include - -float fminf(float x, float y) { - if (isnan(x)) return y; - if (isnan(y)) return x; - return __builtin_wasm_min_f32(x, y); -} - -float fmaxf(float x, float y) { - if (isnan(x)) return y; - if (isnan(y)) return x; - return __builtin_wasm_max_f32(x, y); -} - -double fmin(double x, double y) { - if (isnan(x)) return y; - if (isnan(y)) return x; - return __builtin_wasm_min_f64(x, y); -} - -double fmax(double x, double y) { - if (isnan(x)) return y; - if (isnan(y)) return x; - return __builtin_wasm_max_f64(x, y); -} diff --git a/src/libs/mingw.zig b/src/libs/mingw.zig index f36fde251e0059116e05d03905bd5cd471ec4261..a29b424d27663007646f054ea4f7267ac3f3e42b 100644 --- a/src/libs/mingw.zig +++ b/src/libs/mingw.zig @@ -942,8 +942,6 @@ const mingw32_x86_src = [_][]const u8{ "math" ++ path.sep_str ++ "erfl.c", "math" ++ path.sep_str ++ "fdiml.c", "math" ++ path.sep_str ++ "fmal.c", - "math" ++ path.sep_str ++ "fmaxl.c", - "math" ++ path.sep_str ++ "fminl.c", "math" ++ path.sep_str ++ "llrintl.c", "math" ++ path.sep_str ++ "llroundl.c", "math" ++ path.sep_str ++ "lrintl.c", diff --git a/src/libs/musl.zig b/src/libs/musl.zig index 1aa4c84136c004aa06628688e0c1612c7c66a9c5..8fc3d608d5032e324543ca86ead989d1fa99fbeb 100644 --- a/src/libs/musl.zig +++ b/src/libs/musl.zig @@ -812,10 +812,6 @@ const src_files = [_][]const u8{ "musl/src/malloc/replaced.c", "musl/src/math/aarch64/fma.c", "musl/src/math/aarch64/fmaf.c", - "musl/src/math/aarch64/fmax.c", - "musl/src/math/aarch64/fmaxf.c", - "musl/src/math/aarch64/fmin.c", - "musl/src/math/aarch64/fminf.c", "musl/src/math/aarch64/llrint.c", "musl/src/math/aarch64/llrintf.c", "musl/src/math/aarch64/llround.c", @@ -893,12 +889,6 @@ const src_files = [_][]const u8{ "musl/src/math/fma.c", "musl/src/math/fmaf.c", "musl/src/math/fmal.c", - "musl/src/math/fmax.c", - "musl/src/math/fmaxf.c", - "musl/src/math/fmaxl.c", - "musl/src/math/fmin.c", - "musl/src/math/fminf.c", - "musl/src/math/fminl.c", "musl/src/math/__fpclassify.c", "musl/src/math/__fpclassifyf.c", "musl/src/math/__fpclassifyl.c", @@ -1030,10 +1020,6 @@ const src_files = [_][]const u8{ "musl/src/math/pow_data.c", "musl/src/math/powerpc64/fma.c", "musl/src/math/powerpc64/fmaf.c", - "musl/src/math/powerpc64/fmax.c", - "musl/src/math/powerpc64/fmaxf.c", - "musl/src/math/powerpc64/fmin.c", - "musl/src/math/powerpc64/fminf.c", "musl/src/math/powerpc64/lrint.c", "musl/src/math/powerpc64/lrintf.c", "musl/src/math/powerpc64/lround.c", @@ -1066,20 +1052,12 @@ const src_files = [_][]const u8{ "musl/src/math/riscv32/copysignf.c", "musl/src/math/riscv32/fma.c", "musl/src/math/riscv32/fmaf.c", - "musl/src/math/riscv32/fmax.c", - "musl/src/math/riscv32/fmaxf.c", - "musl/src/math/riscv32/fmin.c", - "musl/src/math/riscv32/fminf.c", "musl/src/math/riscv32/sqrt.c", "musl/src/math/riscv32/sqrtf.c", "musl/src/math/riscv64/copysign.c", "musl/src/math/riscv64/copysignf.c", "musl/src/math/riscv64/fma.c", "musl/src/math/riscv64/fmaf.c", - "musl/src/math/riscv64/fmax.c", - "musl/src/math/riscv64/fmaxf.c", - "musl/src/math/riscv64/fmin.c", - "musl/src/math/riscv64/fminf.c", "musl/src/math/riscv64/sqrt.c", "musl/src/math/riscv64/sqrtf.c", "musl/src/math/round.c", diff --git a/src/libs/wasi_libc.zig b/src/libs/wasi_libc.zig index 94aa4857af775d3228b0f46dd80177d97b711fea..b523d8f008051441703ca9ae33e3545b06bbd007 100644 --- a/src/libs/wasi_libc.zig +++ b/src/libs/wasi_libc.zig @@ -547,7 +547,6 @@ const libc_bottom_half_src_files = [_][]const u8{ "wasi/libc-bottom-half/sources/getentropy.c", "wasi/libc-bottom-half/sources/isatty.c", "wasi/libc-bottom-half/sources/__main_void.c", - "wasi/libc-bottom-half/sources/math/fmin-fmax.c", "wasi/libc-bottom-half/sources/math/math-builtins.c", "wasi/libc-bottom-half/sources/posix.c", "wasi/libc-bottom-half/sources/preopens.c", @@ -737,8 +736,6 @@ const libc_top_half_src_files = [_][]const u8{ "musl/src/math/finitef.c", "musl/src/math/fma.c", "musl/src/math/fmaf.c", - "musl/src/math/fmaxl.c", - "musl/src/math/fminl.c", "musl/src/math/frexp.c", "musl/src/math/frexpf.c", "musl/src/math/frexpl.c", -- 2.54.0