mailing list of musl libc
 help / color / mirror / code / Atom feed
4d19262b2f454cf07a20d4b96b33e3c6639d0a0f blob 130 bytes (raw)

1
2
3
4
5
6
7
 
#include <math.h>

float fminf(float x, float y)
{
	__asm__ ("xsmindp %x0, %x1, %x2" : "=ww"(x) : "ww"(x), "ww"(y));
	return x;
}
debug log:

solving 4d19262 ...
found 4d19262 in https://inbox.vuxu.org/musl/CAGWvnymr=J9hFw2CLi6MKAMwWdYbQEjz+oQJ1MrexAaygPoSNA@mail.gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/CAGWvnymr=J9hFw2CLi6MKAMwWdYbQEjz+oQJ1MrexAaygPoSNA@mail.gmail.com/
diff --git a/src/math/powerpc64/fminf.c b/src/math/powerpc64/fminf.c
new file mode 100644
index 0000000..4d19262

Checking patch src/math/powerpc64/fminf.c...
Applied patch src/math/powerpc64/fminf.c cleanly.

index at:
100644 4d19262b2f454cf07a20d4b96b33e3c6639d0a0f	src/math/powerpc64/fminf.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).