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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
#include <math.h>

#if defined (__HTM__) || __ARCH__ >= 9

float fabsf(float x)
{
	__asm__ ("lpebr %0, %1" : "=f"(x) : "f"(x));
	return x;
}

#else

#include "../fabsf.c"

#endif
debug log:

solving e0d9951 ...
found e0d9951 in https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/
found 99f884c in https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/ ||
	https://inbox.vuxu.org/musl/CAGWvnynPNVY6Xgz8+S=wOtQuXFis=4eH1-523d=PvtnRbSGCUg@mail.gmail.com/

applying [1/3] https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/
diff --git a/src/math/s390x/fabsf.c b/src/math/s390x/fabsf.c
new file mode 100644
index 0000000..99f884c

Checking patch src/math/s390x/fabsf.c...
Applied patch src/math/s390x/fabsf.c cleanly.

skipping https://inbox.vuxu.org/musl/CAGWvnynPNVY6Xgz8+S=wOtQuXFis=4eH1-523d=PvtnRbSGCUg@mail.gmail.com/ for 99f884c
index at:
100644 99f884c0a9b8fdf03cf6d4e2edb02f0e85187e0c	src/math/s390x/fabsf.c

applying [2/3] https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/
diff --git a/src/math/s390x/fabsf.c b/src/math/s390x/fabsf.c
index 99f884c..e0d9951 100644

Checking patch src/math/s390x/fabsf.c...
Applied patch src/math/s390x/fabsf.c cleanly.

index at:
100644 e0d99513a04effc10c77ae030cb99bdc3b346a59	src/math/s390x/fabsf.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).