diff --git a/FEXCore/Source/Interface/Config/Config.json.in b/FEXCore/Source/Interface/Config/Config.json.in index f9cd7e74f..a58e8ad1f 100644 --- a/FEXCore/Source/Interface/Config/Config.json.in +++ b/FEXCore/Source/Interface/Config/Config.json.in @@ -68,7 +68,9 @@ "ENABLESVEBITPERM": "enablesvebitperm", "DISABLESVEBITPERM": "disablesvebitperm", "ENABLEPRESERVEALLABI": "enablepreserveallabi", - "DISABLEPRESERVEALLABI": "disablepreserveallabi" + "DISABLEPRESERVEALLABI": "disablepreserveallabi", + "ENABLEWFXT": "enablewfxt", + "DISABLEWFXT": "disablewfxt" }, "Desc": [ "Allows controlling of the CPU features in the JIT.", @@ -89,7 +91,8 @@ "\t{enable,disable}crypto: Will force enable or disable crypto extensions even if the host doesn't support it", "\t{enable,disable}rpres: Will force enable or disable rpres even if the host doesn't support it", "\t{enable,disable}svebitperm: Will force enable or disable svebitperm even if the host doesn't support it", - "\t{enable,disable}preserveallabi: Will force enable or disable preserve_all abi even if the host doesn't support it" + "\t{enable,disable}preserveallabi: Will force enable or disable preserve_all abi even if the host doesn't support it", + "\t{enable,disable}wfxt: Will force enable or disable wfxt even if the host doesn't support it" ] }, "SmallTSCScale": { diff --git a/Source/Common/HostFeatures.cpp b/Source/Common/HostFeatures.cpp index ff0916163..84e076817 100644 --- a/Source/Common/HostFeatures.cpp +++ b/Source/Common/HostFeatures.cpp @@ -434,6 +434,7 @@ static void OverrideFeatures(FEXCore::HostFeatures* Features, uint64_t ForceSVEW ENABLE_DISABLE_OPTION(SupportsRPRES, RPRES, RPRES); ENABLE_DISABLE_OPTION(SupportsSVEBitPerm, SVEBITPERM, SVEBITPERM); ENABLE_DISABLE_OPTION(SupportsPreserveAllABI, PRESERVEALLABI, PRESERVEALLABI); + ENABLE_DISABLE_OPTION(SupportsWFXT, WFXT, WFXT); GET_SINGLE_OPTION(Crypto, CRYPTO); #undef ENABLE_DISABLE_OPTION