Merge 1d93dfba00f224787cfc2cde1af2ab5d7f5b87f7 into a9e8f2a1c9df7363710aa6213eca608c0bcc71ec

This commit is contained in:
qbisicwate 2025-04-29 21:18:27 +02:00 committed by GitHub
commit 7684f91464
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,6 +154,7 @@ namespace ngcore
return FNMA(SIMD<double,2> (a), b, c);
}
#ifdef __ARM_FEATURE_COMPLEX
// ARM complex mult:
// https://arxiv.org/pdf/1901.07294.pdf
// c += a*b (a0re, a0im, a1re, a1im, ...),
@ -162,6 +163,7 @@ namespace ngcore
auto tmp = vcmlaq_f64(c.Data(), a.Data(), b.Data()); // are * b
c = vcmlaq_rot90_f64(tmp, a.Data(), b.Data()); // += i*aim * b
}
#endif
NETGEN_INLINE SIMD<double,2> operator+ (SIMD<double,2> a, SIMD<double,2> b)