You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This detects ABM on AMD CPUs and LZCNT on Intel CPUs.
141
+
// On intel CPUs with popcnt, lzcnt implements the
142
+
// "missing part" of ABM, so we map both to the same
143
+
// internal feature.
144
+
//
145
+
// The `is_x86_feature_detected!("lzcnt")` macro then
146
+
// internally maps to Feature::abm.
147
+
enable(extended_proc_info_ecx,5,Feature::lzcnt);
148
+
149
+
// As Hygon Dhyana originates from AMD technology and shares most of the architecture with
150
+
// AMD's family 17h, but with different CPU Vendor ID("HygonGenuine")/Family series
151
+
// number(Family 18h).
152
+
//
153
+
// For CPUID feature bits, Hygon Dhyana(family 18h) share the same definition with AMD
154
+
// family 17h.
155
+
//
156
+
// Related AMD CPUID specification is https://www.amd.com/system/files/TechDocs/25481.pdf.
// As Hygon Dhyana originates from AMD technology and shares most of the architecture with
278
-
// AMD's family 17h, but with different CPU Vendor ID("HygonGenuine")/Family series
279
-
// number(Family 18h).
280
-
//
281
-
// For CPUID feature bits, Hygon Dhyana(family 18h) share the same definition with AMD
282
-
// family 17h.
283
-
//
284
-
// Related AMD CPUID specification is https://www.amd.com/system/files/TechDocs/25481.pdf.
0 commit comments