aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.18/src/math/exp_amd64.go
blob: 0f701b1d6d8da1fa4bf3c8e14c3c45bb348df9d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2017 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 amd64

package math

import "internal/cpu"

var useFMA = cpu.X86.HasAVX && cpu.X86.HasFMA