blob: 120208dae85f5a7193e2cc7b9fc030162e15ba1b [file]
// Copyright 2026 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.simd && !arm64
package archsimd
type ARM64Features struct{}
var ARM64 ARM64Features
// PMULL returns whether the CPU supports the PMULL feature.
//
// PMULL is defined on all GOARCHes, but will only return true on
// GOARCH arm64.
func (ARM64Features) PMULL() bool {
return false
}
func (ARM64Features) SVE() bool {
return false
}
// SVE2 returns whether the CPU supports the SVE2 extension.
func (ARM64Features) SVE2() bool {
return false
}