Merge pull request #4471 from alyssarosenzweig/opt/cvtss2si

Optimize float->integer conversions with Feat_FRINTTS
This commit is contained in:
Ryan Houdek authored and GitHub committed 2025-04-01 08:52:50 -07:00
commit 8aecdc536c
20 files changed
+618 -379

No files matched your search

+2
View File
@@ -58,6 +58,7 @@ class HostFeatures(Flag) :
FEATURE_TSO = (1 << 13)
FEATURE_LRCPC = (1 << 14)
FEATURE_LRCPC2 = (1 << 15)
FEATURE_FRINTTS = (1 << 16)
HostFeaturesLookup = {
"SVE128" : HostFeatures.FEATURE_SVE128,
@@ -76,6 +77,7 @@ HostFeaturesLookup = {
"TSO" : HostFeatures.FEATURE_TSO,
"LRCPC" : HostFeatures.FEATURE_LRCPC,
"LRCPC2" : HostFeatures.FEATURE_LRCPC2,
"FRINTTS" : HostFeatures.FEATURE_FRINTTS,
}
def GetHostFeatures(data):