[libc-commits] [libc] [llvm] [libc] Use __builtin_fma(f) by default if LIBC_TARGET_CPU_HAS_FMA is defined. (PR #91535)

via libc-commits libc-commits at lists.llvm.org
Thu May 9 10:03:51 PDT 2024


================
@@ -16,7 +16,7 @@
 
 #if defined(LIBC_TARGET_ARCH_IS_X86_64)
 #include "x86_64/FMA.h"
-#elif defined(LIBC_TARGET_ARCH_IS_AARCH64)
+#elif defined(LIBC_TARGET_ARCH_IS_ANY_ARM)
 #include "aarch64/FMA.h"
----------------
Prabhuk wrote:

Feels weird that the ARM32 targets will be including FMA.h from aarch64 directory. 

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


More information about the libc-commits mailing list