diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-02-27 11:43:39 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-02-28 11:50:38 -0800 |
commit | 8c7c188d62d76acda1b273b0d4d9c3b32983b28d (patch) | |
tree | d9edc449d1e7914a24a207ece153c411950d64e7 /sysdeps/x86/tst-cpu-features-cpuinfo.c | |
parent | befe2d3c4dec8be2cdd01a47132e47bdb7020922 (diff) | |
download | glibc-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.c | 3 |
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); |