public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] x86: Change ENQCMD test to CHECK_FEATURE_PRESENT
@ 2024-02-27 19:51 H.J. Lu
0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-02-27 19:51 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=24c8db87c9537469dded474c8ee5da5c988f9c55
commit 24c8db87c9537469dded474c8ee5da5c988f9c55
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Feb 27 11:43:31 2024 -0800
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>
Diff:
---
sysdeps/x86/tst-cpu-features-supports.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/x86/tst-cpu-features-supports.c b/sysdeps/x86/tst-cpu-features-supports.c
index 93008dac70..e270c29db7 100644
--- a/sysdeps/x86/tst-cpu-features-supports.c
+++ b/sysdeps/x86/tst-cpu-features-supports.c
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-27 19:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-27 19:51 [glibc] x86: Change ENQCMD test to CHECK_FEATURE_PRESENT H.J. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).