diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-12-21 19:56:10 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-12-22 03:45:47 -0800 |
commit | a2e5da2cf471b5ac849bcd7d9960466b9cd28a35 (patch) | |
tree | 0f95762c888a25956bf87d3437fa27145a3a7f50 /sysdeps/x86/tst-get-cpu-features.c | |
parent | bca0283815375fd3e8cb13f7dcae5eb4b2e5f5c2 (diff) | |
download | glibc-a2e5da2cf471b5ac849bcd7d9960466b9cd28a35.tar.gz glibc-a2e5da2cf471b5ac849bcd7d9960466b9cd28a35.tar.xz glibc-a2e5da2cf471b5ac849bcd7d9960466b9cd28a35.zip |
<sys/platform/x86.h>: Add Intel LAM support
Add Intel Linear Address Masking (LAM) support to <sys/platform/x86.h>. HAS_CPU_FEATURE (LAM) can be used to detect if LAM is enabled in CPU. LAM modifies the checking that is applied to 64-bit linear addresses, allowing software to use of the untranslated address bits for metadata.
Diffstat (limited to 'sysdeps/x86/tst-get-cpu-features.c')
-rw-r--r-- | sysdeps/x86/tst-get-cpu-features.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-get-cpu-features.c b/sysdeps/x86/tst-get-cpu-features.c index 667aa27117..6f1e925a6a 100644 --- a/sysdeps/x86/tst-get-cpu-features.c +++ b/sysdeps/x86/tst-get-cpu-features.c @@ -227,6 +227,7 @@ do_test (void) CHECK_CPU_FEATURE (FSRS); CHECK_CPU_FEATURE (FSRCS); CHECK_CPU_FEATURE (HRESET); + CHECK_CPU_FEATURE (LAM); CHECK_CPU_FEATURE (AESKLE); CHECK_CPU_FEATURE (WIDE_KL); |