From 5001505a40d3cd275161e3ac3df80bd8f6ed5b8c Mon Sep 17 00:00:00 2001 From: Tue Ly Date: Mon, 6 Feb 2023 16:05:23 -0500 Subject: [PATCH] [libc][Obvious] Add __FMA__ flag detection to cpu_features.h --- libc/src/__support/cpu_features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/src/__support/cpu_features.h b/libc/src/__support/cpu_features.h index c3ecd351b68f..68bf6fa474c5 100644 --- a/libc/src/__support/cpu_features.h +++ b/libc/src/__support/cpu_features.h @@ -36,7 +36,7 @@ #define LIBC_TARGET_HAS_AVX512BW #endif -#if defined(__ARM_FEATURE_FMA) || defined(__AVX2__) +#if defined(__ARM_FEATURE_FMA) || defined(__AVX2__) || defined(__FMA__) #define LIBC_TARGET_HAS_FMA #endif -- 2.11.4.GIT