mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 21:00:17 +02:00
HostFeatures: Adds support for querying CLWB availability
The x86 runner doesn't support CLWB natively.
This commit is contained in:
1 parent
965c6ff6cc
commit
bd36bd55ca
6 files changed
+12
-2
No files matched your search
@@ -72,6 +72,7 @@ class HostFeatures(Flag) :
|
||||
FEATURE_CLZERO = (1 << 5)
|
||||
FEATURE_BMI1 = (1 << 6)
|
||||
FEATURE_BMI2 = (1 << 7)
|
||||
FEATURE_CLWB = (1 << 8)
|
||||
|
||||
RegStringLookup = {
|
||||
"NONE": Regs.REG_NONE,
|
||||
@@ -143,6 +144,7 @@ HostFeaturesLookup = {
|
||||
"CLZERO" : HostFeatures.FEATURE_CLZERO,
|
||||
"BMI1" : HostFeatures.FEATURE_BMI1,
|
||||
"BMI2" : HostFeatures.FEATURE_BMI2,
|
||||
"CLWB" : HostFeatures.FEATURE_CLWB,
|
||||
}
|
||||
|
||||
def parse_hexstring(s):
|
||||
|
||||
Reference in new issue
Block a user