* lib/cpu-supports.h (gcc_feature_to_glibc_hwcap): Fix typos in
comments.
---
 ChangeLog          | 4 ++++
 lib/cpu-supports.h | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1163413931..bff469e961 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2026-02-18  Collin Funk  <[email protected]>
 
+       cpu-supports: Fix typos.
+       * lib/cpu-supports.h (gcc_feature_to_glibc_hwcap): Fix typos in
+       comments.
+
        cpu-supports: Add detection for Advanced SIMD (Neon) instructions.
        * lib/cpu-supports.h (gcc_feature_to_glibc_hwcap): Map "asimd" to
        "-ASIMD". Add a comment on where to find aarch64 hwcaps in glibc.
diff --git a/lib/cpu-supports.h b/lib/cpu-supports.h
index abbd7e7fc4..df36fe3e75 100644
--- a/lib/cpu-supports.h
+++ b/lib/cpu-supports.h
@@ -51,7 +51,7 @@
 
 
 /* Return the glibc.cpu.hwcaps setting (prepended with "-"),
-   corresponding to the passed gcc _builtin_cpu_supports(FEATURE).
+   corresponding to the passed gcc __builtin_cpu_supports(FEATURE).
    Supported hwcaps can be identified from the bit_cpu_* defines
    in GLIBC's sysdeps/x86/include/cpu-features.h for x86 and
    the HWCAP_* defines in sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h
@@ -64,7 +64,7 @@ gcc_feature_to_glibc_hwcap (char const *feature)
   char const *hwcap = NULL;
 
   if (0) {}
-  /* x64_64 */
+  /* x86_64 */
   else if (streq (feature, "avx"))          hwcap = "-AVX";
   else if (streq (feature, "avx2"))         hwcap = "-AVX2";
   else if (streq (feature, "avx512bw"))     hwcap = "-AVX512BW";
-- 
2.53.0


Reply via email to