mailing list of musl libc
 help / color / mirror / code / Atom feed
4e186e1e82a15bbfc9960ff3d5bd7554c182ffd6 blob 208 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

long double nearbyintl(long double x)
{
	__asm__ ("fixbra %0, 0, %1, 4" : "=f"(x) : "f"(x));
	return x;
}

#else

#include "../nearbyintl.c"

#endif
debug log:

solving 4e186e1 ...
found 4e186e1 in https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/
found 9d900f9 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/nearbyintl.c b/src/math/s390x/nearbyintl.c
new file mode 100644
index 0000000..9d900f9

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

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

applying [2/3] https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/
diff --git a/src/math/s390x/nearbyintl.c b/src/math/s390x/nearbyintl.c
index 9d900f9..4e186e1 100644

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

index at:
100644 4e186e1e82a15bbfc9960ff3d5bd7554c182ffd6	src/math/s390x/nearbyintl.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).