[libc-commits] [libc] [libc][math][c23] Add f16fma C23 math function (PR #96711)

via libc-commits libc-commits at lists.llvm.org
Tue Jun 25 16:17:58 PDT 2024


================
@@ -39,17 +39,17 @@ multiply_add(T x, T y, T z) {
 #if defined(LIBC_TARGET_CPU_HAS_FMA)
 
 // FMA instructions are available.
-#include "FMA.h"
+#include "src/__support/FPUtil/generic_hardware/fma.h"
----------------
overmighty wrote:

I did this to fix a circular dependency where dyadic_float.h was including multiply_add.h -> FMA.h -> generic/FMA.h -> dyadic_float.h

https://github.com/llvm/llvm-project/pull/96711


More information about the libc-commits mailing list