mailing list of musl libc
 help / color / mirror / code / Atom feed
757d75d1dbe6945dd6acc0ffcf58409044ff60bd blob 146 bytes (raw)

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

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

solving 757d75d1 ...
found 757d75d1 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/fmaf.c b/src/math/kvx/fmaf.c
new file mode 100644
index 00000000..757d75d1

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

index at:
100644 757d75d1dbe6945dd6acc0ffcf58409044ff60bd	src/math/kvx/fmaf.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).