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/Makefile | |
parent | c3479fb7939898ec22c655c383454d6e8b982a67 (diff) | |
download | glibc-5ab25c88758810269607a066fcac399e29863510.zip glibc-5ab25c88758810269607a066fcac399e29863510.tar.gz glibc-5ab25c88758810269607a066fcac399e29863510.tar.bz2 |
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/Makefile')
-rw-r--r-- | sysdeps/x86/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index dd82674..e1f9379 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -8,8 +8,11 @@ sysdep-dl-routines += dl-get-cpu-features sysdep_headers += sys/platform/x86.h tests += tst-get-cpu-features tst-get-cpu-features-static \ - tst-cpu-features-cpuinfo tst-cpu-features-supports -tests-static += tst-get-cpu-features-static + tst-cpu-features-cpuinfo tst-cpu-features-cpuinfo-static \ + tst-cpu-features-supports tst-cpu-features-supports-static +tests-static += tst-get-cpu-features-static \ + tst-cpu-features-cpuinfo-static \ + tst-cpu-features-supports-static ifeq (yes,$(have-ifunc)) tests += \ tst-ifunc-isa-1 \ |