[libc][NFC] Move cpu_features.h to properties subfolder

GitOrigin-RevId: a6db871e85f0edcd61a78312078d7ece37097da0
diff --git a/cmake/modules/cpu_features/check_AVX2.cpp b/cmake/modules/cpu_features/check_AVX2.cpp
index 5fde894..0761244 100644
--- a/cmake/modules/cpu_features/check_AVX2.cpp
+++ b/cmake/modules/cpu_features/check_AVX2.cpp
@@ -1,4 +1,4 @@
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #ifndef LIBC_TARGET_CPU_HAS_AVX2
 #error unsupported
diff --git a/cmake/modules/cpu_features/check_AVX512BW.cpp b/cmake/modules/cpu_features/check_AVX512BW.cpp
index 084a215..4816db5 100644
--- a/cmake/modules/cpu_features/check_AVX512BW.cpp
+++ b/cmake/modules/cpu_features/check_AVX512BW.cpp
@@ -1,4 +1,4 @@
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #ifndef LIBC_TARGET_CPU_HAS_AVX512BW
 #error unsupported
diff --git a/cmake/modules/cpu_features/check_AVX512F.cpp b/cmake/modules/cpu_features/check_AVX512F.cpp
index 2d3f171..da177ab 100644
--- a/cmake/modules/cpu_features/check_AVX512F.cpp
+++ b/cmake/modules/cpu_features/check_AVX512F.cpp
@@ -1,4 +1,4 @@
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #ifndef LIBC_TARGET_CPU_HAS_AVX512F
 #error unsupported
diff --git a/cmake/modules/cpu_features/check_FMA.cpp b/cmake/modules/cpu_features/check_FMA.cpp
index 69e979c..e587404 100644
--- a/cmake/modules/cpu_features/check_FMA.cpp
+++ b/cmake/modules/cpu_features/check_FMA.cpp
@@ -1,4 +1,4 @@
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #ifndef LIBC_TARGET_CPU_HAS_FMA
 #error unsupported
diff --git a/cmake/modules/cpu_features/check_SSE2.cpp b/cmake/modules/cpu_features/check_SSE2.cpp
index cbc9813..af8f797 100644
--- a/cmake/modules/cpu_features/check_SSE2.cpp
+++ b/cmake/modules/cpu_features/check_SSE2.cpp
@@ -1,4 +1,4 @@
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #ifndef LIBC_TARGET_CPU_HAS_SSE2
 #error unsupported
diff --git a/cmake/modules/cpu_features/check_SSE4_2.cpp b/cmake/modules/cpu_features/check_SSE4_2.cpp
index 3c0bae8..7de2d64 100644
--- a/cmake/modules/cpu_features/check_SSE4_2.cpp
+++ b/cmake/modules/cpu_features/check_SSE4_2.cpp
@@ -1,4 +1,4 @@
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #ifndef LIBC_TARGET_CPU_HAS_SSE4_2
 #error unsupported
diff --git a/src/__support/CMakeLists.txt b/src/__support/CMakeLists.txt
index f5d2a39..67663bf 100644
--- a/src/__support/CMakeLists.txt
+++ b/src/__support/CMakeLists.txt
@@ -35,7 +35,7 @@
     endian.h
     macros/properties/architectures.h
     macros/attributes.h
