2026-02-18 Collin Funk <collin.funk1@gmail.com>
+ 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.
/* 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
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";