mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-03 18:31:04 +00:00
x86: Use CHECK_FEATURE_PRESENT to check HLE [BZ #27398]
HLE is disabled on blacklisted CPUs. Use CHECK_FEATURE_PRESENT, instead
of CHECK_FEATURE_ACTIVE, to check HLE.
(cherry picked from commit 501246c5e2
)
This commit is contained in:
parent
b952c25dc7
commit
aa601d0244
@ -130,7 +130,7 @@ do_test (int argc, char **argv)
|
||||
fails += CHECK_FEATURE_ACTIVE (gfni, GFNI);
|
||||
#endif
|
||||
#if __GNUC_PREREQ (11, 0)
|
||||
fails += CHECK_FEATURE_ACTIVE (hle, HLE);
|
||||
fails += CHECK_FEATURE_PRESENT (hle, HLE);
|
||||
fails += CHECK_FEATURE_PRESENT (ibt, IBT);
|
||||
fails += CHECK_FEATURE_ACTIVE (lahf_lm, LAHF64_SAHF64);
|
||||
fails += CHECK_FEATURE_PRESENT (lm, LM);
|
||||
|
Loading…
Reference in New Issue
Block a user