x86: Don't check XFD against /proc/cpuinfo

Since /proc/cpuinfo doesn't report XFD, don't check it against
/proc/cpuinfo.
This commit is contained in:
H.J. Lu 2024-02-27 11:43:39 -08:00
parent befe2d3c4d
commit 8c7c188d62

View File

@ -294,7 +294,10 @@ do_test (int argc, char **argv)
fails += CHECK_PROC (waitpkg, WAITPKG); fails += CHECK_PROC (waitpkg, WAITPKG);
fails += CHECK_PROC (wbnoinvd, WBNOINVD); fails += CHECK_PROC (wbnoinvd, WBNOINVD);
fails += CHECK_PROC (x2apic, X2APIC); fails += CHECK_PROC (x2apic, X2APIC);
#if 0
/* NB: /proc/cpuinfo doesn't report this feature. */
fails += CHECK_PROC (xfd, XFD); fails += CHECK_PROC (xfd, XFD);
#endif
fails += CHECK_PROC (xgetbv1, XGETBV_ECX_1); fails += CHECK_PROC (xgetbv1, XGETBV_ECX_1);
fails += CHECK_PROC (xop, XOP); fails += CHECK_PROC (xop, XOP);
fails += CHECK_PROC (xsave, XSAVE); fails += CHECK_PROC (xsave, XSAVE);