diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-02-04 10:39:34 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-02-07 08:01:14 -0800 |
commit | 5ab25c88758810269607a066fcac399e29863510 (patch) | |
tree | fff85c2b2b481b413d71872bd5753f870557d89a /sysdeps/x86/tst-cpu-features-cpuinfo-static.c | |
parent | c3479fb7939898ec22c655c383454d6e8b982a67 (diff) | |
download | glibc-5ab25c88758810269607a066fcac399e29863510.tar glibc-5ab25c88758810269607a066fcac399e29863510.tar.gz glibc-5ab25c88758810269607a066fcac399e29863510.tar.bz2 glibc-5ab25c88758810269607a066fcac399e29863510.zip |
x86: Add PTWRITE feature detection [BZ #27346]
1. Add CPUID_INDEX_14_ECX_0 for CPUID leaf 0x14 to detect PTWRITE feature
in EBX of CPUID leaf 0x14 with ECX == 0.
2. Add PTWRITE detection to CPU feature tests.
3. Add 2 static CPU feature tests.
Diffstat (limited to 'sysdeps/x86/tst-cpu-features-cpuinfo-static.c')
-rw-r--r-- | sysdeps/x86/tst-cpu-features-cpuinfo-static.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-cpu-features-cpuinfo-static.c b/sysdeps/x86/tst-cpu-features-cpuinfo-static.c new file mode 100644 index 0000000000..993a1a95f7 --- /dev/null +++ b/sysdeps/x86/tst-cpu-features-cpuinfo-static.c @@ -0,0 +1 @@ +#include "tst-cpu-features-cpuinfo.c" |