aboutsummaryrefslogtreecommitdiff
path: root/internal/cpu/cpu.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cpu/cpu.go')
-rw-r--r--internal/cpu/cpu.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/cpu/cpu.go b/internal/cpu/cpu.go
new file mode 100644
index 00000000..dd7680cb
--- /dev/null
+++ b/internal/cpu/cpu.go
@@ -0,0 +1,6 @@
+package cpu
+
+// X86 contains x86 CPU feature flags detected at runtime.
+var X86 struct {
+ HasAVX2 bool
+}