about summary refs log tree commit diff
path: root/sysdeps/x86/tst-cpu-features-cpuinfo.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-02-27 11:43:39 -0800
committerH.J. Lu <hjl.tools@gmail.com>2024-02-28 11:50:38 -0800
commit8c7c188d62d76acda1b273b0d4d9c3b32983b28d (patch)
treed9edc449d1e7914a24a207ece153c411950d64e7 /sysdeps/x86/tst-cpu-features-cpuinfo.c
parentbefe2d3c4dec8be2cdd01a47132e47bdb7020922 (diff)
downloadglibc-8c7c188d62d76acda1b273b0d4d9c3b32983b28d.tar.gz
glibc-8c7c188d62d76acda1b273b0d4d9c3b32983b28d.tar.xz
glibc-8c7c188d62d76acda1b273b0d4d9c3b32983b28d.zip
x86: Don't check XFD against /proc/cpuinfo
Since /proc/cpuinfo doesn't report XFD, don't check it against
/proc/cpuinfo.
Diffstat (limited to 'sysdeps/x86/tst-cpu-features-cpuinfo.c')
-rw-r--r--sysdeps/x86/tst-cpu-features-cpuinfo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-cpu-features-cpuinfo.c b/sysdeps/x86/tst-cpu-features-cpuinfo.c
index c11c6951c3..0251fb5460 100644
--- a/sysdeps/x86/tst-cpu-features-cpuinfo.c
+++ b/sysdeps/x86/tst-cpu-features-cpuinfo.c
@@ -294,7 +294,10 @@ do_test (int argc, char **argv)
   fails += CHECK_PROC (waitpkg, WAITPKG);
   fails += CHECK_PROC (wbnoinvd, WBNOINVD);
   fails += CHECK_PROC (x2apic, X2APIC);
+#if 0
+  /* NB: /proc/cpuinfo doesn't report this feature.  */
   fails += CHECK_PROC (xfd, XFD);
+#endif
   fails += CHECK_PROC (xgetbv1, XGETBV_ECX_1);
   fails += CHECK_PROC (xop, XOP);
   fails += CHECK_PROC (xsave, XSAVE);