mailing list of musl libc
 help / color / mirror / code / Atom feed
12b6804f7f9d828a8e1b2ab1d9badd27ecc71c78 blob 151 bytes (raw)

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

long long llrintf(float x)
{
	long long n;
	__asm__ (
		"frintx %s1, %s1\n"
		"fcvtzs %x0, %s1\n" : "=r"(n), "+w"(x));
	return n;
}
debug log:

solving 12b6804f ...
found 12b6804f in https://git.vuxu.org/mirror/musl/

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).