HostFeatures: Allow enabling AVX without SVE256

This commit is contained in:
Ryan Houdek 2024-06-23 13:23:00 -07:00
parent add0e7a8db
commit 43aef377d7
No known key found for this signature in database

View File

@ -118,9 +118,6 @@ static void OverrideFeatures(HostFeatures* Features) {
///< Only force enable SVE256 if SVE is already enabled and ForceSVEWidth is set to >= 256.
Features->SupportsSVE256 = ForceSVEWidth() && ForceSVEWidth() >= 256;
if (!Features->SupportsSVE256) {
Features->SupportsAVX = false;
}
}
HostFeatures::HostFeatures() {