mailing list of musl libc
 help / color / mirror / code / Atom feed
51f44f8cd834dbbac78079455f464afdb6849fee blob 230 bytes (raw)

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

#if (__ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)) && !BROKEN_VFP_ASM && (__ARM_FP&4)

float sqrtf(float x)
{
	__asm__ ("vsqrt.f32 %0, %1" : "=t"(x) : "t"(x));
	return x;
}

#else

#include "../sqrtf.c"

#endif
debug log:

solving 51f44f8c ...
found 51f44f8c in https://inbox.vuxu.org/musl/CALqyXLj9kKBm+QvVNs8_DgH-8NvdBHfdPDN4ZDSFhjCTktxHMA@mail.gmail.com/
found 32693293 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 32693293b49b777667923a5008bbb2145ddd930d	src/math/arm/sqrtf.c

applying [1/1] https://inbox.vuxu.org/musl/CALqyXLj9kKBm+QvVNs8_DgH-8NvdBHfdPDN4ZDSFhjCTktxHMA@mail.gmail.com/
diff --git a/src/math/arm/sqrtf.c b/src/math/arm/sqrtf.c
index 32693293..51f44f8c 100644

Checking patch src/math/arm/sqrtf.c...
Applied patch src/math/arm/sqrtf.c cleanly.

index at:
100644 51f44f8cd834dbbac78079455f464afdb6849fee	src/math/arm/sqrtf.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).