mailing list of musl libc
 help / color / mirror / code / Atom feed
3e52c45af0b1c4ce6427313ab0ed37aaf1bb1ad3 blob 212 bytes (raw)

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

#if __ARM_FEATURE_FMA && __ARM_FP&8

double fma(double x, double y, double z)
{
	__asm__ ("vfma.f64 %P0, %P1, %P2" : "+w"(z) : "w"(x), "w"(y));
	return z;
}

#else

#include "../fma.c"

#endif
debug log:

solving 3e52c45a ...
found 3e52c45a in https://inbox.vuxu.org/musl/20180923151124.GD10209@port70.net/

applying [1/1] https://inbox.vuxu.org/musl/20180923151124.GD10209@port70.net/
diff --git a/src/math/arm/fma.c b/src/math/arm/fma.c
new file mode 100644
index 00000000..3e52c45a

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

index at:
100644 3e52c45af0b1c4ce6427313ab0ed37aaf1bb1ad3	src/math/arm/fma.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).