diff options
author | uzhas <uzhas@ydb.tech> | 2023-11-16 16:04:50 +0300 |
---|---|---|
committer | uzhas <uzhas@ydb.tech> | 2023-11-16 17:46:46 +0300 |
commit | 46f0c0079bb50609d2eeb6586642bcf114fc5239 (patch) | |
tree | 84e4e4978d57fe5de321ba69bf9d0c290de60a66 /contrib/go/_std_1.20/src/crypto/sha256/sha256block_amd64.go | |
parent | 73045e389397816cc2bdd6cd7818b4bce427b265 (diff) | |
download | ydb-46f0c0079bb50609d2eeb6586642bcf114fc5239.tar.gz |
enable ya make for go projects
Diffstat (limited to 'contrib/go/_std_1.20/src/crypto/sha256/sha256block_amd64.go')
-rw-r--r-- | contrib/go/_std_1.20/src/crypto/sha256/sha256block_amd64.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/go/_std_1.20/src/crypto/sha256/sha256block_amd64.go b/contrib/go/_std_1.20/src/crypto/sha256/sha256block_amd64.go new file mode 100644 index 0000000000..27464e2c12 --- /dev/null +++ b/contrib/go/_std_1.20/src/crypto/sha256/sha256block_amd64.go @@ -0,0 +1,9 @@ +// 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. + +package sha256 + +import "internal/cpu" + +var useAVX2 = cpu.X86.HasAVX2 && cpu.X86.HasBMI2 |