mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-14 04:50:18 +00:00
x86: Change ENQCMD test to CHECK_FEATURE_PRESENT
Since ENQCMD is mainly used in kernel, change the ENQCMD test to CHECK_FEATURE_PRESENT. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
This commit is contained in:
parent
c23107effb
commit
24c8db87c9
@ -115,7 +115,7 @@ do_test (int argc, char **argv)
|
||||
#if __GNUC_PREREQ (11, 0)
|
||||
fails += CHECK_FEATURE_ACTIVE (cmpxchg16b, CMPXCHG16B);
|
||||
fails += CHECK_FEATURE_ACTIVE (cmpxchg8b, CX8);
|
||||
fails += CHECK_FEATURE_ACTIVE (enqcmd, ENQCMD);
|
||||
fails += CHECK_FEATURE_PRESENT (enqcmd, ENQCMD);
|
||||
fails += CHECK_FEATURE_ACTIVE (f16c, F16C);
|
||||
#endif
|
||||
#if __GNUC_PREREQ (4, 9)
|
||||
|
Loading…
Reference in New Issue
Block a user