blob: be33c662d9c6ed67e1bde8d30f28426c0e3bccdc [file]
// 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)
offsetLOONG64HasLSX = unsafe.Offsetof(cpu.Loong64.HasLSX)
offsetLOONG64HasLASX = unsafe.Offsetof(cpu.Loong64.HasLASX)
)