mailing list of musl libc
 help / color / mirror / code / Atom feed
a9c507e9f1c56e23bcbb47ff277f009b545979b3 blob 132 bytes (raw)

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

double fmax(double x, double y)
{
	__asm__ ("xsmaxdp %x0, %x1, %x2" : "=ws"(x) : "ws"(x), "ws"(y));
	return x;
}
debug log:

solving a9c507e ...
found a9c507e 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/fmax.c b/src/math/powerpc64/fmax.c
new file mode 100644
index 0000000..a9c507e

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

index at:
100644 a9c507e9f1c56e23bcbb47ff277f009b545979b3	src/math/powerpc64/fmax.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).