summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/cpu/cpu_other_x86.go
blob: a0fd7e2f75d37fe6f894f799caae51d9b6fe006f (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2024 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 386 || amd64p32 || (amd64 && (!darwin || !gc))

package cpu

func darwinSupportsAVX512() bool {
	panic("only implemented for gc && amd64 && darwin")
}