diff options
author | 2022-01-24 17:35:13 +0100 | |
---|---|---|
committer | 2022-01-24 17:35:13 +0100 | |
commit | f28cf793ee53e8391c9eabbfba93afbc5b59936b (patch) | |
tree | fcd6ec6fc4fa011017fb30fce0f52fc947a4d226 /vendor/github.com/zeebo/blake3/internal/consts/cpu.go | |
parent | update remote account get/deref logic (diff) | |
download | gotosocial-f28cf793ee53e8391c9eabbfba93afbc5b59936b.tar.xz |
upgrade go-store
Diffstat (limited to 'vendor/github.com/zeebo/blake3/internal/consts/cpu.go')
-rw-r--r-- | vendor/github.com/zeebo/blake3/internal/consts/cpu.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vendor/github.com/zeebo/blake3/internal/consts/cpu.go b/vendor/github.com/zeebo/blake3/internal/consts/cpu.go deleted file mode 100644 index 1eebff943..000000000 --- a/vendor/github.com/zeebo/blake3/internal/consts/cpu.go +++ /dev/null @@ -1,17 +0,0 @@ -package consts - -import ( - "os" - - "golang.org/x/sys/cpu" -) - -var ( - HasAVX2 = cpu.X86.HasAVX2 && - os.Getenv("BLAKE3_DISABLE_AVX2") == "" && - os.Getenv("BLAKE3_PUREGO") == "" - - HasSSE41 = cpu.X86.HasSSE41 && - os.Getenv("BLAKE3_DISABLE_SSE41") == "" && - os.Getenv("BLAKE3_PUREGO") == "" -) |