mailing list of musl libc
 help / color / mirror / code / Atom feed
4d4b99eccafe9c35fbe8a78bd4a012442685054d blob 149 bytes (raw)

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

double fma(double x, double y, double z)
{
	__asm__ ("ffmad %0 = %1, %2\n"
		 ";;\n"
		 : "+r"(z) : "r"(x), "r"(y));
	return z;
}
debug log:

solving 4d4b99ec ...
found 4d4b99ec in https://inbox.vuxu.org/musl/20220711152322.23418-1-jborne@kalray.eu/

applying [1/1] https://inbox.vuxu.org/musl/20220711152322.23418-1-jborne@kalray.eu/
diff --git a/src/math/kvx/fma.c b/src/math/kvx/fma.c
new file mode 100644
index 00000000..4d4b99ec

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

index at:
100644 4d4b99eccafe9c35fbe8a78bd4a012442685054d	src/math/kvx/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).