public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c
@ 2022-02-14 14:44 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2022-02-14 14:44 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=61a4425dd412701f6c3545d8c1acd7e1a378ee8b
commit 61a4425dd412701f6c3545d8c1acd7e1a378ee8b
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Jan 26 12:18:21 2022 -0800
x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c
Don't check PTWRITE against /proc/cpuinfo since kernel doesn't report
PTWRITE in /proc/cpuinfo.
Diff:
---
sysdeps/x86/tst-cpu-features-cpuinfo.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sysdeps/x86/tst-cpu-features-cpuinfo.c b/sysdeps/x86/tst-cpu-features-cpuinfo.c
index 91a656b61d..981b2be5fd 100644
--- a/sysdeps/x86/tst-cpu-features-cpuinfo.c
+++ b/sysdeps/x86/tst-cpu-features-cpuinfo.c
@@ -218,7 +218,10 @@ do_test (int argc, char **argv)
fails += CHECK_PROC (popcnt, POPCNT);
fails += CHECK_PROC (3dnowprefetch, PREFETCHW);
fails += CHECK_PROC (prefetchwt1, PREFETCHWT1);
+#if 0
+ /* NB: /proc/cpuinfo doesn't report this feature. */
fails += CHECK_PROC (ptwrite, PTWRITE);
+#endif
fails += CHECK_PROC (pse, PSE);
fails += CHECK_PROC (pse36, PSE_36);
fails += CHECK_PROC (psn, PSN);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-14 14:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 14:44 [glibc] x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).