mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
HostFeatures: Removes distinction between AVX and AVX2
We now no longer care about AVX versions, consolidate them in to a single config option which enables both.
This commit is contained in:
5 files changed
+3
-21
No files matched your search
@@ -307,8 +307,7 @@ public:
|
||||
FEATURE_BMI2 = (1 << 7),
|
||||
FEATURE_CLWB = (1 << 8),
|
||||
FEATURE_LINUX = (1 << 9),
|
||||
FEATURE_AVX2 = (1 << 10),
|
||||
FEATURE_AES256 = (1 << 11),
|
||||
FEATURE_AES256 = (1 << 10),
|
||||
};
|
||||
|
||||
bool Requires3DNow() const {
|
||||
@@ -320,9 +319,6 @@ public:
|
||||
bool RequiresAVX() const {
|
||||
return BaseConfig.OptionHostFeatures & HostFeatures::FEATURE_AVX;
|
||||
}
|
||||
bool RequiresAVX2() const {
|
||||
return BaseConfig.OptionHostFeatures & HostFeatures::FEATURE_AVX2;
|
||||
}
|
||||
bool RequiresRAND() const {
|
||||
return BaseConfig.OptionHostFeatures & HostFeatures::FEATURE_RAND;
|
||||
}
|
||||
@@ -492,9 +488,6 @@ public:
|
||||
bool RequiresAVX() const {
|
||||
return Config.RequiresAVX();
|
||||
}
|
||||
bool RequiresAVX2() const {
|
||||
return Config.RequiresAVX2();
|
||||
}
|
||||
bool RequiresRAND() const {
|
||||
return Config.RequiresRAND();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user