fmaf.c\arm\math\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/arm/fmaf.c
blob: a1793d27f1ff51f7968cdbbb036345d1875de30a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <math.h>
#if __ARM_FEATURE_FMA && __ARM_FP&4 && !__SOFTFP__ && !BROKEN_VFP_ASM
float fmaf(float x, float y, float z)
{
	__asm__ ("vfma.f32 %0, %1, %2" : "+t"(z) : "t"(x), "t"(y));
	return z;
}
#else
#include "../fmaf.c"
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月05日 01:05:50 +0000

AltStyle によって変換されたページ (->オリジナル) /