blob: f7d8cd4e2b138ff9b4212db218b491e4993c9894 [file] [log] [blame] [edit]
// Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build goexperiment.runtimesecret
package secret
import (
"internal/cpu"
"unsafe"
)
// exports for assembly testing functions
const (
offsetX86HasAVX = unsafe.Offsetof(cpu.X86.HasAVX)
offsetX86HasAVX512 = unsafe.Offsetof(cpu.X86.HasAVX512)
)