MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / GetCPUFeatures

Function GetCPUFeatures

Scripts/NeedDisabledSVE.py:11–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9import sys
10
11def GetCPUFeatures():
12 File = open("/proc/cpuinfo", "r")
13 Lines = File.readlines()
14 File.close()
15
16 for Line in Lines:
17 if "Features" in Line:
18 Features = Line.split(":")[1].strip().split(" ")
19 return Features
20
21SnapdragonIDsWithDisabledSVE = {
22 # Snapdragon 8 Gen 3

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected