mailing list of musl libc
 help / color / mirror / code / Atom feed
28758ce26fac48a4c06d8db2b00b29bb45ed046f blob 109 bytes (raw)

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

float roundf(float x)
{
	__asm__ ("fiebra %0, 1, %1, 4" : "=f"(x) : "f"(x));
	return x;
}
debug log:

solving 28758ce ...
found 28758ce 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/2] https://inbox.vuxu.org/musl/CAGWvnykYbN-OyJOkn8=eKFvuxAnMXQM01Us9iWOHy6w86_JM8w@mail.gmail.com/
diff --git a/src/math/s390x/roundf.c b/src/math/s390x/roundf.c
new file mode 100644
index 0000000..28758ce

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

skipping https://inbox.vuxu.org/musl/CAGWvnynPNVY6Xgz8+S=wOtQuXFis=4eH1-523d=PvtnRbSGCUg@mail.gmail.com/ for 28758ce
index at:
100644 28758ce26fac48a4c06d8db2b00b29bb45ed046f	src/math/s390x/roundf.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).