projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7912236
)
x86: Don't check PTWRITE in tst-cpu-features-cpuinfo.c
author
H.J. Lu
<hjl.tools@gmail.com>
Wed, 26 Jan 2022 20:18:21 +0000
(12:18 -0800)
committer
H.J. Lu
<hjl.tools@gmail.com>
Mon, 14 Feb 2022 13:53:03 +0000
(
05:53
-0800)
Don't check PTWRITE against /proc/cpuinfo since kernel doesn't report
PTWRITE in /proc/cpuinfo.
sysdeps/x86/tst-cpu-features-cpuinfo.c
patch
|
blob
|
history
diff --git
a/sysdeps/x86/tst-cpu-features-cpuinfo.c
b/sysdeps/x86/tst-cpu-features-cpuinfo.c
index
91a656b
..
981b2be
100644
(file)
--- 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);