mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 18:00:17 +02:00
unittests: Add specific paths for MOPS
This commit is contained in:
1 parent
85c1ecd035
commit
e862f8f86c
5 files changed
+1347
-50
No files matched your search
@@ -519,6 +519,7 @@ int main(int argc, char** argv, char** const envp) {
|
||||
FEATURE_LRCPC = (1U << 14),
|
||||
FEATURE_LRCPC2 = (1U << 15),
|
||||
FEATURE_FRINTTS = (1U << 16),
|
||||
FEATURE_MOPS = (1U << 17),
|
||||
};
|
||||
|
||||
uint64_t SVEWidth = 0;
|
||||
@@ -569,6 +570,9 @@ int main(int argc, char** argv, char** const envp) {
|
||||
if (TestHeaderData->EnabledHostFeatures & FEATURE_FRINTTS) {
|
||||
HostFeatureControl |= static_cast<uint64_t>(FEXCore::Config::HostFeatures::ENABLEFRINTTS);
|
||||
}
|
||||
if (TestHeaderData->EnabledHostFeatures & FEATURE_MOPS) {
|
||||
HostFeatureControl |= static_cast<uint64_t>(FEXCore::Config::HostFeatures::ENABLEMOPS);
|
||||
}
|
||||
|
||||
if (TestHeaderData->EnabledHostFeatures & FEATURE_TSO) {
|
||||
FEXCore::Config::Set(FEXCore::Config::ConfigOption::CONFIG_TSOENABLED, "1");
|
||||
@@ -624,6 +628,9 @@ int main(int argc, char** argv, char** const envp) {
|
||||
if (TestHeaderData->DisabledHostFeatures & FEATURE_FRINTTS) {
|
||||
HostFeatureControl |= static_cast<uint64_t>(FEXCore::Config::HostFeatures::DISABLEFRINTTS);
|
||||
}
|
||||
if (TestHeaderData->DisabledHostFeatures & FEATURE_MOPS) {
|
||||
HostFeatureControl |= static_cast<uint64_t>(FEXCore::Config::HostFeatures::DISABLEMOPS);
|
||||
}
|
||||
|
||||
if (TestHeaderData->DisabledHostFeatures & FEATURE_TSO) {
|
||||
FEXCore::Config::Set(FEXCore::Config::ConfigOption::CONFIG_TSOENABLED, "0");
|
||||
|
||||
Reference in new issue
Block a user