-    macros/cpu_features.h
+    macros/properties/cpu_features.h
 )
 
 add_header_library(
diff --git a/src/__support/FPUtil/FMA.h b/src/__support/FPUtil/FMA.h
index f428e1a..0416dd4 100644
--- a/src/__support/FPUtil/FMA.h
+++ b/src/__support/FPUtil/FMA.h
@@ -10,8 +10,8 @@
 #define LLVM_LIBC_SRC_SUPPORT_FPUTIL_FMA_H
 
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
 #include "src/__support/macros/properties/architectures.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #if defined(LIBC_TARGET_CPU_HAS_FMA)
 
diff --git a/src/__support/FPUtil/aarch64/FMA.h b/src/__support/FPUtil/aarch64/FMA.h
index 43829b7..1ee3765 100644
--- a/src/__support/FPUtil/aarch64/FMA.h
+++ b/src/__support/FPUtil/aarch64/FMA.h
@@ -9,8 +9,8 @@
 #ifndef LLVM_LIBC_SRC_SUPPORT_FPUTIL_AARCH64_FMA_H
 #define LLVM_LIBC_SRC_SUPPORT_FPUTIL_AARCH64_FMA_H
 
-#include "src/__support/macros/cpu_features.h"
 #include "src/__support/macros/properties/architectures.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #if !defined(LIBC_TARGET_ARCH_IS_AARCH64)
 #error "Invalid include"
diff --git a/src/__support/FPUtil/multiply_add.h b/src/__support/FPUtil/multiply_add.h
index 075813d..2aaa2c6 100644
--- a/src/__support/FPUtil/multiply_add.h
+++ b/src/__support/FPUtil/multiply_add.h
@@ -10,8 +10,8 @@
 #define LLVM_LIBC_SRC_SUPPORT_FPUTIL_MULTIPLY_ADD_H
 
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
 #include "src/__support/macros/properties/architectures.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 namespace __llvm_libc {
 namespace fputil {
diff --git a/src/__support/FPUtil/nearest_integer.h b/src/__support/FPUtil/nearest_integer.h
index da1d852..3d42632 100644
--- a/src/__support/FPUtil/nearest_integer.h
+++ b/src/__support/FPUtil/nearest_integer.h
@@ -10,8 +10,8 @@
 #define LLVM_LIBC_SRC_SUPPORT_FPUTIL_NEAREST_INTEGER_H
 
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
 #include "src/__support/macros/properties/architectures.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #if (defined(LIBC_TARGET_ARCH_IS_X86_64) && defined(LIBC_TARGET_CPU_HAS_SSE4_2))
 #include "x86_64/nearest_integer.h"
diff --git a/src/__support/FPUtil/x86_64/FMA.h b/src/__support/FPUtil/x86_64/FMA.h
index e2bca9e..3eafb3d 100644
--- a/src/__support/FPUtil/x86_64/FMA.h
+++ b/src/__support/FPUtil/x86_64/FMA.h
@@ -10,8 +10,8 @@
 #define LLVM_LIBC_SRC_SUPPORT_FPUTIL_X86_64_FMA_H
 
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
 #include "src/__support/macros/properties/architectures.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #if !defined(LIBC_TARGET_ARCH_IS_X86_64)
 #error "Invalid include"
diff --git a/src/__support/macros/cpu_features.h b/src/__support/macros/properties/cpu_features.h
similarity index 84%
rename from src/__support/macros/cpu_features.h
rename to src/__support/macros/properties/cpu_features.h
index bc7ba10..b986351 100644
--- a/src/__support/macros/cpu_features.h
+++ b/src/__support/macros/properties/cpu_features.h
@@ -9,8 +9,8 @@
 // preprocessor definitions.
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_LIBC_SRC_SUPPORT_MACROS_CPU_FEATURES_H
-#define LLVM_LIBC_SRC_SUPPORT_MACROS_CPU_FEATURES_H
+#ifndef LLVM_LIBC_SRC_SUPPORT_MACROS_PROPERTIES_CPU_FEATURES_H
+#define LLVM_LIBC_SRC_SUPPORT_MACROS_PROPERTIES_CPU_FEATURES_H
 
 #if defined(__SSE2__)
 #define LIBC_TARGET_CPU_HAS_SSE2
@@ -40,4 +40,4 @@
 #define LIBC_TARGET_CPU_HAS_FMA
 #endif
 
-#endif // LLVM_LIBC_SRC_SUPPORT_MACROS_CPU_FEATURES_H
+#endif // LLVM_LIBC_SRC_SUPPORT_MACROS_PROPERTIES_CPU_FEATURES_H
diff --git a/src/math/generic/asinf.cpp b/src/math/generic/asinf.cpp
index b50c2cb..f94eac8 100644
--- a/src/math/generic/asinf.cpp
+++ b/src/math/generic/asinf.cpp
@@ -13,7 +13,7 @@
 #include "src/__support/FPUtil/except_value_utils.h"
 #include "src/__support/FPUtil/multiply_add.h"
 #include "src/__support/FPUtil/sqrt.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #include <errno.h>
 
diff --git a/src/math/generic/cosf.cpp b/src/math/generic/cosf.cpp
index c84d4fb..05f1cd2 100644
--- a/src/math/generic/cosf.cpp
+++ b/src/math/generic/cosf.cpp
@@ -14,7 +14,7 @@
 #include "src/__support/FPUtil/except_value_utils.h"
 #include "src/__support/FPUtil/multiply_add.h"
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #include <errno.h>
 
diff --git a/src/math/generic/expm1f.cpp b/src/math/generic/expm1f.cpp
index 43e7d2d..0ee0721 100644
--- a/src/math/generic/expm1f.cpp
+++ b/src/math/generic/expm1f.cpp
@@ -16,7 +16,7 @@
 #include "src/__support/FPUtil/multiply_add.h"
 #include "src/__support/FPUtil/nearest_integer.h"
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #include <errno.h>
 
diff --git a/src/math/generic/sincosf.cpp b/src/math/generic/sincosf.cpp
index 82ddaa8..ea67229 100644
--- a/src/math/generic/sincosf.cpp
+++ b/src/math/generic/sincosf.cpp
@@ -12,7 +12,7 @@
 #include "src/__support/FPUtil/FPBits.h"
 #include "src/__support/FPUtil/multiply_add.h"
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #include <errno.h>
 
diff --git a/src/math/generic/sincosf_utils.h b/src/math/generic/sincosf_utils.h
index 3fd713e..bda1117 100644
--- a/src/math/generic/sincosf_utils.h
+++ b/src/math/generic/sincosf_utils.h
@@ -12,7 +12,7 @@
 #include "src/__support/FPUtil/FPBits.h"
 #include "src/__support/FPUtil/PolyEval.h"
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #if defined(LIBC_TARGET_CPU_HAS_FMA)
 #include "range_reduction_fma.h"
diff --git a/src/math/generic/sinf.cpp b/src/math/generic/sinf.cpp
index 511f548..488a3e4 100644
--- a/src/math/generic/sinf.cpp
+++ b/src/math/generic/sinf.cpp
@@ -14,7 +14,7 @@
 #include "src/__support/FPUtil/PolyEval.h"
 #include "src/__support/FPUtil/multiply_add.h"
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #include <errno.h>
 
diff --git a/src/math/generic/tanf.cpp b/src/math/generic/tanf.cpp
index 9c2f685..d221428 100644
--- a/src/math/generic/tanf.cpp
+++ b/src/math/generic/tanf.cpp
@@ -15,7 +15,7 @@
 #include "src/__support/FPUtil/multiply_add.h"
 #include "src/__support/FPUtil/nearest_integer.h"
 #include "src/__support/common.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 
 #include <errno.h>
 
diff --git a/src/math/generic/tanhf.cpp b/src/math/generic/tanhf.cpp
index b0de6f9..87a8874 100644
--- a/src/math/generic/tanhf.cpp
+++ b/src/math/generic/tanhf.cpp
@@ -8,7 +8,7 @@
 
 #include "src/math/tanhf.h"
 #include "src/__support/FPUtil/FPBits.h"
-#include "src/__support/macros/cpu_features.h"
+#include "src/__support/macros/properties/cpu_features.h"
 #include "src/math/generic/explogxf.h"
 
 namespace __llvm_libc {